[Mailman-Users] [Fwd: problem migrating mailman 2.0.8 to 2.1.7]

apap+mailman-users at auth.gr apap+mailman-users at auth.gr
Mon Feb 20 11:42:14 CET 2006


I have trouble upgrading an old installation of mailman-2.0.8 into mailman-2.1.7 (Gentoo Linux with Python 2.4.2).
While installing the new version on top of the old, the "update" utility is invoked, but then it fails with
"AttributeError: topics". No list gets migrated. The same error is produced if I use "withlist" with any old list.

Recreating the lists seems to loose too much user configuration, although it is fairly easy to accomplish.
The system currently serves approx 60 mailing lists.

I found relevant discussions on this list, but not any really helpful answers (yet)
How can I overcome the "AttributeError: topics" error? Is it trivial?

Apostolis Papayanakis




----------------------------------------------------------------------------------------------------
mailman # update -f # "acc" is a list created with 2.0.8
Upgrading from version 0x20008f0 to 0x20107f1
getting rid of old source files
Updating mailing list: acc
Traceback (most recent call last):
  File "/usr/local/mailman/bin/update", line 790, in ?
    errors = main()
  File "/usr/local/mailman/bin/update", line 680, in main
    errors = errors + dolist(listname)
  File "/usr/local/mailman/bin/update", line 193, in dolist
    mlist = MailList.MailList(listname, lock=0)
  File "/usr/local/mailman/Mailman/MailList.py", line 130, in __init__
    self.Load()
  File "/usr/local/mailman/Mailman/MailList.py", line 664, in Load
    self.CheckValues()
  File "/usr/local/mailman/Mailman/MailList.py", line 746, in CheckValues
    for name, pattern, desc, emptyflag in self.topics:
  File "/usr/local/mailman/Mailman/MailList.py", line 146, in __getattr__
    raise AttributeError, name
AttributeError: topics
alpha mailman # cat logs/error 
Feb 16 16:46:43 2006 (28917) couldn't load config file /usr/local/mailman/lists/acc/config.pck
[Errno 2] No such file or directory: '/usr/local/mailman/lists/acc/config.pck'
Feb 16 16:46:43 2006 (28917) couldn't load config file /usr/local/mailman/lists/acc/config.pck.last
[Errno 2] No such file or directory: '/usr/local/mailman/lists/acc/config.pck.last'
----------------------------------------------------------------------------------------------------

mailman # bin/withlist test1 # "test1" is a list created with 2.0.8

Loading list test1 (unlocked)
Traceback (most recent call last):
  File "bin/withlist", line 297, in ?
    main()
  File "bin/withlist", line 275, in main
    r = do_list(listname, args, func)
  File "bin/withlist", line 194, in do_list
    m = MailList.MailList(listname, lock=LOCK)
  File "/usr/local/mailman/Mailman/MailList.py", line 130, in __init__
    self.Load()
  File "/usr/local/mailman/Mailman/MailList.py", line 664, in Load
    self.CheckValues()
  File "/usr/local/mailman/Mailman/MailList.py", line 746, in CheckValues
    for name, pattern, desc, emptyflag in self.topics:
  File "/usr/local/mailman/Mailman/MailList.py", line 146, in __getattr__
    raise AttributeError, name
AttributeError: topics

----------------------------------------------------------------------------------------------------

mailman # bin/withlist mailman # "mailman" is a list created with 2.1.7
Loading list mailman (unlocked)
The variable `m' is the mailman MailList instance
 >>>
Finalizing




More information about the Mailman-Users mailing list