Software Center doesn't open at all in Ubuntu 13.10

Bug #1201168 reported by Abhinay
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have updated to Ubuntu 13.10 from 13.04 and after the update, software center doesn't open at all.. When I click on the icon, it blinks a few times and nothing happens.

I typed the "Software-center" command in the terminal and this is what i got:

software-center
2013-07-15 00:54:58,169 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
Traceback (most recent call last):
  File "/usr/bin/software-center", line 130, in <module>
    app = SoftwareCenterAppGtk3(options, args)
  File "/usr/share/software-center/softwarecenter/ui/gtk3/app.py", line 429, in __init__
    self.useful_cache = UsefulnessCache(True)
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 91, in __init__
    self._retrieve_votes_from_server()
  File "/usr/share/software-center/softwarecenter/backend/reviews/__init__.py", line 105, in _retrieve_votes_from_server
    user = get_person_from_config()
  File "/usr/share/software-center/softwarecenter/utils.py", line 638, in get_person_from_config
    cfg = get_config()
  File "/usr/share/software-center/softwarecenter/config.py", line 180, in get_config
    _software_center_config = SoftwareCenterConfig(filename)
  File "/usr/share/software-center/softwarecenter/config.py", line 38, in __init__
    super(SoftwareCenterConfig, self).__init__()
TypeError: must be type, not classobj

Release of Ubuntu being used : Ubuntu 13.10

Version of the package : apt-cache policy software-center
software-center:
  Installed: 13.05-0ubuntu2
  Candidate: 13.05-0ubuntu2
  Version table:
 *** 13.05-0ubuntu2 0
        500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-updates/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-updates/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-updates_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-backports/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-backports_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-backports/multiverse amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-backports_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-backports/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-backports_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-backports/multiverse i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-backports_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-security/restricted amd64 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ saucy-security/restricted i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems

What I expected to happen : Software center to open

What happened instead : nothing.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: software-center 13.05-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
Uname: Linux 3.8.0-27-generic x86_64
ApportVersion: 2.10.2-0ubuntu4
Architecture: amd64
Date: Mon Jul 15 00:49:19 2013
InstallationDate: Installed on 2013-07-14 (0 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_IN:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: software-center
UpgradeStatus: Upgraded to saucy on 2013-07-14 (0 days ago)

Revision history for this message
Abhinay (abhinaym) wrote :
Revision history for this message
Abhinay (abhinaym) wrote :

This no longer affects me, I ran an update and everything works fine now.!

Revision history for this message
Michael Murphy (mmstick) wrote :

Darn it, I have this problem. Update doesnt help.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in software-center (Ubuntu):
status: New → Confirmed
Revision history for this message
glenn van acker (vanackerglenn) wrote :

this also affected me in 13.04, but doing an apt-get update is only going to refresh your package list. for those of you who only tried that, try doing a sudo apt-get upgrade. that fixed it with me. i don't really know much about those packages, but it seemed to me like one of the files from the front-end was corrupted..

Revision history for this message
Gerelt (gerelt) wrote :
Revision history for this message
Angel Mass (angelmass) wrote :

Found a solution, just enter this in the console:

sudo apt-get install --reinstall software-center

Wait for the reinstallation to finish and then try running it again.

Revision history for this message
Martin Francis (jahrulez) wrote :

the above solutions did not work for me what worked was

sudo apt-get update

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.