I use Debian 9.12 I am installing HP printer error Failed to load module "canberra-gtk-module"

Asked by Ike Shields on 2020-03-01

Running HPLIP 3.20.2 and it came up with this error "Failed to load module "canberra-gtk-module"
I know I am running Debian 9.12. can you still help me.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
shivani mandora
Solved:
2020-03-02
Last query:
2020-03-02
Last reply:
2020-03-02
brian_p (claremont102) said : #1

Please give the printer model and say whether it is USB or network connected.

--
Brian.

Ike Shields (nejekipl) said : #2

On 2/3/20 12:17 am, brian_p wrote:
> Your question #689067 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/689067
>
> brian_p posted a new comment:
> Please give the printer model and say whether it is USB or network
> connected.
>
Printer is HP laserjet p1102w on USB. Cable to Telstra Gateway (Fibre to
the Node).

The error I got is:-

Please wait, this may take several minutes...
-Gtk-*Message*: Failed to load module "canberra-gtk-module"
\Gtk-*Message*: Failed to load module "canberra-gtk-module"
*error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support
for PyQt4)' is still missing.*
*error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python
(for Qt version 4.x))' is still missing.*

*RUNNING POST-PACKAGE COMMANDS*
*-----------------------------*
OK

*RE-CHECKING DEPENDENCIES*
*------------------------*
/Gtk-*Message*: Failed to load module "canberra-gtk-module"
*error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support
for PyQt4)' is still missing.*
*error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python
(for Qt version 4.x))' is still missing.*
*error: Installation cannot continue without these dependencies.*
*error: Please manually install this dependency and re-run this installer.*
root@debian:/home/isaac/HP2# dpkg -l hplip
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                          Version             Architecture
        Description
+++-=============================-===================-===================-===============================================================

ii  hplip                         3.16.11+repack0-3   amd64
               HP Linux Printing and Imaging System (HPLIP)
root@debian:/home/isaac/HP2#

I hope this will help you and you may be able to help me.

Isaac (Ike) Shields

Ike Shields (nejekipl) said : #3

On 2/3/20 11:32 am, Ike Shields wrote:
> Your question #689067 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/689067
>
> You gave more information on the question:
>
> On 2/3/20 12:17 am, brian_p wrote:
>> Your question #689067 on HPLIP changed:
>> https://answers.launchpad.net/hplip/+question/689067
>>
>> brian_p posted a new comment:
>> Please give the printer model and say whether it is USB or network
>> connected.
>>
> Printer is HP laserjet p1102w on USB. Cable to Telstra Gateway (Fibre to
> the Node).
>
> The error I got is:-
>
> Please wait, this may take several minutes...
> -Gtk-*Message*: Failed to load module "canberra-gtk-module"
> \Gtk-*Message*: Failed to load module "canberra-gtk-module"
> *error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support
> for PyQt4)' is still missing.*
> *error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python
> (for Qt version 4.x))' is still missing.*
>
>
> *RUNNING POST-PACKAGE COMMANDS*
> *-----------------------------*
> OK
>
>
> *RE-CHECKING DEPENDENCIES*
> *------------------------*
> /Gtk-*Message*: Failed to load module "canberra-gtk-module"
> *error: A required dependency 'pyqt4-dbus (PyQt 4 DBus - DBus Support
> for PyQt4)' is still missing.*
> *error: A required dependency 'pyqt4 (PyQt 4- Qt interface for Python
> (for Qt version 4.x))' is still missing.*
> *error: Installation cannot continue without these dependencies.*
> *error: Please manually install this dependency and re-run this installer.*
> root@debian:/home/isaac/HP2# dpkg -l hplip
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name                          Version             Architecture
>        Description
> +++-=============================-===================-===================-===============================================================
>
> ii  hplip                         3.16.11+repack0-3   amd64
>               HP Linux Printing and Imaging System (HPLIP)
> root@debian:/home/isaac/HP2#
>
>
> I hope this will help you and you may be able to help me.
>
> Isaac (Ike) Shields
Sorry I forgot the motherboard is Gigabyte GA-78LMT-S2P
>

Best shivani mandora (shivani1708) said : #4

Hi,

try to install package manually
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module

Ike Shields (nejekipl) said : #5

I try to install package manually still no good. If I go into printer screen and do a print test, it comes up on top of screen printing and then after a minute printing completed but the printer dos not print. I unplugged the USB cable and it came up with printer stopped I plugged it in and it came up with ready so I take it it is not the cable.
I still can not use the printer.

Ike

brian_p (claremont102) said : #6

Hello Ike,

Would it be possible for you to put the printer on the network?

brian_p (claremont102) said : #7

> Would it be possible for you to put the printer on the network?

Forget about that. Your version of Debian doesn't support what I
had in mind. But please supply the output of 'lpinfo -v' with a USB
connection.

Ike Shields (nejekipl) said : #8

If you tell me how to. The printer dos not have a place to plug the
network  cable into. The telstra box has Wi-Fi and the name is
Telstra6DB133-6G and the HP printer has the Wi-Fi symbol on it, so may
be you can. you tell me what to do. Thank you.

On 3/3/20 2:08 am, brian_p wrote:
> Your question #689067 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/689067
>
> brian_p posted a new comment:
> Hello Ike,
>
> Would it be possible for you to put the printer on the network?
>

Ike Shields (nejekipl) said : #9

root@debian:/home/isaac# lpinfo -v
network ipp14
network ipp
network http
file cups-pdf:/
network ipps
direct
usb://HP/LaserJet%20Professional%20P%201102w?serial=000000000W44F7MYPR1a
network https
serial serial:/dev/ttyS0?baud=115200
direct hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W44F7MYPR1a
network beh
network lpd
network socket
direct hpfax
root@debian:/home/isaac#

On 3/3/20 2:13 am, brian_p wrote:
> Your question #689067 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/689067
>
> brian_p posted a new comment:
>> Would it be possible for you to put the printer on the network?
> Forget about that. Your version of Debian doesn't support what I
> had in mind. But please supply the output of 'lpinfo -v' with a USB
> connection.
>

brian_p (claremont102) said : #10

Your output has two URIs. One begins usb://HP/... ; the other hp:/usb/... . You can use either. The PPD is obtained from 'lpinfo -m | grep 1102w'. It begins with drv:///hpcups.drv/... and ends with .ppd.

Substitute in

  lpadmin -p 1102w -v URI -E -m PPD

and test with

  lp -d 1102w /etc/nsswitch.conf