Internal error continually reported on Ubuntu 12.04

Bug #1017397 reported by IanG
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

On every new bootup, for every user I get:

"Sorry, Ubuntu 12.04 has experienced an internal error.......Excutable path /usr/share/hplip/config-usb-printer.py"

then:

"Could not determine the package or source package name"

Revision history for this message
IanG (ian-usts) wrote :

Happens every single time I boot up now. And why isn't this package ever determined by the Ubuntu error reporting process?

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) wrote :

Hi IanG,

Please can you please provide following information to analyse this.

1) Which package did you install?
2) provide us "hp-check" command output.
3) whether "/etc/udev/rules.d/56-hpmud_add_printer.rules", "/usr/share/hplip/config-usb-printer.py", "/usr/bin/hp-config-usb-printer" files exists and does these file have exec permissions?

--> If /usr/share/hplip/config-usb-printer.py file doesn't exists, this issue may happen. Please remove "/etc/udev/rules.d/56-hpmud_add_printer.rules" file.

Before hand, can you please try to install HPLIP-3.12.6 from http://hplipopensource.com/hplip-web/install/install/index.html and try it.

Thanks & Regards,
Amarnath

Revision history for this message
IanG (ian-usts) wrote :

Thanks for the response, but before I do anything, are you asking me to "install HPLIP-3.12.6 from http://hplipopensource.com/hplip-web/install/install/index.html and try it", before I do anything else? Or do you want me to follow points 1, 2 and 3 first?

Revision history for this message
IanG (ian-usts) wrote :

And just in case I thought I'd supply the following:

1) I installed HPLIP-3.12.6
2) hp-check -t printout attached
3)a) -rw-rw-rw- 1 root root 713 Jun 29 11:01 56-hpmud_add_printer.rules
3)b) -rwxr-xr-x 1 root root 10040 Jun 29 11:01 config_usb_printer.py
3)c) lrwxrwxrwx 1 root root 36 Jun 29 11:01 hp-config_usb_printer -> ../share/hplip/config_usb_printer.py

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) wrote :

Hi IanG,

From the data you provided, seems like everything is correct.
Are you still getting same issue? what is current status.

Thanks & Regards,
Amarnath

Revision history for this message
IanG (ian-usts) wrote :

Thanks Amarnath,

Well the situation is still in the air. For instance, I tried printing out the HPLIP "installer walkthrough" from:

http://hplipopensource.com/hplip-web/install/install/index.html

Earlier in the day, my HP Laserjet P1005 printed out just one page and stopped (through Google Chrome). The green light flashed for what seemed like 20 minutes and reset with a "click".

I've just tried again using Firefox this time, and the Ubuntu printing dialogue box reports "/usr/lib/cups/backend/hp failed".

Regardless, I chose the printer, and two hplip dialogue boxes informed; "started job" and "print job completed". But nothing happens. Before I used to get the green light flashing, but this time nothing.

So' I've just tried printing a document with libre office writer, the two HPLIP "started job" and "print job completed" occur twice this time, but still nothing happens.

I don't really know what to do next.

Revision history for this message
IanG (ian-usts) wrote :

Just to add, sometimes I can logout, my wife will login through her user id, and a print that failed on my queue suddenly prints out on her login.

Revision history for this message
IanG (ian-usts) wrote :

Another update. I thought I'd try pulling out the usb cable from the printer and powering off and on. This time I was able to print out all pages of the "Installer Walkthrough" via Firefox.

But I've done this thing before with mixed results.

Revision history for this message
IanG (ian-usts) wrote :

<sigh>. And just when I need a reliable printer, I get two pages of a website and then nothing again. This is getting really tiring,

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) wrote :

Hi IanG,

Sorry for the late reply and inconvenience. Seems like this is weird behaviour. Can you please provide the some more logs by enabling debug logs.

==> enabling logs..

$ cd ~/Desktop/hplip-3.12.6 (Assuming you have downloaded hplip-3.12.6.run on Desktop)
$ gedit io/hpmud/hpmudi.h (line no.61)
  --> uncomment following line
 From:-
     // Don DO NOT commit with HPMUD_DEBUG enabled :(
     //#define HPMUD_DEBUG
 To:-
     // Don DO NOT commit with HPMUD_DEBUG enabled :(
     #define HPMUD_DEBUG

