Comment 14 for bug 1769501

Revision history for this message
Ian Bruntlett (ian-bruntlett) wrote : Re: [Bug 1769501] Re: /usr/lib/cups/filter/hpcups assertion failure when plugging in a HP LaserJet M1132 MFP printer/scanner

Hi Srinivas,

It seems that release 18.04.1 of both Ubuntu and Lubuntu fixes this
problem, albeit with a bit of persistence, package installs, script
running, and rebooting.

The printer/scanner involved is an HP LaserJet M1132 MFP Printer/Scanner,
connected via USB cable.

Note:
I used these command lines to install the packages (yes, it is the long way
round - but I wanted to spot anomalies).
sudo apt install python3-pyqt4
sudo apt install python3-pyqt5

*lubuntu 18.04.1*
I experimented with this first, using an old Dell Dimension E520 Tower PC.
I went through with this process twice - yes, that was *two* installs of
the O.S.
I installed the O.S., a few other apps and then connected my printer.
1. Ran hp-setup. It requested that modules PyQt4 and PyQt5 be installed.
2. I installed python3-pyqt4, python-pyqt5 using the sudo apt install
command. Rebooted
3. Ran sudo hp-setup . It ran to completion
4.Ran "Simple Scan" from the GUI. Failed to find scanner
5. Rebooted again. Ran "Simple Scan". It worked!!

>
*ubuntu 18.04.1*
I also went through this process twice, on a lenovo ThinkPad T420.
Simply connecting the printer when logged in is enough to get printing
working - but *not* scanning.
1. I installed python3-pyqt4, python-pyqt5. Rebooted
2. Ran sudo hp-setup OK
3. Ran "Simple Scan" from the GUI. It worked!

Now it is important to note that the information above came from my
logbooks so there is a chance I've overlooked something.

Thank you for your help.

Ian

--
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software