This
ERROR 2010-02-20 01:08:41,890 restricted.py:143] Traceback (most
recent call last):
File "W:\web2py_lin\gluon\restricted.py", line 173, in restricted
exec ccode in environment
File "W:\web2py_lin\applications\canyonezt/views/default/user.html",
line 38, in <module>
File "W:\web2py_lin\gluon\html.py", line 173, in URL
raise SyntaxError, 'not enough information to build the url'
is an error in the code. Somewhere in /views/default/user.html or
views/layout.html you have a URL(...) with missing arguments.
On Feb 19, 7:11 pm, reyelts <[email protected]> wrote:
> I've got an application that seems to run fine in a standalone web2py
> environment but is having an issue with GAE. I just get "Internal
> Error" in the browser. The GAE log shows the subject SyntaxError:
>
> 2010-02-19 18:08:19 Running command: "['C:\\Python25\\pythonw.exe', 'C:
> \\Program Files\\Google\\google_appengine\\dev_appserver.py', '--
> admin_console_server=', '--port=8080', u'W:\\web2py_lin']"
> INFO 2010-02-20 01:08:25,250 dev_appserver_main.py:399] Running
> application canyonezt on port 8080:http://localhost:8080
> WARNING 2010-02-20 01:08:32,750 portalocker.py:91] no file locking
> WARNING 2010-02-20 01:08:39,578 main.py:49] unable to import
> wsgiserver
> INFO 2010-02-20 01:08:39,608 rewrite.py:40] URL rewrite is on.
> configuration in routes.py
> INFO 2010-02-20 01:08:39,733 gaehandler.py:55] **** Request:
> 0.00ms/4.44ms (real time/cpu time)
> INFO 2010-02-20 01:08:39,905 dev_appserver.py:3246] "GET / HTTP/
> 1.1" 303 -
> INFO 2010-02-20 01:08:39,967 dev_appserver_index.py:205] Updating
> W:\web2py_lin\index.yaml
> INFO 2010-02-20 01:08:41,328 gaehandler.py:55] **** Request:
> 1156.00ms/1165.83ms (real time/cpu time)
> INFO 2010-02-20 01:08:41,515 dev_appserver.py:3246] "GET /
> canyonezt/default/index HTTP/1.1" 303 -
> ERROR 2010-02-20 01:08:41,890 restricted.py:143] Traceback (most
> recent call last):
> File "W:\web2py_lin\gluon\restricted.py", line 173, in restricted
> exec ccode in environment
> File "W:\web2py_lin\applications\canyonezt/views/default/user.html",
> line 38, in <module>
> File "W:\web2py_lin\gluon\html.py", line 173, in URL
> raise SyntaxError, 'not enough information to build the url'
> SyntaxError: not enough information to build the url
> INFO 2010-02-20 01:08:41,890 gaehandler.py:55] **** Request:
> 187.00ms/181.67ms (real time/cpu time)
> INFO 2010-02-20 01:08:42,092 dev_appserver.py:3246] "GET /
> canyonezt/default/user/login HTTP/1.1" 500 -
> INFO 2010-02-20 01:08:42,328 gaehandler.py:55] **** Request:
> 0.00ms/0.35ms (real time/cpu time)
> INFO 2010-02-20 01:08:42,500 dev_appserver.py:3246] "GET /
> favicon.ico HTTP/1.1" 400 -
>
> What should I be looking for with respect to the cause of this problem?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en.