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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1769501

Title:
  /usr/lib/cups/filter/hpcups assertion failure when plugging in a HP
  LaserJet M1132 MFP printer/scanner

Status in HPLIP:
  In Progress
Status in hplip package in Ubuntu:
  In Progress

Bug description:
  Installed Ubuntu 18.04 64-bit on lenovo ThinkPad T420 (hostname:
  newton). Intel i5-2520m 2.5GHz 64-bit CPU, 8GiB RAM, 298GiB hard
  drive, DVD writer, Ethernet and WiFi connections.

  Attached my LaserJet, Ubuntu ran some software to install the printer
  (probably trying to run the HP software) and
  /usr/lib/cups/filter/hpcups crashed with the assertion failure:
  free(): invalid pointer.

  Rebooted, installed package hplip-gui, ran sudo hp-setup – it needed
  to ask me (the user) some questions. That kept it happy and it ran
  successfully.

  I ended up with two similarly named HP Printers. Printed to the right
  one and it worked. Renamed the other one to avoid confusion whilst
  printing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1769501/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to