You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
File uploads work fine and images get thumbnails properly.
At first I didn't specify that thumbs should be saved as .png, so when I tried uploading a pdf the thumb didn't display correctly. So I added the ".png" setting, which fixes it for new uploads. I then tried to run the rake task:
$ rake paperclip:refresh:thumbnails CLASS=Asset
rake aborted!
No such file or directory - //app/development/files/2/original/tr11_03.pdf20120217-4756-auwcka.lock
Tasks: TOP => paperclip:refresh:thumbnails
(See full trace by running task with --trace)
So it looks like it tries to access the file locally. Same thing happens when I do it from the Rails console. This isn't critical for me since the error happened in my dev environment and new uploads aren't affected, but I thought I'd report my findings.
The text was updated successfully, but these errors were encountered:
I have the following model (with omitted sensitive info):
File uploads work fine and images get thumbnails properly.
At first I didn't specify that thumbs should be saved as .png, so when I tried uploading a pdf the thumb didn't display correctly. So I added the ".png" setting, which fixes it for new uploads. I then tried to run the rake task:
So it looks like it tries to access the file locally. Same thing happens when I do it from the Rails console. This isn't critical for me since the error happened in my dev environment and new uploads aren't affected, but I thought I'd report my findings.
The text was updated successfully, but these errors were encountered: