Re: [web2py] BUG causes all error tickets to be unknown

2011-06-09 Thread Daniel Gonzalez
Im not working with the latest version, but sometimesn it happens to me,
and is because there's not write permissions on the /errors folder, or
because the  /errors folder does not exists.

I hope this help to you.

El jue, 09-06-2011 a las 03:28 -0700, selecta escribió:
> I check out the latest web2py version from the hg
> I created a "New simple application"
> 
> I modified the first menu item in models/menu.py
> response.menu = [
> (TAG['']('Index'), False,
> URL(request.application,'default','index'), [])
> ]
> 
> this does not make sense, and is just for testing, actualy I want to
> do something like
> (TAG[''](IMG( _src = URL(request.application, 'static/ico','bug.png'),
> _alt='bug'),'Issues'), False, issueurl , []),
> 
> now i created a bug by adding random characters in a controller ...
> any bug will do
> 
> def index():
> asdf
> return dict()
> 
> this will cause all error tickets to appear like
> Internal error
> Ticket issued: unknown
> the error will be displayed in the shell though
> 
> What is wrong? This used to work. How do i get the images back into
> the menu?




[web2py] BUG causes all error tickets to be unknown

2011-06-09 Thread selecta
I check out the latest web2py version from the hg
I created a "New simple application"

I modified the first menu item in models/menu.py
response.menu = [
(TAG['']('Index'), False,
URL(request.application,'default','index'), [])
]

this does not make sense, and is just for testing, actualy I want to
do something like
(TAG[''](IMG( _src = URL(request.application, 'static/ico','bug.png'),
_alt='bug'),'Issues'), False, issueurl , []),

now i created a bug by adding random characters in a controller ...
any bug will do

def index():
asdf
return dict()

this will cause all error tickets to appear like
Internal error
Ticket issued: unknown
the error will be displayed in the shell though

What is wrong? This used to work. How do i get the images back into
the menu?