TypeError: %d format: a number is required, not NoneType

Bug #1939942 reported by Adam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

Hi

I try to use my HP DeskJet Plus InkAdvantage 6075 printer in Ubuntu 21.04
Sometimes prints, sometimes not.

I have run hp-doctor
```
HP_DeskJet_Plus_6000_series_3BB95C_
-----------------------------------
Type: Unknown
Device URI: implicitclass://HP_DeskJet_Plus_6000_series_3BB95C_/
PPD: /etc/cups/ppd/HP_DeskJet_Plus_6000_series_3BB95C_.ppd
warning: Failed to read /etc/cups/ppd/HP_DeskJet_Plus_6000_series_3BB95C_.ppd ppd file
PPD Description:
Printer No suitable destination host found by cups-browsed. is idle. enabled since sob, 14 sie 2021, 13:38:48
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend for HP-Devices.

--------------
| PERMISSION |
--------------

USB None Required - - OK Node:'/dev/bus/usb/003/005' Perm:' root lp rw- rw- rw- rw- rw- r--'

Checking Permissions....

Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP_DeskJet_Plus_6000_series_3BB95C_.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP_DeskJet_Plus_6000_series_3BB95C_.ppd
warning: Could not complete Queue(s) configuration check

Checking for HP Properitery Plugin's....
No plug-in printers are configured.
```

So hp-plugin

```
HP Linux Imaging and Printing System (ver. 3.21.6)
Plugin Download and Install Utility ver. 2.1

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.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Checking for network connection...
Traceback (most recent call last):
  File "/usr/share/hplip/ui5/plugindialog.py", line 237, in NextButton_clicked
    ok = utils.check_network_connection()
  File "/usr/share/hplip/base/utils.py", line 2292, in check_network_connection
    status = check_network_via_ping(ping_server)
  File "/usr/share/hplip/base/utils.py", line 2282, in check_network_via_ping
    log.debug("ping returned: %d" % status)
TypeError: %d format: a number is required, not NoneType
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
PermissionError: [Errno 13] Brak dostępu: '/var/crash/_usr_share_hplip_plugin.py.1000.crash'

```

More in attached txt file

TIA

Tags: 21.04 ubuntu
Revision history for this message
Adam (adammaj1) wrote :
Revision history for this message
Adam (adammaj1) wrote :
Revision history for this message
Adam (adammaj1) wrote :

the problem : hplip cannot download plug-in file

Revision history for this message
Adam (adammaj1) wrote :

I have manually downloaded
https://developers.hp.com/sites/default/files/hplip-3.21.6-plugin.run

and run

now it prints, but I do not know what will be

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.