HPLIP-Toolbox won't launch

Asked by Andrew Lopata

I am running Linux Mint 13, with the version of HPLIP that is installed with that distribution. Previously, when using HPLIP Toolbox with my Officejet 6500 A Plus, I have been able to print and scan. But, recently, every time I try to launch the program, it won't start, and I get a this error: ConfigParser.MissingSectionHeaderError: File contains no section headers. (see below)

Traceback (most recent call last):
  File "/usr/bin/hp-check", line 36, in <module>
    from base.g import *
  File "/usr/share/hplip/base/g.py", line 210, in <module>
    user_conf = UserConfig()
  File "/usr/share/hplip/base/g.py", line 176, in __init__
    ConfigBase.__init__(self, prop.user_config_file)
  File "/usr/share/hplip/base/g.py", line 81, in __init__
    self.read()
  File "/usr/share/hplip/base/g.py", line 121, in read
    self.conf.readfp(fp)
  File "/usr/lib/python2.7/ConfigParser.py", line 324, in readfp
    self._read(fp, filename)
  File "/usr/lib/python2.7/ConfigParser.py", line 512, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
ConfigParser.MissingSectionHeaderError: File contains no section headers.
file: /home/askinnerlopata/.hplip/hplip.conf, line: 1
'\xc6\x93\xfa\xa9\xe7\xc0\xca]eP\xd0m\xab)\x9c\xba\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M\xf7\x19kZ]3\xcfo\xf2\xda\xdcE\xd6\x16.M'

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Andrew Lopata
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#2

Hi,

Sorry for late reply,

Seems like hplip.conf file got corrupted. Try the following.
1) remove /home/askinnerlopata/.hplip/hplip.conf file
2) run hp-toolbox

If still not working, please install latest version of HPLIP package as mentioned in http://hplipopensource.com/hplip-web/install/install/index.html

Thanks & Regards,
Amarnath

Revision history for this message
Andrew Lopata (w-asl) said :
#3

Thanks - that worked!