Comment 3 for bug 591590

Revision history for this message
Delan Azabani (azabani) wrote :

Unfortunately I've tried some package actions using apt-get, along with manually creating the log file. The particular error no longer shows, but software-center still crashes with a different output.

delan@delan:~$ software-center
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:40: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
  from gtk import _gtk
ImportError: No module named gi
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 105, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL, 0600), 'w')
OSError: [Errno 2] No such file or directory: '/var/crash/_usr_share_software-center_software-center.1000.crash'

Original exception was:
ImportError: No module named gi
/usr/share/software-center/softwarecenter/view/historypane.py:29: DeprecationWarning: please use 'debian' instead of 'debian_bundle'
  from debian_bundle import deb822
Traceback (most recent call last):
  File "/usr/bin/software-center", line 78, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path)
  File "/usr/share/software-center/softwarecenter/app.py", line 206, in __init__
    self.icons, datadir)
  File "/usr/share/software-center/softwarecenter/view/historypane.py", line 128, in __init__
    self.parse_history_log()
  File "/usr/share/software-center/softwarecenter/view/historypane.py", line 163, in parse_history_log
    when = datetime.datetime.strptime(stanza['Start-Date'], '%Y-%m-%d %H:%M:%S')
  File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 170, in __getitem__
    value = self.__dict[key]
KeyError: 'Start-Date'
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 105, in apport_excepthook
    os.O_WRONLY|os.O_CREAT|os.O_EXCL, 0600), 'w')
OSError: [Errno 2] No such file or directory: '/var/crash/_usr_share_software-center_software-center.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/software-center", line 78, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path)
  File "/usr/share/software-center/softwarecenter/app.py", line 206, in __init__
    self.icons, datadir)
  File "/usr/share/software-center/softwarecenter/view/historypane.py", line 128, in __init__
    self.parse_history_log()
  File "/usr/share/software-center/softwarecenter/view/historypane.py", line 163, in parse_history_log
    when = datetime.datetime.strptime(stanza['Start-Date'], '%Y-%m-%d %H:%M:%S')
  File "/usr/lib/pymodules/python2.6/debian/deb822.py", line 170, in __getitem__
    value = self.__dict[key]
KeyError: 'Start-Date'