[Bug 204791] New: factory install: No languages shown in license dialog
https://bugzilla.novell.com/show_bug.cgi?id=204791 Summary: factory install: No languages shown in license dialog Product: openSUSE 10.2 Version: Alpha 4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: locilka@novell.com ReportedBy: aj@novell.com QAContact: jsrain@novell.com HAve a look at the screenshot and then please start a factory install: The license dialog offers the language pull down but does not show a language as default (and sometimes even the complete pull down is empty). This works with CD installs but fails with factory and stable-x86. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #1 from aj@novell.com 2006-09-11 00:56 MST ------- Created an attachment (id=98301) --> (https://bugzilla.novell.com/attachment.cgi?id=98301&action=view) license.png -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |aj@novell.com ------- Comment #2 from locilka@novell.com 2006-09-11 03:46 MST ------- YaST logs, please :) Maybe it doesn't display "any" language in case of language "fallback". But the
language name< should be displayed anyway...
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #3 from aj@novell.com 2006-09-11 06:37 MST ------- Created an attachment (id=98320) --> (https://bugzilla.novell.com/attachment.cgi?id=98320&action=view) logfiles -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #4 from aj@novell.com 2006-09-11 06:37 MST ------- Check the screen shot - there's no license shown... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #5 from locilka@novell.com 2006-09-11 07:47 MST ------- Yes, I've checked it before :)))) Thanks for the log, it's obviously an error: ProductLicense.ycp:38 Can't find YCP client component languages: No such file or directory ProductLicense.ycp:40 Argument (lang_names_orig) to mapmap(...) is nil ProductLicense.ycp:46 Bracket assignment 'nil'['""'] = '"English"', not to list, map, or term ProductLicense.ycp:47 Bracket assignment 'nil'['"en"'] = '"English"', not to list, map, or term ProductLicense.ycp:54 Argument (lang_names) to foreach(...) is nil BTW: Andreas, the license talks about "openSUSE 10.1" ;) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #6 from aj@novell.com 2006-09-11 08:45 MST ------- No problem with 10.1 - that's just not changed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |locilka@novell.com AssignedTo|locilka@novell.com |snwint@novell.com Status|ASSIGNED |NEW ------- Comment #7 from locilka@novell.com 2006-09-11 08:51 MST ------- I see what's wrong there, file '/usr/share/YaST2/clients/languages.ycp' is missing, but it is required by the yast2-installation.spec file (yast2-country). Steffen, please, add that file into the inst-sys. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|snwint@novell.com |locilka@novell.com Status|NEW |ASSIGNED ------- Comment #8 from locilka@novell.com 2006-09-11 09:05 MST ------- Wait, it seems I was wrong. The file is actually there. I'll run some more checks. I don't like the current source code either :) so I'll probably change it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #9 from locilka@novell.com 2006-09-12 09:26 MST ------- - Fixed displaying license: Language name should always be either shown or the license is disabled as invalid; If there are both license.en.txt and license.txt, one of them is hidden because they have the very same content; An installation language is also pre-selected as a language for a license (if such exists). - Fixed initializing the known languages via WFM::call("languages") (#204791). Will be fixed in yast2-installation-2.13.150 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #10 from locilka@novell.com 2006-09-12 09:30 MST ------- Created an attachment (id=98452) --> (https://bugzilla.novell.com/attachment.cgi?id=98452&action=view) New license dialog -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #11 from aj@novell.com 2006-09-12 09:47 MST ------- Thanks! I'll test it once you submit it ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #12 from jsuchome@novell.com 2006-09-13 00:06 MST ------- Lukas, the languages.ycp was obsoleted by last change of yast2-country (2.13.34). We must come with better solution. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED ------- Comment #13 from locilka@novell.com 2006-09-13 00:14 MST ------- Well, I didn't like it either but... :) What's a better solution, have you got any idea? What I need is to get a language name from these strings: "de_DE", "zh_CN" or "de", "zh". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #14 from locilka@novell.com 2006-09-13 00:16 MST ------- ..and these language names should be translated to the current installation language ... or, maybe every string could be translated to its translation like it is in the first screen of the installation... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #15 from jsuchome@novell.com 2006-09-13 00:21 MST ------- The best would be to read such data from Language module, but AFAIK yast2-country requires yast2-installation and not vice versa. So you can read all that files yast2-country now reads (see F301031), or I can make some lightweighted languages.ycp from those files.... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|locilka@novell.com |jsuchome@novell.com ------- Comment #16 from jsuchome@novell.com 2006-09-13 01:18 MST ------- I was wrong, you can use Language module. In yast2-country, I will implement the function Language::GetLanguagesMap: global map<string, list> GetLanguagesMap (boolean force) that will return exactly what you need (in the same format as languages.ycp used to return). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 ------- Comment #17 from locilka@novell.com 2006-09-13 01:53 MST ------- This will be in yast2-installation-2.13.151: - Calling languages.ycp client has been changed to a function call Language::GetLanguagesMap (#204791). - Added new Requirement: yast2-country >= 2.13.35 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 jsuchome@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsuchome@novell.com |locilka@novell.com Status|ASSIGNED |NEW ------- Comment #18 from jsuchome@novell.com 2006-09-13 02:00 MST ------- yast2-country sumbited. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=204791 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #19 from locilka@novell.com 2006-09-13 02:03 MST ------- So, according to comments #17 and #18 -> FIXED (again ;)...) (Installation will be tested) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com