[Mailman-Developers] 3.1.4 upgrade problem
Barry Warsaw
barry at python.org
Wed Feb 11 17:59:40 EST 2004
On Wed, 2004-02-11 at 14:19, Joel Ebel wrote:
> After upgrading to 3.1.4 from 3.1.3 I now have a problem when any post
> is attempted. Perhaps someone can help me with this.
Unless I've been sleep-hacking through the last couple of years, I think
you mean 2.1.3 and 2.1.4 :)
> Traceback (most recent call last):
> File "/usr/local/mailman/scripts/post", line 69, in ?
> main()
> File "/usr/local/mailman/scripts/post", line 64, in main
> tolist=1, _plaintext=1)
> File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 133, in
> enqueue
> os.fsync(msgfp.fileno())
> AttributeError: 'module' object has no attribute 'fsync'
> 554 5.3.0 unknown mailer error 1
What version of Python are you using? What platform? Certainly Python
2.1 and beyond on my various RH versions has os.fsync(). Try this:
% python
Python 2.1.3 (#1, Sep 25 2002, 16:55:12)
[GCC 2.96 20000731 (Red Hat Linux 7.3 2.96-112)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import os
>>> os.fsync
<built-in function fsync>
What do you get?
-Barry
More information about the Mailman-Developers
mailing list