I just got a Raspberry Pi (raspberrypi.org) and tried to get pytone running under their version of Debian known as Raspbian. The package seems to install but the app won't launch even after editing the config file. Anyone else have any success getting pytone running on a Pi?
Hi Robert,
Could you please try turning on debugging, e.g.,
pytone -d debug.txt
and send the debugging output.
Best,
Jörg
On 07.08.12, Robert Boerner wrote:
I just got a Raspberry Pi (raspberrypi.org) and tried to get pytone running under their version of Debian known as Raspbian. The package seems to install but the app won't launch even after editing the config file. Anyone else have any success getting pytone running on a Pi?
PyTone-users mailing list PyTone-users@luga.de https://www.luga.de/mailman/listinfo/pytone-users
Hi Jorg,
Thanks for the quick response. I initially tried to attach the debug output, but mailman bounced it back due to size. Even cut down to what should be relevant, it was still about 80k.
I think I have one of several problems. The package from Debian Wheezy (which the Raspbian distro is based on) seems to be version 3.0.0 which is not the latest.
It also seems that there is rapid advancement everyday in terms of driver support for the Raspberry Pi board and firmware updates. As of today with Raspbian fully up to date and the latest firmware from 8/7 and pytone's default config (except for me setting the database path) I still get the output I have attached.
I quick switch to using ALSA instead of OSS leads to this output:
Traceback (most recent call last): File "/usr/bin/pytone", line 165, in <module> playerids = [services.player.initplayer("main", config.player.main), File "/usr/lib/pytone/services/player.py", line 69, in initplayer raise RuntimeError("Cannot initialize %s player: type=internal, device=%s" % (id, config.device)) RuntimeError: Cannot initialize main player: type=internal, device=/dev/dsp
Well, there doesn't seem to be a /dev/dsp on the system. I am able to play .wav files using the aplay command, but obviously I am missing something lower level.
Is the board and its distros just too new? Is there another way for me to send you a the file? Here is a snippet of the output that seems pertinent (again this was running with OSS selected before I switched to ALSA):
D [18:14:00|songdb manager service|services/songdb] db request cache miss for request: 'getnumberofsongs'(None))->'main' (30 requests and 73 objects cached) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x25018f0> (priority 0) D [18:14:00|playlist service|hub] event: <events.playlistchanged instance at 0x25018c8> (priority 0) D [18:14:00|songdb manager service|hub] got result 13 for 'getnumberofsongs'(None))->'main' D [18:14:00|playlist service|hub] got result None for 'playlist_requestnextsong'->'main',False D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x25019b8> (priority 0) I [18:14:00|songautoregisterer service|services/songdbs/sqlite] database 'main': rescan finished (13 songs registered) D [18:14:00|MainThread|hub] event: <events.selectionchanged instance at 0x23e8080> (priority 0) D [18:14:00|MainThread|hub] event: <events.statusbar_update instance at 0x2401530> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x2401490> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eba80> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb8f0> (priority 0) D [18:14:00|player thread (id=main)|hub] request: 'playlist_requestnextsong'->'main',False (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb9e0> (priority 0) D [18:14:00|player thread (id=main)|hub] event: <hub.requestresponse instance at 0x24ebaa8> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb990> (priority 0) D [18:14:00|playlist service|hub] event: <events.playlistchanged instance at 0x24eb878> (priority 0) D [18:14:00|playlist service|hub] got result None for 'playlist_requestnextsong'->'main',False D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x2401fa8> (priority 0) D [18:14:00|MainThread|hub] event: <events.selectionchanged instance at 0x24eb9b8> (priority 0) D [18:14:00|MainThread|hub] event: <events.statusbar_update instance at 0x24eb738> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb828> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb788> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb530> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb6e8> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24eb238> (priority 0) D [18:14:00|player thread (id=main)|hub] request: 'playlist_requestnextsong'->'main',False (priority 0) D [18:14:00|player thread (id=main)|hub] event: <hub.requestresponse instance at 0x24eb7b0> (priority 0) D [18:14:00|MainThread|hub] event: <events.focuschanged instance at 0x24ebb48> (priority 0) D [18:14:01|playlist service|hub] event: <events.playlistchanged instance at 0x24eb508> (priority 0) D [18:14:01|MainThread|hub] event: <events.selectionchanged instance at 0x24eb710> (priority 0) D [18:14:01|playlist service|hub] got result None for 'playlist_requestnextsong'->'main',False D [18:14:01|MainThread|hub] event: <events.statusbar_update instance at 0x24eb2d8> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24e18c8> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24e1080> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24e15d0> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24e1558> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24e1580> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24eb8a0> (priority 0) D [18:14:01|player thread (id=main)|hub] request: 'playlist_requestnextsong'->'main',False (priority 0) D [18:14:01|MainThread|hub] event: <events.selectionchanged instance at 0x2401d78> (priority 0) D [18:14:01|player thread (id=main)|hub] event: <hub.requestresponse instance at 0x24eb918> (priority 0) D [18:14:01|MainThread|hub] event: <events.statusbar_update instance at 0x24e17d8> (priority 0) D [18:14:01|playlist service|hub] event: <events.playlistchanged instance at 0x24e1850> (priority 0) D [18:14:01|playlist service|hub] got result None for 'playlist_requestnextsong'->'main',False D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24d6a58> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24d6828> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24d6760> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24d6c10> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24d6ee0> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24ebbe8> (priority 0) D [18:14:01|MainThread|hub] event: <events.selectionchanged instance at 0x24ebc10> (priority 0) D [18:14:01|MainThread|hub] event: <events.statusbar_update instance at 0x24ebaf8> (priority 0) D [18:14:01|player thread (id=main)|hub] request: 'playlist_requestnextsong'->'main',False (priority 0) D [18:14:01|player thread (id=main)|hub] event: <hub.requestresponse instance at 0x24d6468> (priority 0) D [18:14:01|MainThread|hub] event: <events.focuschanged instance at 0x24d6b20> (priority 0) D [18:14:01|playlist service|hub] event: <events.playlistchanged instance at 0x24d6288> (priority 0)
Thanks in advance for your help,
Bob
On Thu, Aug 9, 2012 at 2:01 AM, Joerg Lehmann joerg@luga.de wrote:
Hi Robert,
Could you please try turning on debugging, e.g.,
pytone -d debug.txt
and send the debugging output.
Best,
Jörg
On 07.08.12, Robert Boerner wrote:
I just got a Raspberry Pi (raspberrypi.org) and tried to get pytone running under their version of Debian known as Raspbian. The package seems to install but the app won't launch even after editing the config file. Anyone else have any success getting pytone running on a Pi?
PyTone-users mailing list PyTone-users@luga.de https://www.luga.de/mailman/listinfo/pytone-users