[Mailman-Users] Dumb Me Tried to Update Mandriva (Again)

Dennis Putnam dap1 at bellsouth.net
Wed May 2 16:01:27 CEST 2012


On to the next layer of the onion. :-(

Traceback (most recent call last):
  File "/usr/sbin/mailmanctl", line 106, in <module>
    from Mailman import mm_cfg
ImportError: cannot import name mm_cfg


On 5/2/2012 9:48 AM, Mark Sapiro wrote:
> Dennis Putnam wrote:
>> Of course I did not expect this to be easy. After restoring the Mailman
>> directory as suggested, mailman will not start:
>>
>> Traceback (most recent call last):
>>  File "/usr/sbin/mailmanctl", line 106, in <module>
>>    from Mailman import mm_cfg
>> ImportError: Bad magic number in /usr/lib/mailman/Mailman/mm_cfg.pyc
>
> It appears your system Python is now different from the one that
> compiled all the .pyc files. Just do
>
>
>   rm -r /path/to/Mailman/*.pyc
>
> This will remove all the compiled Python modules and they will be
> recompiled as needed.
>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20120502/bc540df9/attachment.pgp>


More information about the Mailman-Users mailing list