I setup the latest of mailman from cvs yesterday and I'm having some difficulty getting it all working.
My first problem was with /scripts/mailcmd on line 49:
print >> sys.stderr 'Mailman error: mailcmd got bad listname: %s\n%s' \
^ -- missing comma after sys.stderr
I also had a problem with the mimelib import where everything worked from from the command line but wouldn't work from the cron or when sendmail called the wrapper commands. I fixed this by creating a soft link: $ ln -s /usr/local/lib/python2.0/site-packages/mimelib /home/mailman/Mailman/mimelib
The problem I'm currently having now is also in mailcmd and mailowner with the following error:
mailcmd(12300): File "/home/mailman/scripts/mailcmd", line 69, in ? mailcmd(12300): main() mailcmd(12300): File "/home/mailman/scripts/mailcmd", line 53, in main mailcmd(12300): msg = Message.Message(sys.stdin) mailcmd(12300): TypeError : too many arguments; expected 1, got 2
I looked into it and found that Mailman.Message.Message inherited from mimelib.Message.Message had __init__(self) and no other means of parsing the actual message. I would think that somewhere Parser should be used to parse the message but I'm not sure where or how to maintain the Mailman.Message.Message functionality that was added in the inheritance.
Does anyone know how this should be fixed or what I did wrong? I have the latest of mimelib 0.2 installed.
Chris Ryan chris@greatbridge.com
"CR" == Chris Ryan <chris@greatbridge.com> writes:
CR> Does anyone know how this should be fixed or what I did wrong?
CR> I have the latest of mimelib 0.2 installed.
I'd say wait until the next huge round of checkins. I've got lots of fixes for cvs problems waiting in the wings.
-Barry
Do you have a timeframe on when the next big commit is going to be?
Thanks in advance.
Chris Ryan chris@greatbridge.com
"Barry A. Warsaw" wrote:
"CR" == Chris Ryan <chris@greatbridge.com> writes:
CR> Does anyone know how this should be fixed or what I did wrong? CR> I have the latest of mimelib 0.2 installed.
I'd say wait until the next huge round of checkins. I've got lots of fixes for cvs problems waiting in the wings.
-Barry
participants (2)
-
barry@digicool.com
-
Chris Ryan