-
Pisa 3.0.24 exe for Windows.
C:\WINDOWS\pisa-3.0.24-windows>pisa -s http://help.sap.com/saphelp_nw04/helpdata
/EN/d9/b84508bc9411d4b2e80050dadfb92b/content.htm test.pdf
Converting help.sap.com-saphelp_nw04-helpdata-EN-d9-b84508bc9411d4b2e80050dadfb92b-content.htm to C:\WINDOWS\pisa-3.0.24-windows\test.pdf...
ERROR [ho.pisa] Document error
Traceback (most recent call last):
File...
2008-09-24 07:47:39 UTC by nobody
-
Hi,
this is a bug in the underlying ReportLab Toolkit. In your example please avoid the big that goes around the whole page, because it is needless. Have a look at the examples in the pisa distribution http://www.htmltopdf.org/download.html to get an impression how to solve things with "pdf frames". There is also an invoice demo that may help you.
Buona fortuna per il tuo progetto!
2008-06-13 09:03:38 UTC by openspirito
-
Hi
i have done some test at your on-line demo ( http://xhtml2pdf.appspot.com/ )
I try to convert an invoice.... you can see it here ( http://www.kgo.it/concss2.html ) at this link everything is ok.
But if you tray to write more text , the pdf must jump in a next page, but it doestn't work.... ( like here http://www.kgo.it/concss3.html )
i tray to write a multi page liner text .....
2008-06-12 15:21:50 UTC by nobody
-
Did you use the latest version of pisa? I was not able to reproduce the error. Maybe you could send an example file showing the error? Thanks.
2008-06-05 12:34:26 UTC by openspirito
-
Sorry, I worked against the html5lib SVN trunk. I fixed that and will release a new version of pisa today. Please have a look at the mailinglist to get informed.
2008-06-05 12:29:19 UTC by openspirito
-
Further, once the 'parseMeta' keyword is removed, pisa then fails later with:
2008-06-05 11:33:04 ERROR ho.pisa Document error
Traceback (most recent call last):
File "/zope/app/python-2.4.4/lib/python2.4/site-packages/pisa-3.0.20-py2.4.egg/sx/pisa3/pisa_document.py", line 92, in pisaDocument
c = pisaStory(src, path, link_callback, debug, default_css, xhtml, encoding)
File...
2008-06-04 23:35:30 UTC by esrever_otua
-
Looking at the function signature for parse() in html5lib shows:
def parse(self, stream, encoding=None):
So the pisa usage with a 'parseMeta' keyword is entirely wrong for the latest released version of html5lib (0.10)
2008-06-04 23:26:30 UTC by esrever_otua
-
2008-06-05 11:23:54 ERROR ho.pisa Document error
Traceback (most recent call last):
File "/zope/app/python-2.4.4/lib/python2.4/site-packages/pisa-3.0.20-py2.4.egg/sx/pisa3/pisa_document.py", line 92, in pisaDocument
c = pisaStory(src, path, link_callback, debug, default_css, xhtml, encoding)
File...
2008-06-04 23:21:17 UTC by nobody
-
Any ideas on how to get this to stop erroring?
I've tried it against multiple HTML pages -- all same error.
HTML looks find, renders well.
Using StringIO, not cStringIO
new ubuntu, pypdf, pisa, etc.
django view throws the exception
Exception Type: UnboundLocalError
Exception Value: local variable 'c' referenced before assignment
pisa logging shows:
ERROR [ho.pisa] /usr/lib/py.
2008-06-04 00:24:31 UTC by jjudge
-
2008-06-03T10:23:38 ERROR ho.pisa Document error
u' 1. Short range devices <
/tr>'
Traceback (most recent...
2008-06-02 22:32:40 UTC by nobody