Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Software center in 12.04 crasht  (gelezen 276 keer)

Offline arthur2708

  • Lid
  • Steunpunt: Nee
Software center in 12.04 crasht
« Gepost op: 2012/05/26, 15:42:49 »
Ik heb sinds een paar dagen dat het software center crasht.
Erg vervelend.
Is dit door een bug ??
Dit is het resultaat via de termnial :
artvds2708@artvds2708:~$ software-center
2012-05-26 15:40:28,733 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2012-05-26 15:40:28,736 - softwarecenter.db.database - INFO - open() database: path=None use_axi=True use_agent=True
2012-05-26 15:40:28,941 - softwarecenter.backend.reviews - WARNING - Could not get usefulness from server, no username in config file
2012-05-26 15:40:29,044 - softwarecenter.db.pkginfo_impl.aptcache - INFO - aptcache.open()

(software-center:4388): Gdk-CRITICAL **: gdk_error_trap_pop_internal: assertion `trap != NULL' failed
Traceback (most recent call last):
  File "/usr/bin/software-center", line 176, in <module>
    app.run(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1358, in run
    self.show_available_packages(args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 1288, in show_available_packages
    self.view_manager.set_active_view(ViewPages.AVAILABLE)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/session/viewmanager.py", line 149, in set_active_view
    view_widget.init_view()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/availablepane.py", line 133, in init_view
    SoftwarePane.init_view(self)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/softwarepane.py", line 234, in init_view
    self.datadir)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py", line 886, in __init__
    self._layout_page()
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py", line 1185, in _layout_page
    self.pkg_statusbar = PackageStatusBar(self)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/views/appdetailsview.py", line 176, in __init__
    self.progress.set_data("transparent-bg-hint", True)
AttributeError: 'ProgressBar' object has no attribute 'set_data'
You gotta be hungry !

Offline petervs

  • Lid
  • Steunpunt: Nee
Re: Software center in 12.04 crasht
« Reactie #1 Gepost op: 2012/05/26, 16:05:28 »
Dit lijkt me hetzelfde als dit:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1000238
Kun je aangeven dat je er ook last van hebt.

Helpt misschien het herinstalleren van software-center:
sudo apt-get install --reinstall software-center
Edit: in het bugrapport staat een oplossing beschreven
« Laatst bewerkt op: 2012/05/26, 16:13:56 door petervs »
Ubuntu MATE 16.04