Bug 222893

Summary: package installation freeze in ncurses (yast -i)
Product: [openSUSE] openSUSE 10.2 Reporter: Michal Zugec <mzugec>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P5 - None    
Version: Beta 2 plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: screenshot
yast log

Description Michal Zugec 2006-11-21 08:53:31 UTC
When installting libtool package in ncurses
the UI frozen (proabably tries to show very long message) - see attachments
Comment 1 Michal Zugec 2006-11-21 08:56:21 UTC
Created attachment 106352 [details]
screenshot
Comment 2 Michal Zugec 2006-11-21 09:00:00 UTC
Created attachment 106353 [details]
yast log

See last line
Comment 4 Ladislav Slezák 2006-11-23 12:20:16 UTC
For me it doesn't freeze but shows a weird dialog, after pressing [Enter] I can continue. And it happens only when you have a file with the same name as the required package in the current directory => MINOR.

The label (with failed packages) is too long, the solution is to use Report::LongError() instead of Report::Error():


Index: src/clients/sw_single.ycp
===================================================================
--- src/clients/sw_single.ycp   (revision 34559)
+++ src/clients/sw_single.ycp   (working copy)
@@ -341,7 +341,7 @@
                    string missing = mergestring (nonexisting, ", ");
                    y2error ("Tags %1 aren't available",
                        mergestring (nonexisting, ", "));
-                   Report::Error (sformat (
+                   Report::LongError (sformat (
                        // error report, %1 is a list of packages
                        _("Following packages haven't been found on the medium:\n%1"),
                        mergestring (nonexisting, "\n")));
Comment 5 Ladislav Slezák 2006-11-29 07:41:49 UTC
Fixed in SVN (yast2-packager-2.15.0)