Re[2]: [Mailman-Users] MailCommandHandler.py errors

2002-09-05 Thread Toorop


Bonjour mailman-users, 
 
 Le jeudi 5 septembre 2002 à 00:30, tu nous faisais part
 dans ton message [Mailman-Users] MailCommandHandler.py errors de ceci :

AMK Michael Pike wrote:

 Traceback (innermost last):
 File /home/mailman/cron/qrunner, line 2 83, in ?
   kids = main(lock)
 File /home/mailman/cron/qrunner, line 2 53, in main
   keepqueued = dispose_message (mlist, msg, msgdata)
 File /home/mailman/cron/qrunner, line 1 57, in dispose_message
   mlist.ParseMailCommands(msg)
 File /home/mailman/Mailman/MailCommandHandler.py, line 123, in
 ParseMailCommands
   precedence = msg.get('precedence', '').lower()
 AttributeError :  'string' object has no attribute 'lower'

   Change line 123 and 124 by :
   precedence = string.lower(msg.get('precedence', ''))
   ack = string.lower(msg.get('x-ack', ''))
 

--
Toorop 
Lorsque que vous avez éliminé l'impossible, ce qui reste, 
même si c'est improbable, doit être la vérité.
www.spoonsdesign.com

-
Mail scanné par Protecmail filter 


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



[Mailman-Users] MailCommandHandler.py errors

2002-09-04 Thread Michael Pike

I checked the LOG area in the mailman DIR, and find this a couple of 
hundred times, which is probably what is wrong... any ideas?:

Sep 04 15:10:00 2002 qrunner(24498): Traceback (innermost last):
Sep 04 15:10:00 2002 qrunner(24498):   
File /home/mailman/cron/qrunner, line 2
83, in ?
Sep 04 15:10:00 2002 qrunner(24498):  kids = main(lock)
Sep 04 15:10:00 2002 qrunner(24498):   
File /home/mailman/cron/qrunner, line 2
53, in main
Sep 04 15:10:00 2002 qrunner(24498):  keepqueued = dispose_message
(mlist, ms
g, msgdata)
Sep 04 15:10:00 2002 qrunner(24498):   
File /home/mailman/cron/qrunner, line 1
57, in dispose_message
Sep 04 15:10:00 2002 qrunner(24498):  mlist.ParseMailCommands(msg)
Sep 04 15:10:00 2002 qrunner(24498):   
File /home/mailman/Mailman/MailCommandHa
ndler.py, line 123, in ParseMailCommands
Sep 04 15:10:00 2002 qrunner(24498):  precedence = msg.get
('precedence', '')
.lower()
Sep 04 15:10:00 2002 qrunner(24498): AttributeError :  'string' object 
has no at
tribute 'lower'

i am no python expert.

-- 
Michael Pike
Northern Navajo Medical Center
Information Techonology Development
505-368-6062
The NNMC E-Series - Perfecting Healthcare Information Technology
http://eseries.ihs.gov


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



Re: [Mailman-Users] MailCommandHandler.py errors

2002-09-04 Thread Ashley M. Kirchner

Michael Pike wrote:

 Traceback (innermost last):
 File /home/mailman/cron/qrunner, line 2 83, in ?
   kids = main(lock)
 File /home/mailman/cron/qrunner, line 2 53, in main
   keepqueued = dispose_message (mlist, msg, msgdata)
 File /home/mailman/cron/qrunner, line 1 57, in dispose_message
   mlist.ParseMailCommands(msg)
 File /home/mailman/Mailman/MailCommandHandler.py, line 123, in
 ParseMailCommands
   precedence = msg.get('precedence', '').lower()
 AttributeError :  'string' object has no attribute 'lower'

This is an error that has been posted before by many (including myself) and
I think the general solution was either downgrade to an earlier version of
Mailman, or tell it to use python2 instead.  Of course this would mean you have
python2 installed.

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +
  Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith . 800.441.3873 x130
  Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
  http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



Re: [Mailman-Users] MailCommandHandler.py errors

2002-09-04 Thread Michael Pike

I saw that... but no luck...

I have Python2-2.2-16 (default rh73 install) and still getting the 
errors what is a good version to downgrade too?

mike


 Michael Pike wrote:
 
  Traceback (innermost last):
  File /home/mailman/cron/qrunner, line 2 83, in ?
