[Mailman-Users] Fwd: import email module problem
Prashanth
munichlinux at gmail.com
Tue Apr 1 21:45:33 CEST 2008
On Wed, Apr 2, 2008 at 12:06 AM, Mark Sapiro <mark at msapiro.net> wrote:
> prashanth g wrote:
> How are you setting sys.path so that "from Mailman import MailList"
> works at all?
mailman is installed in the /usr/local/mailman and i am appending the
path by sys.path.append('/usr/local/mailman/') i also tried the way
you said but no change i get the same error. In the interpretor i
could able to import the email module but not in the code or via
mailman. In the file if i say import email.Iterator still it fails.
Pretty hard to debug
I dint understand if that is a mailman problem or python problem or
mod_python's or something with the RHEL's RPM ?
The same code works perfectly in all other machine except RHEL
--
regards,
Prashanth
http://munichlinux.blogspot.com
More information about the Mailman-Users
mailing list