#42 ask help error (TypeError: not all arguments converted ...)

open
nobody
5
2005-07-01
2005-07-01
Anonymous
No

The "ask help" command will issue the following error
on version 2.5.2-1:

Traceback (most recent call last):
File "/etc/smrsh/askfilter", line 66, in ?
rc = ask.filter(sys.stdin)
File "/usr/lib/ask/askmain.py", line 168, in filter
if self.rmt.process_remote_commands():
File "/usr/lib/ask/askremote.py", line 216, in
process_remote_commands
method() ## Execute method
File "/usr/lib/ask/askremote.py", line 586, in send_help
help_html = """
TypeError: not all arguments converted during string
formatting

It is solved by removing a "mail_to" from the
askremote.py line 619:

original:
""" % (mail_to, mail_to, mail_to, mail_to, mail_to)

fixed:
""" % (mail_to, mail_to, mail_to, mail_to)

Discussion