You are not logged in.

#1 2009-02-21 05:22:55

bovis
Member
Registered: 2009-01-25
Posts: 22

[SOLVED] python headers

When trying to run a client called kuechenstation for xmms2 I receive this error:

File "/usr/bin/kuechenstation", line 9, in <module>
    from kst.main import MainApp
  File "/usr/lib/python2.6/site-packages/kst/main.py", line 13, in <module>
    import xmmsclient
ImportError: No module named xmmsclient

I've looked through other forum posts and all of them tell me that I need a python-dev package for the python headers. I have python 2.6.1-1 installed. But I can't find a -dev package in the arch repos. Does anyone know where I can find it? Or is this even the real solution to my error? Thanks.

Last edited by bovis (2009-08-10 16:51:36)

Offline

#2 2009-02-21 05:27:15

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [SOLVED] python headers

Arch doesn't split packages into *-dev stuff. You just need to find out what package provides the xmmsclient module and install it. There is a package python-xmms in AUR, but I don't know if that's the one that you are looking for.

Offline

#3 2009-02-21 21:08:22

bovis
Member
Registered: 2009-01-25
Posts: 22

Re: [SOLVED] python headers

I'm still having a hard time finding exactly what I need to install. So, I tried to install python from source, instead of relying on what I had from the repos. Now I have a new error, and I don't have a clue what it means.

$ kuechenstation
Traceback (most recent call last):
  File "/usr/bin/kuechenstation", line 9, in <module>
    from kst.main import MainApp
  File "/usr/lib/python2.6/site-packages/kst/main.py", line 31, in <module>
    import xmmsclient
  File "/usr/lib/python2.6/site-packages/xmmsclient/__init__.py", line 6, in <module>
    from consts import *
  File "/usr/lib/python2.6/site-packages/xmmsclient/consts.py", line 4, in <module>
    from xmmsapi import VALUE_TYPE_UINT32
ImportError: cannot import name VALUE_TYPE_UINT32

Any suggestions?

Offline

#4 2009-08-10 16:51:09

bovis
Member
Registered: 2009-01-25
Posts: 22

Re: [SOLVED] python headers

If you run the command, "xmms2-launcher" xmms2 will run in the background. After this is done, kuechenstation will work.

Running "xmms2" will start the default xmms2 client, and therefore running keuchenstation after starting xmms2 will result in the system trying to run two clients at once, giving the error.

Last edited by bovis (2009-09-01 07:54:25)

Offline

Board footer

Powered by FluxBB