no attributes found in /usr/share/hplip/data/models/models.dat

Asked by David Farrier

Please help me configure my DeskJet 1120c. hp-setup says it fails to find any printers. If I tell hp-setup to search a second time, it freezes.

I was successful using YaST (I am using SuSE 12.1) to set up a gutenprint queue. This works, although not the greatest print quality. However, if I run hp-setup, then the gutenprint driver loses communication with the printer and holds the print jobs until I reboot.

In /var/log/warn, running hp-setup produces:
Sep 22 21:04:25 linux-vuwq python: io/hpmud/model.c 532: no DESKJET_1120C attributes found in /usr/share/hplip/data/models/models.dat
Sep 22 21:04:25 linux-vuwq python: io/hpmud/model.c 543: no DESKJET_1120C attributes found in /usr/share/hplip/data/models/unreleased/unreleased.dat
Sep 22 21:04:25 linux-vuwq python: io/hpmud/pp.c 1242: ignoring hp:/par/DESKJET_1120C?device=/dev/parport0 support=0
Sep 22 21:04:25 linux-vuwq hp-setup: hp-setup[4965]: error: No devices found on bus: par

Yet, I can open /usr/share/hplip/data/models/models.dat with a text editor and find an entry "model3=HP Deskjet 1120c Printer" The version of the file is "Last written on Wed, 28 Sep 2011 11:32:15 by goutam."

Output of hp-check:
HP Linux Imaging and Printing System (ver. 3.11.10)
Dependency/Version Check Utility ver. 14.3

Copyright (c) 2001-9 Hewlett-Packard 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux linux-vuwq 3.1.0-1.2-default #1 SMP Thu Nov 3 14:45:45 UTC 2011 (187dde0) i686 i686 i386 GNU/Linux

Distribution:
suse 12.1

Checking Python version...
OK, version 2.7.2 installed

Checking PyQt 4.x version...
OK, version 4.8.5 installed.

Checking for CUPS...
Status: scheduler is running
Version: 1.5.0
warning: /etc/cups/cupsd.conf file not found or not accessible.

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.2

------------------------
| RUNTIME DEPENDENCIES |
------------------------

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.11.10 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.11.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/manufacturer-PPDs/hplip
ppdbase=/usr/share/cups/model/manufacturer-PPDs
doc=/usr/share/doc/packages/hplip
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/lib/cups/driver

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=no
cups-ppd-install=yes
internal-tag=3.11.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
hpijs-only-build=no
lite-build=no
udev-acl-rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables.

[plugin]
installed=0
eula=0

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 09/22/2012 21:58:52
version = 3.11.10

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

gutenprint_1120
---------------
Type: Unknown
Device URI: parallel:/dev/lp0
PPD: /etc/cups/ppd/gutenprint_1120.ppd
PPD Description: HP DeskJet 1120C - CUPS+Gutenprint v5.2.7
Printer status: printer gutenprint_1120 is idle. enabled since Sat 22 Sep 2012 06:25:14Rendering completed
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

xerox
-----
Type: Unknown
Device URI: socket://192.168.6.211:9100
PPD: /etc/cups/ppd/xerox.ppd
PPD Description: Xerox Phaser 6130N
Printer status: printer xerox is idle. enabled since Sat 15 Sep 2012 10:19:07 AM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

xerox_bw
--------
Type: Unknown
Device URI: socket://192.168.6.211:9100
PPD: /etc/cups/ppd/xerox_bw.ppd
PPD Description: Xerox Phaser 6130N
Printer status: printer xerox_bw is idle. enabled since Sun 09 Sep 2012 02:15:10 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

xerox_draft
-----------
Type: Unknown
Device URI: socket://192.168.6.211:9100
PPD: /etc/cups/ppd/xerox_draft.ppd
PPD Description: Xerox Phaser 6130N
Printer status: printer xerox_draft is idle. enabled since Sun 09 Sep 2012 08:39:52 PM EDT
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
error: Not found. SANE backend 'hpaio' NOT properly setup (needs to be added to /etc/sane.d/dll.conf).

Checking output of 'scanimage -L'...
device `epkowa:libusb:001:004' is a Epson Perfection 4990 flatbed scanner

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

---------------
| USER GROUPS |
---------------

users video

-----------
| SUMMARY |
-----------

error: 8 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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

=> Reboot OS

=> 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.

$su -c "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
David Farrier (farrier) said :
#2

Sanjay Kumar
Thanks for your help, and sorry for slow response. For unrelated reasons, I completely changed operating systems to Debian 6.0.6. So, I am unable to verify if your fix to SuSE 12.1 works. Again thanks for your help, and I no longer need assistance.

Revision history for this message
Bortnyák Roland (antivirtel) said :
#3

`hp-check --fix` is now deprecated. Use `hp-doctor` - it will install all required dependency. It was fixed my scanning problem. Thank you for the tip of hp-check.

Can you help with this problem?

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

To post a message you must log in.