Comment 5 for bug 829067

Revision history for this message
Dmitry Shachnev (mitya57) wrote : Re: software-center-gtk3 crashed with TypeError: Couldn't find conversion for foreign struct 'cairo.Context'

@Yotam:
The only cairo-related package in "bum" dependencies is libcairo-perl, and removing it doesn't help. Please check your history in synaptic, maybe you'll find a package there.

Also, when launching Software Center, I get these traces:
2011-09-18 18:11:37,426 - softwarecenter.db.history_impl.apthistory - ERROR - failed to load cache
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/db/history_impl/apthistory.py", line 79, in _rescan
    self._transactions = pickle.load(open(p))
ImportError: No module named apt.apthistory

...
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/ui/gtk3/panes/historypane.py", line 317, in render_cell_icon
    pkg = store.get_value(iter, self.COL_PKG)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
ValueError: 2 not in range -2147483648 to 2147483647