upgrade from 2.1b5 to 2.1b6 fails
Just yesterday I went from 2.0.13 to 2.1b5 with no trouble.
Today I went from 2.1b5 to 2.1b6 on the same install, and had problems.
I shut down smtpd, did a mailmanctl stop, disabled web access and stopped all mailman cron jobs before doing the update.
This is where the make update fails:
monster# make update Upgrading from version 0x20100b5 to 0x20100b6 getting rid of old source files Updating mailing list: pptp-server Updating the held requests database. Traceback (most recent call last): File "bin/update", line 570, in ? errors = main() File "bin/update", line 447, in main errors = errors + dolist(listname) File "bin/update", line 217, in dolist mlist._UpdateRecords() File "/usr/local/mailman/Mailman/ListAdmin.py", line 536, in _UpdateRecords for id, (type, info) in self.__db.items(): ValueError: unpack tuple of wrong size *** Error code 1
Stop in /usr/local/src/mailman-2.1b6.
Problem with held requests? Well when I log in to try to clear them via web:
Bug in Mailman version 2.1b6
We're sorry, we hit a bug!
Traceback:
Traceback (most recent call last): File "/usr/local/mailman/scripts/driver", line 87, in run_main main() File "/usr/local/mailman/Mailman/Cgi/admindb.py", line 226, in main num = show_pending_subs(mlist, form) File "/usr/local/mailman/Mailman/Cgi/admindb.py", line 264, in show_pending_subs pendingsubs = mlist.GetSubscriptionIds() File "/usr/local/mailman/Mailman/ListAdmin.py", line 157, in GetSubscriptionIds return self.__getmsgids(SUBSCRIPTION) File "/usr/local/mailman/Mailman/ListAdmin.py", line 149, in __getmsgids ids = [k for k, (type, data) in self.__db.items() if type == rtype] ValueError: unpack tuple of wrong size
Is there another way to clear the pending messages so I can update the DB? I tried going back down to 2.1b5, but the same problem existed when I tried to view pending requests.
My other lists appear to work OK with with 2.1b[56]
Thanks.
"CS" == Christopher Schulte <schulte+mailman@nospam.schulte.org> writes:
CS> Is there another way to clear the pending messages so I can
CS> update the DB? I tried going back down to 2.1b5, but the same
CS> problem existed when I tried to view pending requests.
CS> My other lists appear to work OK with with 2.1b[56]
I doubt the problem was specifically caused by the upgrade to 2.1b6. What does bin/dumpdb on your list's request.db file say?
-Barry
participants (2)
-
barry@python.org -
Christopher Schulte