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 25: TypeError: int argument required
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  pts...@gmail.com
Closed:  Feb 2011


 
Reported by lev.bishop, Jan 24, 2010
What command do you run to optimize the PDF?
pdfsizeopt.py ../fail/Grant\ Application.pdf

What does pdfsizeopt display when running the command above?
info: This is pdfsizeopt.py r134.
info: loading PDF from: ../fail/Grant Application.pdf
info: loaded PDF of 180071 bytes
warning: problem with xref table, finding objs anyway: xref subsection
syntax error at 179896
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 2996, in Load
    obj_starts, self.has_generational_objs = self.ParseWithoutXref(
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 3199, in ParseWithoutXref
    assert prev_obj_num not in obj_starts, 'duplicate obj %d' % prev_obj_num
TypeError: int argument required

What's wrong with the optimized PDF?
There isn't one!

Grant Application.pdf
175 KB   Download
Feb 10, 2011
Project Member #1 pts...@gmail.com
Thank you for reporting this bug. Fixed in r146.
Feb 10, 2011
Project Member #2 pts...@gmail.com
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting