This is caused by some UTF-8 data somehow getting into the menu data.
Default encoding is "ascii" in python, and when python tries to
manipulate the UTF-8 menu string, it crashes. The program that is
failing is /usr/sbin/update-app-install, in
/usr/lib/pymodules/python2.6/xdg/Menu.py. If I add at the top of this
file:
import sys
reload(sys)
sys.setdefaultencoding('UTF-8')
Then the update-app-install program seems to work. When I run gnome-
app-install, everything works until I hit the "Apply" button, where it
crashes with:
Traceback (most recent call last):
File "/usr/share/gnome-app-install/AppInstall/AppInstallApp.py", line 1040,
in on_button_ok_clicked
self.applyChanges(to_add, to_rm)
File "/usr/share/gnome-app-install/AppInstall/AppInstallApp.py", line 1017,
in applyChanges
ret = self.install_backend.commit(pkgs_add, pkgs_rm)
File
"/usr/share/gnome-app-install/AppInstall/backend/InstallBackendAptdaemon.py",
line 23, in commit
exit_handler=self._on_exit)
TypeError: commit_packages() got an unexpected keyword argument 'exit_handler'
--
Tracebacks when upgrading from Karmic
https://bugs.launchpad.net/bugs/520952
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs