Error message from hplip upon startup

Asked by Chrisfs

I have a HP photosmart printer 1215 hooked up to my PC via a usb cable.
Starting with Ubuntu 12.04, shortly after my desktop appears I will get a window that says
System Program Problem detected and given the option to cancel or report problem.
If I choose report problem, I get a second window that says
Sorry Ubuntu 12.04 experienced an iternal error.
executable path usr/share/hplip/config_usb_printer.py

And then another window that says
Unable to determine the package or source package name
When I click 'ok' to that window, all the windows go away.

However, I can print to my printer just fine.

When I try to run usr/share/hplip/config_usb_printer.py in IDLE IDE, it stops at the line
From base.g import *
because it says there is no module base.g

As I said, I seem to be able to print, but having this error come up every time I started my desktop pc and sometimes while in the middle of doing things is disconcerting.
What is going wrong here ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#1

Which version hplib are you using and from what source is it?
The version I have install here, does not contain a config_usb_printer.py but the base.g module.

Revision history for this message
Chrisfs (chrisfs59) said :
#2

Synaptic says I have no version installed. Now that I think more on it, this may be a case where I tried to uninstall something (earlier version of Hplip had a problem) and perhaps didn't do it right.
I'll reinstall and see what that does.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Can you please give the output of:

lsb_release -a; uname -a; apt-cache policy hplip

Thanks

Revision history for this message
Chrisfs (chrisfs59) said :
#4

I haven't reinstalled yet.
The current output of that line is

LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:cxx-4.0-ia32:cxx-4.0-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:desktop-4.0-ia32:desktop-4.0-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-3.2-ia32:printing-3.2-noarch:printing-4.0-ia32:printing-4.0-noarch:qt4-3.1-ia32:qt4-3.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux chris-home 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012 i686 i686 i386 GNU/Linux
hplip:
  Installed: (none)
  Candidate: 3.12.2-1ubuntu3.1
  Version table:
     3.12.2-1ubuntu3.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
     3.12.2-1ubuntu3 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

cd $HOME
wget http://prdownloads.sourceforge.net/hplip/hplip-3.12.9.run
chmod +x ./hplip-3.12.9.run
./hplip-3.12.9.run

Get the latest HPLIP.....may help

Can you help with this problem?

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

To post a message you must log in.