ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: ildolce77 on January 13, 2016, 12:01:16 PM

Title: Can't find Root object
Post by: ildolce77 on January 13, 2016, 12:01:16 PM
When I try to change any value on a pdf file I receive a message "Can't find Root object" ¿?
I can see the metadata of this file but I can't do any change over this.

ExifTool Version Number         : 10.07
File Name                       : EP11048000.pdf
Directory                       : Y:/201501
File Size                       : 62 kB
File Modification Date/Time     : 2015:02:23 06:04:12+01:00
File Access Date/Time           : 2015:02:23 06:04:12+01:00
File Creation Date/Time         : 2015:02:23 09:54:36+01:00
File Permissions                : rw-rw-rw-
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Author                          : (anonymous)
Create Date                     : 2015:02:23 06:04:10-01:00
Creator                         : (unspecified)
Producer                        : ReportLab PDF Library - www.reportlab.com
Subject                         : (unspecified)
Title                           : (anonymous)
Title: Re: Can't find Root object
Post by: Phil Harvey on January 13, 2016, 12:43:28 PM
If you can send me the pdf (philharvey66 at gmail.com), I'll take a look.

- Phil
Title: Re: Can't find Root object
Post by: Phil Harvey on January 13, 2016, 02:41:42 PM
I got the file, thanks.  This will take some work to figure out what is going on.  I'll post back here when I know more.

- Phil
Title: Re: Can't find Root object
Post by: ildolce77 on January 13, 2016, 04:54:04 PM
Ok.  Than you
Title: Re: Can't find Root object
Post by: Phil Harvey on January 14, 2016, 08:39:19 PM
OK.  The problem is due to a PDF comment between the Root object identifier and the Root object itself.  I haven't seen this before, but I checked the PDF specification and it appears to be legal, so I will patch ExifTool to handle this possibility, and ExifTool 10.10 should be able to read/write this PDF OK.

In case you can run the pure Perl version, I have place a 10.10 pre-release here (https://exiftool.org/Image-ExifTool-10.10p.tar.gz) for you to test out.

- Phil
Title: Re: Can't find Root object
Post by: ildolce77 on January 15, 2016, 01:19:35 AM
I use exiftool For msdos ando java.
When Will be able  The New version ?
Thanks
Title: Re: Can't find Root object
Post by: Phil Harvey on January 15, 2016, 07:53:45 AM
I hope to release 10.10 in about a week.

- Phil
Title: Re: Can't find Root object
Post by: ildolce77 on January 15, 2016, 08:13:38 AM
Ok.  Can you Write here When new version?
Thanks
Title: Re: Can't find Root object
Post by: Phil Harvey on January 22, 2016, 10:51:40 AM
I've just released 10.10

- Phil
Title: Re: Can't find Root object
Post by: ildolce77 on January 26, 2016, 04:23:23 AM
Thanks Phil.

It seems right.