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
a problem of urllib using open_local_file #42680
Comments
Hello. I'm sorry for my short english. I'm using python 2.4 on my windows system. But I have -------------------->3----------------->3------- Traceback (most recent call last):
File "main.py", line 57, in uploadproc
UNNAMED_toplev.main (self.liststore.get_value
(iter, i))
File "C:\Work\unnamed\UNNAMED_toplev.py", line 59, in
main
toplev_main (doc, TARGET_FILE)
File "C:\Work\unnamed\UNNAMED_toplev.py", line 51, in
toplev_main
doc.documentElement.appendChild
(UNNAMED_filehash.GetSHA1Info (doc, filepath
))
File "C:\Work\unnamed\UNNAMED_filehash.py", line 19,
in GetSHA1Info
file = urllib.urlopen (filepath)
File "C:\Python24\lib\urllib.py", line 77, in urlopen
return opener.open(url)
File "C:\Python24\lib\urllib.py", line 185, in open
return getattr(self, name)(url)
File "C:\Python24\lib\urllib.py", line 421, in open_file
return self.open_local_file(url)
File "C:\Python24\lib\urllib.py", line 435, in
open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory:
'\\C:\\pse_signature.psr'
-------------------->3----------------->3 i made a simple GUI program with pygtk and do drag and Is it a problem of urllib? I read a article which that "file:///C:/pse_signature.psr" string made by why this problem don't be fixed? are there any reasons? thanks for reading. |
Logged In: YES Fixed in r41705,41706. Thanks for the report! |
Logged In: YES I should add that the problem was not in urllib itself, but |
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: