Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#2200 - libxml.pyc broken?

Attached to Project: Arch Linux
Opened by Eugenia Loli-Queru (Eugenia) - Sunday, 13 February 2005, 09:18 GMT
Last edited by Dale Blount (dale) - Sunday, 13 February 2005, 14:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To dorphell (dorphell)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Since the updates the 1-2 days something changed and now my Revelation application does not load. It's a pygtk application and it was working just fine a few days ago. Now, it says this:

eugenia@lc2430:~/Desktop/Downloads/revelation-0.4.0> revelation
Traceback (most recent call last):
File "/usr/bin/revelation", line 30, in ?
from revelation import authmanager, config, data, datahandler, dialog, entry, io, ui, util
File "/usr/lib/python2.3/site-packages/revelation/__init__.py", line 27, in ?
import datahandler, misc, stock, entry, widget, data, io, dialog, sys
File "/usr/lib/python2.3/site-packages/revelation/datahandler/__init__.py", line 26, in ?
from base import *
File "/usr/lib/python2.3/site-packages/revelation/datahandler/base.py", line 26, in ?
import gobject, gtk, libxml2, random, zlib
ImportError: Bad magic number in /usr/lib/python2.3/site-packages/libxml2.pyc

I tried recompiling/reinstalling with no luck. You changed something the last few days that buggered support for libxml2.pyc completely, it seems.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 14 February 2005, 11:42 GMT
Reason for closing:  Works for me
Comment by Jan de Groot (JGC) - Sunday, 13 February 2005, 10:01 GMT
Remove the .pyc files from /usr/lib/python2.3, those files are outdated. .pyc files are precompiled python files which don't work when precompiled with a different (older) version of python.
Comment by Eugenia Loli-Queru (Eugenia) - Sunday, 13 February 2005, 21:39 GMT
to get revelation running I had to completely delete its python2.3/site-packages/revelation folder. Apparently the new version was installed under python2.4 and it was working fine after installation, but after a reboot it was trying to load stuff from its python2.3 folder instead of the 2.4 one. That was the problem.

I really don't like the way python is doing business breaking their compatibility and creating duplications in that way. They really suck in user experience. :(

Loading...