This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author weongyo
Recipients
Date 2005-12-12.02:10:23
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Hello. I'm sorry for my short english.

I'm using python 2.4 on my windows system.  But I have
a problem.  see below:

-------------------->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
drop a file from windows file explorer. It printed
"file:///C:/pse_signature.psr" which is a type of
"text/uri-list".  But urllib can't process it.

Is it a problem of urllib?  I read a article which
reported a same problem with my case in python 2.2.

that "file:///C:/pse_signature.psr" string made by
windows. not me.

why this problem don't be fixed? are there any reasons?

thanks for reading.
History
Date User Action Args
2007-08-23 14:36:39adminlinkissue1378455 messages
2007-08-23 14:36:39admincreate