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 22: TypeError: cannot concatenate 'str' and 'int' objects
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  pts...@gmail.com
Closed:  Nov 2009


 
Reported by lev.bishop, Nov 18, 2009
What command do you run to optimize the PDF?
user@ubuntu804server:~/manypdfs/fail2$ ~/pdfsizeopt/pdfsizeopt.py bfilter.pdf

What does pdfsizeopt display when running the command above?
info: This is pdfsizeopt.py r132.
info: loading PDF from: bfilter.pdf
info: loaded PDF of 31423 bytes
warning: problem with xref table, finding objs anyway: duplicate obj 5
Traceback (most recent call last):
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 6141, in ?
    main(sys.argv)
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 6115, in main
    pdf = PdfData(
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 2992, in Load
    obj_starts, self.has_generational_objs = self.ParseWithoutXref(
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 3183, in ParseWithoutXref
    assert prev_obj_num not in obj_starts, 'duplicate obj ' + prev_obj_num
TypeError: cannot concatenate 'str' and 'int' objects

What's wrong with the optimized PDF?
There isn't one!
bfilter.pdf
30.7 KB   Download
Nov 29, 2009
Project Member #1 pts...@gmail.com
Fixed in r134. Thanks for reporting this bug.
Status: Fixed

Powered by Google Project Hosting