Chris Abajian spake thusly on Fri, Jul 14, 2006 at 09:30:10AM -0700:
>
> [EMAIL PROTECTED] pending]$ /usr/local/tmda/bin/tmda-pending -s -d -O 20d 
> ./1152523363.2467.msg
> Traceback (most recent call last):
>   File "/usr/local/tmda/bin/tmda-pending", line 312, in ?
>     main()
>   File "/usr/local/tmda/bin/tmda-pending", line 305, in main
>     q.mainLoop()
>   File "./TMDA/Pending.py", line 287, in mainLoop
>   File "./TMDA/Pending.py", line 183, in checkTreshold
> ValueError: invalid literal for int():
> 

--- end quoted text ---

The function checkTreshold splits the msg ID passed to it by '.' (period) and 
then uses the first element of the returned list as the ID to process, after 
changing to an int. Since the element being used is blank (as seen below), 
python barfs on trying to make '' an int.

Your message id list after splitting on the '.': ['', '/1152523363', '2467', 
'msg']

TMDA can't process that because '' is not a valid message ID. Try not 
specifying the './' and see what happens. I could be wrong. :)

Regards,
Richard

-- 
Did this email or post help you? If so, please rate
me at affero: http://rate.affero.net/RhunDraco

Attachment: pgpdlL89qB3lj.pgp
Description: PGP signature

_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Reply via email to