#23 does not parse local URIs correctl

closed-fixed
Paul Varga
None
5
2006-12-17
2006-12-16
Jeff Fortin
No

Traceback (most recent call last):
File "threading.py", line 442, in __bootstrap
self.run()
File "threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "gnome-btdownload kiddo", line 743, in download_thread
BitTorrent.download.download(self.args, file, status, finished, error, self.event, cols, path)
File "/usr/lib/python2.4/site-packages/BitTorrent/download.py", line 120, in download
h = urlopen(config['url'])
File "urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "urllib2.py", line 350, in open
protocol = req.get_type()
File "urllib2.py", line 233, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: /home/jeff/OSX3.1.tar.gz.torrent

This is a local URI, not a URL on some website. gnome-btdownload is supposed to be smart enough to figure out there is no http in my uri... Or did I miss something here

Discussion

  • Paul Varga
    Paul Varga
    2006-12-17

    Logged In: YES
    user_id=224151
    Originator: NO

    Shouldn't happen in 0.0.25 and later.

     
  • Paul Varga
    Paul Varga
    2006-12-17

    • assigned_to: nobody --> null_and_void
    • status: open --> closed-fixed