Main index > Lost posts > Problem with mpdcontroller 0.0.4 on Debian

By Babets (User), on Sat Mar 4 13:15:50 2006: Problem with mpdcontroller 0.0.4 on Debian.

Since a new update of the mpdclient python controller this Desklets does not work when i try to start it, it make this error doing
"./mpd-controller.py --xfce4" (i use xfce4):

Code:

Do you want to (r)egister this desklet or to (t)est it? t
Now testing...
============================================================
If you do not see anything (or just an initial flicker
in the top left corner of your screen), try `--help',
and see the FAQ: `info adesklets'.
============================================================
Traceback (most recent call last):
  File "./mpdcontroller.py", line 4, in ?
    import mpdclient
ImportError: No module named mpdclient


I have understood where is the problem: the new python mpdclient, now is called "mpdclient2".
I have tried to rename mpdclient with mpdclient2 in the python script of the desklets but it does not work.

Excuse me for my very very bad English, i'm italian.
Thanks in advance :wink:

By cs-cam (Desklet Author), on Sat Mar 4 23:34:53 2006.

http://www.musicpd.org/py-libmpdclient.shtml

By Babets (User), on Sun Mar 5 14:25:27 2006.

Thanks for the help.
I have installed this python package in my home directory in
/home/babets/py-mpd
I need to set my pythonpath, what i have to write in my .bash_profile or in my .bash_rc?
I try (as i see in the install file) to add

Code:

$PYTHONPATH=~/py-mpd/lib/python2.3/site-packages

but seems not work.
I know i am a newbie :)

By syfou (Core Developer & Desklet Author), on Mon Mar 6 03:28:16 2006.

Sorry to be a pain, but please re-post/continue the discussion in the mpdcontroller thread. Yours,


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.