file: /usr/share/hplip/data/models/models.dat M281 entry missing family-class
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| HPLIP |
Undecided
|
Shivani Mandora |
Bug Description
Setup a new HP MFP M281 (M278-M281) fails due to a missing line in the printer entry in file:
/usr/share/
See below for a solution (or workaround), as I don't know to which family-class it belongs.
The failure ends with core dump:
$ hp-setup
HP Linux Imaging and Printing System (ver. 3.17.11)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
HP Linux Imaging and Printing System (ver. 3.17.11)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
HP Linux Imaging and Printing System (ver. 3.17.11)
Plugin Download and Install Utility ver. 2.1
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Checking for network connection...
Downloading plug-in from:
Receiving digital keys: /usr/bin/gpg --homedir /home/user/
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.17.11 Plugin Self Extracting Archive.
HP Linux Imaging and Printing System (ver. 3.17.11)
Plugin Installer ver. 3.0
Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Plug-in version: 3.17.11
Installed HPLIP version: 3.17.11
Number of files to install: 42
note: Using PyQt5
Done.
Plug-in installation successful
Done.
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.print_ppd = cups.getPPDFile
File "/usr/share/
family_
File "/usr/share/
family_type= dict[m]
KeyError: 'family-class'
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.print_ppd = cups.getPPDFile
File "/usr/share/
family_
File "/usr/share/
family_type= dict[m]
KeyError: 'family-class'
Aborted (core dumped)
The solution:
Add the following line for the printer entry:
family-
So the entry starts:
[hp_colorlaserj
align-type=0
clean-type=0
color-cal-type=0
copy-type=0
embedded-
fax-type=7
fw-download=False
icon=hp_
io-mfp-mode=1
io-mode=1
io-support=14
job-storage=0
linefeed-cal-type=0
family-
model1=HP Color LaserJet MFP M278-M281
monitor-type=0
panel-check-type=0
pcard-type=0
description: | updated |
Changed in hplip: | |
assignee: | nobody → Shivani Mandora (shivani1709) |
status: | New → In Progress |
Thaodan (theodorstormgrade) wrote : | #1 |
fredbcode (fredbcode) wrote : | #3 |
Yes there is a typo bug here
Aug 31 18:34:05 Arrakis skanlite: io/hpmud/model.c 543: no kjet_3630_series attributes found in /usr/share/
Look at kjet_3630_series
You can temporary fix this with add this block in /usr/share/
[kjet_3630_series]
align-type=15
clean-type=4
color-cal-type=0
copy-type=0
embedded-
fax-type=0
fw-download=False
icon=default_
io-mfp-mode=1
io-mode=1
io-support=10
job-storage=0
linefeed-cal-type=0
model1=HP DeskJet 3630 All-in-One Printer
model2=HP DeskJet 3632 All-in-One Printer
model3=HP DeskJet 3633 All-in-One Printer
model4=HP DeskJet 3634 All-in-One Printer
model5=HP DeskJet Ink Advantage 3630 All-in-One Printer
model6=HP DeskJet Ink Advantage 3635 All-in-One Printer
model7=HP DeskJet Ink Advantage 3636 All-in-One Printer
model8=HP DeskJet Ink Advantage 3638 All-in-One Printer
monitor-type=0
panel-check-type=0
pcard-type=0
plugin=0
plugin-reason=0
power-settings=0
pq-diag-type=0
r-type=0
scan-src=1
scan-type=7
status-
status-
status-type=10
support-
support-
support-type=2
support-ver=3.15.6
tech-class=
tech-subclass=
tech-type=2
usb-pid=e311
usb-vid=3f0
wifi-config=3
should be merged with:
#1724151