this is now fixed in 1.83.1

On Aug 11, 9:57 am, aabelyakov <aabelya...@gmail.com> wrote:
> OS - Ubuntu 10.04 LTS - Lucid Lynx
> web2py - Version 1.82.1 (2010-08-04 18:57:33)
> pull fromhttps://web2py.googlecode.com/hg/
>
> KeyError: 'routes_logging'
> File "/home/aabelyakov/Web2py/web2py.py", line 17, in <module>
>   import gluon.widget
> File "/home/aabelyakov/Web2py/gluon/widget.py", line 28, in <module>
>   import main
> File "/home/aabelyakov/Web2py/gluon/main.py", line 66, in <module>
>   rewrite.load()
> File "/home/aabelyakov/Web2py/gluon/rewrite.py", line 129, in load
>   if p['routes_logging']:
>
> routes.py
> =========
> routes_in = (('/', '/PowerOn/default/index'))
> routes_out = (('/PowerOn/default/index', '/'))
>
> After replacing the contents of the line 129
> error has disappeared
> =============================================
> #if p['routes_logging']:
> if p.get('routes_logging'):

Reply via email to