Re: [Tutor] TypeError: not all arguments converted during string formatting

2012-07-09 Thread Steven D'Aprano
Keitaro Kaoru wrote: [...] TypeError: not all arguments converted during string formatting [...] return self.html % ca cant seem to find out whats wrong with it Try experimenting at the interactive interpreter: [steve@ando ~]$ python Python 2.6.7 (r267:88850, Mar 10 2012,

Re: [Tutor] TypeError: not all arguments converted during string formatting

2012-07-09 Thread Joel Goldstick
On Mon, Jul 9, 2012 at 11:31 AM, Keitaro Kaoru wrote: > Traceback (most recent call last): > File "bot.py", line 351, in > mgr.main() > File "/home/bot/bot/ch.py", line 1672, in main > con._feed(data) > File "/home/bot/bot/ch.py", line 628, in _feed > self._process(food.decode("

[Tutor] TypeError: not all arguments converted during string formatting

2012-07-09 Thread Keitaro Kaoru
Traceback (most recent call last): File "bot.py", line 351, in mgr.main() File "/home/bot/bot/ch.py", line 1672, in main con._feed(data) File "/home/bot/bot/ch.py", line 628, in _feed self._process(food.decode("latin-1").rstrip("\r\n")) #numnumz ;3 File "/home/bot/bot/ch.py", l