[Mailman-Users] Problem creating a new List
nikhil.bajpai at induslogic.com
Thu Aug 28 17:02:06 CEST 2003
I did some more work on this problem.
The problem is coming because the file names cant have characters '<' &
'>' on windows.
As a hack I did the following.
I searched for "<site>" and changed line no 60 in MailList.py from
os.path.join(mm_cfg.LOCK_DIR, name or '<site>') + '.lock',
os.path.join(mm_cfg.LOCK_DIR, name or '_site_') + '.lock',
I recreated MailList.pyc after that.
Newlist worked successfully after that.
I have yet to test the installation. There is a possibility that I might
encounter more such problems.
Please let me know if what I did was OK.
Does anyone have a better idea/hack to achieve the same ?
From: mailman-users-bounces+nikhil.bajpai=induslogic.com at python.org
[mailto:mailman-users-bounces+nikhil.bajpai=induslogic.com at python.org]
On Behalf Of Nikhil
Sent: Thursday, August 28, 2003 5:45 PM
To: mailman-users at python.org
Subject: [Mailman-Users] Problem creating a new List
We are testing Mailman on Windows 2000 using cygwin.
I am using mailman-2.1.2 and exim-4.14.
I installed Mailman without any problems.
After that when I tried creating a new list using using ~/bin/newlist
I'm getting the output below:
$ /home/mailman/bin/newlist testList1 nikhilb at induslogic.com induslogic
Traceback (most recent call last):
File "/home/mailman/bin/newlist", line 219, in ?
File "/home/mailman/bin/newlist", line 160, in main
mlist.Create(listname, owner_mail, pw)
File "/home/mailman/Mailman/MailList.py", line 449, in Create
File "/home/mailman/Mailman/LockFile.py", line 243, in lock
File "/home/mailman/Mailman/LockFile.py", line 422, in __write
fp = open(self.__tmpfname, 'w')
IOError: [Errno 2] No such file or directory:
Am I missing something ?
I searched throughthe archive but couldn't find the answer.
I followed the instructions given at
Mailman-Users mailing list
Mailman-Users at python.org
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
This message was sent to: nikhil.bajpai at induslogic.com Unsubscribe or
change your options at
More information about the Mailman-Users