severity 568941 minor
tag 568941 pending
thanks
Am Montag, den 08.02.2010, 23:50 +0100 schrieb Julien Cristau:
> Package: software-center
> Version: 1.1.10debian1
> Severity: serious
>
> Installing software-center results in:
>
> Setting up software-center (1.1.10debian1) ...
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Building data structures... Done
> ERROR:root:error processing:
> /usr/share/app-install/desktop/kbarcode-label.desktop No option 'Name' in
> section: 'Desktop Entry'
> Traceback (most recent call last):
> File "/usr/share/software-center/softwarecenter/db/update.py", line 103, in
> update
> name = parser.get_desktop("Name")
> File "/usr/share/software-center/softwarecenter/db/update.py", line 70, in
> get_desktop
> return self.get(self.DE, key)
> File "/usr/lib/python2.5/ConfigParser.py", line 302, in get
> raise NoOptionError(option, section)
> NoOptionError: No option 'Name' in section: 'Desktop Entry'
>
> Confusingly, the postinst still exits with status 0. I think
> 1) it should not print a backtrace for something that's not a hard error
> 2) if it gets a hard error it should exit with an error, not pretend
> everything's fine.
It's not a hard error, because invalid files are simply skipped. The
invalid file should be fixed in app-install-data 2010.01.31, could you
please try to rerun update-software-center? This would normally be a
duplicate of #568833, but I'm keeping #568833 as the bug in
app-install-data, and this one as a request to display a warning instead
of an error with backtrace. But as this is purely cosmetic, I'm
downgrading the severity to minor.
It's fixed in bzr:
bzr+ssh://bazaar.launchpad.net/~juliank/software-center/debian/
Regards,
Julian
--
Julian Andres Klode - Debian Developer, Ubuntu Member
See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]