HPLIP 3.18.12 is not installing

Asked by Anantha Krishna K S

Error message
HP Linux Imaging and Printing System (ver. 3.18.12)
HPLIP Installer ver. 5.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.

Installer log saved in: hplip-install_Wed-16-Jan-2019_22:27:10.log

\
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
|Traceback (most recent call last):
  File "/home/user/Downloads/hplip-3.18.12/base/utils.py", line 266, in walkFiles
    names = os.listdir(root)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/include/cups'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/user/Downloads/hplip-3.18.12/base/utils.py", line 268, in walkFiles
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "./install.py", line 241, in <module>
    text_install.start(language, auto, test_depends, test_unknown, assume_network, max_retries, enable, disable)
  File "/home/user/Downloads/hplip-3.18.12/installer/text_install.py", line 86, in start
    core.init()
  File "/home/user/Downloads/hplip-3.18.12/installer/core_install.py", line 528, in init
    self.check_dependencies(callback)
  File "/home/user/Downloads/hplip-3.18.12/installer/core_install.py", line 621, in check_dependencies
    self.have_dependencies[d] = self.dependencies[d][3]()
  File "/home/user/Downloads/hplip-3.18.12/installer/core_install.py", line 1167, in check_cups_image
    return check_file("raster.h", "/usr/include/cups")
  File "/home/user/Downloads/hplip-3.18.12/installer/dcheck.py", line 108, in check_file
    for w in utils.walkFiles(dir, recurse=True, abs_paths=True, return_folders=False, pattern=f):
RuntimeError: generator raised StopIteration
user@user-HP-Laptop-15-bs0xx:~/Downloads$ BCC

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Santhosh Manchikanti
Solved:
Last query:
Last reply:
Revision history for this message
Best Santhosh Manchikanti (santhosh2357651) said :
#1

Hi Anantha,

Can you please confirm the distro version? and please share the hp-check logs.

Regards,
Santhosh

Revision history for this message
Anantha Krishna K S (ananthakrishna-ks) said :
#2

Ubuntu Linux 19.04 Development Version

On Fri, Jan 18, 2019, 9:12 AM Santhosh Manchikanti <
<email address hidden> wrote:

> Your question #677845 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/677845
>
> Status: Open => Answered
>
> Santhosh Manchikanti proposed the following answer:
> Hi Anantha,
>
> Can you please confirm the distro version? and please share the hp-check
> logs.
>
> Regards,
> Santhosh
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/677845/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/677845
>
> You received this question notification because you asked the question.
>

Revision history for this message
Anantha Krishna K S (ananthakrishna-ks) said :
#3

Not solved.

Revision history for this message
Anantha Krishna K S (ananthakrishna-ks) said :
#4

Yes. Still open.

On Fri, Jan 18, 2019, 11:22 AM Anantha Krishna K S <
<email address hidden> wrote:

> Your question #677845 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/677845
>
> Status: Answered => Open
>
> You are still having a problem:
> Ubuntu Linux 19.04 Development Version
>
> On Fri, Jan 18, 2019, 9:12 AM Santhosh Manchikanti <
> <email address hidden> wrote:
>
> > Your question #677845 on HPLIP changed:
> > https://answers.launchpad.net/hplip/+question/677845
> >
> > Status: Open => Answered
> >
> > Santhosh Manchikanti proposed the following answer:
> > Hi Anantha,
> >
> > Can you please confirm the distro version? and please share the hp-check
> > logs.
> >
> > Regards,
> > Santhosh
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/hplip/+question/677845/+confirm?answer_id=0
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/hplip/+question/677845
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

1. Ubuntu 19.04 is not yet supported by the HPLIP installer

2. Do you have the package libcups2-dev installed?

Revision history for this message
Anantha Krishna K S (ananthakrishna-ks) said :
#6

solved.