Using current cvs code (as of May 12 2000 19:50 EST) I get the following error when I hit the 'view other subscriptions' option with the correct password.
Sometimes it would take a while (maybe a minute or 2) for it to even display this. And i know the system is not loaded down.
Bug in Mailman version 2.0beta3
We're sorry, we hit a bug!
If you would like to help us identify the problem, please email a copy of this page to the webmaster for this site with a description of what happened. Thanks!
Traceback:
Traceback (innermost last): File "/home/mailman/scripts/driver", line 89, in run_main main() File "/home/mailman/Mailman/Cgi/handle_opts.py", line 80, in main mlist.Save() File "/home/mailman/Mailman/MailList.py", line 864, in Save self.__lock.refresh() File "/home/mailman/Mailman/LockFile.py", line 204, in refresh raise NotLockedError NotLockedError:
-- Matt Davis - ICQ# 934680 http://dogpound.vnet.net/
Those are my principles. If you don't like them I have others.
On Fri, May 12, 2000 at 07:55:17PM -0400, Matt Davis wrote:
Using current cvs code (as of May 12 2000 19:50 EST) I get the following error when I hit the 'view other subscriptions' option with the correct password.
Sometimes it would take a while (maybe a minute or 2) for it to even display this. And i know the system is not loaded down.
Traceback (innermost last): File "/home/mailman/scripts/driver", line 89, in run_main main() File "/home/mailman/Mailman/Cgi/handle_opts.py", line 80, in main mlist.Save() File "/home/mailman/Mailman/MailList.py", line 864, in Save self.__lock.refresh() File "/home/mailman/Mailman/LockFile.py", line 204, in refresh raise NotLockedError NotLockedError:
Apparently something goes wrong with the refresh(), or right before the refresh (someone stole the lock, for some reason.) Can you look at the contents of the logs/locks file at the time of the problem ? It might give some clue as to who or what stole or broke the lock. It might also be a clock syncronization problem; do you run mailman on more than one machine ? (say, split mail and web machine ?) Does the machine it runs on, have a steady clock or do you run 'ntpdate' every 10 minutes because the clock is heavily skewed ? (This happens on some of our early Pentium-II's, can be as much as a few minutes (!!) per hour. An hourly ntpdate fixes the symptoms, but I imagine it can screw Mailman bigtime :P)
-- Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
Alright, I apologize for the long post ahead of time.. but here it goes.. On Sun, 14 May 2000, Thomas Wouters wrote:
Apparently something goes wrong with the refresh(), or right before the refresh (someone stole the lock, for some reason.) Can you look at the contents of the logs/locks file at the time of the problem ? It might give some clue as to who or what stole or broke the lock. It might also be a clock syncronization problem; do you run mailman on more than one machine ? (say, split mail and web machine ?) Does the machine it runs on, have a steady clock or do you run 'ntpdate' every 10 minutes because the clock is heavily skewed ? (This happens on some of our early Pentium-II's, can be as much as a few minutes (!!) per hour. An hourly ntpdate fixes the symptoms, but I imagine it can screw Mailman bigtime :P)
1. Everything runs on 1 machine. 2. No time update utils are running at all.. Basically stock redhat 6.2 3. I think its a stable clock.. it is a ppro 200 mhz, 64 meg ram. But the execution of that command shouldnt matter much if everythings on the same machine & time & cpu? Plus i don't have a very loaded mailman site (4 lists tops) and get hardly zero traffic. The lists are personal lists. And the web interface is hardly ever used. And when I was using it.. i was the only user. i cleared the logs and redid executed the problem. And logs/locks never got anything... But logs/error got this.. BTW, thanks for the help so far.. & Great program! -- start logs/error -- May 14 23:02:33 2000 admin(2103): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ admin(2103): [----- Mailman Version: 2.0beta3 -----] admin(2103): [----- Traceback ------] admin(2103): Traceback (innermost last): admin(2103): File "/home/mailman/scripts/driver", line 89, in run_main admin(2103): main() admin(2103): File "/home/mailman/Mailman/Cgi/handle_opts.py", line 80, in mainadmin(2103): mlist.Save() admin(2103): File "/home/mailman/Mailman/MailList.py", line 864, in Save admin(2103): self.__lock.refresh() admin(2103): File "/home/mailman/Mailman/LockFile.py", line 204, in refresh admin(2103): raise NotLockedError admin(2103): NotLockedError: admin(2103): [----- Python Information -----] admin(2103): sys.version = 1.5.2 (#1, Feb 1 2000, 16:32:16) [GCC egcs-2.91.66 19990314/Linux (egcs- admin(2103): sys.executable = /usr/bin/python admin(2103): sys.prefix = /usr admin(2103): sys.exec_prefix= /usr admin(2103): sys.path = /usr admin(2103): sys.platform = linux-i386 admin(2103): [----- Environment Variables -----] admin(2103): DOCUMENT_ROOT: /home/www/htdocs admin(2103): SERVER_ADDR: 166.82.145.176 admin(2103): HTTP_ACCEPT_ENCODING: gzip, compress admin(2103): CONTENT_LENGTH: 153 admin(2103): CONTENT_TYPE: application/x-www-form-urlencoded admin(2103): PATH_TRANSLATED: /home/www/htdocs/davis/bigdog@dogpound.vnet.netadmin(2103): SERVER_SOFTWARE: Apache/1.3.12 (Unix) PHP/4.0RC1 mod_ssl/2.6.0 OpenSSL/0.9.5 admin(2103): GATEWAY_INTERFACE: CGI/1.1 admin(2103): UNIQUE_ID: OR9owqZSkbAAAAN0Ciw admin(2103): HTTP_ACCEPT_LANGUAGE: en admin(2103): REMOTE_ADDR: 166.82.145.176 admin(2103): SERVER_PORT: 80 admin(2103): HTTP_USER_AGENT: Lynx/2.8.3dev.18 libwww-FM/2.14 admin(2103): HTTP_ACCEPT: text/html, text/plain, application/redhat-package-list, audio/mod, image/*, video/*, video/mpeg, application/pgp, application/pgp, application/pdf, message/partial, message/external-body, application/postscript, x-be2, application/andrew-inset, text/richtext, text/enriched, x-sun-attachment, audio-file, postscript-file, default, mail-file, sun-deskset-message, application/x-metamail-patch, text/sgml, */*;q=0.01 admin(2103): REQUEST_URI: /mailman/handle_opts/davis/bigdog@dogpound.vnet.netadmin(2103): HTTP_CACHE_CONTROL: no-cache admin(2103): PATH: /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin admin(2103): QUERY_STRING: admin(2103): SERVER_PROTOCOL: HTTP/1.0 admin(2103): PATH_INFO: /davis/bigdog@dogpound.vnet.net admin(2103): HTTP_HOST: dogpound.vnet.net admin(2103): REQUEST_METHOD: POST admin(2103): SERVER_SIGNATURE: <ADDRESS>Apache/1.3.12 Server at dogpound.vnet.net Port 80</ADDRESS> admin(2103): SCRIPT_NAME: /mailman/handle_opts admin(2103): SERVER_ADMIN: bigdog@dogpound.vnet.net admin(2103): SCRIPT_FILENAME: /home/mailman/cgi-bin/handle_opts admin(2103): PYTHONPATH: /home/mailman admin(2103): HTTP_REFERER: http://dogpound.vnet.net/mailman/options/davis/bigdog--at--dogpound.vnet.net admin(2103): HTTP_PRAGMA: no-cache admin(2103): SERVER_NAME: dogpound.vnet.net admin(2103): REMOTE_PORT: 1615 -- stop logs/error -- Let me know if you want me to do anything else... -- Matt Davis - ICQ# 934680 http://dogpound.vnet.net/ Manual Writer's Creed: Garbage in, gospel out.
On Sun, 14 May 2000, Matt Davis wrote:
Just to let you know Mailman 2.0beta2 works good.
-- Matt Davis - ICQ# 934680 http://dogpound.vnet.net/
All computers run at the same speed...with the power off.
"MD" == Matt Davis <bigdog@dogpound.vnet.net> writes:
MD> Using current cvs code (as of May 12 2000 19:50 EST) I get the
MD> following error when I hit the 'view other subscriptions'
MD> option with the correct password.
MD> Sometimes it would take a while (maybe a minute or 2) for it
MD> to even display this. And i know the system is not loaded
MD> down.
The problem turned out to be the use of map_maillists() in handle_opts.py when viewing other subscriptions. This had a side-effect of unlocking the list, so when Save() tried to refresh the lock, it bombed. See my recent checkin for the fix.
-Barry
participants (3)
-
bwarsaw@python.org
-
Matt Davis
-
Thomas Wouters