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

VIPS segmentation fault rails #412

Open
daniel-gato opened this issue Feb 18, 2025 · 4 comments
Open

VIPS segmentation fault rails #412

daniel-gato opened this issue Feb 18, 2025 · 4 comments
Labels

Comments

@daniel-gato
Copy link

We are having a segmentation fault and seems to come from VIPS.

We don't interact with VIPS directly, we use it through Rails' ActiveStorage features (to pass formatting to file variants).

It works fine in production (Heroku with VIPS build pack) but not on my MacBook Pro M1.

Versions used:

  • rails 8.0.1
  • ruby-vips 2.2.2
  • ruby 3.2.1
  • vips 8.16.0
  • MacBook Pro with Apple M1 Pro (14.6.1 (23G93))

Code I thing is the causing this:

has_one_base64_attached :variant_one do |attachable|
    attachable.variant :public, resize_to_limit: [1692, 2056], format: :jpeg, saver: { subsample_mode: 'on', strip: true, interlace: true, quality: 80 }
end

Log:

16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/vips.rb:203: [BUG] Segmentation fault at 0x0000000110c68a88
16:50:45 web.1    | ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
16:50:45 web.1    | 
16:50:45 web.1    | -- Crash Report log information --------------------------------------------
16:50:45 web.1    |    See Crash Report log file in one of the following locations:
16:50:45 web.1    |      * ~/Library/Logs/DiagnosticReports
16:50:45 web.1    |      * /Library/Logs/DiagnosticReports
16:50:45 web.1    |    for more details.
16:50:45 web.1    | Don't forget to include the above Crash Report log file in bug reports.
16:50:45 web.1    | 
16:50:45 web.1    | -- Control frame information -----------------------------------------------
16:50:45 web.1    | c:0133 p:---- s:0908 e:000907 CFUNC  :vips_foreign_find_load
16:50:45 web.1    | c:0132 p:0006 s:0903 e:000902 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/vips.rb:203
16:50:45 web.1    | c:0131 p:0053 s:0896 e:000895 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/vips.rb:39
16:50:45 web.1    | c:0130 p:0075 s:0885 e:000884 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/processor.rb:15
16:50:45 web.1    | c:0129 p:0034 s:0874 e:000873 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:50
16:50:45 web.1    | c:0128 p:0007 s:0869 e:000868 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:28
16:50:45 web.1    | c:0127 p:0027 s:0865 e:000864 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:64
16:50:45 web.1    | c:0126 p:0026 s:0860 e:000859 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:27
16:50:45 web.1    | c:0125 p:0011 s:0854 e:000853 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/builder.rb:14
16:50:45 web.1    | c:0124 p:0011 s:0851 e:000850 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/builder.rb:21
16:50:45 web.1    | c:0123 p:0004 s:0846 e:000845 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/builder.rb:13
16:50:45 web.1    | c:0122 p:0042 s:0841 e:000840 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/chainable.rb:60
16:50:45 web.1    | c:0121 p:0021 s:0832 e:000831 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/transformers/image_processing_transformer.rb:25
16:50:45 web.1    | c:0120 p:0007 s:0825 e:000824 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/transformers/transformer.rb:24
16:50:45 web.1    | c:0119 p:0014 s:0817 e:000816 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variation.rb:58
16:50:45 web.1    | c:0118 p:0010 s:0814 e:000813 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210
16:50:45 web.1    | c:0117 p:0027 s:0811 e:000810 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58
16:50:45 web.1    | c:0116 p:0023 s:0803 e:000802 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210
16:50:45 web.1    | c:0115 p:0007 s:0797 e:000796 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variation.rb:57
16:50:45 web.1    | c:0114 p:0008 s:0791 e:000790 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:49
16:50:45 web.1    | c:0113 p:0025 s:0787 e:000786 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/downloader.rb:15
16:50:45 web.1    | c:0112 p:0017 s:0783 e:000782 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/downloader.rb:24
16:50:45 web.1    | c:0111 p:0017 s:0776 e:000775 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/downloader.rb:12
16:50:45 web.1    | c:0110 p:0026 s:0766 e:000765 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/service.rb:92
16:50:45 web.1    | c:0109 p:0042 s:0759 e:000758 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/blob.rb:305
16:50:45 web.1    | c:0108 p:0006 s:0752 e:000751 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:48
16:50:45 web.1    | c:0107 p:0004 s:0748 e:000747 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:44
16:50:45 web.1    | c:0106 p:0008 s:0744 e:000743 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:19
16:50:45 web.1    | c:0105 p:0033 s:0740 e:000737 BLOCK  /Users/daniel/Github/logistics-rails/app/models/product.rb:99 [FINISH]
16:50:45 web.1    | c:0104 p:0012 s:0735 e:000731 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activemodel-8.0.1/lib/active_model/serialization.rb:138 [FINISH]
16:50:45 web.1    | c:0103 p:---- s:0728 e:000727 CFUNC  :each
16:50:45 web.1    | c:0102 p:0095 s:0724 e:000723 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activemodel-8.0.1/lib/active_model/serialization.rb:138
16:50:45 web.1    | c:0101 p:0077 s:0715 e:000714 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activerecord-8.0.1/lib/active_record/serialization.rb:21
16:50:45 web.1    | c:0100 p:0033 s:0710 e:000709 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activemodel-8.0.1/lib/active_model/serializers/json.rb:103
16:50:45 web.1    | c:0099 p:0018 s:0703 e:000702 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/json/encoding.rb:39
16:50:45 web.1    | c:0098 p:0015 s:0697 e:000696 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/json/encoding.rb:23
16:50:45 web.1    | c:0097 p:0025 s:0691 e:000690 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/core_ext/object/json.rb:42
16:50:45 web.1    | c:0096 p:0073 s:0686 e:000685 METHOD /Users/daniel/Github/logistics-rails/app/models/product.rb:648
16:50:45 web.1    | c:0095 p:0015 s:0682 E:001170 METHOD /Users/daniel/Github/logistics-rails/app/controllers/api/products_controller.rb:38
16:50:45 web.1    | c:0094 p:0010 s:0677 E:0011a8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/basic_implicit_render.rb:8
16:50:45 web.1    | c:0093 p:0011 s:0670 E:0011e8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:226
16:50:45 web.1    | c:0092 p:0022 s:0663 E:001218 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/rendering.rb:193
16:50:45 web.1    | c:0091 p:0008 s:0658 E:001240 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:261
16:50:45 web.1    | c:0090 p:0048 s:0655 E:001de0 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120
16:50:45 web.1    | c:0089 p:0026 s:0645 E:001e10 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/i18n-1.14.7/lib/i18n.rb:353
16:50:45 web.1    | c:0088 p:0010 s:0639 E:001e38 METHOD /Users/daniel/Github/logistics-rails/app/controllers/api/application_controller.rb:9
16:50:45 web.1    | c:0087 p:0127 s:0634 E:001e90 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129
16:50:45 web.1    | c:0086 p:0018 s:0625 E:001ec0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/turbo-rails-2.0.11/lib/turbo-rails.rb:24
16:50:45 web.1    | c:0085 p:0016 s:0619 E:001ee8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/turbo-rails-2.0.11/app/controllers/concerns/turbo/request_id_tracking.rb:10
16:50:45 web.1    | c:0084 p:0127 s:0614 E:001f40 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129
16:50:45 web.1    | c:0083 p:0013 s:0605 E:001f70 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actiontext-8.0.1/lib/action_text/rendering.rb:25
16:50:45 web.1    | c:0082 p:0009 s:0599 E:001fa0 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actiontext-8.0.1/lib/action_text/engine.rb:71 [FINISH]
16:50:45 web.1    | c:0081 p:---- s:0594 e:000593 CFUNC  :instance_exec
16:50:45 web.1    | c:0080 p:0127 s:0588 E:001ff0 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129
16:50:45 web.1    | c:0079 p:0110 s:0579 E:000430 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140
16:50:45 web.1    | c:0078 p:0006 s:0569 E:0003a8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260
16:50:45 web.1    | c:0077 p:0008 s:0562 E:002020 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27
16:50:45 web.1    | c:0076 p:0009 s:0556 E:002088 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76
16:50:45 web.1    | c:0075 p:0010 s:0550 E:002110 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210
16:50:45 web.1    | c:0074 p:0027 s:0547 E:002180 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58
16:50:45 web.1    | c:0073 p:0023 s:0539 E:0020f0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210
16:50:45 web.1    | c:0072 p:0084 s:0533 E:002050 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75
16:50:45 web.1    | c:0071 p:0017 s:0527 E:0021a8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259
16:50:45 web.1    | c:0070 p:0015 s:0522 E:0021e0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39
16:50:45 web.1    | c:0069 p:0067 s:0516 E:002228 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163
16:50:45 web.1    | c:0068 p:0035 s:0507 E:002270 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionview-8.0.1/lib/action_view/rendering.rb:40
16:50:45 web.1    | c:0067 p:0017 s:0499 E:0022a8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252
16:50:45 web.1    | c:0066 p:0033 s:0492 E:0022e8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335
16:50:45 web.1    | c:0065 p:0010 s:0485 E:002330 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67
16:50:45 web.1    | c:0064 p:0036 s:0477 E:002370 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50
16:50:45 web.1    | c:0063 p:0122 s:0469 E:002410 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53
16:50:45 web.1    | c:0062 p:0032 s:0456 E:0024b8 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133 [FINISH]
16:50:45 web.1    | c:0061 p:---- s:0450 e:000449 CFUNC  :each
16:50:45 web.1    | c:0060 p:0057 s:0446 E:002478 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126
16:50:45 web.1    | c:0059 p:0006 s:0439 E:002398 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34
16:50:45 web.1    | c:0058 p:0027 s:0434 E:0024f0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908
16:50:45 web.1    | c:0057 p:0132 s:0428 E:002528 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202
16:50:45 web.1    | c:0056 p:0007 s:0421 E:002558 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169
16:50:45 web.1    | c:0055 p:0132 s:0416 E:002598 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202
16:50:45 web.1    | c:0054 p:0007 s:0409 E:0025c8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169
16:50:45 web.1    | c:0053 p:0132 s:0404 E:002608 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202
16:50:45 web.1    | c:0052 p:0007 s:0397 E:002638 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169
16:50:45 web.1    | c:0051 p:0163 s:0392 E:002670 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-attack-6.7.0/lib/rack/attack.rb:127
16:50:45 web.1    | c:0050 p:0016 s:0386 E:0026c0 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/warden-1.2.9/lib/warden/manager.rb:36 [FINISH]
16:50:45 web.1    | c:0049 p:---- s:0383 e:000382 CFUNC  :catch
16:50:45 web.1    | c:0048 p:0050 s:0378 E:0026a0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/warden-1.2.9/lib/warden/manager.rb:34
16:50:45 web.1    | c:0047 p:0028 s:0372 E:002700 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/tempfile_reaper.rb:20
16:50:45 web.1    | c:0046 p:0007 s:0364 E:000040 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/etag.rb:29
16:50:45 web.1    | c:0045 p:0034 s:0354 E:000088 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/conditional_get.rb:43
16:50:45 web.1    | c:0044 p:0007 s:0345 E:0000d0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/head.rb:15
16:50:45 web.1    | c:0043 p:0007 s:0337 E:000120 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/http/permissions_policy.rb:38
16:50:45 web.1    | c:0042 p:0007 s:0327 E:000190 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/http/content_security_policy.rb:38
16:50:45 web.1    | c:0041 p:0026 s:0313 E:0001e8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-session-2.1.0/lib/rack/session/abstract/id.rb:274
16:50:45 web.1    | c:0040 p:0005 s:0302 E:000218 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-session-2.1.0/lib/rack/session/abstract/id.rb:268
16:50:45 web.1    | c:0039 p:0015 s:0297 E:000260 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706
16:50:45 web.1    | c:0038 p:0014 s:0289 E:000288 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activerecord-8.0.1/lib/active_record/migration.rb:671
16:50:45 web.1    | c:0037 p:0008 s:0284 E:0002f0 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31
16:50:45 web.1    | c:0036 p:0027 s:0281 E:000370 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100
16:50:45 web.1    | c:0035 p:0009 s:0271 E:0002c8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30
16:50:45 web.1    | c:0034 p:0016 s:0264 E:0003b8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16
16:50:45 web.1    | c:0033 p:0022 s:0255 E:0003f0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18
16:50:45 web.1    | c:0032 p:0121 s:0249 E:000430 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/appsignal-4.4.0/lib/appsignal/rack/abstract_middleware.rb:66
16:50:45 web.1    | c:0031 p:0007 s:0241 E:000498 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31
16:50:45 web.1    | c:0030 p:0007 s:0228 E:0004d0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/web-console-4.2.1/lib/web_console/middleware.rb:132
16:50:45 web.1    | c:0029 p:0019 s:0222 E:000568 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/web-console-4.2.1/lib/web_console/middleware.rb:19 [FINISH]
16:50:45 web.1    | c:0028 p:---- s:0212 e:000211 CFUNC  :catch
16:50:45 web.1    | c:0027 p:0006 s:0207 E:000508 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/web-console-4.2.1/lib/web_console/middleware.rb:17
16:50:45 web.1    | c:0026 p:0007 s:0200 E:0005b8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32
16:50:45 web.1    | c:0025 p:0047 s:0191 E:001de8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/railties-8.0.1/lib/rails/rack/logger.rb:41
16:50:45 web.1    | c:0024 p:0048 s:0178 E:0005f0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/railties-8.0.1/lib/rails/rack/logger.rb:29
16:50:45 web.1    | c:0023 p:0041 s:0172 E:000618 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/sprockets-rails-3.5.2/lib/sprockets/rails/quiet_assets.rb:17
16:50:45 web.1    | c:0022 p:0034 s:0167 E:000650 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96
16:50:45 web.1    | c:0021 p:0030 s:0161 E:000680 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34
16:50:45 web.1    | c:0020 p:0057 s:0155 E:0006b0 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/method_override.rb:28
16:50:45 web.1    | c:0019 p:0013 s:0149 E:000700 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/runtime.rb:24
16:50:45 web.1    | c:0018 p:0007 s:0139 E:000770 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/server_timing.rb:61
16:50:45 web.1    | c:0017 p:0015 s:0136 E:0007c8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/server_timing.rb:26
16:50:45 web.1    | c:0016 p:0009 s:0131 E:000748 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/server_timing.rb:60
16:50:45 web.1    | c:0015 p:0016 s:0122 E:000818 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16
16:50:45 web.1    | c:0014 p:0018 s:0113 E:000848 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27
16:50:45 web.1    | c:0013 p:0007 s:0108 E:0008b8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/sendfile.rb:114
16:50:45 web.1    | c:0012 p:0056 s:0095 E:001268 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/host_authorization.rb:143
16:50:45 web.1    | c:0011 p:0023 s:0088 E:0012c8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/events.rb:116
16:50:45 web.1    | c:0010 p:0156 s:0077 E:001340 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-cors-2.0.2/lib/rack/cors.rb:102
16:50:45 web.1    | c:0009 p:0016 s:0063 E:001370 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/railties-8.0.1/lib/rails/engine.rb:535
16:50:45 web.1    | c:0008 p:0017 s:0057 E:001398 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/configuration.rb:279
16:50:45 web.1    | c:0007 p:0007 s:0052 E:001440 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/request.rb:99
16:50:45 web.1    | c:0006 p:0015 s:0049 E:001498 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/thread_pool.rb:390
16:50:45 web.1    | c:0005 p:0353 s:0044 E:001418 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/request.rb:98
16:50:45 web.1    | c:0004 p:0093 s:0029 E:0014f8 METHOD /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/server.rb:472
16:50:45 web.1    | c:0003 p:0005 s:0018 E:001528 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/server.rb:254
16:50:45 web.1    | c:0002 p:0071 s:0014 E:000310 BLOCK  /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/thread_pool.rb:167 [FINISH]
16:50:45 web.1    | c:0001 p:---- s:0003 e:000002 DUMMY  [FINISH]
16:50:45 web.1    | 
16:50:45 web.1    | -- Ruby level backtrace information ----------------------------------------
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/thread_pool.rb:167:in `block in spawn_thread'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/server.rb:254:in `block in run'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/server.rb:472:in `process_client'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/request.rb:98:in `handle_request'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/thread_pool.rb:390:in `with_force_shutdown'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/request.rb:99:in `block in handle_request'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/puma-6.6.0/lib/puma/configuration.rb:279:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/events.rb:116:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/host_authorization.rb:143:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/sendfile.rb:114:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/server_timing.rb:60:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/server_timing.rb:26:in `collect_events'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/server_timing.rb:61:in `block in call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/runtime.rb:24:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/method_override.rb:28:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/sprockets-rails-3.5.2/lib/sprockets/rails/quiet_assets.rb:17:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/railties-8.0.1/lib/rails/rack/logger.rb:29:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/railties-8.0.1/lib/rails/rack/logger.rb:41:in `call_app'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/web-console-4.2.1/lib/web_console/middleware.rb:17:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/web-console-4.2.1/lib/web_console/middleware.rb:17:in `catch'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/web-console-4.2.1/lib/web_console/middleware.rb:19:in `block in call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/web-console-4.2.1/lib/web_console/middleware.rb:132:in `call_app'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/appsignal-4.4.0/lib/appsignal/rack/abstract_middleware.rb:66:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activerecord-8.0.1/lib/active_record/migration.rb:671:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-session-2.1.0/lib/rack/session/abstract/id.rb:268:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-session-2.1.0/lib/rack/session/abstract/id.rb:274:in `context'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/http/content_security_policy.rb:38:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/http/permissions_policy.rb:38:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/head.rb:15:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/conditional_get.rb:43:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/etag.rb:29:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-3.1.9/lib/rack/tempfile_reaper.rb:20:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:169:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/omniauth-2.1.2/lib/omniauth/strategy.rb:202:in `call!'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionview-8.0.1/lib/action_view/rendering.rb:40:in `process'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:140:in `run_callbacks'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `instance_exec'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actiontext-8.0.1/lib/action_text/engine.rb:71:in `block (4 levels) in <class:Engine>'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actiontext-8.0.1/lib/action_text/rendering.rb:25:in `with_renderer'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/turbo-rails-2.0.11/app/controllers/concerns/turbo/request_id_tracking.rb:10:in `turbo_tracking_request_id'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/turbo-rails-2.0.11/lib/turbo-rails.rb:24:in `with_request_id'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:129:in `block in run_callbacks'
16:50:45 web.1    | /Users/daniel/Github/logistics-rails/app/controllers/api/application_controller.rb:9:in `switch_locale'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/i18n-1.14.7/lib/i18n.rb:353:in `with_locale'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:120:in `block in run_callbacks'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:261:in `block in process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/rendering.rb:193:in `process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:226:in `process_action'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/actionpack-8.0.1/lib/action_controller/metal/basic_implicit_render.rb:8:in `send_action'
16:50:45 web.1    | /Users/daniel/Github/logistics-rails/app/controllers/api/products_controller.rb:38:in `update'
16:50:45 web.1    | /Users/daniel/Github/logistics-rails/app/models/product.rb:648:in `to_api_json'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/core_ext/object/json.rb:42:in `to_json'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/json/encoding.rb:23:in `encode'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/json/encoding.rb:39:in `encode'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activemodel-8.0.1/lib/active_model/serializers/json.rb:103:in `as_json'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activerecord-8.0.1/lib/active_record/serialization.rb:21:in `serializable_hash'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activemodel-8.0.1/lib/active_model/serialization.rb:138:in `serializable_hash'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activemodel-8.0.1/lib/active_model/serialization.rb:138:in `each'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activemodel-8.0.1/lib/active_model/serialization.rb:138:in `block in serializable_hash'
16:50:45 web.1    | /Users/daniel/Github/logistics-rails/app/models/product.rb:99:in `block (2 levels) in <class:Product>'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:19:in `processed'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:44:in `process'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:48:in `transform_blob'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/blob.rb:305:in `open'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/service.rb:92:in `open'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/downloader.rb:12:in `open'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/downloader.rb:24:in `open_tempfile'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/downloader.rb:15:in `block in open'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variant_with_record.rb:49:in `block in transform_blob'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variation.rb:57:in `transform'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/app/models/active_storage/variation.rb:58:in `block in transform'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/transformers/transformer.rb:24:in `transform'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/activestorage-8.0.1/lib/active_storage/transformers/image_processing_transformer.rb:25:in `process'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/chainable.rb:60:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/builder.rb:13:in `call!'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/builder.rb:21:in `instrument'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/builder.rb:14:in `block in call!'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:27:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:64:in `create_tempfile'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:28:in `block in call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/pipeline.rb:50:in `call_processor'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/processor.rb:15:in `call'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/vips.rb:39:in `load_image'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/vips.rb:203:in `select_valid_loader_options'
16:50:45 web.1    | /Users/daniel/.rvm/gems/ruby-3.2.1/gems/image_processing-1.13.0/lib/image_processing/vips.rb:203:in `vips_foreign_find_load'

I tried already to delete vips and reinstall it but not better. Any idea?

@daniel-gato
Copy link
Author

So I tried one at the time the saver "instructions" and they all work except quality. In production it does work, do you know what would I need to add to have VIPS recognising quality locally?

@jcupitt
Copy link
Member

jcupitt commented Feb 18, 2025

Hello @daniel-gato, have you trued ruby-vips 2.2.3? It included a fix for macOS, it might help.

@daniel-gato
Copy link
Author

Hello @jcupitt , thank you for the swift response.

I don't have ruby-vips in my Gemfile, it gets installed as a dependency of rails. If I add it to the Gemfile, do you know if rails will use that version instead?

@jcupitt
Copy link
Member

jcupitt commented Feb 18, 2025

Sorry, I don't know. Maybe!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants