Package: python-reportlab-doc
Version: 2.2-2
Severity: wishlist
Never used reportlab before, Decided to check out examples of freshly
installed reportlab but pretty much none worked out of the box:
1. pythonpoint-demos/examples.py
current version doesn't have DEFAULT_PAGE_SIZE defined in pagesizes, so
either adjust location (if it is present anywhere), or just
-from reportlab.lib.pagesizes import DEFAULT_PAGE_SIZE
+from reportlab.lib.pagesizes import LETTER as DEFAULT_PAGE_SIZE
2. pythonpoint-demos/slidebox.py
$> python slidebox.py
Traceback (most recent call last):
File "slidebox.py", line 4, in <module>
from rlextra.graphics.guiedit.datacharts import ODBCDataSource,
CSVDataSource, DataAssociation, DataAwareDrawing
ImportError: No module named rlextra.graphics.guiedit.datacharts
not sure if that is something fixable -- may be rlextra was forgotten from the
package? or is it non-free extra not avail just on debian?
In the later case please note that in smth like README.Debian
3. exclude .txt from being compressed in the examples (or patch source to use
transparent gzip decompression ;)), or testdemos would fail
$> find -iname *gz
./odyssey/odyssey.txt.gz
$> ./testdemos.py
Benchmark of Python 2.5 with _rl_accel
Traceback (most recent call last):
File "/tmp/examples/testdemos.py", line 16, in <module>
execfile(os.path.basename(fn),_globals.copy())
File "odyssey.py", line 146, in <module>
run(verbose = not quiet)
File "odyssey.py", line 105, in run
data = open(fn,'r').readlines()
IOError: [Errno 2] No such file or directory: 'odyssey.txt'
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
python-reportlab-doc depends on no packages.
python-reportlab-doc recommends no packages.
Versions of packages python-reportlab-doc suggests:
ii python-reportlab 2.2-2 ReportLab library to create PDF do
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]