Access URL: http://localhost:8080/hello
Error msg in terminal:
----8<-----------------
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/web/application.py", line
205, in wsgi
result = self.handle_with_processors()
File "/usr/lib/python2.4/site-packages/web/application.py", line
177, in handle_with_processors
return process(self.processors)
File "/usr/lib/python2.4/site-packages/web/application.py", line
172, in process
return p(lambda: process(processors))
File "/usr/lib/python2.4/site-packages/web/application.py", line
524, in processor
return handler()
File "/usr/lib/python2.4/site-packages/web/application.py", line
172, in <lambda>
return p(lambda: process(processors))
File "/usr/lib/python2.4/site-packages/web/application.py", line
172, in process
return p(lambda: process(processors))
File "/usr/lib/python2.4/site-packages/web/application.py", line
524, in processor
return handler()
File "/usr/lib/python2.4/site-packages/web/application.py", line
172, in <lambda>
return p(lambda: process(processors))
File "/usr/lib/python2.4/site-packages/web/application.py", line
174, in process
return self.handle()
File "/usr/lib/python2.4/site-packages/web/application.py", line
166, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/lib/python2.4/site-packages/web/application.py", line
342, in _delegate
return handle_class(cls)
File "/usr/lib/python2.4/site-packages/web/application.py", line
317, in handle_class
return tocall(*args)
File "/home/bibby/private/rhms/webpy/testTemplate.py", line 19, in
GET
return render.hello(name)
TypeError: template() takes exactly 0 arguments (1 given)
127.0.0.1:42608 - - [11/Jun/2008 12:54:21] "HTTP/1.1 GET /hello" - 500
Internal Server Error
----8<----------------------
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---