![](https://secure.gravatar.com/avatar/fe935b8570270769e0d31a2a8d2ac2e5.jpg?s=120&d=mm&r=g)
I installed the patch as posted by Tor Houghton (mailman-users : 30 March 1999 - http://www.python.org/pipermail/mailman-users/1999-March/000941.html ) This didnt work for me. I still receive the error on newlist creation (see below) This is on an OpenBSD 2.5 system and Python 1.5b2.
A little more poking and I found the solution was to set the list to 'openbsd2' instead of 'openbsd' in the posixfile.py lib file.
Is now: if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3'): Change to: if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3', 'openbsd2'):
There are two lines that contain the same thing (checking for netbsd and freebsd) add the 'openbsd2' to each of them.
-Nick
--
Nicholas Brenckle Yale University School of Medicine nicholas.brenckle@yale.edu ITS Med - PO Box 208089 203-737-2377 New Haven, CT 06520-8089
Error Message I was getting before the fix to the posixfile.py:
Traceback (innermost last): File "bin/newlist", line 146, in ? raise SystemExit(main(sys.argv)) File "bin/newlist", line 93, in main newlist.Create(list_name, owner_mail, pw) File "/home/mailman/Mailman/MailList.py", line 724, in Create self.Lock() File "/home/mailman/Mailman/MailList.py", line 1379, in Lock self._lock_file.lock('w|', 1) File "/usr/local/lib/python1.5/posixfile.py", line 190, in lock flock = fcntl.fcntl(self._file_.fileno(), cmd, flock) IOError: [Errno 22] Invalid argument
![](https://secure.gravatar.com/avatar/a54957454bfd3a12b21ed9d20c5e8d8b.jpg?s=120&d=mm&r=g)
Interesting; why has this changed in 2.5? both 2.3 and 2.4 use "openbsd".
Tor.
On Fri, 13 Aug 1999, Nicholas Brenckle wrote:
I installed the patch as posted by Tor Houghton (mailman-users : 30 March 1999 - http://www.python.org/pipermail/mailman-users/1999-March/000941.html ) This didnt work for me. I still receive the error on newlist creation (see below) This is on an OpenBSD 2.5 system and Python 1.5b2.
A little more poking and I found the solution was to set the list to 'openbsd2' instead of 'openbsd' in the posixfile.py lib file.
Is now: if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3'): Change to: if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3', 'openbsd2'):
There are two lines that contain the same thing (checking for netbsd and freebsd) add the 'openbsd2' to each of them.
-Nick
--
Nicholas Brenckle Yale University School of Medicine nicholas.brenckle@yale.edu ITS Med - PO Box 208089 203-737-2377 New Haven, CT 06520-8089
Error Message I was getting before the fix to the posixfile.py:
Traceback (innermost last): File "bin/newlist", line 146, in ? raise SystemExit(main(sys.argv)) File "bin/newlist", line 93, in main newlist.Create(list_name, owner_mail, pw) File "/home/mailman/Mailman/MailList.py", line 724, in Create self.Lock() File "/home/mailman/Mailman/MailList.py", line 1379, in Lock self._lock_file.lock('w|', 1) File "/usr/local/lib/python1.5/posixfile.py", line 190, in lock flock = fcntl.fcntl(self._file_.fileno(), cmd, flock) IOError: [Errno 22] Invalid argument
participants (2)
-
Nicholas Brenckle
-
Tor Houghton