shairontoledo / rghost

RGhost is a document creation and conversion API. It uses the Ghostscript framework for the format conversion, utilizes EPS templates and is optimized to work with larger documents. Support(PDF,PS,GIF,TIF,PNG,JPG,etc)
http://rghost.rubyforge.org
MIT License
187 stars 46 forks source link

No such file or directory errors #30

Closed silasb closed 11 years ago

silasb commented 12 years ago

I have an application that uses an EPS file as a background and I lay text on top of that background image.

After updating to Mountain Lion from Snow Leopard I recently haven't successfully run my application correctly.

The error message I get is:

Errno::ENOENT (No such file or directory - /tmp/2.pdf):

2.pdf is my final copy of the document. I'm lead to believe that it is an issue between RGhost and GS.

What I notice when looking at the /tmp folder is that I get two extra files:

2.pdf.rgerr
2.pdf.rgin

The rgerr file has nothing in it.

2.pdf.rgin is https://gist.github.com/3693083

Also many of the tests are failing for me, not sure if that helps narrow the error or not.

Let me know how I can help resolve this.

EDIT:

Almost forgot. My version of gs is GPL Ghostscript 9.06 (2012-08-08) I'm getting it from Homebrew

silasb commented 11 years ago

Is anyone else getting this with Mountain Lion?

shairontoledo commented 11 years ago

Hi Silas,

Please paste the render method parameters for this document. And also GS version and your rghost version.

On Fri, Oct 5, 2012 at 11:44 AM, Silas Baronda notifications@github.comwrote:

Is anyone else getting this with Mountain Lion?

— Reply to this email directly or view it on GitHubhttps://github.com/shairontoledo/rghost/issues/30#issuecomment-9177788.

Shairon Toledo http://hashcode.me

shairontoledo commented 11 years ago

Nerver mind, I could reproduce it in ML. I'm working on it.

On Mon, Oct 8, 2012 at 8:45 AM, Shairon Toledo shairon.toledo@gmail.comwrote:

Hi Silas,

Please paste the render method parameters for this document. And also GS version and your rghost version.

On Fri, Oct 5, 2012 at 11:44 AM, Silas Baronda notifications@github.comwrote:

Is anyone else getting this with Mountain Lion?

— Reply to this email directly or view it on GitHubhttps://github.com/shairontoledo/rghost/issues/30#issuecomment-9177788.

Shairon Toledo http://hashcode.me

Shairon Toledo http://hashcode.me

shairontoledo commented 11 years ago

I've fixed it. Please use version 0.8.7.9.

gem install rghost-0.8.7.9.gem 

Thx

silasb commented 11 years ago

Note, this works perfect on my laptop and in production, just not on ML.

@doc.render :pdf, :filename => office_filename

GS version is 9.06 RGhost version is 0.8.7.8

—Silas

On Mon, Oct 8, 2012 at 7:46 AM, Shairon Toledo notifications@github.comwrote:

Hi Silas,

Please paste the render method parameters for this document. And also GS version and your rghost version.

On Fri, Oct 5, 2012 at 11:44 AM, Silas Baronda notifications@github.comwrote:

Is anyone else getting this with Mountain Lion?

— Reply to this email directly or view it on GitHub< https://github.com/shairontoledo/rghost/issues/30#issuecomment-9177788>.

Shairon Toledo http://hashcode.me

— Reply to this email directly or view it on GitHubhttps://github.com/shairontoledo/rghost/issues/30#issuecomment-9223175.

silasb commented 11 years ago

Sorry about the last email, I didn't read through all the way before responding.

Also thanks for fixing this. It was a huge bummer using my laptop to do some RGhost stuff on.

—Silas

On Mon, Oct 8, 2012 at 10:42 AM, Shairon Toledo notifications@github.comwrote:

I've fixed it. Please use version 0.8.7.9.

gem install rghost-0.8.7.9.gem

Thx

— Reply to this email directly or view it on GitHubhttps://github.com/shairontoledo/rghost/issues/30#issuecomment-9227954.