hplip wizard won't recognize "run" file during installation

Asked by Daniel Koch

I'm trying to install my Deskjet 3510 All-in-One printer/scanner on a fresh installation of Ubuntu 14.04 on a new Lenovo G 50-45 laptop. This same OS and printer were installed and working well on another computer for several years which died and required replacing last week.

The natively installed driver allows for printing, but doesn't recognize the scanner.

I actually installed this successfully via the hplip website three days ago, but I tried to scan something today using the Ubuntu software "Simple Scan" (the only way I've ever been able to scan on this set-up) and was told no scanner was installed.

 I deleted the printer installation and started to re-install following the on-line instructions via the hplip installation wizard (as I have done many times before), but after I download the “hplip-3.15.11(1).run” driver, the terminal tells me it can't be opened and I'm stuck. The driver is actually titled as shown above, but the terminal will not accept the “(1)” character, so I'm actually entering it as “hplip-3.15.11.run” and it's not being recognized. I would appreciate some advice. Please see output of "hp-check -t" command below:

daniel@daniel-Lenovo-G50-45:~$ hp-check -t
error: Unable to locate models.dat file
Saving output in log file: /home/daniel/hp-check.log

HP Linux Imaging and Printing System (ver. 0.0.0)
Dependency/Version Check Utility ver. 15.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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

-Traceback (most recent call last):
  File "/usr/bin/hp-check", line 855, in <module>
    core.init()
  File "/usr/share/hplip/installer/core_install.py", line 464, in init
    self.distro_name = self.distros_index[self.distro]
KeyError: 0

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sanjay Kumar (sanjay-kumar14) said :
#1

Hi,

Can you try the instructions which are provided in http://hplipopensource.com/hplip-web/install/install/index.html

Can you help with this problem?

Provide an answer of your own, or ask Daniel Koch for more information if necessary.

To post a message you must log in.