[Zope] DocumentLibrary (0.4) and PDF file cut-off

Chris McDonough chrism@digicool.com
Tue, 26 Jun 2001 09:25:47 -0400


Kyler Laird posted a message with almost exactly these symptoms not too
long ago... I wish I could find it.  But if you search the various Zope
maillist archives (zope, zope-dev, and zope-cmf) for a posting with pdf
and kyler in it, you should find it.

Sedat Yilmazer wrote:
> 
>  Hi
> 
>  I was playing with the DocumentLibrary (V0.4) and faced with a PDF file indexing problem, complaing about a damanged PDF file
> 
> Error (0) : PDF file is damaged - attempt to reconstruct xref table
> Error : Top-level page object is wrong type (null)
> Error: Couldn't read page catalog
> 
>  I have checked the temp pdf file at /tmp and found out that even the original file is 195579 bytes, the temp file was only 130043 bytes!!! *Exactly 65536 bytes short!!!
> 
> I have checked the pdf.py and 't look OK
> I have check the files and they were the same for the first 130043 bytes, but then temp one was cut off.
> 
>  Does anybody have similar experiences?
> 
> I have
>  Zope-2.3.2 on linux mandrake 8.0 with python-2.0-9
>  DocumentLibrary 0.4
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )