abrt 1.0.8 detected a crash. architecture: i686 cmdline: /usr/bin/python /usr/share/system-config-language/system-config-language.py component: system-config-language executable: /usr/share/system-config-language/system-config-language.py kernel: 2.6.31.5-127.fc12.i686.PAE package: system-config-language-1.3.3-3.fc12 release: Fedora release 12 (Constantine) uuid: 7eaf73c6 backtrace ----- Summary: TB7eaf73c6 urllib.py:1168:unquote:AttributeError: 'NoneType' object has no attribute 'split' Traceback (most recent call last): File "/usr/share/system-config-language/language_gui.py", line 175, in okClicked self.apply() File "/usr/share/system-config-language/language_gui.py", line 281, in apply install.install_language (self.mainWindow, grpid) File "/usr/share/system-config-language/gui_install.py", line 394, in install_language dlpkgs = self.downloadPackages(mainWindow) File "/usr/share/system-config-language/gui_install.py", line 258, in downloadPackages probs = self.downloadPkgs(dlpkgs) File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 1420, in downloadPkgs self.plugins.run('predownload', pkglist=pkglist) File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 177, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/presto.py", line 579, in predownload_hook (problems, more) = downloadPkgs(conduit, pinfo, download_pkgs) File "/usr/lib/yum-plugins/presto.py", line 421, in downloadPkgs cb.start(text=text, size=rebuild_size) File "/usr/lib/python2.6/site-packages/urlgrabber/progress.py", line 127, in start self._do_start(now) File "/usr/share/system-config-language/gui_install.py", line 215, in _do_start txt = _("Downloading %s") %(urllib2.unquote(self.basename),) File "/usr/lib/python2.6/urllib.py", line 1168, in unquote res = s.split('%') AttributeError: 'NoneType' object has no attribute 'split' Local variables in innermost frame: s: None
Created attachment 404588 [details] File: backtrace
Can you provide me more information, as to, how to reproduce this bug? Can you write the sequence of actions that you performed before the crash occurred?
in this bug bracktrace error: "AttributeError: 'NoneType' object has no attribute 'split'" is from python package file /usr/lib/python2.6/urllib.py so reassigning to python
Thanks for reporting this bug Looking at the implementation of unquote() in urlib.py, and the "s: None" reports about local variables in innermost frame, it looks like it was passed None, rather than a string, which suggests that "self.basename" is None, rather than a string. This suggests to me that this is a bug within system-config-language; reassigning component accordingly, and updating the title of this bug. I briefly looked at class dlcb(urlgrabber.progress.BaseMeter): within gui_install.py, and can't see where self.basename is meant to be being set.
(In reply to comment #4) > Thanks for reporting this bug > > Looking at the implementation of unquote() in urlib.py, and the "s: None" > reports about local variables in innermost frame, it looks like it was passed > None, rather than a string, which suggests that "self.basename" is None, rather > than a string. > > This suggests to me that this is a bug within system-config-language; > reassigning component accordingly, and updating the title of this bug. > > I briefly looked at > class dlcb(urlgrabber.progress.BaseMeter): > within gui_install.py, and can't see where self.basename is meant to be being > set. Do you know what (kind of) basename does it expect to be set as? Is there any documentation for progress.py in package urlgrabber. Also do you how to reproduce this bug? Can you write the sequence of actions that you performed before the crash occurred?