-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Happens on every new Rails app I try to install Solidus on
latest solidus version 3.2
- bundle add solidus
- rails g solidus:install
- yes yes, defaults for frontend and admin
Loading images for Solidus Hoodie Zip
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
Loading images for Ruby Hoodie
Loading images for Ruby Hoodie Zip
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
Loading images for Ruby Polo
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
Loading images for Solidus Mug
Loading images for Ruby Mug
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
Loading images for Solidus Tote
Loading images for Ruby Tote
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
Loaded Assets samples
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
vips warning: VipsJpeg: error reading resolution
Loaded Addresses samples
Loaded Stores samples
Loaded Orders samples
Loaded Payments samples
Loaded Reimbursements samples
Vips warning on install after
gem install ruby-vips
sudo apt install libvips libvips-dev
sudo apt install libvips-tools
None of these fixes the issue. Was only able to resolve this by setting the variant processor to imagemagick instead of libvips
#application.rb
config.active_storage.variant_processor = :mini_magick
running the server (produces an unspecified error)
running again app loads
then removing the line from application.rb
app again runs as normal until you try and view the product page and the error returns
Seems like something in the setup is interrupted by not being able to read the resolution of the starter template images
Also curiously bin/dev will not work on any rails app with solidus installed
As of writing the current version of lipvips is v8.13.2
Unsure why or how it is asking for a future 8.6+ version