Same issue here with newest web2py Am Di., 18. Aug. 2020 um 07:08 Uhr schrieb 'Annet' via web2py-users < web2py@googlegroups.com>:
> I reported the same problem some time ago. > > When I edit a module and save it I get this nameError. Since I am > importing the modules into other applications I have to restart web2py > everytime I edit a module. > > Further more the module are no longer compiled on first use, which > I also find very annoying. > > Annet > > Op zondag 16 augustus 2020 om 12:09:28 UTC+2 schreef Vlad: > >> same error, though with a lot more than 3 lines >> >> On Wednesday, June 24, 2020 at 5:36:36 AM UTC-5 serge.bo...@gmail.com >> wrote: >> >>> >>> I have an issue saving my modues with the last version of web2py. >>> Is there something I do wrong? >>> >>> Context: Ubuntu 18.04 / web2py version 2.20.4 / python 3.6.9 >>> >>> How to reproduce this issue (a bug??) with a simple example: >>> >>> In the applications examples, create a module (for instance empty.py) >>> >>> Then open it, >>> => url: >>> 127.0.0.1:8000/admin/default/edit/examples/modules/empty.py?id=modules__empty__py >>> The file contains 3 lines: >>> #!/usr/bin/env python >>> # -*- coding: utf-8 -*- >>> from gluon import * >>> >>> do not change anything and save it (ctrl + S)... >>> >>> => Since the last version, I get the following message: >>> >>> Impossible de recharger le module car: >>> NameError("name 'reload' is not defined",) >>> >>> Thanks for any advise... >>> >> -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/56370ed0-27a0-4b3d-a984-2fd6ac7bb964n%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/56370ed0-27a0-4b3d-a984-2fd6ac7bb964n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CADHCKLSUHiqMRLuuMYH%3DXvCqUAoXijcuu%2BT3v%3Dvt8bymn1huig%40mail.gmail.com.