Unknown/invalid device-uri field (4)
Thank you in advance for this help.
I am not a programmer neither an advanced user of Linux. Actually I am still figuring out the basics steps.
I use Ubuntu 20.04 LTS with KDE Plasma interface ( I don't know which information can be helpful).
I have tried - unsuccessfully - to install an HP Smart Tank 517.
1) I've run $ ./hplip-
PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : u
HP Linux Imaging and Printing System (ver. 3.21.8)
Printer/Fax Setup Utility ver. 9.0
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.
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=usb, search=(None), desc=0)
warning: Unable to connect to dbus. Is hp-systray running?
error: Device error: Unknown/invalid device-uri field (4).
2) Then I've run $ hp-plugin which returned:
HP Linux Imaging and Printing System (ver. 3.21.8)
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: It is not recommended to run 'hp-plugin' in a root mode.
HP Linux Imaging and Printing System (ver. 3.21.8)
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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-------
| PLUG-IN INSTALLATION FOR HPLIP 3.21.8 |
-------
Option Description
---------- -------
d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)
Enter option (d=download*, p=specify path, q=quit) ? Traceback (most recent call last):
File "/usr/lib/
return self.get_
File "/usr/lib/
return self.call_
File "/usr/lib/
reply_message = self.send_
dbus.exceptions
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/
if have_pynotify and pynotify.
File "/usr/lib/
dbus_obj = bus.get_
File "/usr/lib/
return self.ProxyObjec
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return (True, self.call_
File "/usr/lib/
reply_message = self.send_
dbus.exceptions
Traceback (most recent call last):
File "/usr/lib/
return self.get_
File "/usr/lib/
return self.call_
File "/usr/lib/
reply_message = self.send_
dbus.exceptions
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/
if have_pynotify and pynotify.
File "/usr/lib/
dbus_obj = bus.get_
File "/usr/lib/
return self.ProxyObjec
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return (True, self.call_
File "/usr/lib/
reply_message = self.send_
dbus.exceptions
d
-------------------
| DOWNLOAD PLUGIN |
-------------------
Checking for network connection...
Downloading plug-in from:
Downloading plug-in: [\ ] 0% Traceback (most recent call last):
File "/usr/share/
os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/
status, plugin_path, error_str = pluginObj.
File "/usr/share/
core = core_install.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
distro_name = get_distro_
File "/usr/share/
os_name = distro.
File "/usr/lib/
return _distro.
File "/usr/lib/
self.version(),
File "/usr/lib/
self.
File "/usr/lib/
return self._lsb_
File "/usr/lib/
ret = obj.__dict_
File "/usr/lib/
stdout = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
with os.fdopen(
PermissionError: [Errno 13] Permission denied: '/var/crash/
Original exception was:
Traceback (most recent call last):
File "/usr/share/
os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/
status, plugin_path, error_str = pluginObj.
File "/usr/share/
core = core_install.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
distro_name = get_distro_
File "/usr/share/
os_name = distro.
File "/usr/lib/
return _distro.
File "/usr/lib/
self.version(),
File "/usr/lib/
self.
File "/usr/lib/
return self._lsb_
File "/usr/lib/
ret = obj.__dict_
File "/usr/lib/
stdout = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
3) Even so, I've run $ hp-setup -i -x -q, which returned:
HP Linux Imaging and Printing System (ver. 3.21.8)
Printer/Fax Setup Utility ver. 9.0
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.
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
-------
| SELECT CONNECTION (I/O) TYPE |
-------
Num Connection Description
Type
-------- ---------- -------
0* usb Universal Serial Bus (USB)
1 net Network/
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0
Using connection type: usb
Setting up device: hp:/usb/
-------
| PRINT QUEUE SETUP |
-------
Please enter a name for this print queue (m=use model name:'Smart_
Using queue name: Smart_Tank_510
Locating PPD file... Please wait.
Found PPD file: drv:///
Description:
Note: The model number may vary slightly from the actual model number on the device.
Does this PPD file appear to be the correct one (y=yes*, n=no, q=quit) ? y
Enter a location description for this printer (q=quit) ?
Enter additonal information or notes for this printer (q=quit) ?
Adding print queue to CUPS:
Device URI: hp:/usb/
Queue name: Smart_Tank_510
PPD file: drv:///
Location:
Information:
-------
| PRINTER TEST PAGE |
-------
Would you like to print a test page (y=yes*, n=no, q=quit) ? y
HP Linux Imaging and Printing System (ver. 3.21.8)
Testpage Print Utility ver. 6.0
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: Unable to connect to dbus. Is hp-systray running?
error: Channel write error
error: Channel write error
error: Channel write error
error: Device is busy or in an error state. Please check device and try again.
note: If an error occured, or the test page failed to print, refer to the HPLIP website
note: at: http://
Done.
I don't know what to do.
Again, thank you in advance.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Angelo Macedo do Amaral
- Solved:
- Last query:
- Last reply: