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. >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org