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
The progress bar indicates that it failed (turns red). Looking at the logs I can see the thumbnail generation fails during signature creation. Following error is thrown and the new database record for Alchemy::Picture is rolled back. The original svg got uploaded (in my case to S3) though.
NoMethodError undefined method `steps' for #<#<Class:0x00007fa7251f8668>:0x00007fa725731468> in /Users/robin/projects/public/alchemy_cms/app/models/alchemy/picture_thumb/signature.rb:12:in `call'
/Users/robin/projects/public/alchemy_cms/app/models/alchemy/picture_thumb.rb:47:in `block in generate_thumbs!'
/Users/robin/projects/public/alchemy_cms/app/models/alchemy/picture_thumb.rb:42:in `each'
/Users/robin/projects/public/alchemy_cms/app/models/alchemy/picture_thumb.rb:42:in `generate_thumbs!'
/Users/robin/projects/public/alchemy_cms/app/models/alchemy/picture.rb:94:in `block in <class:Picture>'
System configuration
Alchemy Version: main branch
Rails Version: 6.0
The text was updated successfully, but these errors were encountered:
robinboening
changed the title
Uploading SVG in picture library fails
Uploading SVG in picture library fails at thumbnail generation
May 13, 2021
Steps to reproduce
Upload a SVG file in the picture library.
Expected behavior
The upload should succeed.
Actual behavior
The progress bar indicates that it failed (turns red). Looking at the logs I can see the thumbnail generation fails during signature creation. Following error is thrown and the new database record for
Alchemy::Picture
is rolled back. The original svg got uploaded (in my case to S3) though.System configuration
The text was updated successfully, but these errors were encountered: