On 2 Mar 2009 at 10:24, Mark Sapiro wrote:
> rp...@kinfolk.org wrote: > > > > # python > >Python 2.6.1 (r261:67515, Feb 28 2009, 15:18:21) > >[GCC 4.2.4] on linux2 > >Type "help", "copyright", "credits" or "license" for more > >information. > > > > > >I re-ran the configure and install of mailman, ran unshunt and the > >errors still show using python 2.5: > > > What does config.log show for your configure command line and for > things like the following: > > configure:1714: checking for --with-python > configure:1726: result: no > configure:1733: checking for python > configure:1751: found /usr/bin/python > configure:1764: result: /usr/bin/python > configure:1774: checking Python interpreter > configure:1792: result: /usr/bin/python > configure:1796: checking Python version > configure:1829: result: 2.6.1 > configure:1833: checking Python's email package > configure:1866: result: ok > > (the first several lines after > > ## ----------- ## > ## Core tests. ## > ## ----------- ## configure:1714: checking for --with-python configure:1726: result: /usr/bin/python configure:1774: checking Python interpreter configure:1792: result: /usr/bin/python configure:1796: checking Python version configure:1829: result: 2.6.1 configure:1833: checking Python's email package configure:1866: result: ok configure:1872: checking that Python has a working distutils configure:1921: result: yes configure:1969: checking for a BSD-compatible install configure:2025: result: /usr/bin/install -c configure:2036: checking whether make sets $(MAKE) > > > >Mar 02 10:39:45 2009 (30280) SHUNTING: > >1236015583.0520451+8058beae403d3fbac5f2571929549c19e2125acd > >Mar 02 10:39:53 2009 (30278) Uncaught runner exception: unknown > >encoding: us-ascii Mar 02 10:39:53 2009 (30278) Traceback (most > >recent call last): > > File "/var/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop > > self._onefile(msg, msgdata) > > File "/var/mailman/Mailman/Queue/Runner.py", line 191, in _onefile > > keepqueued = self._dispose(mlist, msg, msgdata) > > File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 130, in > >_dispose > > more = self._dopipeline(mlist, msg, msgdata, pipeline) > > File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 153, in > >_dopipeline > > sys.modules[modname].process(mlist, msg, msgdata) > > File "/var/mailman/Mailman/Handlers/SpamDetect.py", line 111, in > >process > > g.flatten(p) > > File "/usr/lib/python2.5/email/generator.py", line 84, in flatten > > File "/usr/lib/python2.5/email/generator.py", line 109, in _write > > File "/usr/lib/python2.5/email/generator.py", line 135, in > >_dispatch > > File "/usr/lib/python2.5/email/generator.py", line 201, in > >_handle_multipart > > File "/usr/lib/python2.5/email/generator.py", line 84, in flatten > > File "/usr/lib/python2.5/email/generator.py", line 116, in _write > > File "/var/mailman/Mailman/Handlers/SpamDetect.py", line 84, in > >_write_headers > > Generator._write_headers(self, msg) > > File "/usr/lib/python2.5/email/generator.py", line 150, in > >_write_headers > > File "/usr/lib/python2.5/email/generator.py", line 26, in > >_is8bitstring > >LookupError: unknown encoding: us-ascii > > > >Mar 02 10:39:54 2009 (30278) SHUNTING: > >1236014500.0552149+8a7b01ddc869ad3d723ffcadca4644d72858e68b > > > Are you also getting many errors like the following? > > >Mar 02 10:39:54 2009 (30278) Failed to unlink/preserve backup file: > >/var/mailman/qfiles/in/1236014500.0552149+5aed32c1bfbe6e4ac85c02c3518 > >5 46e179e37b02.bak Yes: Mar 02 11:23:49 2009 (13849) Skipping and preserving unparseable message: 1236014500.0552149+80fb5a8a97a8d0c248a1d845d2d05094c2a5fa49 Mar 02 11:23:49 2009 (13849) Failed to unlink/preserve backup file: /var/mailman/qfiles/out/1236014500.0552149+80fb5a8a97a8d0c248a1d845d2d 05094c2a5fa49.bak Since the only thing on the server that is (intentionally) using Python, I deleted the /lib/python2.5 and /usr/lib/python2.5 directories and have reinstalled Python, reinstalled Mailman and rebooted the server. It appears to have cleared things up as I ran unshunt and now all of the qfiles except bad are empty and several previously shunted emails are delivering. Thanks. ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9