Still unable to use Smart with Mandriva
David Smid
david at unity-linux.org
Thu Aug 25 02:04:06 PDT 2011
Dne 14.8.2011 12:00, Anders F Björklund napsal(a):
> Steve Morris wrote:
>
>>>> File "/usr/local/downloads/smart/smart-1.4/smart/fetcher.py", line 597, in setSucceeded
>>>> self._progress.setSubDone(self._urlobj.original)
>>>> File "/usr/local/downloads/smart/smart-1.4/smart/progress.py", line 251, in setSubDone
>>>> fragment, subdata) = self.__subprogress[subkey]
>>>> KeyError: 'ftp://ftp.netspace.net.au/linux/MandrivaLinux/official/2011/x86_64/media/contrib/release/media_info/MD5SUM'
>>> Presumably this internal error stopped it from working/completing properly ?
>> Yes, when it gets this error it shuts down.
>
> I worked around this issue, for now:
> http://bazaar.launchpad.net/~smartpm/smart/trunk/revision/1059/smart/progress.py
>
> It's "wrong", but there is no reason why threading issues with
> displaying the progress bar should stop the whole thing working.
>
> --anders
>
This patch fixed the problem for us :
http://dev.unity-linux.org/projects/unitylinux/repository/entry/packages/smart/P/smart-1.3_keyerror.patch
David
More information about the Smart
mailing list