Bug 145335 - Infinite recursion in printconf_conf.py
Infinite recursion in printconf_conf.py
Product: Fedora
Classification: Fedora
Component: system-config-printer (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2005-01-17 10:58 EST by Jan Arne Petersen
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 0.6.120-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-17 13:02:11 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
/usr/share/printconf/util/printconf_conf.py (57.56 KB, text/plain)
2005-01-17 11:16 EST, Tim Waugh
no flags Details

  None (edit)
Description Jan Arne Petersen 2005-01-17 10:58:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041228 Firefox/1.0 Fedora/1.0-8

Description of problem:
When I start system-config-printer and try to edit a HP LaserJet 5MP
system-config-printer freezes with the output below

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. start system-config-printer
2. select HP laserprinter
3. click edit

Additional info:


    p = foomatic_match_printer (alias[a], model)
  File "/usr/share/printconf/util/printconf_conf.py", line 1871, in
    p = foomatic_match_printer (alias[a], model)
  File "/usr/share/printconf/util/printconf_conf.py", line 1871, in
    p = foomatic_match_printer (alias[a], model)
  File "/usr/share/printconf/util/printconf_conf.py", line 1870, in
    if make.lower () == a.lower ():
RuntimeError: maximum recursion depth exceeded in cmp
Comment 1 Tim Waugh 2005-01-17 11:16:13 EST
Created attachment 109866 [details]

Thanks for the report.	Please try this replacement printconf_conf.py.
Comment 2 Jan Arne Petersen 2005-01-17 12:32:40 EST
Fixed the problem.

Comment 3 Tim Waugh 2005-01-17 12:43:55 EST
Great.  Fixed in CVS.  Thanks for testing.

Note You need to log in before you can comment on or make changes to this bug.