|
Amarok v1.2.3:
If I run the script WebControl.py, I get the error: PyQt (QT Bindings for Python) is required for this script yet, if I run # urpmi PyQt I get \"Everything already installed\" ?! |
|
I\'m not sure what I\'m doing, but I\'ve been investigating anyway...
The bit of WebControl.py that generates the error, I think, is this: ================== try: from qt import * except: os.popen( \"kdialog --sorry \'PyQt (Qt bindings for Python) is required for this script.\'\" ) raise ================== So, I went to the CLI, and ran python, and tried typing this in manually. Here are the results: ================== [root@tobyjr claire]# python Python 2.3.4 (#2, Feb 9 2005, 14:22:48) [GCC 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)] on linux2 Type \"help\", \"copyright\", \"credits\" or \"license\" for more information. >>> from qt import * Traceback (most recent call last): File \"\", line 1, in ? File \"/usr/lib/python2.3/site-packages/qt.py\", line 25, in ? import libqtc ImportError: /usr/lib/python2.3/site-packages/libqtcmodule.so: undefined symbol: _ZN2Qt10busyCursorE ================== Sadly, it looks like greek to me, but may help someone else unmist this mystery! |
KDE Developer
|
Looks like your version of PyQt is incompatible with your version of Qt. They both need to match.
--
Mark Kretschmann - Amarok Developer |
|
Good tip, thanks! I ran
# urpmi qt and now the script works! Well, it sort of works. The \'configure\' button is extremely temperamental and only works occasionally, and I keep getting this popup that stops any sound output: \"Audio output unavailable, the device is busy Xine parameters:\" Will look into it further. |
|
Okay, so doing a
# ps ax | grep ontro after closing amarok showed that WebControl.py was staying open in python, despite amarok being closed. After checking python wasn\'t doing anything else important with # px ax | grep python I did a #killall python and restarted Amarok. That\'s brought the configure button back to life, and I can now use the WebControl.py script with success! Thanks for a great music player, and thanks for the pointer. |
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar