Attributes repeated in printer-attributes group
まだ誰も着手していません。
評価
調査の方向性
Start by tracing the Get-Printer-Attributes response for the reported HP LaserJet 1320, using the attached bad-attributes.bin.gz dump and the IPP attribute generation entry points in the repository. Check why printer-device-id and printer-strings-languages-supported are emitted repeatedly and why orientation-requested-default is 7; done means the response contains each attribute once and the orientation value matches the supported enum.
索引モデルが issue の本文から書いたものです。
説明
I'm using the hplip-printer-app snap version 3.22.10-1 (rev 800) on Ubuntu. I've set it up with a HP LaserJet 1320.
The attributes returned from Get-Printer-Attributes look wrong. Some attributes are present multiple times (printer-device-id is present twice, printer-strings-languages-supported is present 10 or 11 times) and one attribute has an unexpected enum value (orientation-requested-default has value 7, but the enum only defined values 3, 4, 5 and 6).
Here is the relevent ipptool output:
$ cups.ipptool -t ipp://sinister.local:8002/ipp/print/LJ1320 get-printer-attributes-suite.test
"/snap/cups/980/share/cups/ipptool/get-printer-attributes-suite.test":
Get-Printer-Attributes (no requested-attributes) [FAIL]
RECEIVED: 15800 bytes in response
status-code = successful-ok (successful-ok)
Duplicate "printer-device-id" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
Duplicate "printer-strings-languages-supported" attribute in printer-attributes-tag group
EXPECTED: orientation-requested-default WITH-VALUE "3,4,5,6"
GOT: orientation-requested-default=7
Here is a dump of the response:
bad-attributes.bin.gz
- 主要言語
- C
- スター
- 70
- フォーク
- 25
- 平均マージ
- 9時間 18分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenPrinting/hplip-printer-app のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 57/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
OpenPrinting/hplip-printer-app#26 · コメント 10 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
OpenPrinting/hplip-printer-app#25 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
OpenPrinting/hplip-printer-app#20 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
OpenPrinting/hplip-printer-app#19 · コメント 1 件 ·
OpenPrinting/hplip-printer-app の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ChupathingyCE/chupathingyce#1550 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] SWAPDB sends no invalidation to CLIENT TRACKING clients対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
redis/redis#16302 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
slice
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Life-Framework/Life-Framework#3878 ·
メンテナーはふだん 1 日以内に返信
-
`sha256()` returns a wrong hash when libsql-ffi is built with gcc 11 or later対応中かも @colinhacks が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tursodatabase/libsql#2333 ·
メンテナーはふだん 11 日以内に返信