-
Notifications
You must be signed in to change notification settings - Fork 401
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
model.remove_image! results in undefined method `read' for nil:NilClass #115
Comments
I haven't had a chance to look at this but plan to in the next day or so. Been busy with work. |
Thanks @lardawge - Ive recreated the error in a fresh rails install with identical gem versions. You can get the codebase here https://github.com/robodisco/cwb . Steps to recreate are listed in the readme as well as the small setup required (s3 keys) Hope that helps |
That's awesome and very helpful. I will pull it down and let you know what I find. |
So it looks like CB is triggering a background job even if the attachment is empty. Looking into how to cover this... should have a fix shortly. |
@lardawge that is absolutely awesome! Thanks for fixing that so fast. |
No problem. I'll release it in gem form in a couple of days. |
Hello,
I've got carrierwave_backgrounder to successfully upload files directly to s3 using process_in_background and then let sidekik create versions in the background. Im on heroku but this error is happening in development on my mac.
However when I use remove_image!, the images on s3 are deleted, but on a subsequent call to save I see many errors in my sidekik console.
If I try removing carrierwave_backgrounder and fallback to processing in the main process all is fine. No errors.
My config is listed at the end. But here is what im doing in the console
The issue regarding other version urls not showing up may be totally unrelated but I thought id include it just in case.
Is this intended behaviour and im simply not reading the instructions (I've read and reread to no avail) or perhaps a bug?
Gem Versions
carrierwave_backgrounder 0.2.0
carrierwave 0.8.0
fog 1.3.1
ruby 1.9.3
rails 3.2.12
Config
The text was updated successfully, but these errors were encountered: