[Bug 211392] New: Better error message instead of "the ncurses frontend is installed but does not work"
https://bugzilla.novell.com/show_bug.cgi?id=211392 Summary: Better error message instead of "the ncurses frontend is installed but does not work" Product: openSUSE 10.2 Version: Alpha 5 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: andreas.hanke@gmx-topmail.de QAContact: jsrain@novell.com If parts of yast2 or its dependencies are not correctly installed, yast2 currently reports: warning: the ncurses frontend is installed but does not work You need to install yast2-ncurses to use the YaST2 text mode interface This is misleading because - The message "does not work" is not detailed enough - "You need to install yast2-ncurses" is not always correct because yast2-ncurses might be installed just fine Suggestions: - The script uses ldconfig to determine if the frontend is correctly installed, show the ldconfig errors in addition to the "does not work" text - Change the message "You need to install yast2-ncurses" to something like "You need to install yast2-ncurses and its dependencies" or "You need to verify yast2-ncurses" or give a hint about "rpm -V yast2-ncurses" -- 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=211392 ------- Comment #1 from andreas.hanke@gmx-topmail.de 2006-10-10 14:48 MST ------- To reproduce: % rm /usr/lib*/libyui.so.2 % yast2 warning: the qt frontend is installed but does not work warning: the ncurses frontend is installed but does not work You need to install yast2-ncurses to use the YaST2 text mode interface I would prefer a message like: % rm /usr/lib*/libyui.so.2 % yast2 warning: the qt frontend is installed but does not work libyui.so.2 => not found warning: the ncurses frontend is installed but does not work libyui.so.2 => not found You need to install yast2-ncurses to use the YaST2 text mode interface The attached patch implements that - in a ruther ugly way, it is meant to demonstrate what I mean. The reason is, with the current implementation, the user never reaches a point where he can see what's wrong. -- 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=211392 ------- Comment #2 from andreas.hanke@gmx-topmail.de 2006-10-10 14:49 MST ------- Created an attachment (id=101167) --> (https://bugzilla.novell.com/attachment.cgi?id=101167&action=view) Demonstration patch -- 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=211392 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #101167|0 |1 is obsolete| | ------- Comment #3 from andreas.hanke@gmx-topmail.de 2006-10-10 20:09 MST ------- Created an attachment (id=101183) --> (https://bugzilla.novell.com/attachment.cgi?id=101183&action=view) Maybe nicer -- 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=211392 ------- Comment #4 from andreas.hanke@gmx-topmail.de 2006-10-10 23:49 MST ------- The other part is the message in /sbin/yast2, line 189. The current message "You need to install yast2-ncurses to use the YaST2 text mode interface" is appropriate under the assumption that the user can only reach this point if he is in text mode and yast2-ncurses does not work. But that assumption is not correct, the user can as well reach this point if he is in graphical mode and none of either yast2-ncurses or yast2-qt works. -- 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=211392 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |yast2-maintainers@suse.de |screening@forge.provo.novell| |.com | -- 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=211392 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |mvidner@novell.com ------- Comment #5 from locilka@novell.com 2006-10-16 02:15 MST ------- rpm -qf /usr/lib/YaST2/bin/yast2-funcs -> yast2 mvidner did the very last entry there :) -- 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=211392 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #6 from mvidner@novell.com 2006-10-16 03:26 MST ------- Comment 3: good idea, applied. Comment 4: I'd like to redirect the output of the entire script to xmessage in such situations, but I haven't found out how exactly -- 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=211392 ------- Comment #7 from mvidner@novell.com 2006-10-25 08:08 MST ------- OK, the key is "exec &> >(xmessage)", but it doesnt seem to work with kdesu/gnomesu. -- 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=211392 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #8 from mvidner@novell.com 2007-04-12 08:40 MST ------- Anyway, submitted in yast2-2.15.27. -- 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=211392#c9 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |casualprogrammer@yahoo.com --- Comment #9 from Klaus Kämpf <kkaempf@novell.com> 2007-08-30 03:31:40 MST --- *** Bug 265263 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=265263 -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=211392#c10 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@novell.com Severity|Enhancement |Normal Status|RESOLVED |REOPENED Resolution|FIXED | Target Milestone|--- |openSUSE 10.3 --- Comment #10 from Klaus Kämpf <kkaempf@novell.com> 2007-08-30 03:32:57 MST --- Apparently, its not completely fixed since xmessage popups are shown too often (see bug 265263 for the full thread) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=211392#c11 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |snwint@novell.com Component|YaST2 |YaST2 Product|openSUSE 10.2 |openSUSE 10.3 Target Milestone|openSUSE 10.3 |--- Version|Alpha 5 |Beta 2 --- Comment #11 from Steffen Winterfeldt <snwint@novell.com> 2007-08-30 03:41:22 MST --- Nice try, Klaus. :-) Adjusting severity to match bug 265263. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=211392 Steffen Winterfeldt <snwint@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Critical -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=211392#c12 Aaron Bockover <abockover@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |abockover@novell.com --- Comment #12 from Aaron Bockover <abockover@novell.com> 2007-08-30 10:08:58 MST --- This bug is not a dup of bug 265263. That bug is much more broad and there are other issues with it that need to be discussed separately (on that bug). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=211392#c13 --- Comment #13 from Martin Vidner <mvidner@novell.com> 2007-09-02 14:25:01 MST --- Created an attachment (id=161388) --> (https://bugzilla.novell.com/attachment.cgi?id=161388) yast2-ui.diff Even though Klaus reopened this bug for a wrong reason... (In reply to comment #0 from Andreas Hanke)
- Change the message "You need to install yast2-ncurses" to something like "You need to install yast2-ncurses and its dependencies" or "You need to verify yast2-ncurses" or give a hint about "rpm -V yast2-ncurses"
I overlooked that originally. This patch should be better. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=211392#c14 Martin Vidner <mvidner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #14 from Martin Vidner <mvidner@novell.com> 2007-09-03 01:16:29 MST --- Submitted in yast2-2.15.52. -- 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.
participants (1)
-
bugzilla_noreply@novell.com