done the trick.
Post by Mark LiI've updated to version 2.11.2, and the problem still persists. I've
deleted all errors, cache, and sessions for both admin app and "myapp"
File "/home/marladarla7/web2py/
gluon/restricted.py", line 224, in restricted
exec ccode in environment
File "applications/admin/models/0_imports.py", line 15, in <module>
from mercurial import ui, hg, cmdutil
File "/home/marladarla7/web2py/gluon/custom_import.py", line 71, in
custom_importer
return NATIVE_IMPORTER(oname, globals, locals, fromlist, level)
File "mercurial.py", line 3, in <module>
NameError: name 'DEMO_MODE' is not defined
I have checked 0.py model, and DEMO_MODE = False, so I have no idea
why I am getting this error
Post by Richard Vézinasorry I miss read... 2.9.10...
Why not 2.9.12...
Why not install 2.11.2??
Richard
On Wed, Jul 29, 2015 at 3:49 PM, Richard Vézina <
Post by Richard VézinaDid you update the admin app?
Also, if I remember there have been many correction over 2.10.x
web2py build... I would avoid the 2.10.x series for this reason... I
remember having testing and having found it not that stable and I stay with
2.9.5...
2.11.2 seems to work great...
Richard
I am looking at the errors for the admin (at the files), and I am
getting a "<type 'exceptions.NameError'> name 'DEMO_MODE' is not defined""
error
That doesn't ring any bells for me, although I'm currently on
2.11.2. I think the step that required some extra effort for pydal 2.10.x.
/dps
Post by Mark LiI've run sessions2trash.py to remove all sessions, as well as
remove all the files from the errors folder. Unfortunately I'm still
getting the error loop. Should I do this for the admin app as well?
Post by Dave SI just upgraded my web2py version on Pythonanywhere from 2.7.4
to 2.9.10, so my live site can match my test site web2py version
This in turn has caused the admin page to start producing
errors, so I am unable to look at error tickets (they will just produce
more errors).
I'm quite lost as to what I can do to fix this problem, as I
can't even read the error tickets (it's just a continuing cycle of internal
errors).
You probably need to clear old sessions and old tickets out
(back up the tickets, then clear the directory). As I remember it, old
sessions and old tickets were the two biggest sources of error loops.
/dps
--
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google
Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it,
For more options, visit https://groups.google.com/d/optout.
--
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to a topic in the
Google Groups "web2py-users" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/web2py/Z84QlkT6MqE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/d/optout.
Groups "web2py-users" group.
For more options, visit https://groups.google.com/d/optout.