At the command line type launch the Python interpretor: python # in the python interpretor: import os dir(os)
Look in this lengthy list for fsync. Tell us what version of Python you are using, and you might want to cut/past the output of the "dir(os)" command. On my systems, "help(os.fsync)" returns: Help on built-in function fsync: fsync(...) fsync(fildes) -> None force write of file with filedescriptor to disk. (END) Note: you have to "import os" before you can look at its built-in functions This is looking like a problem with the Python install. Jon Carnes On Sun, 2004-03-07 at 12:39, Steve Pirk wrote: > Nope... Upgraded python from the 2.3.3 source, and > I still get this when I add a list... bummer. > > Hit enter to notify mailman owner... > > Traceback (most recent call last): > File "bin/newlist", line 219, in ? > main() > File "bin/newlist", line 212, in main > msg.send(mlist) > File "/usr/local/mailman/Mailman/Message.py", line 233, in send > self._enqueue(mlist, **_kws) > File "/usr/local/mailman/Mailman/Message.py", line 244, in _enqueue > reduced_list_headers = 1, > File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 133, in > enqueue > os.fsync(msgfp.fileno()) > AttributeError: 'module' object has no attribute 'fsync' > > > -- > Steve > > On Sun, 7 Mar 2004, Steve Pirk wrote: > > > I am using Slackware 9.1 (fresh install) Here is the > > version on python: > > Python 2.3.1 (#1, Sep 24 2003, 16:45:45) > > > > Maybe I will do a fresh install of the latest version. > > Could be that the included one is fubar'd. It is the > > latest stable version of MM. I used to run an older > > version, but it was lost in the disk crash. :-) > > -- > > Steve > > > > On Sun, 7 Mar 2004, Richard Barrett wrote: > > > > > On 7 Mar 2004, at 10:16, Steve Pirk wrote: > > > > > > > After a supposedly clean install of the latest mailman, > > > > I get this error when adding a list (even the initial > > > > mailman list): > > > > > > > > Traceback (most recent call last): > > > > File "bin/newlist", line 219, in ? > > > > main() > > > > File "bin/newlist", line 212, in main > > > > msg.send(mlist) > > > > File "/usr/local/mailman/Mailman/Message.py", line 233, in send > > > > self._enqueue(mlist, **_kws) > > > > File "/usr/local/mailman/Mailman/Message.py", line 244, in _enqueue > > > > reduced_list_headers = 1, > > > > File "/usr/local/mailman/Mailman/Queue/Switchboard.py", line 133, in > > > > enqueue > > > > os.fsync(msgfp.fileno()) > > > > AttributeError: 'module' object has no attribute 'fsync' > > > > > > > > > > This looks as though something is wrong with your python installation > > > as you are being told that the function fsync in the standard os module > > > cannot be found. > > > > > > What OS are you running and which version of OS, Python and Mailman? > > > Have you ckecked compatibility in the MM installation and upgrading > > > files. > > > > > ------------------------------------------------------ > Mailman-Users mailing list > [EMAIL PROTECTED] > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/