$ gedit prnt/backend/hp.c (line no: 49 )
 --> uncomment following line
 From:-
    //#define HP_DEBUG
 To:-
   #define HP_DEBUG

$ make
$ sudo make install

$ sudo gedit /etc/cups/cupsd.conf
From:-
    LogLevel warn
To:-
    LogLevel debug
    hpLogLevel 15

$sudo service cups restart
$ sudo cp /dev/null /var/log/syslog
$ sudo cp /dev/null /var/log/cups/error_log
$ rm /tmp/*.bmp
$ rm /tmp/*.out

==> perform print job now and send us the following logs.
1) /var/log/syslog
2) /var/log/cups/error_log
3) /tmp/*.bmp files
4) /tmp/*.out files
5) hp-check output log

Sorry for lengthy procedure.

Thanks & Regards,
Amarnath

Revision history for this message
IanG (ian-usts) wrote :

I've decided to replace the printer. I shall look in the Ubuntu hardware compatibility lists, pick a few models and try to look at which appears to be the most error-free on here.

Thanks for your efforts

Ian

Revision history for this message
Chad Cloman (waoi-public) wrote :

I've been seeing this same problem as well. I'm running Ubuntu 12.04, a fresh install. My printer (HP LaserJet 1000) doesn't work out of the box for some reason, so I installed hplip 3.12.6 using the automatic installer. The printer now works, but I get this same error message every time I boot up the system.

Note that the error does not occur when I print; rather, it occurs when I restart the system.

I have enabled the logs as requested. I will attach them now.

Revision history for this message
Chad Cloman (waoi-public) wrote :

The syslog

Revision history for this message
Chad Cloman (waoi-public) wrote :

The cups error log

Revision history for this message
Chad Cloman (waoi-public) wrote :

The *.bmp file.

Revision history for this message
Chad Cloman (waoi-public) wrote :

The *.out file

Revision history for this message
Chad Cloman (waoi-public) wrote :

hp-check output log

Revision history for this message
Chad Cloman (waoi-public) wrote :

I have additional information. Doing the "make" and "make install" (that you had me do to enable logging) appears to have fixed the problem -- I'm no longer getting the error message when I start up. In addition, I undid the logging changes and re-installed, and the error is still gone. So perhaps it's something with the automatic installer.

Revision history for this message
Vectorio (gprofos) wrote :

Also see Bug #1069450, you might be experiencing the same issue (not 100% sure though). Maybe if you run hp-toolbox in your command prompt, you might see which lines in the code cause the problem.

Revision history for this message
Vectorio (gprofos) wrote :

I found another workaround - not much of a consolation, but it worked OK for me - open a console (ctrl-alt-t) and type hp-print - select the document you want to print (if it's an OpenOffice document, you first need to export to PDF using the open office export function). This worked for me, but is not exactly an advertisement for Ubuntu as Linux for human beings... sigh...

Revision history for this message
Ian Sinclair (x-ian-x) wrote :

Getting this error on HP 8100 each time I print using hplip 3.13.5

Revision history for this message
Ian Sinclair (x-ian-x) wrote :

Error now seems to turn up whether I print or not, and clicking the box (ignore errors) has no effect. I suspect that a full installation of Xubuntu 12.04 might have some effect, but I don't feel inclined. It's just one of these unfathomable annoyances and its only effect is to make me wonder why so few people are affected.

Revision history for this message
Paul Beesley (paul-beesley42) wrote :

I'm also affected. I was OK until I bought a wireless Photosmart 5520, and the version of hplip that comes with 12.04 didn't support it. Upgrading to 3.13.11 broke the scan facility of my existing 3180 so I had to back it out (hpaio was missing). I have now installed 3.14.1 which is great and gives me printing and scanning from the 5520 and 3180 with no issues. However, I randomly get the error referred to in this log after logging on and it's mildly annoying. hp-check shows no errors or warnings since putting in 3.14.1.

I'm planning on upgrading to 14.04 in May and am hopeful that the problem will go away then. I have another PC running Linux Mint Petra which is based on Ubuntu 13.10 and I have no problem on that one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers