[reportlab-users] Re: Python 2.3.2 compatibility

Henning von Bargen reportlab-users@reportlab.com
Tue, 7 Oct 2003 10:48:19 +0200


> I tried using RL 1.1.8 with Python 2.3.2 on Windows 2000.
>
> Running test_pdfgen_general.py gives me no warnings,
> but the resulting PDF doc seems to be corrupt, Acrobat 5.0
> won't display it.

Regarding my problem with RL 1.1.8 and Python 2.3.2 on Windows 2000,
here is the Ghostview error message:
------------------
GSview 4.4 2003-04-04
AFPL Ghostscript 8.00 (2002-11-21)
Copyright (C) 2002 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Scanning PDF file
Error: /typecheck in --dict--
Operand stack:
   PageNumbers   8.0
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--
false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1
3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--
--nostringval--   --nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1055/1123(ro)(G)--   --dict:0/20(G)--   --dict:77/200(L)--
--dict:100/127(ro)(G)--   --dict:230/230(ro)(G)--   --dict:17/24(L)--
Current allocation mode is local
------------------------

Adobe Acrobat just says something like
Error opening document. The root object is missing or invalid.
(translated from German)

I'm not a native PDF speaker, so the error message doesn't help me.
Maybe someone else knows what's wrong?

Henning