foobnix/foobnix — Issue #47: next track
Author: foobnix
Created: 2011-10-31 12:04:07+00:00
State: open

org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/dbus/service.py", line 702, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/home/iivanenko/foobnix/src/foobnix/regui/controls/dbus_manager.py", line 120, in parse_arguments
result = self.check_for_commands(args)
File "/home/iivanenko/foobnix/src/foobnix/regui/controls/dbus_manager.py", line 83, in check_for_commands
self.controls.next()
File "/home/iivanenko/foobnix/src/foobnix/regui/base_controls.py", line 669, in next
self.play(bean)
File "/home/iivanenko/foobnix/src/foobnix/regui/base_controls.py", line 411, in play
self._play(bean)
File "/home/iivanenko/foobnix/src/foobnix/regui/base_controls.py", line 441, in _play
if not get_file_extension(bean.path) in FC().video_formats:
File "/home/iivanenko/foobnix/src/foobnix/util/file_utils.py", line 227, in get_file_extension
return os.path.splitext(fileName)[1].lower().strip()
File "/usr/lib/python2.7/posixpath.py", line 96, in splitext
return genericpath._splitext(p, sep, altsep, extsep)
File "/usr/lib/python2.7/genericpath.py", line 91, in _splitext
sepIndex = p.rfind(sep)
AttributeError: 'NoneType' object has no attribute 'rfind'

Other copy of player is run