Hi Antony and all, I am getting the same errors. I tried to modify the code to fix it but no success until now. Maybe Massimo (thanks for the help) will be able to figure it out.
I will keep you updated on this. Il giorno venerdì 12 febbraio 2016 14:26:06 UTC+1, LightDot ha scritto: > > I've been using it in production for years, generating quite a few pdfs > daily. If I remember correctly, I made only minor modifications for my > needs. > > Can't help with your issue though. > > Regards > > On Friday, February 12, 2016 at 1:05:22 PM UTC+1, Anthony Smith wrote: >> >> Hi, >> I gather this plugin is not correct and doesn't work without lots of work. >> >> cheers >> Anthony >> >> On Tuesday, 9 February 2016 21:08:46 UTC+11, Anthony Smith wrote: >>> >>> Hi Massimo, >>> >>> Thanks for you help you can download form here >>> https://github.com/lucasdavila/web2py-appreport/wiki >>> >>> Thanks for looking into this >>> >>> On Tuesday, 9 February 2016 13:37:01 UTC+11, Massimo Di Pierro wrote: >>>> >>>> do not know. Can you post this plugin? I have never seen it. Perhaps >>>> assumes a library that is not installed. >>>> >>>> On Monday, 8 February 2016 02:24:38 UTC-6, Anthony Smith wrote: >>>>> >>>>> 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

