A little more talk:

I found that hacking ldap/__init__.py to include this line:

sys.path.remove('/usr/lib/python2.5/site-packages')

Fixed the problem.  I suppose the underlying problem is that this is the
sys.path for python2.4:

>> counter = 0
>> for path in sys.path:
>> ...             print str(counter) + ": " + path
>> ...             counter+=1


0: 
1: /usr/lib/python2.5/site-packages/ZConfig-2.5-py2.5.egg
2: /home/matt
3: /home/matt/usr/scripts/python-common
4: /home/matt/projects/server-common/lib/python
5: /home/matt/root/lib
6: /usr/lib/python2.5/site-packages
7: /usr/lib/python2.5/site-packages/Numeric
8: /usr/lib/python2.5/site-packages/gst-0.10
9: /var/lib/python-support/python2.5
10: /usr/lib/python2.5/site-packages/gtk-2.0
11: /var/lib/python-support/python2.5/gtk-2.0
12: /usr/lib/python24.zip
13: /usr/lib/python2.4
14: /usr/lib/python2.4/plat-linux2
15: /usr/lib/python2.4/lib-tk
16: /usr/lib/python2.4/lib-dynload
17: /usr/local/lib/python2.4/site-packages
18: /usr/lib/python2.4/site-packages
19: /usr/lib/python2.4/site-packages/Numeric
20: /usr/lib/python2.4/site-packages/gst-0.10
21: /var/lib/python-support/python2.4
22: /usr/lib/python2.4/site-packages/gtk-2.0
23: /var/lib/python-support/python2.4/gtk-2.0

The python2.5 stuff comes before the python2.4 stuff... shouldn't this
be the other way around for python2.4?

-Matt

-- 
python-ldap for python2.5 conflicts with python2.4
https://bugs.launchpad.net/bugs/161870
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to