Crash of software-center with UnicodeDecodeError

Bug #1199617 reported by MTelegin
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Yesterday I upgraded from ubuntu 13.04 to 13.10 and got software-center crash with trace:

--------------------------------------------
maxim@maxim-desktop:~$ software-center
2013-07-10 08:53:51,668 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-07-10 08:53:52,868 - softwarecenter.region - WARNING - failed to use geoclue: 'org.freedesktop.Geoclue.Error.notAvailable: Geoclue master client has no usable Address providers'
2013-07-10 08:53:53,708 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-07-10 08:53:53,732 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2013-07-10 08:53:53,774 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2013-07-10 08:53:53,774 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2013-07-10 08:53:53,907 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()
/usr/share/software-center/softwarecenter/db/update.py:872: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if untranslated_value != translated_value:
Traceback (most recent call last):
  File "/usr/bin/software-center", line 183, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1375, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1313, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 150, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 140, in init_view
    SoftwarePane.init_view(self)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 138, in init_view
    self.icons, self.show_ratings)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appview.py", line 71, in __init__
    self.helper = AppPropertiesHelper(db, cache, icons)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/models/appstore2.py", line 112, in __init__
    self.all_categories = cat_parser.parse_applications_menu()
  File "/usr/share/software-center/softwarecenter/db/categories.py", line 294, in parse_applications_menu
    LOG.debug("%s %s %s" % (cat.name, cat.iconname, cat.query))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
------------------------------------

Revision history for this message
vinibali (vinibali) wrote :

i got the same issuse, but i can open the software center with another .deb file and after it runs, theres no problem. intresting :)

Dave Morley (davmor2)
Changed in software-center:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Ubuntu One Client Engineering team (ubuntuone-client-engineering)
tags: added: u1-by-user u1-on-production
Changed in software-center:
assignee: Ubuntu One Client Engineering team (ubuntuone-client-engineering) → nobody
dobey (dobey)
affects: software-center → software-center (Ubuntu)
Alexis (locidux)
Changed in software-center (Ubuntu):
status: Confirmed → Opinion
status: Opinion → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.