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
Mysterious failure under Windows #45414
Comments
Hi, I'm not sure this is a right place to write in the problem I found. // The program also uses Tkinter but I'm not sure that is relevant. Aki- |
I don't see the problem. When open() reports that the file does not |
I know it is hard to believe. For example, I added the following: fd = open(fn, 'rb')
crypted = fd.read()
fd.close()
idx = crypted.index('\n')
except (IOError, OSError, ValueError,):
raise When I run, I got following cases randomly: The file is a binary data file and is already sitting in the directory I know that for other people it is very difficult to work on such case. Aki- |
Does the file exist before program is started, and remains after Also, I see you use a relative path. Do you change the current |
Sorry to disappoint you but ... // Probably, only way to settle this is to create a small test case. Aki- |
I'm closing this as "works for me" now. It cannot possibly be a bug in So if you can come up with a reproducible test case, please submit a new |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: