On Friday 14 March 2003 19:31, Jesse Guardiani wrote:
> Howdy list.
>
> I'm getting this in my debug log:
>
> Uncaught Python 2.2.2 Exception (Fri Mar 14 19:27:03 2003):
> -----------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/local/tmda/bin/tmda-filter", line 53, in ?
>     execfile(os.path.join(execdir, 'tmda-rfilter'))
>   File "/usr/local/tmda/bin/tmda-rfilter", line 773, in ?
>     main()
>   File "/usr/local/tmda/bin/tmda-rfilter", line 768, in main
>     do_default_action(default_action, 'action_incoming', bouncetext)
>   File "/usr/local/tmda/bin/tmda-rfilter", line 402, in do_default_action
>     bouncegen('request')
>   File "/usr/local/tmda/bin/tmda-rfilter", line 661, in bouncegen
>     bounce_message = Util.maketext(templatefile, vars())
>   File "/usr/local/tmda/TMDA/Util.py", line 745, in maketext
>     text = template % localdict
> TypeError: not enough arguments for format string
>
>
>
> I think it may be generated by a bad template. Can anyone offer any
> insight?

OK. Luckily I found the problem. I had a % sign in the email without it
being attached to a variable. Is there a way to escape this character?

I didn't see anything mentioned in the templates page on the website.



>
> Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.


_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to