Bug 858168

Summary: calltrace during language package downloading
Product: [Fedora] Fedora Reporter: Qian Cai <qcai>
Component: system-config-languageAssignee: anish <apatil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 17CC: apatil, awilliam, i18n-bugs, kparal, nav007, petersen, psatpute, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:02:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
experimental patch none

Description Qian Cai 2012-09-18 08:53:40 UTC
Created attachment 613901 [details]
experimental patch

Description of problem:
# system-config-language 
已加载插件:presto, refresh-packagekit
Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 179, in okClicked
  File "/usr/share/system-config-language/language_gui.py", line 295, in apply
    install.install_language (self.mainWindow, grpid)                           
  File "/usr/share/system-config-language/gui_install.py", line 423, in install_language
    dlpkgs = self.downloadPackages(mainWindow)
  File "/usr/share/system-config-language/gui_install.py", line 290, in downloadPackages
    probs = self.downloadPkgs(dlpkgs)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2313, in downloadPkgs
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2241, in parallel_wait
  File "/usr/lib/python2.7/site-packages/urlgrabber/grabber.py", line 2188, in perform
    opts.progress_obj.start(text=opts.text, now=opts._progress)
  File "/usr/lib/python2.7/site-packages/urlgrabber/progress.py", line 127, in start
  File "/usr/share/system-config-language/gui_install.py", line 247, in _do_start
    txt = _("Downloading %s") %(urllib2.unquote(self.basename),)
  File "/usr/lib64/python2.7/urllib.py", line 1204, in unquote
    res = s.split('%')

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

How reproducible:

Steps to Reproduce:
1. select a language that need to download some packages for the language group support. For example, zh_CN.UTF-8. When it tries to download the packages, it calls  txt = _("Downloading %s") %(urllib2.unquote(self.basename),), but self.basename is None (self is gui_install.dlcb instance at 0x4dde050).

Additional info:
The following patch makes it work again. Feel free to make any chance to it if needed.

Comment 1 Fedora Update System 2012-09-20 11:26:30 UTC
system-config-language-1.3.5-13.fc17 has been submitted as an update for Fedora 17.

Comment 2 Fedora Update System 2012-09-20 11:26:55 UTC
system-config-language-1.3.5-13.fc18 has been submitted as an update for Fedora 18.

Comment 3 Fedora Update System 2012-09-21 23:56:34 UTC
Package system-config-language-1.3.5-13.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-language-1.3.5-13.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 4 Kamil Páral 2012-10-23 15:02:01 UTC
CAI, could you please explain why do you think this should block Fedora 18 release? Does it affect the installer somehow? Thanks.

Comment 5 Fedora Update System 2012-11-02 12:52:11 UTC
system-config-language-1.3.5-14.fc18 has been submitted as an update for Fedora 18.

Comment 6 Fedora Update System 2012-11-02 12:52:46 UTC
system-config-language-1.3.5-14.fc17 has been submitted as an update for Fedora 17.

Comment 7 Adam Williamson 2012-11-22 19:40:06 UTC
The update for F18 has been pushed stable now. Changing to 17 and dropping blocker nomination.

Comment 8 Fedora Update System 2012-12-20 15:02:58 UTC
system-config-language-1.3.5-14.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.