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

image upload error #3945

Closed
saracarl opened this issue Feb 2, 2024 · 0 comments · Fixed by #3946
Closed

image upload error #3945

saracarl opened this issue Feb 2, 2024 · 0 comments · Fixed by #3946
Assignees

Comments

@saracarl
Copy link
Collaborator

saracarl commented Feb 2, 2024

Likely a new version of ImageMagick is causing this:

fromthepage@fromthepage:~/deployment/current$ /usr/bin/env RAILS_ENV=production bundle exec rake fromthepage:process_document_upload[32019086] >> /tmp/csl_upload.log 
/usr/local/rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError
/home/fromthepage/deployment/shared/bundle/ruby/2.7.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:68: warning: previous definition of ProtocRetryError was here
/usr/local/rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/protocol.rb:206: warning: already initialized constant Net::BufferedIO::BUFSIZE
/home/fromthepage/deployment/shared/bundle/ruby/2.7.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:214: warning: previous definition of BUFSIZE was here
/usr/local/rvm/rubies/ruby-2.7.3/lib/ruby/2.7.0/net/protocol.rb:503: warning: already initialized constant Net::NetPrivate::Socket
/home/fromthepage/deployment/shared/bundle/ruby/2.7.0/gems/net-protocol-0.2.2/lib/net/protocol.rb:541: warning: previous definition of Socket was here
rake aborted!
NoMethodError: undefined method `quality=' for ImageHelper:Module
/home/fromthepage/deployment/releases/20240131184638/lib/image_helper.rb:81:in `block (2 levels) in compress_image'

https://github.com/benwbrum/fromthepage/blob/development/lib/image_helper.rb#L81

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

Successfully merging a pull request may close this issue.

2 participants