Hide Forgot
Description of problem: When running with non-English locales, selection of subscription-manager in firstboot fails. Version-Release number of selected component (if applicable): # rpm -q rhn-setup-gnome subscription-manager-firstboot rhn-setup-gnome-1.0.0-53.el6.noarch subscription-manager-firstboot-0.95.4-1.el6.i686 How reproducible: Deterministic. Steps to Reproduce: 1. Make sure rhn-setup-gnome and subscription-manager-firstboot are installed on your RHEL 6.1. 2. Run LANG=de_DE.UTF-8 firstboot 3. Get to Software-Updates einrichten 4. Select Yes, I'd like to ... 5. Click Vor. 6. Select I'd like to ..., make sure RHN Classic Mode is shown but not checked. 7. Click Vor. Actual results: Traceback window firstboot 1.110.10 exception report Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 105, in _nextClicked self.advance() File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 148, in advance result = module.apply(self, self.testing) File "/usr/share/rhn/up2date_client/firstboot/rhn_choose_server_gui.py", line 56, in apply interface.moveToPage(moduleTitle=_("Entitlement Platform Registration")) File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 353, in moveToPage pageNum = self.titleToPageNum(moduleTitle, self.moduleList) File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 473, in titleToPageNum raise SystemError, _("No module exists with the title %s.") % moduleTitle SystemError: Es existiert kein Modul mit dem Titel Berechtigungs-Plattform-Registrierung. Expected results: No traceback. Additional info:
The problem is caused by the fact that rhn_choose_server_gui.py does interface.moveToPage(moduleTitle=_("Entitlement Platform Registration")) -- selecting the subscription manager page to jump to using its localized name. And presumably we (rhn-client-tools) localize it differently than subscription manager. We need better way to find the page (firstboot submodule) to jump to.
Fix is in Spacewalk master, 5fe434f0802e6d242d706870ff5c79c9e360ca55.
Verified in rhn-client-tools-1.0.0-54.el6
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Choosing subscription-manager in firstboot fails in non-English locale failed. This was due different translation in subscription-manager and rhn-client-tools. This was fixed by not depending on translated string.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0565.html
*** Bug 728818 has been marked as a duplicate of this bug. ***
*** Bug 744847 has been marked as a duplicate of this bug. ***