Hello Today I wanted to configure my HP m1212nf MFP printer. I tried with the HP Manager setup UI but it failed so I tried using konsole to check on any errors and this is what I got. $sudo hp-setup HP Linux Imaging and Printing System (ver. 3.22.6) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-18 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. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=mdns) error: Loading /usr/share/hplip/fax/plugins/fax_marvell.so failed. Try after installing plugin libraries Run "hp-plugin" to installa plugin libraries if you are not automatically prompted Traceback (most recent call last): File "/usr/share/hplip/ui5/setupdialog.py", line 1360, in NextButton_clicked self.showAddPrinterPage() File "/usr/share/hplip/ui5/setupdialog.py", line 729, in showAddPrinterPage self.readwriteFaxInformation() File "/usr/share/hplip/ui5/setupdialog.py", line 1143, in readwriteFaxInformation d = fax.getFaxDevice(self.fax_uri, disable_dbus=True) File "/usr/share/hplip/fax/fax.py", line 534, in getFaxDevice return MarvellFaxDevice(device_uri, printer_name, callback, fax_type, disable_dbus) File "/usr/share/hplip/fax/marvellfax.py", line 110, in __init__ self.service.SendEvent(device_uri, printer_name, EVENT_FAX_FAILED_MISSING_PLUGIN, os.getenv('USER'), job_id, "Plugin is not installed") AttributeError: 'NoneType' object has no attribute 'SendEvent' Abortado I noticed that folder /usr/share/hplip/fax/plugins/ doesn´t even exists. I search on hp support web site and and I found that I needed to download the next file which might be needed on MGA packages... -> https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.22.6-plugin.run Once I ran plip-3.22.6-plugin.run I was able con configure using hp-setup as well as UI. Regards
(In reply to Ezequiel Partida from comment #0) > > I noticed that folder /usr/share/hplip/fax/plugins/ doesn´t even exists. > > I search on hp support web site and and I found that I needed to download > the next file which might be needed on MGA packages... -> > https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip- > 3.22.6-plugin.run > > Once I ran plip-3.22.6-plugin.run I was able con configure using hp-setup as > well as UI. > > Regards Thanks, Ezequiel, Assigning to all packagers collectively, since there is no registered maintainer fo hplip
Summary: Unable to configure HP Printer from HPLIP HP Manager => Unable to configure HP Printer from HPLIP HP Manager (Loading /usr/share/hplip/fax/plugins/fax_marvell.so failed. Try after installing plugin libraries)Assignee: bugsquad => pkg-bugsSource RPM: (none) => hplip-3.22.6-1.mga9.src.rpmCC: (none) => marja11
Run "hp-plugin" to installa plugin libraries if you are not automatically prompted -from your output [rolf@x570i mathew-crawford]$ urpmf hp-plugin hplip:/usr/bin/hp-plugin Did you run hp-plugin?
CC: (none) => rolfpedersen
Summary: Unable to configure HP Printer from HPLIP HP Manager (Loading /usr/share/hplip/fax/plugins/fax_marvell.so failed. Try after installing plugin libraries) => Unable to configure HP Printer from HPLIP HP Manager ("Loading /usr/share/hplip/fax/plugins/fax_marvell.so failed. Try after installing plugin libraries")
The description shows it is being run. The problem is that MarvellFaxDevice in the file /usr/share/hplip/fax/marvellfax.py is trying to load /fax/plugins/fax_marvell.so but fax_marvell.so is not present in any Mageia 8 package.
CC: (none) => davidwhodgins
Where in description is `hp-plugin' being run, please? I look at [rolf@x570i ~]$ less `which hp-plugin` #!/usr/bin/python3 # -*- coding: utf-8 -*- # # (c) Copyright 2003-2015 HP Development Company, L.P. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Author: Don Welch # __version__ = '2.1' __mod__ = 'hp-plugin' __title__ = 'Plugin Download and Install Utility' __doc__ = "HP Proprietary Plugin Download and Install Utility" # Std Lib import sys import getopt import time : ... further: if services.running_as_root(): log.warn("It is not recommended to run 'hp-plugin' in a root mode.") mode = INTERACTIVE_MODE #sys.exit(1) ... and I don't see any mention of a download attempted. I see something under plugins/ is missing, an advice from the program to run `hp-plugin', which is in Mageia 8 hplip: [rolf@x570i ~]$ rpm -ql hplip-3.22.6-1.mga8 | grep hp-plugin /usr/bin/hp-plugin and which describes itself as a plugin downloader. Does this not seem to anybody else like a logical step to try? Thanks.
Ah. Sorry. My brain interpreted the question "Did you run hp-plugin?" as "Did you run hp-setup?". Skimming too fast. Usually my skimming works, not not this time. Sorry for the noise.
Hello, (In reply to Rolf Pedersen from comment #2) > Run "hp-plugin" to installa plugin libraries if you are not automatically > prompted > > -from your output > > [rolf@x570i mathew-crawford]$ urpmf hp-plugin > hplip:/usr/bin/hp-plugin > > Did you run hp-plugin? Hello, Sorry for the delay, I ran hp-plugin to download the plugins and then I ran hp-setup and everything was configured correctly. hp-plugin downloaded all plugins that includes /fax/plugins/fax_marvell.so Simple-scan also works great with my HP LaserJet Professional M1212nf MFP I think this has been resolved. BTW, it would be handy to run hp-plugin at install so that all plugins would be installed for beginners. Thanks for your help everyone. Regars