Bug 444568

Summary: backtrace when dependencies not satisfied
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: system-config-languageAssignee: Pravin Satpute <psatpute>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: i18n-bugs
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-01 09:44:54 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: 438944    

Description Jens Petersen 2008-04-29 07:17:10 UTC
Description of problem:
system-config-language backtraces when there is a yum dependency problem.
It should just give up with a warning.

How reproducible:
every time

Steps to Reproduce:
1. install newer openoffice build from koji say
2. run system-config-language 
3. select a new language group
  
Actual results:
Loaded plugins: refresh-packagekit
Package lohit-fonts-kannada-2.2.0-1.fc9.noarch already installed and latest version
1:openoffice.org-langpack-kn_IN-2.4.0-12.6.fc9.i386 from rawhide has depsolving
problems
  --> Missing Dependency: openoffice.org-core = 1:2.4.0-12.6.fc9 is needed by
package 1:openoffice.org-langpack-kn_IN-2.4.0-12.6.fc9.i386 (rawhide)
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 173, in okClicked
    self.apply()
  File "/usr/share/system-config-language/language_gui.py", line 235, in apply
    install.install_language (self.mainWindow, grpid)                           
  File "/usr/share/system-config-language/gui_install.py", line 385, in
install_language
    self.checkDeps(mainWindow)
  File "/usr/share/system-config-language/gui_install.py", line 154, in checkDeps
    d.set_details(string.join(msgs, "\n"))
NameError: global name 'string' is not defined

Expected results:
no backtrace

Comment 1 Bug Zapper 2008-05-14 10:21:51 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Tony Fu 2008-09-10 03:09:54 UTC
requested by Jens Petersen (#27995)

Comment 3 Pravin Satpute 2008-10-01 09:44:25 UTC
fixed in system-config-language-1.3.2-1