On Wednesday, March 2, 2016 at 5:35:13 PM UTC-8, Anthony Smith wrote:
>
> Hi
>
> I am not trying to do anything only following the tutorial, that is the 
> way I have been learning web2py.
>
> What other PDF generators does the group recommend? I do like to follow 
> tutorials as I find doing thing that way I find it easy to learn by 
> mistakes and correct problem I create.
>
> cheers
>
>
The fpdf stuff is shipped in the box with web2py (under gluon/contribs ).

The tutorial is at
<URL:https://github.com/reingart/pyfpdf/blob/master/docs/Tutorial.md>

(Note:  the book has a simple typo where crediting Mariano, and still lists 
the old URL)

<URL:http://web2py.com/books/default/chapter/29/04/the-core?search=pdf>

I haven't used it, but it gets mentioned frequently in the group.

/dps


 

> On Tuesday, 1 March 2016 07:40:26 UTC+11, Dave S wrote:
>>
>> On Monday, February 29, 2016 at 11:56:56 AM UTC-8, Anthony Smith wrote:
>>>
>>> Hi All,
>>>
>>> There does seem to be much interest in this, I guess I will just keep 
>>> looking. 
>>>
>>> cheers
>>>
>>>
>> What are you trying to do with the plug-in?  There are a couple of other 
>> PDF generators popular in the group; is there a feature that seems to be 
>> unique here?
>>
>> Also, the error message suggests that there is a mismatch between the 
>> directory structure the plug-in is expecting and the directory structure 
>> you have, but I'm shooting from the hip with this.
>>
>> /dps
>>
>>
>>  
>>
>>> On Sunday, 21 February 2016 02:35:02 UTC+11, Luca Malatesta wrote:
>>>>
>>>> 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.

Reply via email to