I got the same error when trying to access the appadmin controller

Traceback (most recent call last):

  File "/home/rochacbruno/Dropbox/cursodepython/web2py/gluon/restricted.py",
line 181, in restricted

    exec ccode in environment

  File 
"/home/rochacbruno/Dropbox/cursodepython/web2py/applications/init/controllers/appadmin.py"
<http://127.0.0.1:8000/admin/edit/init/controllers/appadmin.py>, line
11, in <module>

    import gluon.contenttype

  File "/home/rochacbruno/Dropbox/cursodepython/web2py/gluon/custom_import.py",
line 70, in _web2py__import__

    locals, fromlist, level)

  File "/home/rochacbruno/Dropbox/cursodepython/web2py/gluon/custom_import.py",
line 46, in _web2py__import__dot

    result = result or new_mod.__dict__[name]
KeyError: 'gluon'

--

Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]

Reply via email to