Article 4W8AP HPLIP Oddity

HPLIP Oddity

by
jasonc3a
from LinuxQuestions.org on (#4W8AP)
Hi. I recently got a new video card and had to install some drivers for it. The process was all a bit fussy, and it ended up with me having to reinstall my / and /usr partitions fresh with Ubuntu 18.04 LTS.
Im back up to normal operating condition with one exception: HPLIP won't install the plugin for my printer. When running it from the terminal via
$ hp-setup
it brings up the gui and I make my way through the options and menu. I know it won't find my printer on the network when it searches (for whatever reason), so I manually enter the IP address and it shows that it can see it on the "Discovered Devices" page. However, when I get to the "Driver Plug-in Installation" page, everything falls apart. In the terminal I get this:

Checking for network connection...
Downloading plug-in from:
Traceback (most recent call last):
File "/usr/share/hplip/ui5/plugindialog.py", line 248, in NextButton_clicked
status, download_plugin_file, error_str = self.pluginObj.download(self.plugin_path,self.plugin_download_callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 260, in download
sts, url, checksum = self.__getPluginInformation(callback)
File "/usr/share/hplip/installer/pluginhandler.py", line 203, in __getPluginInformation
plugin_conf_p = ConfigBase(local_conf)
File "/usr/share/hplip/base/g.py", line 89, in __init__
self.read()
File "/usr/share/hplip/base/g.py", line 130, in read
self.conf.readfp(fp)
File "/usr/lib/python3.6/configparser.py", line 763, in readfp
self.read_file(fp, source=filename)
File "/usr/lib/python3.6/configparser.py", line 718, in read_file
self._read(f, source)
File "/usr/lib/python3.6/configparser.py", line 1015, in _read
for lineno, line in enumerate(fp, start=1):
File "/usr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 10: invalid start byte

Done.
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation.

Done.

Installing this HP printer always seems to be an issue, and eventually something happens after numerous attempts and I make it work, but I can never see why it eventually installs the plugin or what I've changed or done to make it happen. This is the first time I've tried running the setup via the terminal, but doing it from the launcher icon yields the same result (it shows that it's doing something via the little cursor spinning, then just stops and returns to the regular pointer cursor).
Has anybody else encountered this issue, and if so, what solves it? Thanks pre-emptively for any information!latest?d=yIl2AUoC8zA latest?i=jEMO-HyfuzE:iaOBHOPg7NE:F7zBnMy latest?i=jEMO-HyfuzE:iaOBHOPg7NE:V_sGLiP latest?d=qj6IDK7rITs latest?i=jEMO-HyfuzE:iaOBHOPg7NE:gIN9vFwjEMO-HyfuzE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments