software-center crashed with TypeError in _check_members(): Collection contains member of invalid type <type 'list'>. Expected <class 'zeitgeist.datamodel.Event'>

Bug #741882 reported by apopovas
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: software-center

there was 1 error during upgrade to natty, can't recall now, what it was. It might be, that now permissions are not set correctly

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: software-center 3.1.24.1
ProcVersionSignature: Ubuntu 2.6.38-7.38-generic 2.6.38
Uname: Linux 2.6.38-7-generic x86_64
Architecture: amd64
Date: Thu Mar 17 11:16:11 2011
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100803.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: /usr/bin/python /usr/bin/software-center
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/software-center']
SourcePackage: software-center
Title: software-center crashed with TypeError in _check_members(): Collection contains member of invalid type <type 'list'>. Expected <class 'zeitgeist.datamodel.Event'>
UpgradeStatus: Upgraded to natty on 2011-03-22 (1 days ago)
UserGroups:

Revision history for this message
apopovas (apopovas) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #714035. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: removed: need-duplicate-check
tags: added: regression-retracer
Kiwinote (kiwinote)
visibility: private → public
Revision history for this message
Kiwinote (kiwinote) wrote :

Hi apopovas! Thanks for your bug report. Could you please update your system to the latest version of software-center using update-manager and see if this is still an issue? This issue should namely be resolved from s-c 3.1.23.3 onwards. Your bug report however would indicate that you are using s-c 3.1.24.1 - so this doesn't quite tally. Thanks again for your help.

Changed in software-center (Ubuntu):
status: New → Incomplete
Revision history for this message
apopovas (apopovas) wrote : Re: [Bug 741882] Re: software-center crashed with TypeError in _check_members(): Collection contains member of invalid type <type 'list'>. Expected <class 'zeitgeist.datamodel.Event'>
Download full text (4.6 KiB)

So this is the weird part - this problem is very percistent - I
constantly update (just did that now), it still haven't disappear. This
is the message while trying to launch software center from terminal:

andrius@vilkas:~$ software-center
WARNING:root:trying to fix not writable cache directory
ERROR:root:failed to fix not writable cache directory
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/paths.py", line 59, in
try_to_fixup_root_owned_dir_via_remove
    os.rmdir(directory)
OSError: [Errno 39] Directory not empty:
'/home/andrius/.cache/software-center'
WARNING:root:trying to fix non-writeable logfile
WARNING:softwarecenter.fixme:logs to the root logger:
'('/usr/share/software-center/softwarecenter/log.py', 96, '<module>')'
2011-03-25 14:49:47,762 - softwarecenter.fixme - WARNING - logs to the
root logger: '('/usr/share/software-center/softwarecenter/log.py', 96,
'<module>')'
2011-03-25 14:49:47,761 - root - WARNING - trying to fix non-writeable
logfile
ERROR:root:failed to fix non-writeable logfile
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/log.py", line 97, in
<module>
    os.remove(logfile_path)
OSError: [Errno 13] Permission denied:
'/home/andrius/.cache/software-center/software-center.log'
WARNING:softwarecenter.fixme:logs to the root logger:
'('/usr/share/software-center/softwarecenter/log.py', 99, '<module>')'
2011-03-25 14:49:47,762 - softwarecenter.fixme - WARNING - logs to the
root logger: '('/usr/share/software-center/softwarecenter/log.py', 99,
'<module>')'
2011-03-25 14:49:47,762 - root - ERROR - failed to fix non-writeable
logfile
Traceback (most recent call last):
  File "/usr/share/software-center/softwarecenter/log.py", line 97, in
<module>
    os.remove(logfile_path)
OSError: [Errno 13] Permission denied:
'/home/andrius/.cache/software-center/software-center.log'
Traceback (most recent call last):
  File "/usr/bin/software-center", line 47, in <module>
    import softwarecenter.log
  File "/usr/share/software-center/softwarecenter/log.py", line 103, in
<module>
    backupCount=5)
  File "/usr/lib/python2.7/logging/handlers.py", line 118, in __init__
    BaseRotatingHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/handlers.py", line 65, in __init__
    logging.FileHandler.__init__(self, filename, mode, encoding, delay)
  File "/usr/lib/python2.7/logging/__init__.py", line 893, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 912, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied:
'/home/andrius/.cache/software-center/software-center.log'

After trying to change permissions in .cashe/software-center manually,
software center opens, but in terminal it outputs:

andrius@vilkas:~$ software-center
2011-03-25 14:57:20,221 - softwarecenter.fixme - WARNING - logs to the
root logger:
'('/usr/share/software-center/softwarecenter/db/database.py', 154,
'open')'
2011-03-25 14:57:20,221 - root - WARNING - failed to add sca db Couldn't
stat '/home/andrius/.cache/software-center/software-center-agent.db' (No
su...

Read more...

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

[Expired for software-center (Ubuntu) because there has been no activity for 60 days.]

Changed in software-center (Ubuntu):
status: Incomplete → Expired
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.