[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

meld stopped working



Hello,

I'm using Debian testing (Etch) and recently (after some upgrades),
meld stopped working. It seems to be some issue with python and not
with meld itself, so perhaps some python power user might help me (I
don't know much about python).

When I run meld, I get:

$ meld
Traceback (most recent call last):
 File "/usr/bin/meld", line 78, in ?
   import gtk
ImportError: No module named gtk

Noticing I have python2.3 and python2.4 installed, I decide to check
with both versions:

$ ls -l /usr/bin/python
lrwxrwxrwx 1 root root 9 2006-07-31 10:38 /usr/bin/python -> python2.3

$ python2.3 /usr/bin/meld
Traceback (most recent call last):
 File "/usr/bin/meld", line 78, in ?
   import gtk
ImportError: No module named gtk

$ python2.4 /usr/bin/meld
Traceback (most recent call last):
 File "/usr/bin/meld", line 35, in ?
   import gettext
 File "/usr/lib/python2.3/gettext.py", line 49, in ?
   import copy, os, re, struct, sys
 File "/usr/lib/python2.3/copy.py", line 65, in ?
   import inspect
 File "/usr/lib/python2.3/inspect.py", line 31, in ?
   import sys, os, types, string, re, dis, imp, tokenize, linecache
 File "/usr/lib/python2.3/re.py", line 5, in ?
   from sre import *
 File "/usr/lib/python2.3/sre.py", line 97, in ?
   import sre_compile
 File "/usr/lib/python2.3/sre_compile.py", line 17, in ?
   assert _sre.MAGIC == MAGIC, "SRE module mismatch"
AssertionError: SRE module mismatch

Can anyone explain why python2.4 is using files from /usr/lib/python2.3?

--
Bruno de Oliveira Schneider
http://www.dcc.ufla.br/~bruno/



Reply to: