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 23: SyntaxError: EOL while scanning single-quoted string
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 mitra\
girvin.pdf

What does pdfsizeopt display when running the command above?
info: This is pdfsizeopt.py r132.
info: loading PDF from: mitra girvin.pdf
info: loaded PDF of 130285 bytes
info: separated to 123 objs
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 3040, in Load
    do_ignore_generation_numbers=self.do_ignore_generation_numbers)
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 367, in __init__
    i = self.FindEndOfObj(other, skip_obj_number_idx, len(other))
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 809, in FindEndOfObj
    cls.RewriteToParsable(
  File "/home/user/pdfsizeopt/pdfsizeopt.py", line 1921, in RewriteToParsable
    output.append(
  File "<string>", line 1
   
'/H9251/H20848/H9003/H9268/H9016/H11008/H9252/H20851/H11509/H20858/H9270/H92
60/H20852/H9261/H9258/H9254/H9262/H20853/H9275/H9280/H11015/H9263/H9278/H9023/H2
0854/H9011/H20849/H9273/HS11005/H9253/H9004/H9
SyntaxError: EOL while scanning single-quoted string

What's wrong with the optimized PDF?
There isn't one!
mitra girvin.pdf
127 KB   Download
Nov 29, 2009
Project Member #1 pts...@gmail.com
Fixed in r133. Thank you for reporting this bug.
Status: Fixed

Powered by Google Project Hosting