Skip to content

Release: 21.11-lts#1103

Merged
kmycode merged 12 commits into
releases/21from
kb-draft-21.11-lts
May 21, 2026
Merged

Release: 21.11-lts#1103
kmycode merged 12 commits into
releases/21from
kb-draft-21.11-lts

Conversation

@kmycode
Copy link
Copy Markdown
Owner

@kmycode kmycode commented May 20, 2026

No description provided.

@kmycode kmycode added this to the kb21-lts milestone May 20, 2026
@kmycode kmycode changed the base branch from kb_development to releases/21 May 20, 2026 23:49
@kmycode
Copy link
Copy Markdown
Owner Author

kmycode commented May 21, 2026

CIテストで落ちてますが全てHEIC・AVIFのJPEGへの変換に失敗したことによるものです
なおローカル環境でテストしたところすべて通ったので、インストールする画像処理ライブラリのバージョンを間違っていなければ本番では問題なく動くのではと思われます。今回はいったん無視しますが記録します

参考として、kb_developmentブランチではCIテストの結果に問題はありませんでした

失敗例:


     1.1) Failure/Error: Paperclip::Thumbnail.make(file, options, attachment)

          Paperclip::Error:
            There was an error processing the thumbnail for d4837a176965cb88f54577f60f33f2dd20260521-44687-hsdxqv:
            Command 'convert '/tmp/d4837a176965cb88f54577f60f33f2dd20260521-44687-hsdxqv.heic[0]' -auto-orient -resize "3527x2352>" -quality 90 +profile "!icc,*" +set date:modify +set date:create +set date:timestamp -define jpeg:dct-method=float '/tmp/b3b7346383c99d3a2a1db2d80a5f72e720260521-44687-qwxezu.jpeg'' returned 1. Expected 0
            Here is the command output: STDOUT:



            STDERR:

            convert-im6.q16: Unsupported feature: Unsupported codec (4.3000) `/tmp/d4837a176965cb88f54577f60f33f2dd20260521-44687-hsdxqv.heic' @ error/heic.c/IsHEIFSuccess/139.
            convert-im6.q16: no images defined `/tmp/b3b7346383c99d3a2a1db2d80a5f72e720260521-44687-qwxezu.jpeg' @ error/convert.c/ConvertImageCommand/3234.
          # ./lib/paperclip/lazy_thumbnail.rb:17:in 'Paperclip::LazyThumbnail#make'
          # ./lib/paperclip/attachment_extensions.rb:21:in 'block in Paperclip::AttachmentExtensions#post_process_style'
          # ./lib/paperclip/attachment_extensions.rb:20:in 'Array#each'
          # ./lib/paperclip/attachment_extensions.rb:20:in 'Enumerable#inject'
          # ./lib/paperclip/attachment_extensions.rb:20:in 'Paperclip::AttachmentExtensions#post_process_style'
          # ./spec/models/media_attachment_spec.rb:159:in 'block (3 levels) in <top (required)>'
          # ./spec/models/media_attachment_spec.rb:94:in 'block (3 levels) in <top (required)>'
          # ./spec/rails_helper.rb:140:in 'block (2 levels) in <top (required)>'
          # ------------------
          # --- Caused by: ---
          # Terrapin::ExitStatusError:
          #   Command 'convert '/tmp/d4837a176965cb88f54577f60f33f2dd20260521-44687-hsdxqv.heic[0]' -auto-orient -resize "3527x2352>" -quality 90 +profile "!icc,*" +set date:modify +set date:create +set date:timestamp -define jpeg:dct-method=float '/tmp/b3b7346383c99d3a2a1db2d80a5f72e720260521-44687-qwxezu.jpeg'' returned 1. Expected 0
          #   Here is the command output: STDOUT:
          #   
          #   
          #   
          #   STDERR:
          #   
          #   convert-im6.q16: Unsupported feature: Unsupported codec (4.3000) `/tmp/d4837a176965cb88f54577f60f33f2dd20260521-44687-hsdxqv.heic' @ error/heic.c/IsHEIFSuccess/139.
          #   convert-im6.q16: no images defined `/tmp/b3b7346383c99d3a2a1db2d80a5f72e720260521-44687-qwxezu.jpeg' @ error/convert.c/ConvertImageCommand/3234.
          #   ./lib/paperclip/lazy_thumbnail.rb:17:in 'Paperclip::LazyThumbnail#make'

@kmycode kmycode merged commit e686f01 into releases/21 May 21, 2026
37 of 51 checks passed
@kmycode kmycode deleted the kb-draft-21.11-lts branch May 21, 2026 09:24
@yuicho
Copy link
Copy Markdown

yuicho commented May 21, 2026

@kmycode おそらくバージョン番号の変更漏れしているように思われます

def kmyblue_major
21
end
def kmyblue_minor
10
end

@kmycode
Copy link
Copy Markdown
Owner Author

kmycode commented May 21, 2026

@yuicho ご連絡ありがとうございます。これだけでアップデートはしづらいですが、対応は考えますね!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants