Another more complete screen dump. Any ideas are appreciated.

rayleyva at my-deja.com rayleyva at my-deja.com
Mon May 15 12:28:14 EDT 2000


> I assume you have the recent py2pdf 0.5;

Yes

? which version of ReportLab?

reportlab 0.92

> What command line did you use?

Here's a quick dump straight from the screen :

C:\Apps\inet\Python\grail-0.6>python ../py2pdf/py2pdf.py Viewer.py

Traceback (innermost last):

  File "../py2pdf/py2pdf.py", line 1546, in ?

    main(sys.argv)

  File "../py2pdf/py2pdf.py", line 1531, in main

    p.process(f)

  File "../py2pdf/py2pdf.py", line 1397, in process

    self.writeFile(self.taggedData, inPath, outPath)

  File "../py2pdf/py2pdf.py", line 1206, in writeFile

    self.writeData(data, inPath, outPath or self.outPath)

  File "../py2pdf/py2pdf.py", line 1385, in writeData

    self.formatLine(line)

  File "../py2pdf/py2pdf.py", line 1294, in formatLine

    method(groups, eol)

  File "../py2pdf/py2pdf.py", line 1348, in _formatKw

    self.formatLine(after, eol)

  File "../py2pdf/py2pdf.py", line 1294, in formatLine

    method(groups, eol)

  File "../py2pdf/py2pdf.py", line 1303, in _formatIdent

    self.layouter.addIdent(id)

  File "../py2pdf/py2pdf.py", line 1019, in addIdent

    c.bookmarkHorizontalAbsolute0(nameTag, pos)

  File "C:\Apps\inet\Python\reportlab\pdfgen\canvas.py", line 362, in
bookmarkHorizontalAbsolute0

    pageref = self._doc.thisPageRef()

  File "C:\Apps\inet\Python\reportlab\pdfbase\pdfdoc.py", line 333, in
thisPageRef

    raise ValueError, "can't get thisPageRef -- not declared inPage"

ValueError: can't get thisPageRef -- not declared inPage


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list