My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 28: __main__.PdfIndirectLengthError: missing obj for indirect /Length
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  pts...@gmail.com
Closed:  Feb 2011


 
Reported by lev.bishop, Jan 24, 2010
What command do you run to optimize the PDF?
user@ubuntu804server:~/manypdfs/fail2$ ~/pdfsizeopt/pdfsizeopt.py
--use-pngout=false presfull.pdf

What does pdfsizeopt display when running the command above?
info: This is pdfsizeopt.py r134.
info: loading PDF from: presfull.pdf
info: loaded PDF of 282470 bytes
info: separated to 214 objs
Traceback (most recent call last):
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 6157, in ?
    main(sys.argv)
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 6131, in main
    pdf = PdfData(
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 3044, in Load
    do_ignore_generation_numbers=self.do_ignore_generation_numbers)
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 431, in __init__
    raise exc
__main__.PdfIndirectLengthError: missing obj for indirect /Length 213 0 R
at ofs
=906

What's wrong with the optimized PDF?
There isn't one!
presfull.pdf
275 KB   Download
Feb 10, 2011
Project Member #1 pts...@gmail.com
The conversion was successful for me with r147 of pdfsizeopt.

Closing this issue since I can't reproduce the problem.
Status: WontFix

Powered by Google Project Hosting