[linux] gnome screensaver fails to uninhibit

Bug #322719 reported by Philippe Normand
2
Affects Status Importance Assigned to Milestone
Moovida
Invalid
Low
Olivier Tilloy

Bug Description

Steps to reproduce:

1. Go in Audio > Music Library > Tracks
2. Play one track
3. Player appears, playback starts and the gnome screensaver is inhibited
4. Stop the player

Expected result: Player OSD disappears and the gnome screensaver is unhibited
Current result: Player OSD disappears but the following traceback is visible on console output:

The above is a description of an error in a Python program. Here is
the original traceback:

Traceback (most recent call last):
  File "/home/phil/bzr/upicek_playlist_model/elisa-plugins/elisa/plugins/gnome/gnome_screensaver_service.py", line 154, in _playback_ended
    self._un_inhibit()
  File "/home/phil/bzr/upicek_playlist_model/elisa-plugins/elisa/plugins/gnome/gnome_screensaver_service.py", line 124, in _un_inhibit
    error_handler=lambda x: dfr.errback(x))
  File "/var/lib/python-support/python2.5/dbus/proxies.py", line 132, in __call__
    **keywords)
  File "/var/lib/python-support/python2.5/dbus/connection.py", line 543, in call_async
    message.append(signature=signature, *args)
TypeError: long() argument must be a string or a number, not 'NoneType'

Philippe Normand (philn)
Changed in elisa:
importance: Undecided → Low
milestone: none → 0.5.x
status: New → Confirmed
Revision history for this message
Olivier Tilloy (osomon) wrote :

Any particular condition needed to trigger the bug? I cannot seem to reproduce it on my linux machine.

Changed in elisa:
assignee: nobody → philn
status: Confirmed → Incomplete
Revision history for this message
Olivier Tilloy (osomon) wrote :

I manage to reproduce it by playing a shoutcast radio station and then pressing the next button.

Changed in elisa:
assignee: philn → nobody
status: Incomplete → Confirmed
Revision history for this message
danpai (yhmyass) wrote :

hai i have a same problem

this way will trigger the error,

try open youtube and play any movie, and watch until finish, and see the logs

the error will raise

here in my elisa error log

if your problem is same as mine, there is another error before the _un_inhibit error
the error is self._initial[1] is an object or variable
locate at list_vertical.py at procedure do_drag_motion() in line 76
i fix it by adding the checking condition.
here is what i added
+ if self._initial:
           time_since_last = time - self._last_drag_motion
           if time_since_last > self.drag_motion_resolution:
              self._last_drag_motion = time
           else:
              return True

           absolute_item_height = self._item_height*self.absolute_height
           motion = (y-self._initial[1])/absolute_item_height
           self.visible_range_start -= motion

           time_delta = time - self._initial[2]
           if time_delta != 0:
              self.speed = motion/time_delta*1000.0

           self._initial = (x, y, time)
           self._drag_accum += abs(motion)

        return True

regards,
bullghost

Olivier Tilloy (osomon)
tags: added: player
Changed in elisa:
milestone: 0.5.x → none
Olivier Tilloy (osomon)
tags: added: playback
removed: player
tags: added: user-experience
removed: playback
Olivier Tilloy (osomon)
Changed in moovida:
assignee: nobody → Olivier Tilloy (osomon)
milestone: none → bug-fixing-day
status: Confirmed → In Progress
Revision history for this message
dino99 (9d9) wrote :

The latest free moovida 1.09 does not get any maintenance since a while. Now moovidadb.com is supporting Linux and support can be found at : http://www.fluendo.com/faq/

Changed in moovida:
status: In Progress → Invalid
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.