Ghostscript Not Found

Bug #722920 reported by Mark
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Whyteboard
Confirmed
High
Steven Sproat

Bug Description

This program looks good, but I have been unable to use it because it is unable to find Ghostscript. I installed GS 9.01 and IM 6.6.7.7 Q16 on this Win XP Home SP3 laptop and after adding C:\Program Files\Ghostscript-9.01\lib and C:\Program Files\Ghostscript-9.01 to the DOS path in Win XP's System Environment Variables I was able to run

convert logo: logo.pdf

on the command line and open the pdf file. But when I attempt to open or import a PDF in Whyteboard it says

Failed to convert file. Ensure Ghostscript is installed.
http://pages.cs.wisc.edu/~ghost

What could the problem be? If you post the IM command that Whyteboard runs I could attempt to run it from a command line.

I am available at <email address hidden> and will submit this through the program's Send Feedback form so you get the laptop specs (Asus EeePC netbook, 1.6 Ghz Intel Atom N270 CPU, 1 GB RAM).

Revision history for this message
Steven Sproat (sproaty) wrote :

Hi,

This is the convert command used:

"[ImageMagick path to convert.exe]" -density 200 "[file to convert]" -resample 88 -unsharp 0x.5 -trim +repage -bordercolor white -border 20 "[output path]"

there are quotes around filenames to deal with paths containing spaces.

Let me know how this goes; sorry for getting back to you quite late on this.

Changed in whyteboard:
assignee: nobody → Steven Sproat (sproaty)
Revision history for this message
Mark (mfox) wrote : re: [Bug 722920] Re: Ghostscript Not Found

Dear Steven,

Thank you for your response! Unfortunately the laptop I had installed
Whyteboard on crashed and I have not purchased a new laptop yet so I won't
be able to test this further. I probably won't be installing the program
on my new laptop since I was only using it for a one-time project, but if I
have this requirement again I will be sure to test the command you posted!

Sincerely,

Mark Fox
Hineynu

----------------------------------------
 From: "Steven Sproat" <email address hidden>
Sent: Sunday, March 20, 2011 10:51 AM
To: <email address hidden>
Subject: [Bug 722920] Re: Ghostscript Not Found

Hi,

This is the convert command used:

"[ImageMagick path to convert.exe]" -density 200 "[file to convert]"
-resample 88 -unsharp 0x.5 -trim +repage -bordercolor white -border 20
"[output path]"

there are quotes around filenames to deal with paths containing spaces.

Let me know how this goes; sorry for getting back to you quite late on
this.

** Changed in: whyteboard
Assignee: (unassigned) => Steven Sproat (sproaty)

--
You received this bug notification because you are a direct subscriber
of the bug.
https://bugs.launchpad.net/bugs/722920

Title:
Ghostscript Not Found

Status in Whyteboard: Simple whiteboard and PDF annotator:
New

Bug description:
This program looks good, but I have been unable to use it because it
is unable to find Ghostscript. I installed GS 9.01 and IM 6.6.7.7 Q16
on this Win XP Home SP3 laptop and after adding C:\Program
Files\Ghostscript-9.01\lib and C:\Program Files\Ghostscript-9.01 to
the DOS path in Win XP's System Environment Variables I was able to
run

convert logo: logo.pdf

on the command line and open the pdf file. But when I attempt to open
or import a PDF in Whyteboard it says

Failed to convert file. Ensure Ghostscript is installed.
http://pages.cs.wisc.edu/~ghost

What could the problem be? If you post the IM command that Whyteboard
runs I could attempt to run it from a command line.

I am available at <email address hidden> and will submit this through the
program's Send Feedback form so you get the laptop specs (Asus EeePC
netbook, 1.6 Ghz Intel Atom N270 CPU, 1 GB RAM).

To unsubscribe from this bug, go to:
https://bugs.launchpad.net/whyteboard/+bug/722920/+subscribe

Revision history for this message
Charles Guo (shaldengeki) wrote :

I'm also encountering this problem; using GS 9.04 and ImageMagick-6.7.3-7-Q16 on Win7 x64. convert logo: logo.pdf works perfectly, but PDF import in Whyteboard always returns a "Ensure Ghostscript is installed" error. I attempted to run your provided command:

"C:\Program Files (x86)\ImageMagick-6.7.3-Q16\convert.exe" -density 200 "C:\Users\Public\Downloads\test.pdf" -resample 88 -unsharp 0x.5 -trim +repage -bordercolor white -border 20 "C:\Users\Public\Downloads\test.png"

and IM returned the following error:

convert.exe: `%s' (%d) "gswin32c.exe" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dEPSCrop -dAlignToPixels=0 -dGridFitTT=2 "-sDEVICE=pngalpha" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r200x200" "-sOutputFile=C:/Users/Charles/AppData/Local/Temp/magick-CZnnzH8M--0000001" "-fC:/Users/Charles/AppData/Local/Temp/magick-HmcrQeFp" "-fC:/Users/Charles/AppData/Local/Temp/magick-5-dZDDd8" @ error/utility.c/SystemCommand/1903.
convert.exe: Postscript delegate failed `C:\Users\Public\Downloads\test.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/661.
convert.exe: missing an image filename `C:\Users\Public\Downloads\test.png' @ error/convert.c/ConvertImageCommand/3016.

I've ensured that the target PDF file exists in the specified directory, and that the Public Downloads folder is publicly-writable.

Thanks for your hard work, and hope this sheds some light on the issue!

Revision history for this message
Neal (nefgaf) wrote :

This problem also affects me. I am using linux, running Pinguy 11.04 (i.e. a tweaked version of Ubuntu 11.04 that does not use Unity or Gnome 3, but Gnome 2, etc.). I get the same error message (i.e. Failed to convert file. Ensure Ghostscript is installed.
http://pages.cs.wisc.edu/~ghost) and, on checking in Synaptic, Ghostscript is definitely installed.

I should note: when I first installed Whyteboard, everything worked fine. Then, the broken just stopped allowing me to open up any .pdf files.

Steven Sproat (sproaty)
Changed in whyteboard:
importance: Undecided → High
status: New → Incomplete
status: Incomplete → Confirmed
milestone: none → 1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.