In reply to your and ron_m's messages:
On Ubuntu 10.04.02 with python 2.6.5,
When I have a simple error in my python controller (say, return
dict(ans=ans) , where ans hasn't been defined),
if I run >>python web2py.py :
I first get the web-browser error:
Internal error
Ticket issued: welcome/
127.0.0.1.2011-05-26.04-31-29.b6c7d52d-b576-406b-ba3d-74308226e85b
and clicking on the ticket opens another tab with another
"Internal error" ticket (ad infinitum if I keep on clicking)
invalid request
I also don't see any messages on the terminal where I ran
web2py.py.
If I run the gae with >>python dev_appserver.py ../web2py/
I first get an "Internal error" ticket,
and if I click on it, I get a new tab with "invalid request" (and
no link).
At least with the GAE I can see the error traceback in the shell
running the server!
Permissions are:
drwxrwxr-x 2 zb zb 4.0K 2011-05-25 21:27 errors/
and in errors/
-rw-r--r-- 1 zb zb 87K 2011-05-25 21:27
127.0.0.1.2011-05-25.21-27-52.12358da4-3e47-461b-9fae-fd190aebfb65
which seems to be OK for viewing
So it's still a mystery why I don't get web tickets and admin!
(Note: I am at least missing the Tk library, because I get a warning
when I run web2py.py:
WARNING:web2py:GUI not available because Tk library is not
installed
-- does not seem that has anything to do with it, though, other than
being an indication that I don't technically have everything that
web2py needs, which oddly enough I did have on my old debian system!)
Thank you, pbreit and ron_m for your help and advice!!!
Luis.
On May 25, 9:03 am, pbreit <[email protected]> wrote:
> I run 10.04.2 and admin works fine. Are you getting error messages?
>
> I have found it's usually quite easy to resolve HTML errors. The traceback
> usually includes the view file's line number and/or the code listing shows
> the view file converted into Python which is easy enough to identify.