Software center freezes in grey screen

Bug #1346916 reported by Gabriel Teixeira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Fix Committed
Undecided
Gabriel Teixeira

Bug Description

I try open the Software Center, but I cant do it. His freeze in grey screen. Using a command sudo software-center, this comment shows:

** (software-center:19840): WARNING **: A linha de comandos "dbus-launch --autolaunch=06f2fe5781321b9d89e9c47700000007 --binary-syntax --close-stderr" saiu com status de saída não-zero, 1: No protocol specified\nNo protocol specified\nAutolaunch error: X11 initialization failed.\n
Traceback (most recent call last):
  File "/usr/bin/software-center", line 25, in <module>
    from gi.repository import Gtk, GObject
  File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 224, in _load
    overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1533, in <module>
    raise RuntimeError("Gtk couldn't be initialized")
RuntimeError: Gtk couldn't be initialized
gabriel@FLUXBI:~$

Anybody can help me?

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2.10
ProcVersionSignature: Ubuntu 3.2.0-64.97-generic-pae 3.2.59
Uname: Linux 3.2.0-64-generic-pae i686
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: i386
Date: Tue Jul 22 10:33:25 2014
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Gabriel Teixeira (lokigabriel) wrote :
description: updated
Revision history for this message
Gabriel Teixeira (lokigabriel) wrote :

Guyz, I've found a solution.

I erase cache files in my Home folder (Ctrl + H to show hidden files) in .cache folder. Erasing the file and folders in .cache/software-center works to me.

I was reported for futher information to community.

Changed in software-center (Ubuntu):
assignee: nobody → Gabriel Teixeira (lokigabriel)
status: New → Fix Committed
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.