Hallo,

so after web2py update my pdf generator with reportlab is not working 
anymore. So after a long research i dont have any idea how to fix it. 
Is it possible to get it running again? Thanks a lot!
Here is my code.: 

<type 'exceptions.ImportError'> No module named 
reportlab.platypus.doctemplateVersionweb2py™Version 
2.4.6-stable+timestamp.2013.04.06.17.37.38PythonPython 2.7: 
N:\web2py\web2py.exe (prefix: N:\web2py)Traceback

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

Traceback (most recent call last):
  File "/home/mdipierro/make_web2py/web2py/gluon/restricted.py", line 212, in 
restricted
  File "N:/web2py/applications/berghuette_8/controllers/pdf.py" 
<http://127.0.0.1:8000/admin/default/edit/berghuette_8/controllers/pdf.py>, 
line 17, in <module>
  File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 87, in 
custom_importer
  File "applications\berghuette_8\modules\__init__.py", line 11, in <module>
  File "/home/mdipierro/make_web2py/web2py/gluon/custom_import.py", line 87, in 
custom_importer
ImportError: No module named reportlab.platypus.doctemplate

Error snapshot [image: 
help]<http://127.0.0.1:8000/admin/default/ticket/berghuette_8/127.0.0.1.2013-05-02.13-13-54.ae544679-33b5-42f0-9ae8-daa1661a5226#>

<type 'exceptions.ImportError'>(No module named 
reportlab.platypus.doctemplate)
 
....

In file: N:\web2py\applications\berghuette_8\controllers/pdf.py


#from reportlab.platypus import *
from reportlab import *
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.rl_config import defaultPageSize
from reportlab.lib.units import inch, mm
from reportlab.lib.enums import TA_LEFT, TA_RIGHT, TA_CENTER, TA_JUSTIFY
from reportlab.lib import colors
from uuid import uuid4
from cgi import escape
import os

-- 

--- 
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/groups/opt_out.


Reply via email to