[Mailman-Developers] semantic error in mailmanctl line
255(Mailman 2.1.2)
Barry Warsaw
barry at python.org
Fri May 16 16:12:29 EDT 2003
On Thu, 2003-05-15 at 04:29, Oliver Egginger wrote:
> # clear __builtin__._
> Logging error: <StampedLogger to '/home/mailman/logs/error'>
> Traceback (most recent call last):
> File "/home/mailman/Mailman/Logging/MultiLogger.py", line 43, in write
> logger.write(msg)
> File "/home/mailman/Mailman/Logging/StampedLogger.py", line 73, in write
> Logger.write(self, "%s %s" % (prefix, msg))
> File "/home/mailman/Mailman/Logging/Logger.py", line 88, in write
> msg = unicode(msg, self.__encoding)
> SystemError: codec module not properly initialized
> Original log message:
> # clear __builtin__._
What does the following give you:
% python
Python 2.2.2 (#1, Apr 28 2003, 12:01:50)
[GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.getdefaultencoding()
'ascii'
?
-Barry
More information about the Mailman-Developers
mailing list