Skip Menu |

This queue is for tickets about the CAM-PDF CPAN distribution.

Report information
The Basics
Id: 88577
Status: new
Priority: 0/
Queue: CAM-PDF

People
Owner: Nobody in particular
Requestors: karthick [...] chronus.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Expected stream open tag
Date: Tue, 10 Sep 2013 16:45:30 +0530
To: bug-CAM-PDF [...] rt.cpan.org
From: Karthick Shankar <karthick [...] chronus.com>
Hi, CAM-PDF is an awesome tool for manipulating PDF. I find it really useful. I am currently facing difficulty in parsing certain files. I get Exception "*Expected stream open tag*" whenever I remove annotation from certain documents. What does that actually mean? My PDF viewer (Acrobat reader) is able to open the file. I could inspect the file using PDF-Edit. What could have been wrong with the my document? How do I make it work? Following is the Exception Backtrace: Expected stream open tag 19 stream^Mq 595.00 0 0 841.00 0.00 0.00 cm ... at /usr/local/share/perl/5.10.1/CAM/PDF.pm line 1155 CAM::PDF::parseStream('CAM::PDF=HASH(0x20857f0)', 'SCALAR(0x20a30a0)', 2, 0, 'HASH(0x20a3448)') called at /usr/local/share/perl/5.10.1/CAM/PDF.pm line 1054 CAM::PDF::parseObj('CAM::PDF=HASH(0x20857f0)', 'SCALAR(0x20a67b0)', 2) called at /usr/local/share/perl/5.10.1/CAM/PDF.pm line 1746 CAM::PDF::dereference('CAM::PDF=HASH(0x20857f0)', 2) called at /usr/local/share/perl/5.10.1/CAM/PDF.pm line 5490 CAM::PDF::traverse('CAM::PDF=HASH(0x20857f0)', 1, 'CAM::PDF::Node=HASH(0x20a29b0)', 'CODE(0x1fb22a0)', 'HASH(0x209a9f0)') called at /usr/local/share/perl/5.10.1/CAM/PDF.pm line 5946 CAM::PDF::getRefList('CAM::PDF=HASH(0x20857f0)', 'CAM::PDF::Node=HASH(0x20a29b0)') called at /usr/local/share/perl/5.10.1/CAM/PDF.pm line 4235 CAM::PDF::cleanse('CAM::PDF=HASH(0x20857f0)') called at rewrite_1file.plline 93 Version: CAM-PDF-1.60 Perl version : 5.10.1 OS: Linux karthick-desktop 2.6.32-50-generic #112-Ubuntu SMP Tue Jul 9 20:28:23 UTC 2013 x86_64 GNU/Linux -- Regards, Karthick.S