Bug 242974
Summary: | hplip: traceback in hp-setup when adding a printer | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bernard Johnson <bjohnson> |
Component: | hplip | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 7 | CC: | sberry |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 1.7.4a-4.fc7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-07-11 15:20:57 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 236808 |
Description
Bernard Johnson
2007-06-06 18:59:13 UTC
This only affects interactive mode i.e. -i The missing paramtere is 'model' by adding that missing parameter you expose the next issue. Which is that when you select the PPD file it uses the PPD file description instead of the PPD file location. Thus it barfs when it can't find the PPD file (since it is trying to do os.file.exists the description of the PPD file). Hope that helps in the fixing. I installed hplip-gui so that I didn't need to do this on the command line. Its a work around for those with a GUI. I added the extra parameter as '' (not having time to look up the interface def.), and it WorksForMe if you have to use interactive mode. If someone can point me to the cups api documents, I would probably produce a real fix ;) *** Bug 246342 has been marked as a duplicate of this bug. *** Please try the test update: yum --enablrepo=updates-testing update 'hplip*' 'hpijs*' 'libsane-hpaio*' hp-setup -i 192.168.1.11 HP Linux Imaging and Printing System (ver. x.x.x) Printer/Fax Setup Utility ver. 4.5 Copyright (c) 2001-7 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. error: I/O Error: /root/data/models/models.dat (No such file or directory) Setting up device: hp:/net/HP_Color_LaserJet_2840?ip=192.168.1.11 (Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.) error: I/O Error: /root/data/models/models.dat (No such file or directory) error: Unsupported printer model. What does 'cat /etc/hp/hplip.conf' say? $ cat /etc/hp/hplip.conf # hplip.conf [hpiod] # port=0 (dynamic IP port) port=2208 [hpssd] # port=0 (dynamic IP port) port=2207 [hplip] version=1.7.4a jdprobe=0 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/foomatic/db/source/PPD/HP ppdbase=/usr/share/ppd doc=/usr/share/doc/hplip-1.7.4a # Following values are determined at configure time and cannot be changed. [configure] network-build=1 pp-build=1 gui-build=1 scanner-build=1 fax-build=1 cups11-build=0 installinitd= chkconfig=/sbin/chkconfig internal-tag=1.7.4.13 hplip-1.7.4a-4.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. (In reply to comment #8) > hplip-1.7.4a-4.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. That seems to have fixed it. hplip-1.7.4a-4.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |