Bug 15642 - cannot add network printer on ipp or JetDirect
Summary: cannot add network printer on ipp or JetDirect
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-07 11:39 CEST by Chris Denice
Modified: 2015-04-10 19:10 CEST (History)
1 user (show)

See Also:
Source RPM: system-config-printer-1.5.5-2.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Chris Denice 2015-04-07 11:39:59 CEST
Adding a network printer with ipp (or JetDirect) fails when selecting the driver.

Maybe the drivers are not present; but I just clicked on what was proposed as a recommended driver.

cheers,
chris.

---

Here the logs:

No ID match for device ipp://192.168.12.116:631/ipp:
MFG:RICOH;MDL:Aficio MP C5502;CMD:PJL,RCS,POSTSCRIPT,PCL,PCLXL;DES:RICOH Aficio MP C5502;
No ID match for device ipp://192.168.12.116:631/ipp:
MFG:RICOH;MDL:Aficio MP C5502;CMD:PJL,RCS,POSTSCRIPT,PCL,PCLXL;DES:RICOH Aficio MP C5502;
filldownloadableDrivers
No ID match for device ipp://192.168.12.116:631/ipp:
MFG:RICOH;MDL:Aficio MP C5502;CMD:PJL,RCS,POSTSCRIPT,PCL,PCLXL;DES:RICOH Aficio MP C5502;
filldownloadableDrivers
No ID match for device ipp://192.168.12.116:631/ipp:
MFG:RICOH;MDL:Aficio MP C5502;CMD:PJL,RCS,POSTSCRIPT,PCL,PCLXL;DES:RICOH Aficio MP C5502;
Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 901, in on_btnNPForward_clicked
    self.nextNPTab()
  File "/usr/share/system-config-printer/newprinter.py", line 1469, in nextNPTab
    self.ppd = self.getNPPPD()
  File "/usr/share/system-config-printer/newprinter.py", line 3880, in getNPPPD
    ppd = cups.PPD(tmpf.file)
TypeError: unicode or bytes object required
Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 901, in on_btnNPForward_clicked
    self.nextNPTab()
  File "/usr/share/system-config-printer/newprinter.py", line 1469, in nextNPTab
    self.ppd = self.getNPPPD()
  File "/usr/share/system-config-printer/newprinter.py", line 3880, in getNPPPD
    ppd = cups.PPD(tmpf.file)
TypeError: unicode or bytes object required
Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 901, in on_btnNPForward_clicked
    self.nextNPTab()
  File "/usr/share/system-config-printer/newprinter.py", line 1469, in nextNPTab
    self.ppd = self.getNPPPD()
  File "/usr/share/system-config-printer/newprinter.py", line 3880, in getNPPPD
    ppd = cups.PPD(tmpf.file)
TypeError: unicode or bytes object required
Traceback (most recent call last):
  File "/usr/share/system-config-printer/newprinter.py", line 901, in on_btnNPForward_clicked
    self.nextNPTab()
  File "/usr/share/system-config-printer/newprinter.py", line 1469, in nextNPTab
    self.ppd = self.getNPPPD()
  File "/usr/share/system-config-printer/newprinter.py", line 3880, in getNPPPD
    ppd = cups.PPD(tmpf.file)
TypeError: unicode or bytes object required


Reproducible: 

Steps to Reproduce:
Comment 1 Philippe Makowski 2015-04-08 19:19:00 CEST
seems that we need this patch :
https://git.fedorahosted.org/cgit/system-config-printer.git/commit/newprinter.py?id=237cb43419c2bfe374543e8632e385463b96438a

CC: (none) => makowski.mageia

Comment 2 Philippe Makowski 2015-04-10 13:15:10 CEST
should be fixed in system-config-printer-1.5.5-3.mga5.src.rpm

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 3 Chris Denice 2015-04-10 19:10:36 CEST
thanks philippe, it is.

Note You need to log in before you can comment on or make changes to this bug.