[Mailman-Developers] 2.1.4 upgrade problem

Joel Ebel jbebel at ncsu.edu
Thu Feb 12 09:55:45 EST 2004



Barry Warsaw wrote:
> 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 :)

My apologies.  I deal with so many version numbers its hard to keep them 
all straight.  I have changed the subject line thusly.

> 
> 
>>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.
> 

This is slackware 9.1 with python 2.3.1.

>>>>import os
>>>>os.fsync
> 
> <built-in function fsync>
> 
> What do you get?

 >>> import os
 >>> os.fsync
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'fsync'

Do I need to get a newer python?  I've just been using the version that 
came with slackware 9.1.

Thanks,
Joel



More information about the Mailman-Developers mailing list