Doesn't monitor remove transactions

Bug #642936 reported by Sebastian Heinlein on 2010-09-19
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-apt (Debian)
Fix Released
Unknown
python-apt (Ubuntu)
High
Unassigned
software-center (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: software-center

Remove transactions don't show up in the transaction list.

There is an error in python-apt which lets aptdaemon.client.get_transaction fail.

Related branches

Sebastian Heinlein (glatzor) wrote :

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/share/software-center/softwarecenter/backend/aptd.py", line 467, in on_transactions_changed
    trans = client.get_transaction(current)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/defer.py", line 510, in _deferable
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/errors.py", line 149, in _convert_dbus_exception
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/client.py", line 1038, in get_transaction
    trans.sync()
  File "/usr/lib/python2.6/dist-packages/aptdaemon/defer.py", line 510, in _deferable
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/errors.py", line 149, in _convert_dbus_exception
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/client.py", line 334, in sync
    sync_properties(properties)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/client.py", line 323, in sync_properties
    self._on_property_changed(property_name, value)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/client.py", line 291, in _on_property_changed
    self.emit("space-changed", value)
TypeError: could not convert type dbus.Double to (null) required for parameter 0

Changed in software-center (Ubuntu):
importance: Undecided → Critical
Sebastian Heinlein (glatzor) wrote :
Sebastian Heinlein (glatzor) wrote :

The UsrSize and DepSize of the depcache are of type long instread of float

tags: added: patch
Michael Vogt (mvo) on 2010-09-20
Changed in python-apt (Ubuntu):
status: New → In Progress
importance: Undecided → High
Changed in software-center (Ubuntu):
status: New → In Progress
Michael Vogt (mvo) on 2010-09-20
Changed in python-apt (Ubuntu):
status: In Progress → Fix Committed
Changed in software-center (Ubuntu):
status: In Progress → Fix Committed
importance: Critical → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-apt - 0.7.96.1ubuntu11

---------------
python-apt (0.7.96.1ubuntu11) maverick; urgency=low

  * Fix return type of DebSize() and UsrSize(), its long long,
    not float. Thanks to Sebastian Heinlein, LP: #642936
 -- Michael Vogt <email address hidden> Mon, 20 Sep 2010 10:43:47 +0200

Changed in python-apt (Ubuntu):
status: Fix Committed → Fix Released
Michael Vogt (mvo) on 2010-09-24
Changed in software-center (Ubuntu):
status: Fix Committed → Fix Released
Changed in python-apt (Debian):
status: Unknown → New
Changed in python-apt (Debian):
status: New → 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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.