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

Dennis Putnam dap1 at bellsouth.net
Wed May 2 15:28:36 CEST 2012


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


On 4/28/2012 6:40 PM, Mark Sapiro wrote:
> On 4/28/2012 3:02 PM, Dennis Putnam wrote:
>> On 4/28/2012 4:57 PM, Mark Sapiro wrote:
>>> On 4/28/2012 1:24 PM, Dennis Putnam wrote:
>>>> As usual my attempt to update Mandriva has destroyed Mailman. This time
>>>> the update failed and rather than move forward, I reverted back to the
>>>> working version (2010.2). However, I must have missed something because
>>>> I am getting the following error when I try to access Mailman web:
>>>>
>>>> Apr 28 16:07:42 2012 admin(17726):
>>>> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ pr 28 16:07:42 2012
>>>> admin(17726): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>>>> admin(17726): [----- Mailman Version: 2.1.13 -----]
>>>> admin(17726): [----- Traceback ------]
>>>> admin(17726): Traceback (most recent call last):
>>>> admin(17726):   File "/usr/lib/mailman/scripts/driver", line 97, in run_main
>>>> admin(17726):     pkg = __import__('Mailman.Cgi', globals(), locals(),
>>>> [scriptname])
>>>> admin(17726):   File "/usr/lib/mailman/Mailman/Cgi/admin.py", line 35,
>>>> in <module>
>>>> admin(17726):     from Mailman import MailList
>>>> admin(17726):   File "/usr/lib/mailman/Mailman/MailList.py", line 64, in
>>>> <module>
>>>> admin(17726):     from Mailman import Gui
>>>> admin(17726):   File "/usr/lib/mailman/Mailman/Gui/__init__.py", line
>>>> 25, in <module>
>>>> admin(17726):     from Privacy import Privacy
>>>> admin(17726):   File "/usr/lib/mailman/Mailman/Gui/Privacy.py", line 28,
>>>> in <module>
>>>> admin(17726):     from Mailman import GPGUtils
>>> This import is not in standard GNU Mailman and neither is the
>>> Mailman/GPGUtils.py module.
>> I wonder if the update installed this so rather than restore something,
>> maybe I need to delete something. But from where is this being called?
>
> According to the above traceback, the import is in
> /usr/lib/mailman/Mailman/Gui/Privacy.py at line 25.
>
> If you have a backup of /usr/lib/mailman/Mailman/ you could try
> restoring all of it.
>


-------------- 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/e868946e/attachment.pgp>


More information about the Mailman-Users mailing list