railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.87k stars 2.25k forks source link

Thumbnails in tables with pictures attached not shown in the index view #3603

Closed antontre1 closed 1 year ago

antontre1 commented 1 year ago

Describe the bug As you can see in this picture, can't get correct thumbnail of the picture via activestorage in the index view of a table.

Capture d’écran 2023-02-19 à 18 20 25

Reproduction steps Install rails_admin go to the dashboard go to one table with picture attached try to see the thumbnail in the index view of this table

Expected behavior Expected to see the thumbnail of the picture, as you can see normaly in this screenshot

Capture d’écran 2023-02-19 à 19 11 09

Additional context

Proposed fix:

mshibuya commented 1 year ago

You don't have libvips or ImageMagick installed, right? https://guides.rubyonrails.org/active_storage_overview.html#requirements

antontre1 commented 1 year ago

Thank you very much for your reading and question Mitsuhiro. Yes I'm supposed to have ImageMagick installed: Version: ImageMagick 7.1.0-62 Q16-HDRI x86_64 20885 https://imagemagick.org Copyright: (C) 1999 ImageMagick Studio LLC License: https://imagemagick.org/script/license.php Features: Cipher DPC HDRI Modules OpenMP(5.0) Delegates (built-in): bzlib fontconfig freetype gslib heic jng jp2 jpeg jxl lcms lqr ltdl lzma openexr png ps raw tiff webp xml zlib Compiler: gcc (4.2)

mshibuya commented 1 year ago

You already installed ImageMagick. I see. Then the next step is to find out why thumbnail requests are failing. Do they reach to the Rails server? If yes, what does the log say?

antontre1 commented 1 year ago

Thank you for your answer Mitsuhiro.

  1. If I understand well, there is something link to libvips as you've early said. Nevertheless I'm supposed to have ImageMagicks.

  2. Based on this, I've forced my rails 7 config to use ImageMagicks, as it was not in my config file originally (cf stackoverflow answer here). Pictures are now shown correctly :)

  3. below you can see the log with original error

  4. Please, let me know if I can contribute in order to help other people facing the same issue ?

