hp-plugin never finishes install

Asked by Daniel Conceição

Hello everyone,

I use Fedora22, and I'm not being able to install my MFP printer cm1415fnw since I cannot install that darn plugin, I tried with hp-plugin either gui or interactive, and also running the "sh hplip-3.15.7-plugin.run" file directly, the problem is the same, when the running icon appears, it goes on forever, it does download the files, I just can't say for sure if it finishes the download and starts installing.

I tried installing hplip software either downloading the script from hplip directly and via dnf.

Can please someone help, i run out of ideas to try

Thanks,
Daniel Conceição

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
goutam kodu (goutam-hplip) said :
#1

Hi ,

Can you please provide us the output of 'sh hplip-3.15.7-plugin.run - - -i ' here.

Thanks,
Goutam

Revision history for this message
Daniel Conceição (daniel-conceicao) said :
#2

Hi Goutam,

thanks for the immediate response:

[dconceicao@linux-dev ~]$ hp-setup

HP Linux Imaging and Printing System (ver. 3.15.7)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 Hewlett-Packard 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=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: No devices found on bus: net
Found device: hp:/net/HP_LaserJet_CM1415fnw?ip=192.168.1.4

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

Copyright (c) 2001-15 Hewlett-Packard 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.

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

Copyright (c) 2001-15 Hewlett-Packard 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.

Checking for network connection...
Downloading plug-in from:
Receiving digital keys: /usr/bin/gpg --homedir /home/dconceicao/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.15.7 Plugin Self Extracting Archive............................................

HP Linux Imaging and Printing System (ver. 3.15.7)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 Hewlett-Packard 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.

Plug-in version: 3.15.7
Installed HPLIP version: 3.15.7
Number of files to install: 38

**AFTER SEVERAL minutes running into same problem

