unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: Tobias Geerinckx-Rice <me@tobias.gr>, help-guix@gnu.org
Subject: Re: More HP AIO scanning woes
Date: Sun, 14 Aug 2022 12:28:24 +0000	[thread overview]
Message-ID: <241f860e-0b1a-ba9d-c07f-92d89f896fda@posteo.de> (raw)
In-Reply-To: <87fsi0nt7v.fsf@nckx>


[-- Attachment #1.1.1: Type: text/plain, Size: 6761 bytes --]

Hi T G-R,

after Your advice to check the hp-programms:

hp-align               hp-info                hp-scan
hp-check               hp-levels              hp-sendfax
hp-clean               hp-linefeedcal         hp-setup
hp-colorcal            hp-logcapture          hp-systray
hp-config_usb_printer  hp-makecopies          hp-testpage
hp-devicesettings      hp-makeuri             hp-timedate
hp-diagnose_plugin     hp-pkservice           hp-toolbox
hp-diagnose_queues     hp-pqdiag              hp-uiscan
hp-doctor              hp-print               hp-uninstall
hp-fab                 hp-printsettings       hp-unload
hp-faxsetup            hp-probe               hp-upgrade
hp-firmware            hp-query               hp-wificonfig

We are a step further:

In the program menu there appeared an icon: "HP Device Manager",
but klicking on it doesn't do anything.
So at least there is an icon.


if I do a

gfp@Tuxedo ~$ hp-diagnose_plugin

it says:

Driver Plug-in Installation is required
HP Device requires proprietary plug-in which is missing. Click "next" to 
continue plug-in installation

if I press next it says:

sh: line 1: python: command not found
error: Failed to install Plug-in.
Either you have chosen to skip the Plug-in installation  or entered 
incorrect Password.

------------------------------------------------------

gfp@Tuxedo ~$ sudo hp-logcapture
Passwort:
error: Failed to take back cups file=/etc/cups/cupsd.conf
Traceback (most recent call last):
   File 
"/gnu/store/csbrf3740w69nsjl2pqdbgf1rpq3gs48-hplip-3.21.10/share/hplip/base/password.py", 
line 89, in get_distro_name
     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 
"/gnu/store/csbrf3740w69nsjl2pqdbgf1rpq3gs48-hplip-3.21.10/bin/../share/hplip/logcapture.py", 
line 268, in <module>
     if not is_journal():
   File 
"/gnu/store/csbrf3740w69nsjl2pqdbgf1rpq3gs48-hplip-3.21.10/bin/../share/hplip/logcapture.py", 
line 52, in is_journal
     core =  CoreInstall(MODE_INSTALLER, INTERACTIVE_MODE)
   File 
"/gnu/store/csbrf3740w69nsjl2pqdbgf1rpq3gs48-hplip-3.21.10/share/hplip/installer/core_install.py", 
line 241, in __init__
     self.passwordObj = password.Password(ui_mode)
   File 
"/gnu/store/csbrf3740w69nsjl2pqdbgf1rpq3gs48-hplip-3.21.10/share/hplip/base/password.py", 
line 122, in __init__
     self.__readAuthType()  # self.__authType
   File 
"/gnu/store/csbrf3740w69nsjl2pqdbgf1rpq3gs48-hplip-3.21.10/share/hplip/base/password.py", 
line 145, in __readAuthType
     distro_name = get_distro_name().lower().replace(" ","")
   File 
"/gnu/store/csbrf3740w69nsjl2pqdbgf1rpq3gs48-hplip-3.21.10/share/hplip/base/password.py", 
line 91, in get_distro_name
     import distro
ModuleNotFoundError: No module named 'distro'

-----------------------------------------------------------------

gfp@Tuxedo ~$ hp-probe

HP Linux Imaging and Printing System (ver. 3.21.10)
Printer Discovery Utility ver. 4.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.

Using connection type: usb

--------------------
| DEVICE DISCOVERY |
--------------------

warning: No devices found on the 'usb' bus. If this isn't the result you 
are expecting,
warning: check to make sure your devices are properly connected and 
powered on.

Done.
--------------------------------------------------------------------

gfp@Tuxedo ~$ hp-scan

HP Linux Imaging and Printing System (ver. 3.21.10)
Scan Utility ver. 2.2

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.

error: No device selected/specified or that supports this functionality.
--------------------------------------------------------------------------

Even though the printer is installed and I can print,
it says again and again that there is no printer and the bus / usb is 
not connected.

If somebody wants to deal with it and takes time for it,
than I appreciate this.

Gottfried



Am 13.08.22 um 15:38 schrieb Tobias Geerinckx-Rice:
> Hi Gottfried!
> 
> Gottfried 写道:
>> "hplip" doesn't appear anywhere, so I can't open it and to choose a 
>> scanner.
> 
> I probably can't fix your problem, but note that packages don't 
> necessarily install a command named after them, or an ‘icon’ (as you 
> mentioned in a previous mail).  Only a tiny fraction of all packages do 
> both.
> 
> There is no ‘hplip’ command or programme; don't wast time looking for one.
> 
> The hplip package does provide several small tools, none of them named 
> hplip, of which two look relevant:
> 
> - hp-scan, which throws an error message here because I don't have  a 
> supported device;
> - hp-uiscan, which also throws an error, but it's ~graphical~ (so  it 
> might be a better tool for you—if it works!)
> 
> There are many other hp-* commands that you can see by typing ‘hp-’<TAB> 
> at a shell prompt.
> 
> However.
> 
> Expect a number of these tools not to work properly.  For example, they 
> might look for files in the wrong place or try to write to the store, 
> simply because they've never been tested.  It is quite possible that you 
> are the first to ever try using them with the intended hardware.  You'll 
> have to see, and report any errors you get, and *perhaps* we can help 
> fix them.
> 
> The joys of using a tiny distribution: sometimes you really are the 
> first person to try something :-)
> 
>> Probably no Guixer has a HP printer/scanner all in one,
>> so nobody was able to help me.
> 
> Very possible.  I don't.
> 
>> Or any other problem that hplip doesn't appear in my MATE Desktop.
> 
> See above; I think you're expecting something to happen that won't.  
> We'd need to add .desktop files for that to happen, but that would 
> require actually testing the tools to make sure they are useful (IMO).
> 
> Maybe we should have ‘I own XXX hardware’ teams…
> 
> Kind regards,
> 
> T G-R


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Why is HTML email a security nightmare? See https://useplaintext.email/

Please avoid sending me MS-Office attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  parent reply	other threads:[~2022-08-14 12:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-13 12:13 I express my gratitude Gottfried
2022-08-13 13:38 ` More HP AIO scanning woes [was: I express my gratitude] Tobias Geerinckx-Rice
2022-08-13 17:58   ` More HP AIO scanning woes Gottfried
2022-08-14 12:28   ` Gottfried [this message]
2022-08-14 12:33     ` (

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=241f860e-0b1a-ba9d-c07f-92d89f896fda@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=me@tobias.gr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).