kids = main(lock)
  File /home/mailman/cron/qrunner, line 2 53, in main
keepqueued = dispose_message (mlist, msg, msgdata)
  File /home/mailman/cron/qrunner, line 1 57, in dispose_message
mlist.ParseMailCommands(msg)
  File /home/mailman/Mailman/MailCommandHandler.py, line 123, in
  ParseMailCommands
precedence = msg.get('precedence', '').lower()
  AttributeError :  'string' object has no attribute 'lower'
 
 This is an error that has been posted before by many (including 
myself) and
 I think the general solution was either downgrade to an earlier 
version of
 Mailman, or tell it to use python2 instead.  Of course this would 
mean you have
 python2 installed.
 
 --
 W | I haven't lost my mind; it's backed up on tape somewhere.
   +--
--
   Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 
x130
   IT Director / SysAdmin / WebSmith . 800.441.3873 
x130
   Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. 
#6
   http://www.pcraft.com . .  ..   Boulder, CO 80303, 
U.S.A.
 
 
 
 
 --
 Mailman-Users mailing list
 [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
 Searchable Archives: http://www.mail-archive.com/mailman-users%
40python.org/
 
 

-- 
Michael Pike
Northern Navajo Medical Center
Information Techonology Development
505-368-6062
The NNMC E-Series - Perfecting Healthcare Information Technology
http://eseries.ihs.gov


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



Re: [Mailman-Users] MailCommandHandler.py errors

2002-09-04 Thread Ashley M. Kirchner

Michael Pike wrote:

 I have Python2-2.2-16 (default rh73 install) and still getting the
 errors what is a good version to downgrade too?

A default RH7.3 install will have python installed, and only if you've
selected it, python2.  By your message it looks like you have python2 installed,
however python will still be on the system (many other rpm's rely on python, rpm
being one of them), so Mailman is using that, not python2.  Tell the configure
script that you want to use python2 instead (read ./configure --help)

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +
  Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith . 800.441.3873 x130
  Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
  http://www.pcraft.com . .  ..   Boulder, CO 80303, U.S.A.




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



Re: [Mailman-Users] MailCommandHandler.py errors

2002-09-04 Thread Michael Pike

I tried using configure with specifying /usr/bin/python2 as the 
interpreter no luck...

so, I just copied python2 over python, and now it works... who knows 
what else it will screw up... but mailman is more important to me than 
whatever the hell python was doing before i backed up the old 
python to pythonoriginal in /usr/bin... so now /usr/bin/python is a 
copy of /usr/bin/python2 and it's fine.

let me know if I am an idiot.
mike


 Michael Pike wrote:
 
  I have Python2-2.2-16 (default rh73 install) and still getting the
  errors what is a good version to downgrade too?
 
 A default RH7.3 install will have python installed, and only if 
you've
 selected it, python2.  By your message it looks like you have 
python2 installed,
 however python will still be on the system (many other rpm's rely on 
python, rpm
 being one of them), so Mailman is using that, not python2.  Tell the 
configure
 script that you want to use python2 instead (read ./configure --help)
 
 --
 W | I haven't lost my mind; it's backed up on tape somewhere.
   +--
--
   Ashley M. Kirchner mailto:[EMAIL PROTECTED]   .   303.442.6410 
x130
   IT Director / SysAdmin / WebSmith . 800.441.3873 
x130
   Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. 
#6
   http://www.pcraft.com . .  ..   Boulder, CO 80303, 
U.S.A.
 
 
 
 
 --
 Mailman-Users mailing list
 [EMAIL PROTECTED]
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
 Searchable Archives: http://www.mail-archive.com/mailman-users%
40python.org/
 
 

-- 
Michael Pike
Northern Navajo Medical Center
Information Techonology Development
505-368-6062
The NNMC E-Series - Perfecting Healthcare Information Technology
http://eseries.ihs.gov


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/



Re: [Mailman-Users] MailCommandHandler.py errors

2002-09-04 Thread Barry A. Warsaw


 AMK == Ashley M Kirchner [EMAIL PROTECTED] writes:

AMK This is an error that has been posted before by many
AMK (including myself) and I think the general solution was
AMK either downgrade to an earlier version of Mailman, or tell it
AMK to use python2 instead.  Of course this would mean you have
AMK python2 installed.

No downgrading necessary.  Simply upgrade to Mailman 2.0.13 or use
Python 2.x.

-Barry

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/