On 8/26/19 3:28 PM, The Mailing List Server Admin wrote:
Way way back in August 2016, we had a problem with submitting too many members via the web interface. As a solution, the following was suggested:
You'd need a custom script to do the 'extra text'. I have added an invite_members script I use at <https://www.msapiro.net/scripts/invite_members> and <https://fog.ccsf.edu/~msapiro/scripts/invite_members> This can send invitations including the 'extra text'.
We used this script with great success in Aug 2017 and 2018. But this year we've run into a problem. When I submit the script it appears to hang waiting for some kind of lock. I can see this when I eventually CTRL-C out.
Traceback (most recent call last): File "/home/mladmin/Util/invite_members", line 236, in ? main() File "/home/mladmin/Util/invite_members", line 197, in main mlist = MailList.MailList(listname) File "/usr/local/mailman/Mailman/MailList.py", line 129, in __init__ self.Lock() File "/usr/local/mailman/Mailman/MailList.py", line 162, in Lock self.__lock.lock(timeout) File "/usr/local/mailman/Mailman/LockFile.py", line 312, in lock self.__sleep() File "/usr/local/mailman/Mailman/LockFile.py", line 496, in __sleep time.sleep(interval) KeyboardInterrupt
The list is locked. See <https://wiki.list.org/x/17891756> for more about locks and removing stale locks.
I have looked at the script and I see an issue. It can leave the list locked if you specify a message file and that file cannot be read.
I have updated the script to fix this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan