panflute-daemon crash "TypeError: an integer is required"

Bug #780315 reported by Freman on 2011-05-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panflute
Undecided
Unassigned

Bug Description

panflute-daemon (0.7.0-0ubuntu0~natty2)
panflute-applet (0.7.0-0ubuntu0~natty2)
mpd (MPD: Music Player Daemon) 0.16.1

freman@freman-desktop:~$ panflute-daemon
[Pyinotify ERROR] add_watch: cannot watch /home/freman/.moc (WD=-1)
ERROR [pyinotify] add_watch: cannot watch /home/freman/.moc (WD=-1)
Traceback (most recent call last):
  File "/usr/bin/panflute-daemon", line 67, in <module>
    manager = panflute.daemon.manager.Manager ()
  File "/usr/lib/pymodules/python2.7/panflute/daemon/manager.py", line 119, in __init__
    self.__scan_for_connected ()
  File "/usr/lib/pymodules/python2.7/panflute/daemon/manager.py", line 175, in __scan_for_connected
    self.__expose (conn)
  File "/usr/lib/pymodules/python2.7/panflute/daemon/manager.py", line 218, in __expose
    self.__player = conn.player (object_path = "/Player", bus_name = bus_name)
  File "/usr/lib/pymodules/python2.7/panflute/daemon/mpd.py", line 62, in player
    return Player (self, self.__active, self.__idle, **kwargs)
  File "/usr/lib/pymodules/python2.7/panflute/daemon/mpd.py", line 171, in __init__
    self._refresh_status ()
  File "/usr/lib/pymodules/python2.7/panflute/daemon/mpd.py", line 288, in _refresh_status
    self.start_polling_for_time ()
  File "/usr/lib/pymodules/python2.7/panflute/daemon/mpris.py", line 677, in start_polling_for_time
    self.__poll_for_time ()
  File "/usr/lib/pymodules/python2.7/panflute/daemon/mpris.py", line 698, in __poll_for_time
    self.do_PositionChange (elapsed)
  File "/usr/lib/pymodules/python2.7/panflute/daemon/mpris.py", line 604, in do_PositionChange
    self.PositionChange (position)
  File "/usr/lib/pymodules/python2.7/dbus/decorators.py", line 309, in emit_signal
    message.append(signature=signature, *args)
TypeError: an integer is required

I suspect it's in panflute/daemon/mpd.py around line 232/233

Seems to fix it for me...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers