[ mailman-Bugs-726019 ] logger crash when generating tracebacks

SourceForge.net noreply at sourceforge.net
Thu May 1 19:22:39 EDT 2003


Bugs item #726019, was opened at 2003-04-23 16:08
Message generated for change (Comment added) made by tzs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=726019&group_id=103

Category: Web/CGI
Group: 2.1 (stable)
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Colin Palmer (tzs)
Assigned to: Nobody/Anonymous (nobody)
Summary: logger crash when generating tracebacks

Initial Comment:
OpenBSD-3.1, Python-2.2.2, Mailman-2.1.1

When something causes an exception in the CGI scripts,
the logger then produces one of its own trying to
report it:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[----- Mailman Version: 2.1.1 -----]
[----- Traceback ------]
Traceback (most recent call last):
  File "/home/mailman/scripts/driver", line 224, in ?
    run_main()
  File "/home/mailman/scripts/driver", line 96, in run_main
    print_traceback(logger)
  File "/home/mailman/scripts/driver", line 121, in
print_traceback
    print >> logfp,
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@'
  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: can't resize shared unicode objects
[----- Python Information -----]
sys.version     = 2.2.2 (#1, Apr 22 2003, 22:52:59) 
[GCC 2.95.3 20010125 (prerelease)]
sys.executable  = /usr/local/bin/python
sys.prefix      = /usr/local
sys.exec_prefix = /usr/local
sys.path        = /usr/local
sys.platform    = openbsd3


----------------------------------------------------------------------

>Comment By: Colin Palmer (tzs)
Date: 2003-05-02 13:22

Message:
Logged In: YES 
user_id=658762

Also seems fixed now in 2.1.2.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=726019&group_id=103



More information about the Mailman-coders mailing list