Description of problem: Using fedora 27 and the current hplip 3.17.11-4 scanning does not work over network and the printer is registered as PCL3 or textprinter. If i switch manually to hp m277 printing over network does work, but scanning is still not possible. Version-Release number of selected component (if applicable): fedora 27 and the current hplip 3.17.11-4 Steps to Reproduce: Using hp-setup for network setup results in a segmentation fault Traceback (most recent call last): File "/usr/share/hplip/ui5/setupdialog.py", line 1305, in NextButton_clicked self.showAddPrinterPage() File "/usr/share/hplip/ui5/setupdialog.py", line 711, in showAddPrinterPage self.findPrinterPPD() File "/usr/share/hplip/ui5/setupdialog.py", line 790, in findPrinterPPD self.print_ppd = cups.getPPDFile2(self.mq, self.model, self.ppds) File "/usr/share/hplip/prnt/cups.py", line 492, in getPPDFile2 family_class=getFamilyClassName(model) File "/usr/share/hplip/prnt/cups.py", line 182, in getFamilyClassName family_type= dict[m]['family-class'] KeyError: 'family-class' Using the gnome-settings menu the installation works for the printer only. No Network scanning capabilities are available. On the other hand printing AND scanning via usb is working fine. Expected results: scanning via network
@Julius 2 Tips for debugging this locally: 1. Invoke hp-setup in a console using the --debug switch. This prints helpful information about the printer-detection process. Background: I happens quite often that HP simply changes the firmware slightly even for the same "official" Model resulting in errors during printer detection. Usually the changed model-data simply has to be added to the models.dat in order to work. 2. Disable any password protection of the printer's web-interface before running hp-setup. Background: the hplip toolbox currently cannot handle password-protected SOAP-API of the printer. Good luck -Fritz
"Disable any password protection of the printer's web-interface before running hp-setup" According to the web interface the administrator password is off. It is feely accessible via http. "Invoke hp-setup in a console using the --debug switch." See the attachment
Created attachment 1395538 [details] hp-setup --debug
Hi Julius, thank you for filing this bug - would you mind trying these rpms https://koji.fedoraproject.org/koji/taskinfo?taskID=25006675 ? It should fix 'hp-setup' issue. Then we can see if there is another problem.
Created attachment 1395564 [details] hp-setup --debug with new rpms (3.17.11-5) It does work now. But only if i use hp-setup. The gnome printer setting initalizes it in a different way. See the two attached images.
Created attachment 1395565 [details] gnome-settings initialization
Created attachment 1395566 [details] hp-setup initialization
I'm not sure how gnome-settings installs scanners to be honest... HP scanners mostly needs HPAIO backend to work (uri with this backend is created when you issued 'hp-setup') and I think current libsane (part of sane-backends - it is probably called by d-bus call when gnome-settings gets notify about new scanner device) cannot manage creation of HPAIO uri by itself now. But it is other issue and hplip is not on fault here (IIUC, scanner works after setting with 'hp-setup' and with rpms attached above), but gnome-settings or rather sane-backends. I'll fix 'hp-setup' issue in this bug and I'll create a new bugzilla for other.
hplip-3.17.11-8.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-9f748f5531
hplip-3.17.11-8.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-9f748f5531
It is still initialized as generic PCL3 printer. There is a popup from gnome-software asking for missing software if i install via gnome-settings.
(In reply to Julius from comment #11) > It is still initialized as generic PCL3 printer. There is a popup from > gnome-software asking for missing software if i install via gnome-settings. That's correct behavior - your printer needs proprietary plugin, which is in hplip, so gnome-software wants to install hplip, which provides driver for your printer. Please refer to correct bug (cloned to #1544912) - this bugzilla solves only 'hp-setup' issue, as I wrote in comment #8.
(In reply to Zdenek Dohnal from comment #12) > (In reply to Julius from comment #11) > > It is still initialized as generic PCL3 printer. There is a popup from > > gnome-software asking for missing software if i install via gnome-settings. > That's correct behavior - your printer needs proprietary plugin, which is in > hplip, so gnome-software wants to install hplip, which provides driver for > your printer. Then you need to run 'hp-plugin -i', because your printer needs that proprietary plugin and that command downloads it and put it in correct place - gnome-settings won't do it probably because of licensing problems of that proprietary plugin.
hplip-3.17.11-8.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.