You are not logged in.

#1 2007-02-11 18:32:16

barebones
Member
Registered: 2006-04-30
Posts: 235

Quod Libet with Python 2.5 [solved]

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

#2 2007-02-11 18:54:23

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Quod Libet with Python 2.5 [solved]

you need the quodlibet from testing too

Offline

#3 2007-02-11 22:47:44

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: Quod Libet with Python 2.5 [solved]

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

#4 2007-02-12 02:13:48

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Quod Libet with Python 2.5 [solved]

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

#5 2007-02-12 02:19:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Quod Libet with Python 2.5 [solved]

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

#6 2007-02-12 05:20:17

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: Quod Libet with Python 2.5 [solved]

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

#7 2007-02-12 08:01:00

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: Quod Libet with Python 2.5 [solved]

the advice was to file a bug report


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

#8 2007-02-12 08:09:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Quod Libet with Python 2.5 [solved]

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

#9 2007-02-12 22:41:31

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: Quod Libet with Python 2.5 [solved]

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

#10 2007-02-12 23:24:43

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Quod Libet with Python 2.5 [solved]

Do you have old gstreamer stuff installed (0.7? is that the right version)?

Offline

#11 2007-02-13 03:46:41

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: Quod Libet with Python 2.5 [solved]

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

#12 2007-02-13 04:25:34

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Quod Libet with Python 2.5 [solved]

you probably want to run pacman -Qo on those files (after naming the folder back) to see where they're coming from.

Offline

#13 2007-02-13 04:43:24

barebones
Member
Registered: 2006-04-30
Posts: 235

Re: Quod Libet with Python 2.5 [solved]

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

#14 2007-07-01 15:46:25

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Quod Libet with Python 2.5 [solved]

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

Board footer

Powered by FluxBB