Re: [Mailman-Users] ImportError: No module named ldap

2007-07-26 Thread Mike Rosile
Hey Mark I just wanted to thank you for all your help, and give you a progress update on the situation. I downloaded an attempted to compile python-ldap using Ubuntu's OpenLDAP development libs and had no luck. I then proceeded to download OpenLDAP and compiled it from source. I was then able

[Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Mike Rosile
I'm trying to write to implement LDAPMemberships v3 using Mailman v2.1.9, but I keep getting an error in the Mailman error log that says ImportError: No module named ldap. For the record, I can import 'ldap' (aka python-ldap) from a regular python script (from the command line). I know Mailman

[Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Mike Rosile
I'm trying to write to implement LDAPMemberships v3 using Mailman v2.1.9, but I keep getting an error in the Mailman error log that says ImportError: No module named ldap. For the record, I can import 'ldap' (aka python-ldap) from a regular python script (from the command line). I know Mailman

Re: [Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Mark Sapiro
Mike Rosile wrote: I'm trying to write to implement LDAPMemberships v3 using Mailman v2.1.9, but I keep getting an error in the Mailman error log that says ImportError: No module named ldap. For the record, I can import 'ldap' (aka python-ldap) from a regular python script (from the command

Re: [Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Mark Sapiro
Mike Rosile wrote: Mark Sapiro wrote: I'm guessing that the command line python invocation finds the ldap module because its path is in the PYTHONPATH environment variable. This doesn't work with the Mailman CGI wrapper because the wrapper resets PYTHONPATH to contain only the path to the

Re: [Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Mike Rosile
Hey Mark, thanks for reply and insight! Please note my comments/questions below: Mark Sapiro wrote: I'm guessing that the command line python invocation finds the ldap module because its path is in the PYTHONPATH environment variable. This doesn't work with the Mailman CGI wrapper because

Re: [Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Mark Sapiro
Mike Rosile wrote: Yes, python-ldap was also installed as an Ubuntu package. I do have python2.4 and python2.5 Ubuntu packages installed, however as far as I can tell *everything* points to python2.4. The python-ldap module exists in: /usr/lib/python-support/python-ldap/python2.4 and is named

Re: [Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Luke Daly
This is going to sound really dumb. and is. Just started using mailman. Have quite a few large lists all moderated by different people (academics at university so limited user ability) Basically i want to create a generic setup and have all new lists have this setup. Or if possible a few basic

Re: [Mailman-Users] ImportError: No module named ldap

2007-07-25 Thread Mike Rosile
Mark Sapiro wrote: Mike Rosile wrote: Mark Sapiro wrote: I'm guessing that the command line python invocation finds the ldap module because its path is in the PYTHONPATH environment variable. This doesn't work with the Mailman CGI wrapper because the wrapper resets PYTHONPATH to