just installed a daily build Version="2.5.20111214204004" on MSW and
tried to run genAll.py in docs.
genuserguide.py fails when trying to build chapter six (ch6_tables.py) with
"C:\Python27\python.exe" genuserguide.py
Traceback (most recent call last):
File "genuserguide.py", line 104, in <module>
main()
File "genuserguide.py", line 102, in main
run(pagesize, verbose,outDir)
File "genuserguide.py", line 53, in run
exec open_and_read(f+'.py',mode='t') in G, G
File "<string>", line 5, in <module>
ImportError: cannot import name ListFlowable
What am I missing? I suppose this should work out of the box, the other
two documents
reportlab-graphics-reference.pdf
reportlab-reference.pdf
are just building ok
Thxs, Werner
_______________________________________________
reportlab-users mailing list
reportl...@lists2.reportlab.com
http://two.pairlist.net/mailman/listinfo/reportlab-users
Do you have another, older copy of reportlab on your path which is
being imported by the script? That would explain it.
- Andy
maybe I'm asking an obvious question...
I'm using BaseDocTemplate with two templates, portrait and landscape. I used
addPageTemplate to include both in the document.
I have to produce a document with the first page in portrait, with a header
and a small table (flowable), and, from the second page, I have to print a
large table (always flowable) but in landscape mode. I used NextPageTemplate to
change the orientation of the page and it works if the table is only one page
long. If it has two pages it works again if I put another NextPageTemplate to
landscape checking if the length of the table is greater than one page.
Unfortunately if the table is three or four pages long, the third and forth
pages are back in portrait.
Is there a way to make the flowable using the same template until the table
will be printed entirely?
Thank you in advance for your help.
Kindest Regards,
Marta
I solved, I was still using SimpleDocTemplate and not BaseDocTemplate. Now
it works.