You are not logged in.
Pages: 1
This morning I finally did a pacman -Syu and upgraded to python 2.5. I haven't run into many problems yet, but I can't get quodlibet to work. It gives me this error:
Traceback (most recent call last):
File "/usr/bin/quodlibet", line 298, in <module>
import pygst
ImportError: Bad magic number in /usr/lib/python2.4/site-packages/pygst.pyc
gstreamer0.10-python seems to bet up to date (I'm assuming thats what pygst is referring to), but I'm confused about the reference to python2.4 thats in there. Has anyone else seen this or have any idea what it is?
Last edited by barebones (2007-02-13 04:43:46)
Offline
you need the quodlibet from testing too
Offline
I guess I didn't mention it, but I do have the quod libet from testing.
Perhaps this has something to do with ctypes being moved into python. I was getting a ctypes error untill I removed the old python-ctypes package from my computer.
Offline
Are you sure you have gstreamer0.10-python 0.10.6-2 from testing? If you look at the files in the package, it correctly shows python 2.5 paths:
http://www.archlinux.org/packages/files/12401/
I am a gated community.
Offline
Sorry, quodlibet in testing hasn't been rebuilt for python2.5, I don't think - not all packages are in there yet (that's why it's TESTING)
Offline
The quodlibet package in testing requires python 2.5, so I figured it had been updated. If not, I can wait. Is there a forum where I should post packages that haven't been built for 2.5 yet? I noticed that alacarte also isn't working...
Offline
the advice was to file a bug report
The.Revolution.Is.Coming - - To fight, To hunger, To Resist!
Offline
Hmm, it WAS rebuilt for 2.5 - my fault.
However, it works fine here, except for some error about missing python dbus modules, but it carries on fine.
This machine is full testing. Can you upgrade and see if it all works fine?
Offline
I have testing enabled, and the problem only started after the pacman -Syu that upgraded to 2.5. I did another update and the problem is still there. I tried building it from cvs and it still gives the same error. Just as a test I tried installing ql's dependencies from testing and not all of them are in testing. If it's running for you thought, that shouldn't be the problem. Ex Falso seems to be working though.
Offline
Do you have old gstreamer stuff installed (0.7? is that the right version)?
Offline
I figured it out. I was kinda wierded out by the fact that it was looking at /usr/lib/python2.4/site-packages/pygst.pyc instead of the 2.5 version even though 2.5 is installed. I renamed the python2.4 folder and tried starting ql and it started up. Do you think its safe to delete the 2.4 folder outright?
Offline
you probably want to run pacman -Qo on those files (after naming the folder back) to see where they're coming from.
Offline
Looks like packages own some of those files so I won't delete the whole thing. However, nothing owns pygst.pyc so I deleted it and ql still works fine. Thanks for the help phrak, I think that takes care of everything.
Offline
Had the same problem with exaile 2.10 & exaile-svn.
Renaming /usr/lib/python2.4/site-packages/pygst.pyc to pygst.pyc.old cured the problem.
Interestingly, there doesn't seem to be a python2.5 equivalent to this file. Just surprised no one else appears to have encountered the hiccup.
Offline
Pages: 1