\error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation.
|^CTraceback (most recent call last):
  File "./plugin_install.py", line 249, in <module>
    ok = installPlugin()
  File "./plugin_install.py", line 56, in installPlugin
    status, output = utils.run(cmd, passwordObj)
  File "/usr/share/hplip/base/utils.py", line 1283, in run
    i = child.expect(EXPECT_LIST)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1418, in expect
    timeout, searchwindowsize)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1433, in expect_list
    timeout, searchwindowsize)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1502, in expect_loop
    c = self.read_nonblocking(self.maxread, timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 901, in read_nonblocking
    r, w, e = self.__select([self.child_fd], [], [], timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1687, in __select
    return select.select(iwtd, owtd, ewtd, timeout)
KeyboardInterrupt

Revision history for this message
Daniel Conceição (daniel-conceicao) said :
#3

Dear Goutam,

this may help even further.

 sh ./hplip-3.15.7-plugin.run --keep -- -ig
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.15.7 Plugin Self Extracting Archive............................................

HP Linux Imaging and Printing System (ver. 3.15.7)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 Hewlett-Packard 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.

Plug-in version: 3.15.7
Installed HPLIP version: 3.15.7
Number of files to install: 38

hplip-plugin-install[20415]: debug: pkit_version 1
hplip-plugin-install[20415]: debug: pkit_installed False
You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in

These License Terms govern your Use of the HPLIP Driver Plug-in Software (the "Software"). USE OF THE SOFTWARE INCLUDING, WITHOUT LIMITATION, ANY DOCUMENTATION, IS SUBJECT TO THESE LICENSE TERMS AND THE
APPLICABLE AS-IS WARRANTY STATEMENT. BY DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THESE TERMS. IF YOU DO NOT AGREE TO ALL OF THESE TERMS, DO NOT DOWNLOAD AND INSTALL THE SOFTWARE
ON YOUR SYSTEM.

1. License Grant. HP grants you a license to Use one copy of the Software with HP printing products only. "Use" includes using, storing, loading, installing, executing, and displaying the Software. You may not
modify the Software or disable any licensing or control features of the Software.

2. Ownership. The Software is owned and copyrighted by HP or its third party suppliers. Your license confers no title to, or ownership in, the Software and is not a sale of any rights in the Software. HP's third
party suppliers may protect their rights in the Software in the event of any violation of these license terms.

3. Copies and Adaptations. You may only make copies or adaptations of the Software for archival purposes or when copying or adaptation is an essential step in the authorized Use of the Software. You must
reproduce all copyright notices in the original Software on all copies or adaptations. You may not copy the Software onto any public network.

4. No Disassembly. You may not Disassemble the Software unless HP's prior written consent is obtained. "Disassemble" includes disassembling, decompiling, decrypting, and reverse engineering. In some
jurisdictions, HP's consent may not be required for limited Disassembly. Upon request, you will provide HP with reasonably detailed information regarding any Disassembly.

5. No Transfer. You may not assign, sublicense or otherwise transfer all or any part of these License Terms or the Software.

6. Termination. HP may terminate your license, upon notice, for failure to comply with any of these License Terms. Upon termination, you must immediately destroy the Software, together with all copies,
adaptations and merged portions in any form.

7. Export Requirements. You may not export or re-export the Software or any copy or adaptation in violation of any applicable laws or regulations.

8. U.S. Government Restricted Rights. The Software has been developed entirely at private expense. It is delivered and licensed, as defined in any applicable DFARS, FARS, or other equivalent federal agency
regulation or contract clause, as either "commercial computer software" or "restricted computer software", whichever is applicable. You have only those rights provided for such Software by the applicable clause
or regulation or by these License Terms.

9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS IS" AND WITH ALL FAULTS, AND HEREBY DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS,
EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY IMPLIED WARRANTIES, DUTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR
PURPOSE, AND OF LACK OF VIRUSES ALL WITH REGARD TO THE SOFTWARE. Some states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warranties, so the above
disclaimer may not apply to you in its entirety.

10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur, the entire liability of HP and any of its suppliers under any provision of this agreement and your exclusive remedy for all of the
foregoing shall be limited to the greater of the amount actually paid by you separately for the Software or U.S. $5.00. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL HP OR ITS SUPPLIERS BE
LIABLE FOR ANY SPECIAL, INCIDENTAL,
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR OTHER INFORMATION, FOR BUSINESS INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY
ARISING OUT OF OR IN ANY WAY RELATED TO THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN CONNECTION WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR ANY SUPPLIER HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL PURPOSE. Some states/jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above
limitation or exclusion may not apply to you.

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ?
hplip-plugin-install[20415]: debug: Password: *** It never stops repeating this line ***
hplip-plugin-install[20415]: debug: Password:
hplip-plugin-install[20415]: debug: Password:
hplip-plugin-install[20415]: debug: Password:
hplip-plugin-install[20415]: debug: Password:
hplip-plugin-install[20415]: debug: Password:
hplip-plugin-install[20415]: debug: Password:
hplip-plugin-install[20415]: debug: Password:
hplip-plugin-install[20415]: debug: Password:
^CTraceback (most recent call last):
  File "./plugin_install.py", line 184, in <module>
    if not installPlugin():
  File "./plugin_install.py", line 56, in installPlugin
    status, output = utils.run(cmd, passwordObj)
  File "/usr/share/hplip/base/utils.py", line 1283, in run
    i = child.expect(EXPECT_LIST)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1418, in expect
    timeout, searchwindowsize)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1433, in expect_list
    timeout, searchwindowsize)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1502, in expect_loop
    c = self.read_nonblocking(self.maxread, timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 901, in read_nonblocking
    r, w, e = self.__select([self.child_fd], [], [], timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1687, in __select
    return select.select(iwtd, owtd, ewtd, timeout)
KeyboardInterrupt

Revision history for this message
goutam kodu (goutam-hplip) said :
#4

Thank you for the outputs.
We are working on it. Will update you soon on this.

Thanks,
Goutam

Revision history for this message
Nick Yatsukov (nickyat) said :
#5

Some problem on Debian 8.1
resolved by comment line

=====plugin_install.py=====
if os.geteuid() == 0:
        print("hp-plugin should not be run as root/superuser. Exiting.")
# sys.exit(1)
=====plugin_install.py=====

and then run
sudo hplip-plugin-install

Revision history for this message
cereda (cereda-f) said :
#6

Dear friends,

Any updates on this question? I encountered the exact issue with hplip 3.15.9 on Fedora 23 64 bits. Should I add a follow-up?

Regards

Revision history for this message
goutam (goutamkk) said :
#7

We are working on the fix. You can find the work around for the same provided by Sergey here https://bugs.launchpad.net/hplip/+bug/1521006.

We apologize for the inconvenience

Revision history for this message
cereda (cereda-f) said :
#8

Dear goutam,

please, no need to apologize! Thank you very much for working on such awesome project! I was just worried I could be stuck in some localized issue instead of a more general one.

I will try the workaround you've linked in your reply, thank you.

All the best!

Revision history for this message
kanatov (ilya-kanatov) said :
#9

Hello!
So anybody know how to fix this problem?
I have the same symptoms: accept license agreement and get stuck

> https://bugs.launchpad.net/hplip/+bug/1521006
Here Sergey Dovganyuk wrote the workaround:

> $ cd ~/.hplip/plugin_tmp/
> $ /usr/bin/sudo /usr/bin/python installPlugin.py
> Executing installPlugin.py

But it doesn't work for me, I have no .hplip directory and installPlugin.py too.
Can anybody write the step by step commands?

Thanks!

Revision history for this message
goutam (goutamkk) said :
#10

Hi Kanatov,

What is the hplip version installed in your system ?
If hplip-3.15.11 is installed in your system can you try running command :

sh hplip-3.15.11-plugin.run -- -ig

You can download the file hplip-3.15.11-plugin.run from here https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.15.11-plugin.run and run the above command and paste the output here.

Please let us know the linux os distribution name and version number that you are using.

Thanks,
Goutam

Revision history for this message
goutam (goutamkk) said :
#11

Also please let us know the python version getting used: python --version

Revision history for this message
kanatov (ilya-kanatov) said :
#12

Thanks for your help, Goutam.

Sergey Dovganyuk already help me with it.
There is the step-by step tutorial that I've done:

1. Open new Terminal window an run:
$ sudo hplip-3.15.11.run

2. Follow the wizard and get an error: "Please run 'hp-plugin' as normal user to install plug-ins".

3. Close the wizard and this terminal window.

4. Open new Terminal window an run:
$ hp-plugin

5. Accept the license and get stuck.

6. Open new terminal window and run:
$ cd ~/.hplip/plugin_tmp/
$ /usr/bin/sudo /usr/bin/python installPlugin.py

7. After "Executing installPlugin.py" close this terminal window and terminate first one.

Revision history for this message
Benedek Nagy (nagyb) said :
#13

Hi all,

I get stuck with the work around to on OpenSuse 13.1 (at the end of step 7 of post right above #12). See the messages got below.

Any ideas what should I try?

Thanks,
Benedek

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

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) :
Please unplug and re-plugin your printer now. Press <enter> to continue or 'q' to quit:

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) : i
Running 'su -c "hp-setup -i"' command....

HP Linux Imaging and Printing System (ver. 3.15.11)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 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/Ethernet/Wireless (direct connection or JetDirect)

Enter number 0...1 for connection type (q=quit, enter=usb*) ?

Using connection type: usb

Setting up device: hp:/usb/HP_LaserJet_Pro_MFP_M125a?serial=CNB6H2B3Q8

------------------------
| PLUG-IN INSTALLATION |
------------------------

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

Copyright (c) 2001-15 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: hp-plugin should not be run as root/superuser
error: Failed to install Plugin.
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins.Visit http://hplipopensource.com for more infomation.
error: hp-setup failed. Please run hp-setup manually.

RE-STARTING HP_SYSTRAY
----------------------
warning: hp-systray should not be run as root/superuser.

HP Linux Imaging and Printing System (ver. 3.15.11)
System Tray Status Service ver. 2.0

Copyright (c) 2001-15 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: hp-systray cannot be run as root. Exiting.

Revision history for this message
goutam (goutamkk) said :
#14

Hi Benedek,

Can you please download the file hplip-3.15.11-plugin.run from here https://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.15.11-plugin.run and run the below command and paste the output here.

sh hplip-3.15.11-plugin.run -- -ig

Let us know the linux os distribution that you are using.

Thanks,
Goutam

Revision history for this message
Benedek Nagy (nagyb) said :
#15

Hi Goutam,

I run the command you wrote, see the output below. I use OpenSuse 13.1, (Linux 3.11.10-29-desktop openSUSE 13.1 (Bottle) (x86_64)), KDE 4.11.5, Python version: 2.7.6.

Thank you for your time,
Benedek

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

:~> sh hplip-3.15.11-plugin.run -- -ig
Verifying archive integrity... All good.
Uncompressing HPLIP 3.15.11 Plugin Self Extracting Archive................................................

HP Linux Imaging and Printing System (ver. 3.15.11)
Plugin Installer ver. 3.0

Copyright (c) 2001-15 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.

Plug-in version: 3.15.11
Installed HPLIP version: 3.15.11
Number of files to install: 42

hplip-plugin-install[4302]: debug: pkit_version 1
hplip-plugin-install[4302]: debug: pkit_installed False
You must agree to the license terms before installing the plug-in:

LICENSE TERMS FOR HP Linux Imaging and Printing (HPLIP) Driver Plug-in

These License Terms govern your Use of the HPLIP Driver Plug-in Software (the "Software"). USE OF THE SOFTWARE INCLUDING,
WITHOUT LIMITATION, ANY DOCUMENTATION, IS SUBJECT TO THESE LICENSE TERMS AND THE APPLICABLE AS-IS WARRANTY STATEMENT. BY
DOWNLOADING AND INSTALLING THE SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THESE TERMS. IF YOU DO NOT AGREE TO ALL OF THESE
TERMS, DO NOT DOWNLOAD AND INSTALL THE SOFTWARE ON YOUR SYSTEM.

1. License Grant. HP grants you a license to Use one copy of the Software with HP printing products only. "Use" includes
using, storing, loading, installing, executing, and displaying the Software. You may not modify the Software or disable any
licensing or control features of the Software.

2. Ownership. The Software is owned and copyrighted by HP or its third party suppliers. Your license confers no title to, or
ownership in, the Software and is not a sale of any rights in the Software. HP's third party suppliers may protect their
rights in the Software in the event of any violation of these license terms.

3. Copies and Adaptations. You may only make copies or adaptations of the Software for archival purposes or when copying or
adaptation is an essential step in the authorized Use of the Software. You must reproduce all copyright notices in the
original Software on all copies or adaptations. You may not copy the Software onto any public network.

4. No Disassembly. You may not Disassemble the Software unless HP's prior written consent is obtained. "Disassemble" includes
disassembling, decompiling, decrypting, and reverse engineering. In some jurisdictions, HP's consent may not be required for
limited Disassembly. Upon request, you will provide HP with reasonably detailed information regarding any Disassembly.

5. No Transfer. You may not assign, sublicense or otherwise transfer all or any part of these License Terms or the Software.

6. Termination. HP may terminate your license, upon notice, for failure to comply with any of these License Terms. Upon
termination, you must immediately destroy the Software, together with all copies, adaptations and merged portions in any form.

7. Export Requirements. You may not export or re-export the Software or any copy or adaptation in violation of any applicable
laws or regulations.

8. U.S. Government Restricted Rights. The Software has been developed entirely at private expense. It is delivered and
licensed, as defined in any applicable DFARS, FARS, or other equivalent federal agency regulation or contract clause, as
either "commercial computer software" or "restricted computer software", whichever is applicable. You have only those rights
provided for such Software by the applicable clause or regulation or by these License Terms.

9. DISCLAIMER OF WARRANTIES. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HP AND ITS SUPPLIERS PROVIDE THE SOFTWARE "AS
IS" AND WITH ALL FAULTS, AND HEREBY DISCLAIM ALL OTHER WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED, OR STATUTORY,
INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE AND NON-INFRINGEMENT, ANY IMPLIED WARRANTIES, DUTIES OR CONDITIONS OF
MERCHANTABILITY, OF FITNESS FOR A PARTICULAR PURPOSE, AND OF LACK OF VIRUSES ALL WITH REGARD TO THE SOFTWARE. Some
states/jurisdictions do not allow exclusion of implied warranties or limitations on the duration of implied warranties, so the
above disclaimer may not apply to you in its entirety.

10. LIMITATION OF LIABILITY. Notwithstanding any damages that you might incur, the entire liability of HP and any of its
suppliers under any provision of this agreement and your exclusive remedy for all of the foregoing shall be limited to the
greater of the amount actually paid by you separately for the Software or U.S. $5.00. TO THE MAXIMUM EXTENT PERMITTED BY
APPLICABLE LAW, IN NO EVENT SHALL HP OR ITS SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL,
INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR LOSS OF PROFITS OR CONFIDENTIAL OR
OTHER INFORMATION, FOR BUSINESS INTERRUPTION, FOR PERSONAL INJURY, FOR LOSS OF PRIVACY ARISING OUT OF OR IN ANY WAY RELATED TO
THE USE OF OR INABILITY TO USE THE SOFTWARE, OR OTHERWISE IN CONNECTION WITH ANY PROVISION OF THIS AGREEMENT, EVEN IF HP OR
ANY SUPPLIER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF THE REMEDY FAILS OF ITS ESSENTIAL PURPOSE. Some
states/jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation
or exclusion may not apply to you.

Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ?
hplip-plugin-install[4302]: debug: Jelszó: **** Jeleszó means password in English
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
gRhplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
hplip-plugin-install[4302]: debug: Jelszó:
^CTraceback (most recent call last): ******!!!!! I stopped the process here
  File "./plugin_install.py", line 184, in <module>
    if not installPlugin():
  File "./plugin_install.py", line 56, in installPlugin
    status, output = utils.run(cmd, passwordObj)
  File "/usr/share/hplip/base/utils.py", line 1275, in run
    i = child.expect(EXPECT_LIST)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1418, in expect
    timeout, searchwindowsize)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1433, in expect_list
    timeout, searchwindowsize)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1502, in expect_loop
    c = self.read_nonblocking(self.maxread, timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 901, in read_nonblocking
    r, w, e = self.__select([self.child_fd], [], [], timeout)
  File "/usr/share/hplip/base/pexpect/__init__.py", line 1687, in __select
    return select.select(iwtd, owtd, ewtd, timeout)
KeyboardInterrupt
Signal caught, cleaning up

Revision history for this message
goutam (goutamkk) said :
#16

Can you run the below command :

su -c " sed -i 's/"passwor\[dt\]:",/"passwor\[dt\]:" ,"Jelszó:",/' /usr/share/hplip/base/utils.py"

and re-run the command 'sh hplip-3.15.11-plugin.run -- -ig' and let us know if it is able to take the password.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#17

Hello Benedek and Daniel,

Can you try below steps.

1)Add below entries to the end of EXPECT_WORD_LIST in /usr/share/hplip/base/utils.py

                "Password:",
               u"Jelszó:",

2) Save the file

3) Run the plugin command again i.e
     sh hplip-3.15.11-plugin.run -- -ig'
                              or
     sh hplip-3.15.7-plugin.run -- -ig'

Thanks,
Sanjay

Revision history for this message
Benedek Nagy (nagyb) said :
#18

Dear Goutam and Sanjay,

I tried both, and led to the same output with only one difference. The number in the hplip-plugin-install[4302]: debug: lines changed to 2529in Goutam's case 2755 and 2952 in Sanjay's case respectively depending on that I wrote "Password:" and "Jelszó:", or "Password" and "Jelszó".

Regards,
Benedek

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#19

Hello Benedek,

Looks like you have not prefixed 'u' before "Jelszó:".

Please add u"Jelszó:", and then let me know the result.

Thanks,
Sanjay

Revision history for this message
Benedek Nagy (nagyb) said :
#20

Dear Sajnay,

thank you, you are right! Now it works, I could set up I printer and it prints and scans.

Best regards!
Benedek

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#21

This issue is now fixed in hplip-3.16.2. Please install the same from http://hplipopensource.com/hplip-web/install/install/index.html

Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#22