Duplicated printer-device-id attribute breaks get-printer-attributes response
まだ誰も着手していません。
評価
調査の方向性
Start by tracing how the IPP Get-Printer-Attributes response is assembled and where printer-device-id is added; the issue does not name a source file or test. Reproduce with the shown ipptool command and check which response paths add the attribute. Done means the response contains printer-device-id only once and the command no longer reports a duplicate.
索引モデルが issue の本文から書いたものです。
説明
Hi,
I've installed a printer via snapped ps-printer-app and tried to query it via ipptool for available attributes:
$ ipptool -tv ipp://localhost:8000/ipp/print/mytest get-printer-attributes.test
"/usr/share/cups/ipptool/get-printer-attributes.test":
Get-Printer-Attributes:
attributes-charset (charset) = utf-8
attributes-natural-language (naturalLanguage) = en
printer-uri (uri) = ipp://localhost:8000/ipp/print/mytest
requested-attributes (1setOf keyword) = all,media-col-database
Get printer attributes using get-printer-attributes [FAIL]
RECEIVED: 15164 bytes in response
...
Duplicate "printer-device-id" attribute in printer-attributes-tag group
$ ipptool -tv ipp://localhost:8000/ipp/print/mytest get-printer-attributes.test | grep printer-device-id
printer-device-id (textWithoutLanguage) = MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,URP,PCL,PDF,POSTSCRIPT;MDL:HP LaserJet M1536dnf MFP;CLS:PRINTER;DES:Hewlett-Packard LaserJet M1536dnf MFP;MEM:MEM=112MB;COMMENT:RES=600x2;LEDMDIS:USB#ff#04#01;U
printer-device-id (textWithoutLanguage) = MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,URP,PCL,PDF,POSTSCRIPT;MDL:HP LaserJet M1536dnf MFP;CLS:PRINTER;DES:Hewlett-Packard LaserJet M1536dnf MFP;MEM:MEM=112MB;COMMENT:RES=600x2;LEDMDIS:USB#ff#04#01;U
Duplicate "printer-device-id" attribute in printer-attributes-tag group
I was not able to debug further at the moment, I will let you know if I find something.
- 主要言語
- PostScript
- スター
- 54
- フォーク
- 28
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenPrinting/ps-printer-app のほかの issue
-
Security Issueオープン
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
Alpine Linuxオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
-
LPR / LPDオープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
OpenPrinting/ps-printer-app#13 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
OpenPrinting/ps-printer-app#7 · コメント 4 件 ·
OpenPrinting/ps-printer-app の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
AloisSeckar/elrh-cosca#36 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
trillium-rs/trillium#988 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
security stellar tech-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100