I assume the issue here is that sometimes the value for "Space" is None,
a workaround might be:

=== modified file 'aptdaemon/client.py'
--- aptdaemon/client.py 2012-05-08 22:44:15 +0000
+++ aptdaemon/client.py 2012-06-05 07:05:13 +0000
@@ -638,7 +638,7 @@
             self.download = value
             self.emit("download-changed", value)
         elif property_name == "Space":
-            self.space = value
+            self.space = value or 0
             self.emit("space-changed", value)
         elif property_name == "HttpProxy":
             self.http_proxy = value

But I don't see in the code how this could happen that trans.space is
None.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/981124

Title:
  software-center crashed with TypeError in _on_property_changed():
  could not convert type dbus.Int64 to (null) required for parameter 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptdaemon/+bug/981124/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to