| Issue 97: | error with pdfsizeopt.py | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Optimize- What command do you run to optimize the PDF?
c:\pdfsizeopt\pdfsizeopt c:\pdfsizeopt\bigone.pdf
Optimize- What does pdfsizeopt display when running the command above?
File ".\pdfsizeopt.py", line 1
From: "Saved by Internet Explorer 11"
^
SyntaxError: invalid syntax
Optimize- What's wrong with the optimized PDF?
Have not got that far yet. I'm not sure I have downloaded the pdfsizeopt_single correctly. I copied the url and saved it. Could not save as a PY file so saved it as MHT then renamed it?
Is there somewhere I can download it properly as a PY file as I could not find it on the downloads menu.
Many thanks
Gwen Roberts
gwen.roberts@laytons.com
Feb 17, 2015
Project Member
#1
pts...@gmail.com
Feb 17, 2015
Hi there Thanks for your response. I had someone else do it in Chrome for me as I don't have it then copied the file to my c:\pdfsizeopt directory and my root dir. I now get a different message : This is pdfsizeopt Zip rUNKNOWN size=103479. error: Java needed by Multivalent etc etc etc... I have tried to do as you suggest when creating a new issue and download Subversion but I am a little worried about downloading any more software onto my system. Is there any way you can just email the latest pdfsizeopt.py file? I am also unsure whether the file should be saved as pdfsizeopt.single or pdfsizeopt.py and exactly where it should be saved to? Many thanks Gwen Roberts
Feb 17, 2015
> error: Java needed by Multivalent etc etc etc... If you need help getting a problem diagnosed, please post the entire error message. The message may not make sense to you, but it is essential for people able to diagnose your problem. I think you have the correct files now, there is no need to download anything. Just specify the --use-multivalent=no flag, e.g. c:\pdfsizeopt\pdfsizeopt --use-multivalent=no c:\pdfsizeopt\bigone.pdf If it doesn't work, please post the entire error message you get. |