computer-janitor crashes with TypeError

Bug #601585 reported by Tomas Cassidy on 2010-07-04
This bug affects 4 people
Affects Status Importance Assigned to Milestone
computer-janitor (Ubuntu)
Barry Warsaw

Bug Description

Binary package hint: computer-janitor

$ sudo computer-janitor clean --all
ERROR:dbus.proxies:Introspect error on :1.8:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.14" (uid=0 pid=2042 comm="/usr/bin/python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.8" (uid=0 pid=2020 comm="/usr/bin/python))
ERROR:dbus.connection:Unable to set arguments (set([dbus.String(u'deb:linux-image-2.6.35-5-generic'), dbus.String(u'deb:linux-image-2.6.35-4-generic'), dbus.String(u'deb:linux-image-2.6.35-4-virtual'), dbus.String(u'deb:linux-image-2.6.35-5-virtual'), dbus.String(u'file:/etc/apache2/sites-available/default-ssl.dpkg-old')]),) according to signature None: <type 'exceptions.TypeError'>: Don't know how which D-Bus type to use to encode type "set"
Traceback (most recent call last):
  File "/usr/sbin/computer-janitor", line 35, in <module>
  File "/usr/share/computerjanitor/computerjanitorapp/cli/", line 310, in main
  File "/usr/share/computerjanitor/computerjanitorapp/cli/", line 291, in clean
  File "/usr/lib/pymodules/python2.6/dbus/", line 132, in __call__
  File "/usr/lib/pymodules/python2.6/dbus/", line 556, in call_async
    message.append(signature=signature, *args)
TypeError: Don't know how which D-Bus type to use to encode type "set"

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: computer-janitor 2.0.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-6.9-virtual 2.6.35-rc3
Uname: Linux 2.6.35-6-virtual x86_64
Architecture: amd64
Date: Sun Jul 4 21:41:04 2010
PackageArchitecture: all
SourcePackage: computer-janitor

Tomas Cassidy (tomas-cassidy) wrote :
Barry Warsaw (barry) wrote :

The first error message is tracked in bug 715707 but it does not affect the operation of c-j cli. The second problem does; I confirm and have a fix on the way.

Changed in computer-janitor (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
importance: Medium → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → natty-alpha-3
Barry Warsaw (barry) on 2011-02-15
Changed in computer-janitor (Ubuntu):
status: Confirmed → Fix Committed
Barry Warsaw (barry) on 2011-02-15
summary: - computer-janitor crashes with dbus Introspect error
+ computer-janitor crashes with TypeError
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package computer-janitor - 2.0.5-0ubuntu1

computer-janitor (2.0.5-0ubuntu1) natty; urgency=low

  * python-dbus cannot type-convert a set, so use a tuple for the package
    set when --all is given to the computer-janitor cli. (LP: #601585)
  * Fix exceptoin when the user de-selects all cruft in the ui, then clicks
    on the 'Do' button. Instead, a dialog pops up that says there's nothing
    to do. (LP: #591433)
  * Clean up some unused imports.
 -- Barry Warsaw <email address hidden> Tue, 15 Feb 2011 17:21:58 -0500

Changed in computer-janitor (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers