software-center crashes on start

Bug #1159970 reported by Walter Ribeiro on 2013-03-25
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Undecided
Unassigned

Bug Description

In Ubuntu 13.04, clicking on software-center icon on Unity panel, nothing happens.
Via terminal, the following error occurs:

Traceback (most recent call last):
  File "/usr/bin/software-center", line 128, in <module>
    from softwarecenter.ui.gtk3.app import SoftwareCenterAppGtk3
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 37, in <module>
    import webbrowser
  File "/usr/lib/python2.7/webbrowser.py", line 505, in <module>
    register_X_browsers()
  File "/usr/lib/python2.7/webbrowser.py", line 489, in register_X_browsers
    register(browser, None, Chrome(browser))
NameError: global name 'Chrome' is not defined

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: software-center 5.5.6-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-14.24-generic 3.8.4
Uname: Linux 3.8.0-14-generic i686
NonfreeKernelModules: nvidia wl
ApportVersion: 2.9.2-0ubuntu4
Architecture: i386
Date: Mon Mar 25 15:56:33 2013
InstallationDate: Installed on 2013-03-23 (2 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha i386 (20130322)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Walter Ribeiro (wribeirojr) wrote :
Walter Ribeiro (wribeirojr) wrote :
Sami Jaktholm (sjakthol) wrote :

Thank you for taking your time to report this bug. This bug is a duplicate of bug 1159636 and is marked as such. As the fix for bug 1159636 is already released, you should be able to fix this problem by upgrading your system.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in software-center (Ubuntu):
status: New → Confirmed
Panshul Gupta (ouch007) wrote :

I am sorry.. but this is not fixed in my system even after a system upgrade. Please suggest.

Panshul Gupta (ouch007) wrote :

I get the following error when trying to run from console:

2013-05-13 23:58:05,053 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2013-05-13 23:58:05,296 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2013-05-13 23:58:05,298 - softwarecenter.plugin - INFO - activating plugin '<module 'webapps_activation' from '/usr/share/software-center/softwarecenter/plugins/webapps_activation.pyc'>'
2013-05-13 23:58:05,302 - softwarecenter.fixme - WARNING - logs to the root logger: '('/usr/lib/python2.7/dist-packages/gi/importer.py', 51, 'find_module')'
2013-05-13 23:58:05,301 - root - ERROR - Could not find any typelib for LaunchpadIntegration
2013-05-13 23:58:05,452 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()

(software-center:8905): Gdk-ERROR **: The program 'software-center' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 3198 error_code 9 request_code 62 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers