On Thu, 21 Feb 2008 22:55:37 +0100 Joerg Lehmann <joerg@luga.de> wrote:
Hi Claudio,
On 21.02.08, Claudio Pascalis wrote:
On Thu, 21 Feb 2008 09:06:17 +0100 [player.main]
# This player will be used for playing of the songs in the playlist.
autoplay = true
type = internal driver = oss device = /dev/dsp bufsize = 100 crossfading = on crossfadingstart = 5 crossfadingduration = 6
Ok. Looks fine. But let's see what happens with the 3.0. branch.
I would test alsa but I can't start pytone anymore..see below
I also tried to install the version 3.0.1 of pytone but there some errors I don't understand
(buildbufferedaoext = False and True have the same errormessage)
$ python setup.py build_ext -i running build_ext building 'pytone.pcm' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c src/pcm/pcm.c -o build/temp.linux-i686-2.5/src/pcm/pcm.o src/pcm/pcm.c:35:20: Fehler: Python.h: No such file or directory [snip] Die Fehlermeldungen sind jetzt natürlich auf Deutsch...wie kann ich das ändern, damit alle Menschen auf der Mailinglist das verstehen? :)
By setting LANG=C :-)
Anyway, you need to install the python-dev package in order to be able to build the neede Python extension modules.
Ok, I installed the python-dev package (and libao-dev just to test it with the C extension), but I only get more errors :(
$ pytone Traceback (most recent call last): File "src/pytone.py", line 57, in ? config.processconfig() File "/home/dio/Linux/programme/PyTone-3.0.1/src/config.py", line 935, in processconfig processstandardconfig() File "/home/dio/Linux/programme/PyTone-3.0.1/src/config.py", line 800, in processstandardconfig readconfigsection(section, eval(section)) File "/home/dio/Linux/programme/PyTone-3.0.1/src/config.py", line 740, in readconfigsection raise ConfigError("Unkown configuration option '%s' in section '%s'" % config.ConfigError: Unkown configuration option 'playlistdir' in section 'general'
That's probably because you have a pytonerc file lying around in /etc. So just delete /etc/pytonerc and this problem should disappear.
I actually think that putting the pytonerc file distributed with PyTone in /etc is not a good idea.
Both $ python setup.py install and $ python setup.py build_ext -i are running fine except for a warning with build_ext: ... src/pcm/pcm.c: In Funktion »py_rate_convert«: src/pcm/pcm.c:260: Warnung: »last_r« könnte in dieser Funktion uninitialisiert verwendet werden src/pcm/pcm.c:259: Warnung: »last_l« könnte in dieser Funktion uninitialisiert verwendet werden ...
Im really tired of trying to installing it but I really want this program :(
The warnings are no problem, so everything should be fine.
Cheers,
Jörg
It is running now but it nevertheless keeps my CPU at 100% :( When pytone starts it is complaining: PyTone-3.0.1/src/services/players/internal.py:25: RuntimeWarning: Python C API version mismatch for module pcm: This Python has API version 1012, module pcm has version 1013. import pcm PyTone-3.0.1/src/services/players/internal.py:32: RuntimeWarning: Python C API version mismatch for module bufferedao: This Python has API version 1012, module bufferedao has version 1013. import bufferedao O_o I also tried alsa but it didn't change anything Claudio