[Installit-dev] Download wizard problems

Jannis Pohlmann info at sten-net.de
Sat Mar 18 17:28:16 CET 2006


On Sat, 18 Mar 2006 17:07:18 +0100
Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:

> 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'

Ok, could you try again?

Regards,
Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/installit-dev/attachments/20060318/1c0d582b/attachment.pgp>


More information about the Installit-dev mailing list