Hi Massimo, Tried that and now getting this error
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. Traceback (most recent call last): File "/home/tony/web2py/gluon/restricted.py", line 227, in restricted exec ccode in environment File "/home/tony/web2py/applications/reports/models/plugin_appreport.py" <http://127.0.0.1:8000/admin/default/edit/reports/models/plugin_appreport.py>, line 25, in <module> import plugin_appreport as plugin_appreport_module File "/home/tony/web2py/gluon/custom_import.py", line 85, in custom_importer modules_prefix, globals, locals, [itemname], level) File "applications/reports/modules/plugin_appreport/__init__.py", line 2, in <module> import report_web2py File "/home/tony/web2py/gluon/custom_import.py", line 89, in custom_importer raise ImportError, 'Cannot import module %s' % str(e) ImportError: Cannot import module 'applications.reports.modules.report_web2py' On Sunday, 7 February 2016 16:43:47 UTC+11, Massimo Di Pierro wrote: > > import modules.plugin_appreport as plugin_appreport_module > > should be > > > import plugin_appreport as plugin_appreport_module > > > On Saturday, 6 February 2016 00:38:24 UTC-6, Anthony Smith wrote: >> >> Hi All, >> >> I was following the tutorial from >> https://github.com/lucasdavila/web2py-appreport/wiki/Docs-and-examples, >> Helper for simple reports and get the follow error when I try to open the >> app >> >> Any ideas would be great >> >> <type 'exceptions.ImportError'> Cannot import module >> 'applications.reports.modules.modules'Version >> web2py™ Version 2.13.4-stable+timestamp.2015.12.26.04.59.39 >> Python Python 2.7.6: /usr/bin/python (prefix: /usr) Traceback >> >> 1. >> 2. >> 3. >> 4. >> 5. >> 6. >> 7. >> 8. >> 9. >> >> Traceback (most recent call last): >> File "/home/tony/web2py/gluon/restricted.py", line 227, in restricted >> exec ccode in environment >> File "/home/tony/web2py/applications/reports/models/plugin_appreport.py" >> <http://127.0.0.1:8000/admin/default/edit/reports/models/plugin_appreport.py>, >> line 25, in <module> >> import modules.plugin_appreport as plugin_appreport_module >> File "/home/tony/web2py/gluon/custom_import.py", line 89, in >> custom_importer >> raise ImportError, 'Cannot import module %s' % str(e) >> ImportError: Cannot import module 'applications.reports.modules.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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.