[All] To build a better music player
Helge Hafting
helge.hafting at hist.no
Mon Mar 2 10:48:03 CET 2009
Dylan Reilly wrote:
> I am not seeing this problem. Can you look through /etc/pythm.log and
> see if there is anything interesting in there, or send it to me?
>
$ pythm
No Locale found, falling back! Error was:[Errno 2] No translation file
found for domain: 'pythm'
new conf
using gstreamer backend
/usr/lib/python2.6/site-packages/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
super(Connection, self).__init__(*args, **kwargs)
error executing:[Errno 2] No such file or directory:
'/media/card/Music/Albums'
(The last message is ok, I have my music in a different directory.
Usually, navigating there is possible though. But now, the "up button"
does nothing and the file list is empty. After quitting, this happens:)
delete event occurred
destroy signal occurred
Exception in thread Thread-2 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
File "/usr/lib/python2.6/site-packages/pythm/backend/backend.py",
line 496, in run
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Exception in thread Thread-3 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
File "/usr/lib/python2.6/site-packages/pythm/backend/backend.py",
line 496, in run
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
Exception in thread Thread-1 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 522, in __bootstrap_inner
File "/usr/lib/python2.6/site-packages/pythm/backend/backend.py",
line 496, in run
<type 'exceptions.TypeError'>: 'NoneType' object is not callable
And here is /tmp/pythm.log :
2009-03-02 10:35:40,663 DEBUG Unable to set no suspend:
org.freesmartphone.Usage.UserUnknown: User :1.30 did not request CPU
before releasing it
2009-03-02 10:36:31,734 DEBUG Unable to set no suspend:
org.freesmartphone.Usage.UserUnknown: User :1.30 did not request CPU
before releasing it
Nothing about my problems, but it apparently have problems turning off
suspend. Maybe SHR changed this part?
I changed the music directory in /etc/pythm.conf. This time, the album
list came up. It'd be nice if a wrong album directory still allows one
to go up in the directory structure - one can then navigate manually
to were the music is. This was possible before.
Playing the music still fails. I get the correct song length displayed,
and the seconds counts up. But I can't hear anything, even if I turn the
volume to 100%. With or without earphones makes no difference.
Output from pythm:
$ pythm
No Locale found, falling back! Error was:[Errno 2] No translation file
found for domain: 'pythm'
new conf
using gstreamer backend
/usr/lib/python2.6/site-packages/dbus/connection.py:242:
DeprecationWarning: object.__init__() takes no parameters
super(Connection, self).__init__(*args, **kwargs)
(pythm-bin:11766): GStreamer-WARNING **: Name volume is not unique in
bin player, not adding
(pythm-bin:11766): GStreamer-WARNING **: Name volume is not unique in
bin player, not adding
Traceback (most recent call last):
File "/usr/lib/python2.6/logging/__init__.py", line 754, in emit
msg = self.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 637, in format
return fmt.format(record)
File "/usr/lib/python2.6/logging/__init__.py", line 425, in format
record.message = record.getMessage()
File "/usr/lib/python2.6/logging/__init__.py", line 295, in getMessage
msg = msg % self.args
TypeError: not all arguments converted during string formatting
(pythm-bin:11766): GStreamer-WARNING **: Element output is not in bin player
The logfile now shows this:
$ cat /tmp/pythm.log
2009-03-02 10:39:41,165 DEBUG Unable to set no suspend:
org.freesmartphone.Usage.UserUnknown: User :1.31 did not request CPU
before releasing it
2009-03-02 10:40:15,658 DEBUG Going to play song:
/media/card/musikk/Pink Floyd - The Wall/02 The Thin Ice.ogg
2009-03-02 10:40:15,685 DEBUG Need to load the song.
2009-03-02 10:40:15,749 ERROR Error loading song Pink Floyd - The Thin
Ice into player 0: Could not add element 'volume'
2009-03-02 10:40:19,547 DEBUG Async loading new song into player: 1
2009-03-02 10:40:19,554 DEBUG Async next song is:
/media/card/musikk/Pink Floyd - The Wall/03 Another Brick In The Wall,
Part I.ogg
2009-03-02 10:40:19,581 ERROR Error loading song Pink Floyd - Another
Brick In The Wall, Part 1 into player 1: Could not add element 'volume'
2009-03-02 10:42:15,893 DEBUG Going to play song:
/media/card/musikk/Pink Floyd - The Wall/03 Another Brick In The Wall,
Part I.ogg
2009-03-02 10:42:15,903 DEBUG Song already loaded.
2009-03-02 10:42:16,084 DEBUG Unable to set no suspend:
org.freesmartphone.Usage.UserExists: User :1.31 already requested CPU
2009-03-02 10:42:19,317 DEBUG Async loading new song into player: 0
2009-03-02 10:42:19,324 DEBUG Async next song is:
/media/card/musikk/Pink Floyd - The Wall/02 The Thin Ice.ogg
2009-03-02 10:42:19,344 ERROR Error loading song Pink Floyd - The Thin
Ice into player 0: Could not remove element 'output'
Helge Hafting
More information about the community
mailing list