HPLIP not installing correctly

Asked by Rob Corlett

We have an HP photosmart 7260 and we are running Ubuntu 11.10.

After installing hplip the printer works intermittently. Sometimes it will print correctly, sometimes it will print blank pages and sometimes the computer seems to "lose" the printer so that we have to unplug the printer and plug it back in to make the computer recognise the printer's existence and then release the held job. I have tried removing hplip using apt-get -purge and then reinstalling.

We cannot run the hplip toolbox.

I have run hp-check to check the installation and it appears that there is a problem with hpmudext.so which it says is not installed and I am assuming that this might be the cause of our problems. Running hp-check tells me we have hplip version 3.12.6.

This gives an error regarding hpmudext being missing. I have tried running hp-check --fix but that fails to sort out the problem and hpmudext is still missing.

I have tried following the instructions on http://hplipopensource.com/node/323 and this is what I have found:

We are running Python 2.7

There is a copy of hpmudext.so in /usr/lib/python2.7/dist-packages

I have run python -v /usr/share/hplip/toolbox.py and it gives a number of errors:

  # can't create /usr/share/hplip/base/__init__.pyc
  # can't create /usr/share/hplip/base/g.pyc
  # can't create /usr/share/hplip/base/codes.pyc
  /usr/share/hplip/base/logger.py: inconsistent use of tabs and spaces in indentation
  # can't create /usr/share/hplip/base/logger.pyc
  # can't create /usr/share/hplip/base/utils.pyc
  # can't create /usr/share/hplip/base/pexpect.pyc
  # can't create /usr/share/hplip/base/pml.pyc
and finally:

  dlopen("/usr/lib/python2.7/dist-packages/hpmudext.so", 2);
Traceback (most recent call last):
  File "/usr/share/hplip/toolbox.py", line 39, in <module>
    from base import status, tui, module
  File "/usr/share/hplip/base/status.py", line 59, in <module>
    import hpmudext
ImportError: /usr/lib/python2.7/dist-packages/hpmudext.so: undefined symbol: hpmud_make_par_uri

I am assuming this is why hpmudext is not loading.

Please can you advise? Most importantly we would simply like the computer to not lose contact with the printer as it is becoming very frustrating.

Many thanks,
Rob

Question information

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

Hi,

Thanks for reporting the issue in HPLIP. To help us understand and analyze the issue please follow following things.
=> Download and install the latest HPLIP release from http://hplipopensource.com/hplip-web/install/install/index.html (automatic) or http://hplipopensource.com/hplip-web/install/manual/index.html (manual, if automatic does not work)

=> run "hp-check --fix" command in the terminal if manual installation is done

=> Reconfigure print queue with the commands in the terminal mentioned below.
       => system-config-printer (remove all print queues)
      => su -c "hp-plugin" (This will download right plugin)
       => hp-setup (It should not be run in a root mode. This command is adding print queue, make sure you select ppd name having "-ps" or "hpcups" substring)
=>Try printing now.

If problem does not get solved then please run following command to capture the logs and send the logs.

$sudo hp-logcapture

**Please use "Create a bug report" to attach the logs as "Ask a Question" does not provide the file attachment option

Revision history for this message
Rob Corlett (progrob) said :
#2

Thanks for the advice - it does indeed seem to have fixed the problem.

For future reference, I used sudo hp-plugin rather than su -c "hp-plugin". Also during the automatic installation I got offered the opportunity to set up printers - I should have skipped this as the next thing I had to do was delete all print queues!

Many thanks,
Rob

Revision history for this message
Rob Corlett (progrob) said :
#3

Thanks Sanjay Kumar, that solved my question.