On Thursday, May 23, 2019 at 4:03:05 AM UTC-7, Константин Комков wrote: > > Maybe it info can help? > Error snapshot [image: help] > <http://192.168.20.184/admin/ticket/application/192.168.20.177.2019-05-23.14-00-15.9ee85a2c-e215-41e2-b571-f3891765d7d2#> > > <type 'exceptions.ImportError'>(No module named application.modules) > > inspect attributes > Frames > > - > > *File C:\inetpub\wwwroot\gluon\restricted.py in restricted at line 219* > код аргументы переменные > - > > *File C:\inetpub\wwwroot\applications\application\controllers\bak.py > in <module> at line 2* код аргументы переменные > - > > *File C:\inetpub\wwwroot\gluon\custom_import.py in custom_importer at > line 74* код аргументы переменные > Function argument list > > (name='mytest', globals={'A': <class 'gluon.html.A'>, 'ANY_OF': <class > 'pydal.validators.ANY_OF'>, 'ASSIGNJS': <function ASSIGNJS>, 'AppConfig': > <function AppConfig>, 'Auth': <class 'gluon.tools.Auth'>, 'B': <class > 'gluon.html.B'>, 'BEAUTIFY': <class 'gluon.html.BEAUTIFY'>, 'BODY': <class > 'gluon.html.BODY'>, 'BR': <class 'gluon.html.BR'>, 'BUTTON': <class > 'gluon.html.BUTTON'>, ...}, locals={'A': <class 'gluon.html.A'>, 'ANY_OF': > <class 'pydal.validators.ANY_OF'>, 'ASSIGNJS': <function ASSIGNJS>, > 'AppConfig': <function AppConfig>, 'Auth': <class 'gluon.tools.Auth'>, > 'B': > <class 'gluon.html.B'>, 'BEAUTIFY': <class 'gluon.html.BEAUTIFY'>, 'BODY': > <class 'gluon.html.BODY'>, 'BR': <class 'gluon.html.BR'>, 'BUTTON': > <class 'gluon.html.BUTTON'>, ...}, fromlist=None, level=-1) > [...] > > For what it's worth, I use a separate import line for each of my modules (but not for system modules), and I use the from mymod import myfunc1, myfunc2 form of import line. /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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/40f5dcdb-1c64-4be1-86b7-cf1c29619284%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.