I'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"

I am getting the following traceback when I look in the admin/errors files:

Traceback (most recent call last):
  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>
    if DEMO_MODE or MULTI_USER_MODE:
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

On Wednesday, July 29, 2015 at 12:52:54 PM UTC-7, Richard wrote:
>
> sorry 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 <ml.richa...@gmail.com 
> <javascript:>> wrote:
>
>> Did 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
>>
>> On Wed, Jul 29, 2015 at 3:30 PM, Dave S <snide...@gmail.com <javascript:>
>> > wrote:
>>
>>>
>>>
>>> On Wednesday, July 29, 2015 at 11:44:44 AM UTC-7, Mark Li wrote:
>>>>
>>>> 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
>>>
>>>
>>>  
>>>
>>>> On Wednesday, July 29, 2015 at 11:24:07 AM UTC-7, Mark Li wrote:
>>>>>
>>>>> I'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?
>>>>>
>>>>> On Wednesday, July 29, 2015 at 10:52:06 AM UTC-7, Dave S wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wednesday, July 29, 2015 at 10:20:36 AM UTC-7, Mark Li wrote:
>>>>>>>
>>>>>>> I 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
>>>>>>  
>>>>>>
>>>>>  -- 
>>> Resources:
>>> - 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, send 
>>> an email to web2py+un...@googlegroups.com <javascript:>.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>

-- 
Resources:
- 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, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to