Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

No such file or directory when using S3 #11

Open
jonfdaily opened this issue Aug 1, 2013 · 4 comments
Open

No such file or directory when using S3 #11

jonfdaily opened this issue Aug 1, 2013 · 4 comments

Comments

@jonfdaily
Copy link

I'm receiving the following error when I click on an image to crop:

Errno::ENOENT in RailsAdmin::JcropController#edit
No such file or directory - /artists/000/000/904/original/...jpg

It's attempting to open the file in local storage, but I'm using S3 for paperclip. It appears this issue was documented and fixed before in issue #6.

I'm using:
rails_admin_jcrop-1.2.0
rails_admin-0.4.9
rails-3.2.11

Thanks!

@davidgoli
Copy link

++ I'm seeing this issue too.

@janx
Copy link
Owner

janx commented Sep 5, 2013

I don't use s3 myself, but I guess the problem is imagemagick cannot find the file to crop - it can't operate on a remote file directly, the file need to be downloaded as a temp file, crop, and upload back to s3.

Sorry but I have no time to work on this feature now, if anyone's willing to I'd like to merge.

@waqarshahid
Copy link

I have the same problem , I have implemented it on local machine where it worked like a charm but on when i used S3 for storage it give this error . Let me know if you have worked on it

@anantkolvankar
Copy link
Contributor

Fixed in below pull request
#25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants