gajim plugin throws "AttributeError" on pause/unpause and track changing

Bug #120065 reported by Kjell Braden
2
Affects Status Importance Assigned to Milestone
quodlibet-plugins (Debian)
Fix Released
Unknown
quodlibet-plugins (Ubuntu)
Fix Released
Undecided
Michael Bienia

Bug Description

Binary package hint: quodlibet-plugins

On pausing/unpausing and when changing tracks I get the following error (lines and affected functions differ on every event)
Traceback (most recent call last):
  File "/usr/share/quodlibet/plugins/events.py", line 128, in __invoke
    try: handler(*args)
  File "/usr/share/quodlibet/plugins/events/gajim_status.py", line 92, in plugin_on_unpaused
    self.change_status(self.accounts, self.current)
  File "/usr/share/quodlibet/plugins/events/gajim_status.py", line 73, in change_status
    for account in self.interface.list_accounts():
AttributeError: 'NoneType' object has no attribute 'list_accounts'

$ LC_ALL=C apt-cache policy quodlibet-plugins
quodlibet-plugins:
  Installed: 20070529-1ubuntu1
  Candidate: 20070529-1ubuntu1
  Version table:
 *** 20070529-1ubuntu1 0
        500 http://archive.ubuntu.com gutsy/universe Packages
        100 /var/lib/dpkg/status
$ LC_ALL=C apt-cache policy quodlibet
quodlibet:
  Installed: 1.0-0ubuntu1
  Candidate: 1.0-0ubuntu1
  Version table:
 *** 1.0-0ubuntu1 0
        500 http://archive.ubuntu.com gutsy/universe Packages
        100 /var/lib/dpkg/status

Tags: patch
Kjell Braden (afflux)
description: updated
Revision history for this message
Kjell Braden (afflux) wrote :
description: updated
Andrea Veri (av)
Changed in quodlibet-plugins:
assignee: nobody → bluekuja
status: Unconfirmed → Confirmed
Revision history for this message
Andrea Veri (av) wrote :

I've just prepared a debdiff that includes this patch.

Thanks for your work.

Changed in quodlibet-plugins:
assignee: bluekuja → nobody
Michael Bienia (geser)
Changed in quodlibet-plugins:
assignee: nobody → geser
status: Confirmed → In Progress
Revision history for this message
Michael Bienia (geser) wrote :

Uploaded.

Changed in quodlibet-plugins:
status: In Progress → Fix Committed
Revision history for this message
Andrea Veri (av) wrote :

quodlibet-plugins (20070529-1ubuntu2) gutsy; urgency=low

    * Added dpatch to B-D in debian/control
    * Added dpatch patch system in debian/rules
    * Added 01_gajim-attribute-error.dpatch (Thanks to Kjell Braden) that
      fixes some errors while pausing/unpausing and when changing tracks in
      gajim. (LP: #120065)

 -- Andrea Veri <email address hidden> Fri, 15 Jun 2007 23:45:49 +0200

Changed in quodlibet-plugins:
status: Fix Committed → Fix Released
Changed in quodlibet-plugins:
status: Unknown → Unconfirmed
Changed in quodlibet-plugins:
status: New → Fix Released
Revision history for this message
Kjell Braden (afflux) wrote :

It looks like I didn't see bug 82337, which deals with the same issue. I'll mark this one as a duplicate of 82337 and set it to fix released.

Revision history for this message
Craig Rindy (gnuworldman) wrote :

This is not a duplicate of bug 82337. The two bugs are described as happening at different times, and the other traceback occurs in the "quit" method of "GajimStatusMessage". As a result, the fix for this bug does nothing for the other bug. They are very similar as an AttributeError occurs in gajim_status.py, but this is not a duplicate.

Revision history for this message
Kjell Braden (afflux) wrote :

You're right, they're different. Note that bug 82337 still is fixed: the code has now mechanisms for checking whether "interface" has been set.

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.