[reportlab-users] Problem installing ReportLab: Failed to import renderPM

trinkomail-box at yahoo.de trinkomail-box at yahoo.de
Thu May 19 14:26:27 EDT 2005


Hello!

I tried to install ReportLab on my win200-PC. running
runALL.py I get the error-message "failed to import
renderPM". ANy suggestions whats wrong?

Thanks for your help
Kurt

Detailed description of my problem:

I installed ReportLab following the Users Guide (Page
4: Instructions for novices: Windows)
1) Python 2.41 is installed and running ok
2) I did not install win32all.exe  - I dont need an
other GUI, the Idle is ok for me
3) I installed the Phyton Image Library:
PIL-1.1.5win32-py2.4.exe
4) On the python interpreter command line the
following works without any error:
from PIL import Image
import _imaging
5) now I installed reportlab itself
6) in the MS-DOS-prompt I went to "..\reportlab\test"
and entered test_pdfgen_general.py. It worked ok and
the generated PDF showed the Image "python powered" on
page 7
7) doing runALL.py generated the following errors:
C:\Python24\reportlab\test>runAll.py
.....Failed to import renderPM.
................................................................................
........E...........E..........................
======================================================================
ERROR: Make a PDFgen document with most graphics
features
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"C:\Python24\reportlab\test\test_pdfgen_general.py",
line 800, in test0
    run(outputfile('test_pdfgen_general.pdf'))
  File
"C:\Python24\reportlab\test\test_pdfgen_general.py",
line 764, in run
    c.save()
  File "C:\Python24\reportlab\pdfgen\canvas.py", line
831, in save
    self._doc.SaveToFile(self._filename, self)
  File "C:\Python24\reportlab\pdfbase\pdfdoc.py", line
232, in SaveToFile
    f = open(filename, "wb")
IOError: [Errno 13] Permission denied:
'c:\\dokume~1\\trinko~1\\lokale~1\\temp\\
ReportLab_tmp\\reportlab_test\\test_pdfgen_general.pdf'

======================================================================
ERROR: test0 (test_platypus_pto.BreakingTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"C:\Python24\reportlab\test\test_platypus_pto.py",
line 152, in test0
    _breakingTestCase(self)
  File
"C:\Python24\reportlab\test\test_platypus_pto.py",
line 136, in _breaking
TestCase
    ptoblob('2 PTO (inner
split)',[ColorParagraph('pink',text0,bt),PTOContainer(
[ColorParagraph(black,'Inner
Starts',H1),ColorParagraph('yellow',text2,bt),Color
Paragraph('black','Inner
Ends',H1)],t1,h1),ColorParagraph('magenta',text1,bt)],t
0,h0)
  File
"C:\Python24\reportlab\test\test_platypus_pto.py",
line 49, in ColorParag
raph
    return Paragraph('<para color=%s>%s</para>' %
(c,text),style)
  File "C:\Python24\reportlab\platypus\paragraph.py",
line 378, in __init__
    self._setup(text, style, bulletText, frags,
cleanBlockQuotedText)
  File "C:\Python24\reportlab\platypus\paragraph.py",
line 403, in _setup
    raise "xml parser error (%s) in paragraph
beginning\n'%s'"\
xml parser error (garbage in start tag) in paragraph
beginning
'<para color=Color(0,0,0)>Inner'

----------------------------------------------------------------------
Ran 132 tests in 202.140s

FAILED (errors=2)
Logs and output files written to folder
"c:\dokume~1\trinko~1\lokale~1\temp\Repo
rtLab_tmp\reportlab_test"



	
		
___________________________________________________________ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de


More information about the reportlab-users mailing list