[Installit-dev] Download wizard problems
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Sat Mar 18 17:07:18 CET 2006
Jannis Pohlmann wrote:
> It was a bit more complicated. Anyway, I took the time to implement an
> alternative to urlretrieve() which supports aborting the download.
> Could you check it out?
Don't seem to work:
Traceback (most recent call last):
File "/usr/home/bmeurer/Projects/installit/trunk/ui/main.py", line
106, in <lambda>
lambda *args: self._updatePackages()),
File "/usr/home/bmeurer/Projects/installit/trunk/ui/main.py", line
267, in _updatePackages
UpdatePackages.perform(self, True)
File "/usr/home/bmeurer/Projects/installit/trunk/ui/tasks.py", line
62, in perform
self.run(window)
File "/usr/home/bmeurer/Projects/installit/trunk/ui/tasks.py", line
330, in run
response = dialog.download([pkgListItem])
File "/usr/home/bmeurer/Projects/installit/trunk/ui/download.py", line
116, in download
self.downloader.download(self.items)
File "/usr/home/bmeurer/Projects/installit/trunk/tools/download.py",
line 110, in download
dlHandle = DownloadHandle(item, handle)
File "/usr/home/bmeurer/Projects/installit/trunk/tools/download.py",
line 54, in __init__
self.info = URLInfo(handle.info())
File "/usr/home/bmeurer/Projects/installit/trunk/tools/download.py",
line 39, in __init__
self.connection = handleInfo["Connection"]
File "/usr/local/lib/python2.4/rfc822.py", line 390, in __getitem__
return self.dict[name.lower()]
KeyError: 'connection'
> Regards,
> Jannis
Benedikt
More information about the Installit-dev
mailing list