[Mailman-Users] Mailman 2.1: ImportError: No module named pythonlib.StringIO

Jon Carnes jonc at nc.rr.com
Sun Jan 26 02:12:18 CET 2003


Hmmm, it may be a Python error.  Perhaps your RPM version of Python doesn't
load all the modules that you need.  This has been a problem in the past
with other distributions.  See if there are other supplemental RPM's for
Python - like a development RPM that has additional modules (like the
StringIO module).

Good Luck - Jon Carnes

----- Original Message -----
From: <bob at jriver.com>
To: "Jon Carnes" <jonc at nc.rr.com>
Cc: <mailman-users at python.org>
Sent: Saturday, January 25, 2003 5:21 PM
Subject: Re: [Mailman-Users] Mailman 2.1: ImportError: No module named
pythonlib.StringIO


> Thanks Jon, it doesn't look like that is the problem though.
> I reinstalled with
>
>
./configure  --with-python=/usr/bin/python --with-mail-gid=510 --with-cgi-gi
d=16 --prefix=/home/mailman
>
> and it has the same error. I'm using qmail btw an some virtual domains
> though this mailman is in the default place.
>
> The other mailman I have running in a different place for a different
> domain (v 2.0.13) is still running fine even with the new python.
>
> When I rpm -Uvh to the new python it replaced the 1.5 version...
>
> root at kunk ppc]# /usr/bin/python -V
> Python 2.2.2
>
> There is no other python executable on the machine...
>
> mailman at kunk mailman-2.1]$ rpm -qa | grep python
> rpm-python-4.0.3-1.03b
> libxslt-python-1.0.15-1
> python-devel-2.2.2-7
> python-docs-2.2.2-7
> python-tools-2.2.2-7
> python-xmlrpc-1.5.1-7.x.3
> libxml2-python-2.4.19-1
> python-2.2.2-7
>
> Thanks,
> Bob
>
> User Jon Carnes says:
> > I think this one has flown across the list a few times.  Try adding a
switch
> > during the ./configure stage that points to the python2 executable.
> >
> > Good Luck - Jon Carnes
> > ----- Original Message -----
> > From: <bob at jriver.com>
> > To: <mailman-users at python.org>
> > Sent: Saturday, January 25, 2003 2:52 PM
> > Subject: [Mailman-Users] Mailman 2.1: ImportError: No module named
> > pythonlib.StringIO
> >
> >
> > > updated installation from 2.0.13
> > >
> > > Had to install new python, python-2.2.2-7 compiled from source RPM
> > > after updating the required packages (i.e. db4).
> > >
> > > Any ideas on where the source of this problem lies? It's running
> > > on YDL 2.3 (redhat 7.2 like ppc system)
> > >
> > > Bob
> > >
> > > ------------------------------------------------------
> > > Mailman-Users mailing list
> > > Mailman-Users at python.org
> > > http://mail.python.org/mailman/listinfo/mailman-users
> > > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> > > Searchable Archives:
> > http://www.mail-archive.com/mailman-users%40python.org/
> > >
> > > This message was sent to: jonc at nc.rr.com
> > > Unsubscribe or change your options at
> > > http://mail.python.org/mailman/options/mailman-users/jonc%40nc.rr.com
> >
>
> --
> /~\ The ASCII            | Robert E. Brose II         | J. River, Inc.
> \ / Ribbon Campaign      | http://www.jriver.com/~bob | 125 North First St
>  X  Help cure HTML Email | mailto:bob at jriver.com      | Mpls, MN 55401
> / \                      |                            | 612-339-2521 x212




More information about the Mailman-Users mailing list