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'
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 pymodules/ python2. 6/gtk-2. 0/gtk/_ _init__ .py:40: RuntimeWarning: tp_compare didn't return -1 or -2 for exception python2. 6/dist- packages/ apport_ python_ hook.py" , line 105, in apport_excepthook O_WRONLY| os.O_CREAT| os.O_EXCL, 0600), 'w') _usr_share_ software- center_ software- center. 1000.crash'
/usr/lib/
from gtk import _gtk
ImportError: No module named gi
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
os.
OSError: [Errno 2] No such file or directory: '/var/crash/
Original exception was: software- center/ softwarecenter/ view/historypan e.py:29: DeprecationWarning: please use 'debian' instead of 'debian_bundle' software- center" , line 78, in <module> pp(datadir, xapian_base_path) software- center/ softwarecenter/ app.py" , line 206, in __init__ software- center/ softwarecenter/ view/historypan e.py", line 128, in __init__ parse_history_ log() software- center/ softwarecenter/ view/historypan e.py", line 163, in parse_history_log datetime. strptime( stanza[ 'Start- Date'], '%Y-%m-%d %H:%M:%S') pymodules/ python2. 6/debian/ deb822. py", line 170, in __getitem__ python2. 6/dist- packages/ apport_ python_ hook.py" , line 105, in apport_excepthook O_WRONLY| os.O_CREAT| os.O_EXCL, 0600), 'w') _usr_share_ software- center_ software- center. 1000.crash'
ImportError: No module named gi
/usr/share/
from debian_bundle import deb822
Traceback (most recent call last):
File "/usr/bin/
app = SoftwareCenterA
File "/usr/share/
self.icons, datadir)
File "/usr/share/
self.
File "/usr/share/
when = datetime.
File "/usr/lib/
value = self.__dict[key]
KeyError: 'Start-Date'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
os.
OSError: [Errno 2] No such file or directory: '/var/crash/
Original exception was: software- center" , line 78, in <module> pp(datadir, xapian_base_path) software- center/ softwarecenter/ app.py" , line 206, in __init__ software- center/ softwarecenter/ view/historypan e.py", line 128, in __init__ parse_history_ log() software- center/ softwarecenter/ view/historypan e.py", line 163, in parse_history_log datetime. strptime( stanza[ 'Start- Date'], '%Y-%m-%d %H:%M:%S') pymodules/ python2. 6/debian/ deb822. py", line 170, in __getitem__
Traceback (most recent call last):
File "/usr/bin/
app = SoftwareCenterA
File "/usr/share/
self.icons, datadir)
File "/usr/share/
self.
File "/usr/share/
when = datetime.
File "/usr/lib/
value = self.__dict[key]
KeyError: 'Start-Date'