Logs ``` 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVdscGFRPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--8dc971e062979480fb5e3ba79754e0fc5e7da517/image.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471", "variation_key"=>"[FILTERED]", "filename"=>"image"} 16:22:23 web.1 | ActiveStorage::Blob Load (0.8ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["LIMIT", 1]] 16:22:23 web.1 | ActiveStorage::VariantRecord Load (0.3ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["variation_digest", "uyx6Kcit1Aa78Mrn7bVgZ7OZn0Y="], ["LIMIT", 1]] 16:22:23 web.1 | Cloudinary Storage (0.2ms) Generated URL for file at key: zxjciipgfvlapy3o5t2d46zz6upe (http://res.cloudinary.com/dtw32buxt/image/upload/v1/development/zxjciipgfvlapy3o5t2d46zz6upe.png) 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxpTWprelpHUTBPQzFqWmpsbExUUTBNR1V0T0RoaVl5MHpaall5T0Raa1pXRTNaRGtHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--69c8f7f1e90185ad1ebbc3f74cee46ba48ae2868/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWs1TnpNNFlUYzFNeTFtWVRrMUxUUmxZalV0T0dSa1pTMHhPVGM1TnpsbFl6aGxPV1VHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--883cf292c97c60456edc64af26a9ba00a34c6919/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf", "variation_key"=>"[FILTERED]", "filename"=>"nes"} 16:22:23 web.1 | Cloudinary Storage (69.6ms) Downloaded file from key: zxjciipgfvlapy3o5t2d46zz6upe 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: already initialized constant GLib::G_FREE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: previous definition of G_FREE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: already initialized constant GLib::LOG_FLAG_RECURSION 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: previous definition of LOG_FLAG_RECURSION was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: already initialized constant GLib::LOG_FLAG_FATAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: previous definition of LOG_FLAG_FATAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: already initialized constant GLib::LOG_LEVEL_ERROR 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: previous definition of LOG_LEVEL_ERROR was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: already initialized constant GLib::LOG_LEVEL_CRITICAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: previous definition of LOG_LEVEL_CRITICAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: already initialized constant GLib::LOG_LEVEL_WARNING 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: previous definition of LOG_LEVEL_WARNING was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: already initialized constant GLib::LOG_LEVEL_MESSAGE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: previous definition of LOG_LEVEL_MESSAGE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: already initialized constant GLib::LOG_LEVEL_INFO 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: previous definition of LOG_LEVEL_INFO was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: already initialized constant GLib::LOG_LEVEL_DEBUG 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: previous definition of LOG_LEVEL_DEBUG was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: already initialized constant GLib::GLIB_TO_SEVERITY 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: previous definition of GLIB_TO_SEVERITY was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: already initialized constant GLib::LOG_HANDLER 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: previous definition of LOG_HANDLER was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: already initialized constant GObject::GBOOL_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: previous definition of GBOOL_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: already initialized constant GObject::GINT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: previous definition of GINT_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: already initialized constant GObject::GUINT64_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: previous definition of GUINT64_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: already initialized constant GObject::GDOUBLE_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: previous definition of GDOUBLE_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: already initialized constant GObject::GENUM_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: previous definition of GENUM_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: already initialized constant GObject::GFLAGS_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: previous definition of GFLAGS_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: already initialized constant GObject::GSTR_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: previous definition of GSTR_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: already initialized constant GObject::GOBJECT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: previous definition of GOBJECT_TYPE was here 16:22:23 web.1 | ActiveStorage::Blob Load (15.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["LIMIT", 1]] 16:22:23 web.1 | Completed 500 Internal Server Error in 101ms (ActiveRecord: 1.0ms | Allocations: 16537) 16:22:23 web.1 | 16:22:23 web.1 | 16:22:23 web.1 | ActiveStorage::VariantRecord Load (1.0ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["variation_digest", "6/MbmLdOctrj7ukuFyVm7nWShm4="], ["LIMIT", 1]] 16:22:23 web.1 | 16:22:23 web.1 | LoadError (Could not open library 'vips.42': dlopen(vips.42, 0x0005): tried: 'vips.42' (no such file), '/usr/local/lib/vips.42' (no such file), '/usr/lib/vips.42' (no such file), '/Users/antonin/code/antontre1/aitio/vips.42' (no such file). 16:22:23 web.1 | Could not open library 'libvips.42.dylib': dlopen(libvips.42.dylib, 0x0005): tried: 'libvips.42.dylib' (no such file), '/usr/local/lib/libvips.42.dylib' (no such file), '/usr/lib/libvips.42.dylib' (no such file), '/Users/antonin/code/antontre1/aitio/libvips.42.dylib' (no such file)):` `16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVdscGFRPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--8dc971e062979480fb5e3ba79754e0fc5e7da517/image.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471", "variation_key"=>"[FILTERED]", "filename"=>"image"} 16:22:23 web.1 | ActiveStorage::Blob Load (0.8ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["LIMIT", 1]] 16:22:23 web.1 | ActiveStorage::VariantRecord Load (0.3ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["variation_digest", "uyx6Kcit1Aa78Mrn7bVgZ7OZn0Y="], ["LIMIT", 1]] 16:22:23 web.1 | Cloudinary Storage (0.2ms) Generated URL for file at key: zxjciipgfvlapy3o5t2d46zz6upe (http://res.cloudinary.com/dtw32buxt/image/upload/v1/development/zxjciipgfvlapy3o5t2d46zz6upe.png) 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxpTWprelpHUTBPQzFqWmpsbExUUTBNR1V0T0RoaVl5MHpaall5T0Raa1pXRTNaRGtHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--69c8f7f1e90185ad1ebbc3f74cee46ba48ae2868/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWs1TnpNNFlUYzFNeTFtWVRrMUxUUmxZalV0T0dSa1pTMHhPVGM1TnpsbFl6aGxPV1VHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--883cf292c97c60456edc64af26a9ba00a34c6919/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf", "variation_key"=>"[FILTERED]", "filename"=>"nes"} 16:22:23 web.1 | Cloudinary Storage (69.6ms) Downloaded file from key: zxjciipgfvlapy3o5t2d46zz6upe 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: already initialized constant GLib::G_FREE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: previous definition of G_FREE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: already initialized constant GLib::LOG_FLAG_RECURSION 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: previous definition of LOG_FLAG_RECURSION was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: already initialized constant GLib::LOG_FLAG_FATAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: previous definition of LOG_FLAG_FATAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: already initialized constant GLib::LOG_LEVEL_ERROR 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: previous definition of LOG_LEVEL_ERROR was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: already initialized constant GLib::LOG_LEVEL_CRITICAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: previous definition of LOG_LEVEL_CRITICAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: already initialized constant GLib::LOG_LEVEL_WARNING 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: previous definition of LOG_LEVEL_WARNING was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: already initialized constant GLib::LOG_LEVEL_MESSAGE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: previous definition of LOG_LEVEL_MESSAGE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: already initialized constant GLib::LOG_LEVEL_INFO 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: previous definition of LOG_LEVEL_INFO was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: already initialized constant GLib::LOG_LEVEL_DEBUG 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: previous definition of LOG_LEVEL_DEBUG was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: already initialized constant GLib::GLIB_TO_SEVERITY 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: previous definition of GLIB_TO_SEVERITY was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: already initialized constant GLib::LOG_HANDLER 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: previous definition of LOG_HANDLER was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: already initialized constant GObject::GBOOL_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: previous definition of GBOOL_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: already initialized constant GObject::GINT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: previous definition of GINT_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: already initialized constant GObject::GUINT64_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: previous definition of GUINT64_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: already initialized constant GObject::GDOUBLE_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: previous definition of GDOUBLE_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: already initialized constant GObject::GENUM_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: previous definition of GENUM_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: already initialized constant GObject::GFLAGS_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: previous definition of GFLAGS_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: already initialized constant GObject::GSTR_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: previous definition of GSTR_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: already initialized constant GObject::GOBJECT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: previous definition of GOBJECT_TYPE was here 16:22:23 web.1 | ActiveStorage::Blob Load (15.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["LIMIT", 1]] 16:22:23 web.1 | Completed 500 Internal Server Error in 101ms (ActiveRecord: 1.0ms | Allocations: 16537) 16:22:23 web.1 | 16:22:23 web.1 | 16:22:23 web.1 | ActiveStorage::VariantRecord Load (1.0ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["variation_digest", "6/MbmLdOctrj7ukuFyVm7nWShm4="], ["LIMIT", 1]] 16:22:23 web.1 | 16:22:23 web.1 | LoadError (Could not open library 'vips.42': dlopen(vips.42, 0x0005): tried: 'vips.42' (no such file), '/usr/local/lib/vips.42' (no such file), '/usr/lib/vips.42' (no such file), '/Users/antonin/code/antontre1/aitio/vips.42' (no such file). 16:22:23 web.1 | Could not open library 'libvips.42.dylib': dlopen(libvips.42.dylib, 0x0005): tried: 'libvips.42.dylib' (no such file), '/usr/local/lib/libvips.42.dylib' (no such file), '/usr/lib/libvips.42.dylib' (no such file), '/Users/antonin/code/antontre1/aitio/libvips.42.dylib' (no such file)):` `16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVdscGFRPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--8dc971e062979480fb5e3ba79754e0fc5e7da517/image.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471", "variation_key"=>"[FILTERED]", "filename"=>"image"} 16:22:23 web.1 | ActiveStorage::Blob Load (0.8ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["LIMIT", 1]] 16:22:23 web.1 | ActiveStorage::VariantRecord Load (0.3ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["variation_digest", "uyx6Kcit1Aa78Mrn7bVgZ7OZn0Y="], ["LIMIT", 1]] 16:22:23 web.1 | Cloudinary Storage (0.2ms) Generated URL for file at key: zxjciipgfvlapy3o5t2d46zz6upe (http://res.cloudinary.com/dtw32buxt/image/upload/v1/development/zxjciipgfvlapy3o5t2d46zz6upe.png) 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxpTWprelpHUTBPQzFqWmpsbExUUTBNR1V0T0RoaVl5MHpaall5T0Raa1pXRTNaRGtHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--69c8f7f1e90185ad1ebbc3f74cee46ba48ae2868/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWs1TnpNNFlUYzFNeTFtWVRrMUxUUmxZalV0T0dSa1pTMHhPVGM1TnpsbFl6aGxPV1VHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--883cf292c97c60456edc64af26a9ba00a34c6919/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf", "variation_key"=>"[FILTERED]", "filename"=>"nes"} 16:22:23 web.1 | Cloudinary Storage (69.6ms) Downloaded file from key: zxjciipgfvlapy3o5t2d46zz6upe 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: already initialized constant GLib::G_FREE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: previous definition of G_FREE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: already initialized constant GLib::LOG_FLAG_RECURSION 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: previous definition of LOG_FLAG_RECURSION was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: already initialized constant GLib::LOG_FLAG_FATAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: previous definition of LOG_FLAG_FATAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: already initialized constant GLib::LOG_LEVEL_ERROR 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: previous definition of LOG_LEVEL_ERROR was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: already initialized constant GLib::LOG_LEVEL_CRITICAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: previous definition of LOG_LEVEL_CRITICAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: already initialized constant GLib::LOG_LEVEL_WARNING 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: previous definition of LOG_LEVEL_WARNING was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: already initialized constant GLib::LOG_LEVEL_MESSAGE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: previous definition of LOG_LEVEL_MESSAGE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: already initialized constant GLib::LOG_LEVEL_INFO 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: previous definition of LOG_LEVEL_INFO was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: already initialized constant GLib::LOG_LEVEL_DEBUG 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: previous definition of LOG_LEVEL_DEBUG was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: already initialized constant GLib::GLIB_TO_SEVERITY 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: previous definition of GLIB_TO_SEVERITY was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: already initialized constant GLib::LOG_HANDLER 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: previous definition of LOG_HANDLER was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: already initialized constant GObject::GBOOL_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: previous definition of GBOOL_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: already initialized constant GObject::GINT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: previous definition of GINT_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: already initialized constant GObject::GUINT64_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: previous definition of GUINT64_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: already initialized constant GObject::GDOUBLE_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: previous definition of GDOUBLE_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: already initialized constant GObject::GENUM_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: previous definition of GENUM_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: already initialized constant GObject::GFLAGS_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: previous definition of GFLAGS_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: already initialized constant GObject::GSTR_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: previous definition of GSTR_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: already initialized constant GObject::GOBJECT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: previous definition of GOBJECT_TYPE was here 16:22:23 web.1 | ActiveStorage::Blob Load (15.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["LIMIT", 1]] 16:22:23 web.1 | Completed 500 Internal Server Error in 101ms (ActiveRecord: 1.0ms | Allocations: 16537) 16:22:23 web.1 | 16:22:23 web.1 | 16:22:23 web.1 | ActiveStorage::VariantRecord Load (1.0ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["variation_digest", "6/MbmLdOctrj7ukuFyVm7nWShm4="], ["LIMIT", 1]] 16:22:23 web.1 | 16:22:23 web.1 | LoadError (Could not open library 'vips.42': dlopen(vips.42, 0x0005): tried: 'vips.42' (no such file), '/usr/local/lib/vips.42' (no such file), '/usr/lib/vips.42' (no such file), '/Users/antonin/code/antontre1/aitio/vips.42' (no such file). 16:22:23 web.1 | Could not open library 'libvips.42.dylib': dlopen(libvips.42.dylib, 0x0005): tried: 'libvips.42.dylib' (no such file), '/usr/local/lib/libvips.42.dylib' (no such file), '/usr/lib/libvips.42.dylib' (no such file), '/Users/antonin/code/antontre1/aitio/libvips.42.dylib' (no such file)):` `16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVdscGFRPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--8dc971e062979480fb5e3ba79754e0fc5e7da517/image.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxrTW1NMk1ESTVaUzB4WkRoa0xUUmtaakF0T1RjMU9TMWxNelV3WkRKaVl6RTBNalVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--a62ceb1e6046eec8c4892cb2c95c39406a844471", "variation_key"=>"[FILTERED]", "filename"=>"image"} 16:22:23 web.1 | ActiveStorage::Blob Load (0.8ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["LIMIT", 1]] 16:22:23 web.1 | ActiveStorage::VariantRecord Load (0.3ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "d2c6029e-1d8d-4df0-9759-e350d2bc1425"], ["variation_digest", "uyx6Kcit1Aa78Mrn7bVgZ7OZn0Y="], ["LIMIT", 1]] 16:22:23 web.1 | Cloudinary Storage (0.2ms) Generated URL for file at key: zxjciipgfvlapy3o5t2d46zz6upe (http://res.cloudinary.com/dtw32buxt/image/upload/v1/development/zxjciipgfvlapy3o5t2d46zz6upe.png) 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWxpTWprelpHUTBPQzFqWmpsbExUUTBNR1V0T0RoaVl5MHpaall5T0Raa1pXRTNaRGtHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--69c8f7f1e90185ad1ebbc3f74cee46ba48ae2868/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWs1TnpNNFlUYzFNeTFtWVRrMUxUUmxZalV0T0dSa1pTMHhPVGM1TnpsbFl6aGxPV1VHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--883cf292c97c60456edc64af26a9ba00a34c6919/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Started GET "/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2hSeVpYTnBlbVZmZEc5ZmJHbHRhWFJiQjJscGFXaz0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--b9f590f18934a597db6ee9e3fe4d1b9eac3e7390/nes.png" for ::1 at 2023-02-21 16:22:23 +0100 16:22:23 web.1 | Processing by ActiveStorage::Representations::RedirectController#show as PNG 16:22:23 web.1 | Parameters: {"signed_blob_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaWszTkRFek1HSXpaaTB5WkRNNUxUUmhZMk10T0RReE1DMDJOekF4WlRReE9Ua3daVFVHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6ImJsb2JfaWQifX0=--92ac55eab0cf8e37ad13e8fba43a33d5712f97cf", "variation_key"=>"[FILTERED]", "filename"=>"nes"} 16:22:23 web.1 | Cloudinary Storage (69.6ms) Downloaded file from key: zxjciipgfvlapy3o5t2d46zz6upe 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: already initialized constant GLib::G_FREE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:51: warning: previous definition of G_FREE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: already initialized constant GLib::LOG_FLAG_RECURSION 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:59: warning: previous definition of LOG_FLAG_RECURSION was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: already initialized constant GLib::LOG_FLAG_FATAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:60: warning: previous definition of LOG_FLAG_FATAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: already initialized constant GLib::LOG_LEVEL_ERROR 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:63: warning: previous definition of LOG_LEVEL_ERROR was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: already initialized constant GLib::LOG_LEVEL_CRITICAL 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:64: warning: previous definition of LOG_LEVEL_CRITICAL was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: already initialized constant GLib::LOG_LEVEL_WARNING 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:65: warning: previous definition of LOG_LEVEL_WARNING was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: already initialized constant GLib::LOG_LEVEL_MESSAGE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:66: warning: previous definition of LOG_LEVEL_MESSAGE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: already initialized constant GLib::LOG_LEVEL_INFO 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:67: warning: previous definition of LOG_LEVEL_INFO was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: already initialized constant GLib::LOG_LEVEL_DEBUG 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:68: warning: previous definition of LOG_LEVEL_DEBUG was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: already initialized constant GLib::GLIB_TO_SEVERITY 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:71: warning: previous definition of GLIB_TO_SEVERITY was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: already initialized constant GLib::LOG_HANDLER 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:86: warning: previous definition of LOG_HANDLER was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: already initialized constant GObject::GBOOL_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:155: warning: previous definition of GBOOL_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: already initialized constant GObject::GINT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:156: warning: previous definition of GINT_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: already initialized constant GObject::GUINT64_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:157: warning: previous definition of GUINT64_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: already initialized constant GObject::GDOUBLE_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:158: warning: previous definition of GDOUBLE_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: already initialized constant GObject::GENUM_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:159: warning: previous definition of GENUM_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: already initialized constant GObject::GFLAGS_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:160: warning: previous definition of GFLAGS_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: already initialized constant GObject::GSTR_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:161: warning: previous definition of GSTR_TYPE was here 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: already initialized constant GObject::GOBJECT_TYPE 16:22:23 web.1 | /Users/antonin/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ruby-vips-2.1.4/lib/vips.rb:162: warning: previous definition of GOBJECT_TYPE was here 16:22:23 web.1 | ActiveStorage::Blob Load (15.3ms) SELECT "active_storage_blobs".* FROM "active_storage_blobs" WHERE "active_storage_blobs"."id" = $1 LIMIT $2 [["id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["LIMIT", 1]] 16:22:23 web.1 | Completed 500 Internal Server Error in 101ms (ActiveRecord: 1.0ms | Allocations: 16537) 16:22:23 web.1 | 16:22:23 web.1 | 16:22:23 web.1 | ActiveStorage::VariantRecord Load (1.0ms) SELECT "active_storage_variant_records".* FROM "active_storage_variant_records" WHERE "active_storage_variant_records"."blob_id" = $1 AND "active_storage_variant_records"."variation_digest" = $2 LIMIT $3 [["blob_id", "74130b3f-2d39-4acc-8410-6701e41990e5"], ["variation_digest", "6/MbmLdOctrj7ukuFyVm7nWShm4="], ["LIMIT", 1]] 16:22:23 web.1 | 16:22:23 web.1 | LoadError (Could not open library 'vips.42': dlopen(vips.42, 0x0005): tried: 'vips.42' (no such file), '/usr/local/lib/vips.42' (no such file), '/usr/lib/vips.42' (no such file), '/Users/antonin/code/antontre1/aitio/vips.42' (no such file). 16:22:23 web.1 | Could not open library 'libvips.42.dylib': dlopen(libvips.42.dylib, 0x0005): tried: 'libvips.42.dylib' (no such file), '/usr/local/lib/libvips.42.dylib' (no such file), '/usr/lib/libvips.42.dylib' (no such file), '/Users/antonin/code/antontre1/aitio/libvips.42.dylib' (no such file)): ```
mshibuya commented 1 year ago

Great that you could solve this. It's always better to find the root cause, not to make an ad-hoc fix 👍