Dominik,

Thank you very much!  It worked fine with 0.8.1 Windows.

Also, I made this change in PdfParser.cpp.  When ReadDocumentStructure() threw 
an exception, PoDoFo kept the handle and leaked it.  There was an easy fix.  I 
would appreciate it if you could take the change.

PdfParser.cpp, line 196:

Before:

    ReadDocumentStructure();
    try {
        ReadObjects();
    } catch( PdfError & e ) {

After:

    try {
          ReadDocumentStructure();
        ReadObjects();
    } catch( PdfError & e ) {


Thank you!

-----Original Message-----
From: Dominik Seichter [mailto:[email protected]]
Sent: Thursday, August 12, 2010 3:42 AM
To: [email protected]
Cc: Naomaru Itoi
Subject: Re: [Podofo-users] Error: 14 ePdfError_NoObject

Hi,

Works with current SVN on Linux so I would expect it to work with 0.8.1 on 
Windows as well.

Cheers,
        Dominik

Am Mittwoch 11 August 2010 schrieb Naomaru Itoi:
> Hi,
>
> Thank you very much for your great work on PoDoFo.
>
> I have encountered this error trying to open a PDF file and read Info
> Dictionary.  I am using PoDoFo 0.7.0 on Windows XP and Windows 7, both
> 32  bit.  Please let me know if there's a good chance the newer
> version would  fix this problem.  If so, I'll try.
>
> PoDoFo encounter an error. Error: 14 ePdfError_NoObject
>         Error Description: A object was expected but not found.
>         Callstack:
>         #0 Error Source: .\src\PdfMemDocument.cpp:99
>                 Information: Catalog object not found!
>
> I have attached the file that causes this problem.
>
> Thank you very much.
>
> Nao
>
>
> This email has been inspected by NextLabs' Outlook Policy
> Enforcer<http://www.nextlabs.com/html/?q=unified-communications-contro
> l>
>  to ensure compliance
>
> - --------------------------------------------------------------------
> STATEMENT OF CONFIDENTIALITY
>
> The information contained in this electronic message and any
> attachments to  this message are intended for the exclusive use of the
> addressee(s) and  may contain confidential or privileged information.
> No representation is  made on its accuracy or completeness of the
> information contained in this  electronic message. Certain assumptions
> may have been made in the  preparation of this material as at this
> date, and are subject to change  without notice. If you are not the
> intended recipient, you are hereby  notified that any dissemination,
> distribution or copying of this e-mail  and any attachment(s) is
> strictly prohibited. Please reply to the sender  at NextLabs Inc and
> destroy all copies of this message and any attachments  from your system.
>
> ======================================================================
>


--
**********************************************************************
Dominik Seichter - [email protected]
KRename  - http://www.krename.net  - Powerful batch renamer for KDE KBarcode - 
http://www.kbarcode.net - Barcode and label printing PoDoFo - 
http://podofo.sf.net - PDF generation and parsing library SchafKopf - 
http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE Alan - 
http://alan.sf.net - A Turing Machine in Java
**********************************************************************

This email has been inspected by NextLabs' Outlook Policy 
Enforcer<http://www.nextlabs.com/html/?q=unified-communications-control> to 
ensure compliance

- --------------------------------------------------------------------
STATEMENT OF CONFIDENTIALITY
 
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain confidential or privileged information. No representation is made on 
its accuracy or completeness of the information contained in this electronic 
message. Certain assumptions may have been made in the preparation of this 
material as at this date, and are subject to change without notice. If you are 
not the intended recipient, you are hereby notified that any dissemination, 
distribution or copying of this e-mail and any attachment(s) is strictly 
prohibited. Please reply to the sender at NextLabs Inc and destroy all copies 
of this message and any attachments from your system. 
======================================================================
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to