zackw / pdfsizeopt

Automatically exported from code.google.com/p/pdfsizeopt
0 stars 0 forks source link

Bug in boolean parameter handling #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I just updated pdfsizeopt to the latest revision (r214) and ran it on a Debian 
6.0 Squeeze system which comes with Python v2.6.6.  Unfortunately there is some 
error:

$ python pdfsizeopt.py --use-multivalent=false foobar.pdf
info: This is pdfsizeopt r214 size=210042.
Traceback (most recent call last):
  File "pdfsizeopt.py", line 7831, in <module>
    main(sys.argv)
  File "pdfsizeopt.py", line 7788, in main
    print >>sys.stderr, 'info: using Java for Multivalent: ' + multivalent_java
TypeError: cannot concatenate 'str' and 'bool' objects

Can you please take a look onto this.

Thanks a lot.
Mathias

Original issue reported on code.google.com by garbage-collection@gmx.net on 24 Aug 2012 at 11:44

GoogleCodeExporter commented 8 years ago
Thanks for the quick and detailed bug report. I could fix it in r215 based on 
the information provided. Please download the latest pdfsizeopt.py and retry.

Original comment by pts...@gmail.com on 25 Aug 2012 at 11:15