Looks like your "index" template doesn't have "$def with (name)"
declaration in it, as you're trying to pass "name" variable calling
"render.index(name)" and it says the template takes no arguments.

On Apr 1, 10:32 pm, Eric Mika <erm...@gmail.com> wrote:
> Hi everyone, I'm seeing these errors showing up in the logs. My site
> responds to 99% of requests correctly, but every once in a while it
> throws this error. (And it's always this error.)
>
> Traceback (most recent call last):, referer:http://www.example.com
>   File "/var/www/html/example/web/application.py", line 242, in
> process, referer:http://www.example.com
>     return self.handle(), referer:http://www.example.com
>   File "/var/www/html/example/web/application.py", line 233, in
> handle, referer:http://www.example.com
>     return self._delegate(fn, self.fvars, args), 
> referer:http://www.example.com
>   File "/var/www/html/example/web/application.py", line 415, in
> _delegate, referer:http://www.example.com
>     return handle_class(cls), referer:http://www.example.com
>   File "/var/www/html/example/web/application.py", line 390, in
> handle_class, referer:http://www.example.com
>     return tocall(*args), referer:http://www.example.com
>   File "/var/www/html/example/example.py", line 55, in GET, 
> referer:http://www.example.com
>     return render.index(name), referer:http://www.example.com
>   File "/var/www/html/example/web/template.py", line 898, in __call__,
> referer:http://www.example.com
>     return BaseTemplate.__call__(self, *a, **kw), 
> referer:http://www.example.com
>   File "/var/www/html/example/web/template.py", line 804, in __call__,
> referer:http://www.example.com
>     return self.t(*a, **kw), referer:http://www.example.com
> TypeError: __template__() takes no arguments (1 given), 
> referer:http://www.example.com
> , referer:http://www.example.com
>
> Any ideas? All the other posts on the "__template__() takes no
> arguments" error are for cases when it's a complete / blocking bug...
> not something intermittent. Thanks in advance for your help.
>
> Best,
> Eric

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to