Chris Abajian spake thusly on Fri, Jul 14, 2006 at 12:14:05PM -0700:
> My example may be wrong but it also fails with no message id, e.g.
> 
> [EMAIL PROTECTED] ~]$  /usr/local/tmda/bin/tmda-pending -s -d -O 20d
> 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(): #1146625450
> 

--- end quoted text ---

Somehow you put a hash symbol (#) in front of the file name you were checking. 
I tested it and get the same error:

tmda-pending -s -p -O 1m \#1152906224.1724.msg

Traceback (most recent call last):
  File "/usr/local/bin/tmda-pending", line 312, in ?
    main()
  File "/usr/local/bin/tmda-pending", line 305, in main
    q.mainLoop()
  File "/usr/local/src/tmda-1.0.3/TMDA/Pending.py", line 287, in mainLoop
    if not self.checkTreshold(M.msgid):
  File "/usr/local/src/tmda-1.0.3/TMDA/Pending.py", line 183, in checkTreshold
    msg_time = int(msgid.split('.')[0])
ValueError: invalid literal for int(): #1152906224

Notice the #1152906224 in the ValueError line; it matches the file I specified. 
Yours has #1146625450 there. Something has either renamed the file(s) or there 
is a difference in your TMDA version from mine.

Does -Y work?

Regards,
Richard

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

Attachment: pgprSjqHzgKX4.pgp
Description: PGP signature

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

Reply via email to