I had the same error with a freshly installed 10.10 today, and eventually I have made it work somehow.
Starting software-center (3.0.7) from terminal gave:
pbekesi@csacsi-desktop:~$ software-center
Traceback (most recent call last):
File "/usr/bin/software-center", line 88, in <module>
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/software-center/softwarecenter/app.py", line 62, in <module>
from view.logindialog import LoginDialog
File "/usr/share/software-center/softwarecenter/view/logindialog.py", line 30, in <module>
from softwarecenter.backend.launchpad import GLaunchpad
File "/usr/share/software-center/softwarecenter/backend/launchpad.py", line 32, in <module>
from launchpadlib.launchpad import Launchpad
ImportError: No module named launchpadlib.launchpad
I reinstalled python-launchpadlib (1.6.1-1) to see if it fixes, but after I did this, starting software-center resulted in:
pbekesi@csacsi-desktop:~$ software-center
Traceback (most recent call last):
File "/usr/bin/software-center", line 88, in <module>
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/software-center/softwarecenter/app.py", line 62, in <module>
from view.logindialog import LoginDialog
File "/usr/share/software-center/softwarecenter/view/logindialog.py", line 30, in <module>
from softwarecenter.backend.launchpad import GLaunchpad
File "/usr/share/software-center/softwarecenter/backend/launchpad.py", line 32, in <module>
from launchpadlib.launchpad import Launchpad
File "/usr/lib/pymodules/python2.6/launchpadlib/launchpad.py", line 29, in <module>
from lazr.restfulclient.resource import (
File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/resource.py", line 41, in <module>
from _browser import Browser, RestfulHttp
File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_browser.py", line 50, in <module>
from _json import DatetimeJSONEncoder
File "/usr/lib/python2.6/dist-packages/lazr/restfulclient/_json.py", line 28, in <module>
class DatetimeJSONEncoder(simplejson.JSONEncoder):
AttributeError: 'module' object has no attribute 'JSONEncoder'
I tried reinstalling software-center, but the result was the same. After some googling, I also reinstalled the package python-simplejson (2.1.1-1)
Now it if starting up fine except for maybe the below output, but besides that it's ok.
pbekesi@csacsi-desktop:~$ software-center
2011-02-27 17:03:47,174 - softwarecenter.app - INFO - software-center-agent finished with status 1
WARNING: can not get name for '<gtk.TextBuffer object at 0xa3ba2d4 (GtkTextBuffer at 0xa069948)>'WARNING: can not get name for '<gtk.CellRendererText object at 0xa3ba2fc (GtkCellRendererText at 0xa0703a0)>'
I had the same error with a freshly installed 10.10 today, and eventually I have made it work somehow.
Starting software-center (3.0.7) from terminal gave:
pbekesi@ csacsi- desktop: ~$ software-center software- center" , line 88, in <module> software- center/ softwarecenter/ app.py" , line 62, in <module> software- center/ softwarecenter/ view/logindialo g.py", line 30, in <module> backend. launchpad import GLaunchpad software- center/ softwarecenter/ backend/ launchpad. py", line 32, in <module> launchpad import Launchpad launchpad
Traceback (most recent call last):
File "/usr/bin/
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/
from view.logindialog import LoginDialog
File "/usr/share/
from softwarecenter.
File "/usr/share/
from launchpadlib.
ImportError: No module named launchpadlib.
I reinstalled python-launchpadlib (1.6.1-1) to see if it fixes, but after I did this, starting software-center resulted in:
pbekesi@ csacsi- desktop: ~$ software-center software- center" , line 88, in <module> software- center/ softwarecenter/ app.py" , line 62, in <module> software- center/ softwarecenter/ view/logindialo g.py", line 30, in <module> backend. launchpad import GLaunchpad software- center/ softwarecenter/ backend/ launchpad. py", line 32, in <module> launchpad import Launchpad pymodules/ python2. 6/launchpadlib/ launchpad. py", line 29, in <module> ent.resource import ( python2. 6/dist- packages/ lazr/restfulcli ent/resource. py", line 41, in <module> python2. 6/dist- packages/ lazr/restfulcli ent/_browser. py", line 50, in <module> python2. 6/dist- packages/ lazr/restfulcli ent/_json. py", line 28, in <module> oder(simplejson .JSONEncoder) :
Traceback (most recent call last):
File "/usr/bin/
from softwarecenter.app import SoftwareCenterApp
File "/usr/share/
from view.logindialog import LoginDialog
File "/usr/share/
from softwarecenter.
File "/usr/share/
from launchpadlib.
File "/usr/lib/
from lazr.restfulcli
File "/usr/lib/
from _browser import Browser, RestfulHttp
File "/usr/lib/
from _json import DatetimeJSONEncoder
File "/usr/lib/
class DatetimeJSONEnc
AttributeError: 'module' object has no attribute 'JSONEncoder'
I tried reinstalling software-center, but the result was the same. After some googling, I also reinstalled the package python-simplejson (2.1.1-1)
Now it if starting up fine except for maybe the below output, but besides that it's ok.
pbekesi@ csacsi- desktop: ~$ software-center center- agent finished with status 1 >'WARNING: can not get name for '<gtk.CellRende rerText object at 0xa3ba2fc (GtkCellRendere rText at 0xa0703a0)>'
2011-02-27 17:03:47,174 - softwarecenter.app - INFO - software-
WARNING: can not get name for '<gtk.TextBuffer object at 0xa3ba2d4 (GtkTextBuffer at 0xa069948)