-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popeye 4.71 fails to write protocol file #198
Comments
I have tried different things, but I have failed to reproduce the problem. So let's please narrow it down:
begin
|
If you can, test it with Fancy. Fancy deletes the protocol file before calling Popeye. The problem get solved, but no output file is created. When I made Fancy call a .cmd file (instead of calling Popeye directly), which creates an empty output file first type NUL >py.txt all worked fine. (This on Vista.) |
Well, I have installed Fancy for a friend recently. It cost me some more hair color and him a dinner. I am not going to do that again. Also, when solving a problem, it helps to simplify the situation, not complicate it. Does your description mean that pywin32.exe can overwrite an existing file, but not create a new one? |
That in short appears to be the case (maybe a recent change in a C library that Popeye uses / perhaps an extra check is required - if the file doesn't exist, create it first; then write to it?!)... I'm not sure about the technical details, but Fancy creates an MS-DOS window itself in which it runs Popeye (which may differ from a regular, user-created one). |
(By the way regarding "overwrite an existing file", I understand that the protocol file is never overwritten, it is always appended to. Cornel showed me recently this from the documentation:
|
Windows 10 |
Process monitor utility shows that Popeye 4.71 tries to open/create output file with trailing char '0D' in filename and fails. |
Wow! Thanks for that! Now I am able to reproduce the problem. |
Fixed for Popeye 4.73 |
Geoff Foster writes:
Other users have confirmed the issue.
The text was updated successfully, but these errors were encountered: