Yes, I consider creating a gist too...

Richard

On Tue, Aug 15, 2017 at 10:52 AM, Martin Weissenboeck <[email protected]>
wrote:

> Thank you - should be mentioned in the book.
>
> 2017-08-15 16:44 GMT+02:00 Richard Vézina <[email protected]>:
>
>> Always the same issue... I would remove this update button to me... Whe
>> you update web2py you need to update many web2py reserved files in your app
>> that the web2py update don't do for you...
>>
>> Those files includes :
>>
>> view/
>>
>> appadmin.html
>> generic.ics
>> generic.load
>> generic.rss
>> layout.html
>> generic.json
>> generic.map
>> generic.xml
>> web2py_ajax.html
>> generic.html
>> generic.jsonp
>> generic.pdf
>>
>> controller/
>> appadmin.py
>>
>> static/
>> css/*
>> images/*
>> js/*
>>
>> You can do this like that :
>>
>> From web2py/applications
>>
>> cp -R welcome/static/* YOURAPP/static/
>> cp welcome/controllers/appadmin.py  YOURAPP/controllers/
>> cp welcome/views/* test_copy_file/views/
>>
>> Watch out the last command will override the layout.html...
>>
>>
>> This listing above is a copy/paste from one of my older post, so it may
>> not be 100% accurate
>>
>> Richard
>>
>>
>> On Tue, Aug 15, 2017 at 4:09 AM, Martin Weissenboeck <[email protected]>
>> wrote:
>>
>>> I have tried to use the automatic update to 2.15.3
>>> The following problem occurs:
>>>
>>> Internal error ... Ticked issued:...
>>>
>>>
>>> But appadmin is corrupted, so it is not possible to read the ticket in a
>>> simple way.
>>> *A restart of web2py solves the problem.*
>>> *Maybe there should be an extra hint to restart web2py after an error
>>> message?*
>>>
>>> I looked for some details:
>>>
>>> The error message is:
>>>
>>> type 'exceptions.NameError'> name 'iteritems' is not defined"
>>>
>>>
>>>
>>> In application/admin/controllers/appadmin.py:
>>>
>>> line 14:
>>>
>>> from gluon._compat import iteritems
>>>
>>>
>>> line 453:
>>>
>>> for key, value in iteritems(cache.ram.storage):
>>>
>>>
>>> I suppose that without a restart web2py does not find gluon._compat
>>>
>>>
>>> Regards, Martin
>>>
>>> --
>>> 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 [email protected].
>>> 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 [email protected].
>> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to