I want import module. I create module mytest like in book, but after import 
I heve error. I tried to import mytest in another app and it work. What is 
reason of it? I tried import module like that : from applications.
application.modules import mytest but error the same.
Error ticket for "application"Ticket ID

192.168.20.177.2019-05-17.10-35-07.293afb38-6e29-461b-8ccb-46092d983b29
<type 'exceptions.ImportError'> No module named application.modulesВерсия
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 2.7.10: C:\Python27\python.exe (prefix: C:\Python27)Traceback

1.
2.
3.
4.
5.
6.
7.
8.

Traceback (most recent call last):
  File ".\gluon\restricted.py", line 219, in restricted
    exec(ccode, environment)
  File "C:\inetpub\wwwroot\applications\application\controllers/default.py", 
line 2, in <module>
    import datetime, calendar, mytest
  File ".\gluon\custom_import.py", line 74, in custom_importer
    modules_prefix, globals, locals, (itemname,), level)
ImportError: No module named application.modules

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/d3672bde-65a0-4408-acff-2437bf01980e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to