hello,
i updated cvs today, and now I get the following errors, when I post to a list:
Apr 25 11:54:54 2002 (20362) Uncaught runner exception: isinstance() arg 2 must be a class or type Apr 25 11:54:54 2002 (20362) Traceback (most recent call last): File "/var/Mailman/Mailman/Queue/Runner.py", line 105, in __oneloop self.__onefile(msg, msgdata) File "/var/Mailman/Mailman/Queue/Runner.py", line 155, in __onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/var/Mailman/Mailman/Queue/IncomingRunner.py", line 129, in _dispose status = self._dopipeline(mlist, msg, msgdata, pipeline) File "/var/Mailman/Mailman/Queue/IncomingRunner.py", line 152, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File "/var/Mailman/Mailman/Handlers/Hold.py", line 132, in process if mlist.administrivia and Utils.is_administrivia(msg): File "/var/Mailman/Mailman/Utils.py", line 541, in is_administrivia for line in email.Iterators.body_line_iterator(msg): File "/var/Mailman/pythonlib/email/Iterators.py", line 23, in body_line_iterator if isinstance(payload, StringTypes): TypeError: isinstance() arg 2 must be a class or type
when I test the email package as explained in the README with PYTHONPATH=.; python2 tests/test_email.py I see the same error .........................................................................................E.................tests/test_email.py:1638: RuntimeWarning: test_japanese_codecs() skipped warnings.warn('test_japanese_codecs() skipped', RuntimeWarning, 1) .....
ERROR: test_body_line_iterator (__main__.TestIterators)
Traceback (most recent call last): File "tests/test_email.py", line 1253, in test_body_line_iterator it = Iterators.body_line_iterator(msg) File "/usr/lib/python2.1/site-packages/email/Iterators.py", line 23, in body_line_iterator if isinstance(payload, StringTypes): TypeError: isinstance() arg 2 must be a class or type
Ran 112 tests in 0.694s
FAILED (errors=1)
Is this a bug or is there something wrong with my setup.
thanks,
Michael