Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Missing with AWS Upload #4

Open
rsiddle opened this issue Jan 19, 2016 · 2 comments
Open

File Missing with AWS Upload #4

rsiddle opened this issue Jan 19, 2016 · 2 comments

Comments

@rsiddle
Copy link

rsiddle commented Jan 19, 2016

I'm getting the following error message when trying to use the fog storage mechansim.

No such file or directory @ rb_sysopen - /Users/ryan/Projects/dev_site/tmp/uploads/1453225783-42644-0005-4867/sample.png

I think that the tmp file needs to stay around for longer so it can be used? It works fine when using the local directory.

My uploader file is here https://gist.github.com/rsiddle/8d2e28a98966344a2409

@teenacmathew teenacmathew assigned shamithc and unassigned shamithc Jan 21, 2016
@eduardobarbiero
Copy link

Same problem here...

@teenacmathew
Copy link
Owner

Worked fine for me.
Just a few additions,

  • there is no need to require CarrierWave::Video just VideoThumbnailer would do,
  • if you are specifying file_extension in process generate_thumb, ensure same for full_filename,
  • format for specifying size, process generate_thumb: [{ :size => "200x200" }]
  • if include CarrierWave::Compatibility::Paperclip is used then this will make your Uploader use the same default storage path as paperclip does, so need not specify store_dir.

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

No branches or pull requests

4 participants