>
> mytxt = mysearch().search(tags, myutils.intget(input.p, 1))
> WITH:
> mytxt = mysearch().search(str(tags), myutils.intget(input.p, 1))
>
> everything is OK. Why :) ?

because now web.input() returns unicode values.

> ps app.internalerror = web.debugerror  doesn't work for me

it is set to debugerror if web.config.debug is set to True.
If you want custom notfound message, see:
http://webpy.org/cookbook/custom_notfound

Looks like it is not straight forward to set internalerror to
debugerror when web.config.debug=True.

This is how it should be done:

def debugerror():
    return web.notfound(web.djangoerror())

app.internalerror = debugerror

Looks like web.debugerror and web.emailerrors should change to return
instance of web.notfound error.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to