On Wednesday, 21 December 2016 15:45:12 UTC+2, Anthony wrote: > > There is no __init__.py file in your /modules folder, nor in the app > folder (should also be one in the /applications folder). > > Anthony > > On Wednesday, December 21, 2016 at 8:29:25 AM UTC-5, Jurgis Pralgauskis > wrote: >> >> Hi, >> >> I am trying to make plugin, but ran into >> >> >> >> Version 2.14.6-stable+timestamp.2016.05.09.19.18.48 Traceback >> >> 1. >> 2. >> 3. >> 4. >> 5. >> 6. >> 7. >> 8. >> >> Traceback (most recent call last): >> File "/home/jurgis/dev/web2py_git/gluon/restricted.py", line 216, in >> restricted >> exec(ccode, environment) >> File >> "/home/jurgis/dev/web2py_git/applications/app/controllers/plugin_joins_builder.py:index", >> line 3, in <module> >> File "/home/jurgis/dev/web2py_git/gluon/custom_import.py", line 104, in >> custom_importer >> raise ImportError(e1, import_tb) # there an import error in the module >> ImportError: (ImportError('No module named >> modules.plugin_joins_builder.joins_builder',), <traceback object at >> 0x7f70f0098a70>) >> >> >> I get the same error (and have had this problem numerous times before). This is frustrating.
The contents of the modules directory: $ ls __init__.py __init__.pyc pretty.py pretty.pyc I have tried: from pretty import * and from applications.wos_2016_1.modules.pretty import * with no success. This is on localhost and I have restarted web2py with every change. Regards Johann -- 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.