Bug 107965

Summary: can't add printer uses Omni drivers
Product: [Fedora] Fedora Reporter: Dmitry Kamenka <traiden>
Component: foomaticAssignee: Tim Waugh <twaugh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: marius.andreiana
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 3.0.2-19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-19 20:16:12 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: 100644    

Description Dmitry Kamenka 2003-10-25 05:09:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
When I add a printer in redhat-config-printer that uses Omni drivers I get error 
"Cannot read file /usr/share/foomatic/db/source/driver/omni-xml.xml!
Driver file /usr/share/foomatic/db/source/driver/omni-xml.xml corrupted,
missing, or not readable!"

File /usr/share/foomatic/db/source/driver/omni-xml.xml doesn't exist.
It doesn't present in Omni or foomatic rpms.

Version-Release number of selected component (if applicable):
Omni-0.9.0-4 foomatic-3.0.0-8

How reproducible:
Always

Steps to Reproduce:
1. Run redhat-config-printer
2. Try to add some printer uses Omni drivers
3. When you press the finish button you get the error on console


Actual Results:  I press finish button but printer isn't added

Comment 1 Tim Waugh 2003-10-25 12:30:33 UTC
Which printer do you add?

Comment 2 Dmitry Kamenka 2003-10-25 14:59:08 UTC
I add "Generic 9-pin 80 Col", "Generic 9-pin 136 Col" and get error. On other
Omni drivers I get the error too.

I get the following error:
Cannot read file /usr/share/foomatic/db/source/driver/omni-xml.xml!
Driver file /usr/share/foomatic/db/source/driver/omni-xml.xml corrupted,
missing, or not readable!
Traceback (most recent call last):
  File "/usr/share/printconf/util/addQueue.py", line 1238, in finish
    self.queue_data, driver_tuple)
  File "/usr/share/printconf/util/printconf_conf.py", line 968, in construct_queue
    printer.id, gs_driver)
  File "/usr/share/printconf/util/printconf_conf.py", line 807, in
foomatic_set_default_page_size
    for opt in drv.options.values():
AttributeError: 'NoneType' object has no attribute 'options'

Comment 3 Tim Waugh 2003-10-27 12:57:36 UTC
Confirmed.

Comment 4 Tim Waugh 2003-10-27 14:19:24 UTC
Should be fixed in foomatic-3.0.0-9.  Please verify that it fixes the problem
for you when it appears in rawhide in the next day or so.

Comment 5 Marius Andreiana 2005-08-19 20:16:12 UTC
The information we've requested above is required in order
to review this problem report further and diagnose/fix the
issue if it is still present.  Since there haven't been any
updates to the report in quite a long time now after we've
requested additional information, we're assuming the problem
is either no longer present in our current OS release, or
that there is no longer any interest in tracking the problem.

Setting status to "CURRENTRELEASE", however if you still
experience this problem after updating to our latest Fedora
Core release and are still interested in Red Hat tracking
the issue, and assisting in troubleshooting the problem,
please feel free to provide the information requested above,
and reopen the report.

Thanks in advance.

PS: Omni drivers are no longer in FC4