[Mailman-Users] Version Error with Migrated Lists?
Anthony Harrison
harrison.aw at gmail.com
Thu Jan 19 17:42:54 CET 2012
>Anthony Harrison wrote:
>>
>>Whenever I attempt to run fix_url on any of the lists, however, I receive
>>the following error:
>>
>>Importing fix_url...
>>Running fix_url.fix_url()...
>>Loading list itsac-test (locked)
>>Traceback (most recent call last):
>> File "./withlist", line 299, in <module>
>> main()
>> File "./withlist", line 277, in main
>> r = do_list(listname, args, func)
>> File "./withlist", line 195, in do_list
>> m = MailList.MailList(listname, lock=LOCK)
>> File "/usr/local/mailman/Mailman/MailList.py", line 128, in __init__
>> self.Lock()
>> File "/usr/local/mailman/Mailman/MailList.py", line 165, in Lock
>> self.Load()
>> File "/usr/local/mailman/Mailman/MailList.py", line 676, in Load
>> self.CheckVersion(dict)
>> File "/usr/local/mailman/Mailman/MailList.py", line 729, in CheckVersion
>> Update(self, stored_state)
>> File "/usr/local/mailman/Mailman/versions.py", line 54, in Update
>> UpdateOldVars(l, stored_state)
>> File "/usr/local/mailman/Mailman/versions.py", line 190, in
UpdateOldVars
>> for addr in l.posters:
>> File "/usr/local/mailman/Mailman/MailList.py", line 146, in __getattr__
>> raise AttributeError, name
>>AttributeError: posters
>>
>>This seems to be related to an incorrect version number, but I have no
idea
>>how to remedy this. Have I missed some crucial step in the migration?
>
>
>There is an inconsistency in your old list objects in the
>lists/LISTNAME/config.pck files.
>
>The section of code throwing the AttributeError on 'posters' is trying
>to convert Mailman 2.0.x moderation settings to Mailman 2.1.x
>equivalents. It should only be executed if the list has a 'moderated'
>attribute which no Mailman 2.1.x list should have.
>
>Do
>
>bin/dumpdb lists/LISTNAME/config.pck
>
>on one of these lists. Look for an attribute 'moderate' and any with
>'posters' in the name. What is the moderate attribute? What is the
>data_version attribute?
>If you need help, you can edit that output to remove all the actual
>email addresses and passwords and post that.
There is no 'posters' attribute and the 'moderated' attribute is set to
zero. The 'data_version' is 97.
Below is the dump (sans identifying information):
[----- start pickle file -----]
<----- start object 1 ----->
{ 'accept_these_nonmembers': [],
'acceptable_aliases': '\n',
'admin_immed_notify': True,
'admin_member_chunksize': 30,
'admin_notify_mchanges': False,
'admin_responses': { },
'administrivia': True,
'advertised': 1,
'anonymous_list': False,
'archive': 1,
'archive_private': 1,
'archive_volume_frequency': 4,
'autorespond_admin': 0,
'autorespond_postings': 0,
'autorespond_requests': 0,
'autoresponse_admin_text': '',
'autoresponse_graceperiod': 90,
'autoresponse_postings_text': '',
'autoresponse_request_text': '',
'available_languages': ['en'],
'ban_list': [],
'bounce_info': { },
'bounce_info_stale_after': 604800,
'bounce_matching_headers': <removed>
'bounce_notify_owner_on_disable': True,
'bounce_notify_owner_on_removal': True,
'bounce_processing': True,
'bounce_score_threshold': 5.0,
'bounce_unrecognized_goes_to_list_owner': True,
'bounce_you_are_disabled_warnings': 3,
'bounce_you_are_disabled_warnings_interval': 604800,
'collapse_alternatives': True,
'convert_html_to_plaintext': True,
'created_at': 1311704628.8008659,
'data_version': 97,
'default_member_moderation': False,
'delivery_status': { },
'description': '',
'digest_footer':
'_______________________________________________\r\n%(real_name)s mailing
list\r\n%(real_name)s@
%(host_name)s\r\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\r\n',
'digest_header': '',
'digest_is_default': False,
'digest_last_sent_at': 1323799203.0095229,
'digest_members': { <removed> },
'digest_send_periodic': True,
'digest_size_threshhold': 30,
'digest_volume_frequency': 1,
'digestable': True,
'discard_these_nonmembers': [],
'emergency': 0,
'encode_ascii_prefixes': 0,
'filter_action': 0,
'filter_content': False,
'filter_filename_extensions': [ 'exe',
'bat',
'cmd',
'com',
'pif',
'scr',
'vbs',
'cpl'],
'filter_mime_types': [],
'first_strip_reply_to': 0,
'forward_auto_discards': True,
'gateway_to_mail': 0,
'gateway_to_news': 0,
'generic_nonmember_action': 1,
'goodbye_msg': '',
'header_filter_rules': [],
'hold_and_cmd_autoresponses': { },
'hold_these_nonmembers': [],
'host_name': <removed>,
'include_list_post_header': 1,
'include_rfc2369_headers': 1,
'info': '',
'language': <removed>
'last_post_time': 1323715708.7543659,
'linked_newsgroup': '',
'max_days_to_hold': 0,
'max_message_size': 0,
'max_num_recipients': 20,
'member_moderation_action': 0,
'member_moderation_notice': '',
'member_posting_only': 1,
'members': <removed>
'mime_is_default_digest': 1,
'mod_password': None,
'moderated': 0,
'moderator': [],
'msg_footer':
'_______________________________________________\n%(real_name)s mailing
list\n%(real_name)s@
%(host_name)s\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\n',
'msg_header': '',
'new_member_options': 256,
'news_moderation': 0,
'news_prefix_subject_too': 1,
'next_digest_number': 2,
'next_post_number': 1,
'next_request_id': 7,
'nntp_host': '',
'nondigestable': True,
'nonmember_rejection_notice': '',
'obscure_addresses': True,
'one_last_digest': { },
'owner': <removed>
'pass_filename_extensions': [],
'pass_mime_types': [ 'multipart/mixed',
'multipart/alternative',
'text/plain'],
'password': <removed>
'passwords': <removed>
'personalize': 0,
'post_id': 10.0,
'postings_responses': { },
'preferred_language': 'en',
'private_roster': 1,
'real_name': <removed>
'regular_exclude_lists': [],
'regular_include_lists': [],
'reject_these_nonmembers': [],
'reply_goes_to_list': 0,
'reply_to_address': '',
'request_responses': { },
'require_explicit_destination': True,
'respond_to_post_requests': 1,
'scrub_nondigest': False,
'send_goodbye_msg': False,
'send_reminders': 0,
'send_welcome_msg': 0,
'subject_prefix': <removed>
'subscribe_policy': 3,
'topics': [],
'topics_bodylines_limit': 5,
'topics_enabled': 0,
'topics_userinterest': { },
'umbrella_list': False,
'umbrella_member_suffix': '-owner',
'unsubscribe_policy': 0,
'user_options': <removed>
'usernames': <removed>
'volume': 3,
'web_page_url': <removed>
'welcome_msg': ''}
[----- end pickle file -----]
More information about the Mailman-Users
mailing list