Author: jsuchome Date: Thu Oct 1 16:53:52 2009 New Revision: 58891 URL: http://svn.opensuse.org/viewcvs/yast?rev=58891&view=rev Log: - added more error reporting popups (bnc#542088) - 2.18.7 Modified: trunk/add-on-creator/VERSION trunk/add-on-creator/package/yast2-add-on-creator.changes trunk/add-on-creator/src/AddOnCreator.ycp Modified: trunk/add-on-creator/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/VERSION?rev=58891&r1=58890&r2=58891&view=diff ============================================================================== --- trunk/add-on-creator/VERSION (original) +++ trunk/add-on-creator/VERSION Thu Oct 1 16:53:52 2009 @@ -1 +1 @@ -2.18.6 +2.18.7 Modified: trunk/add-on-creator/package/yast2-add-on-creator.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/package/yast2-add-on-creator.changes?rev=58891&r1=58890&r2=58891&view=diff ============================================================================== --- trunk/add-on-creator/package/yast2-add-on-creator.changes (original) +++ trunk/add-on-creator/package/yast2-add-on-creator.changes Thu Oct 1 16:53:52 2009 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Oct 1 16:46:55 CEST 2009 - jsuchome@suse.cz + +- added more error reporting popups (bnc#542088) +- 2.18.7 + +------------------------------------------------------------------- Thu Sep 3 14:16:49 CEST 2009 - jsuchome@suse.cz - added keywords to desktop file Modified: trunk/add-on-creator/src/AddOnCreator.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/add-on-creator/src/AddOnCreator.ycp?rev=58891&r1=58890&r2=58891&view=diff ============================================================================== --- trunk/add-on-creator/src/AddOnCreator.ycp (original) +++ trunk/add-on-creator/src/AddOnCreator.ycp Thu Oct 1 16:53:52 2009 @@ -2216,7 +2216,9 @@ } if (!Package::Install ("obs-productconverter")) { - y2error ("obs-productconverter not installed, not generating -release"); + // error report + Report::Error (_("Failed to install obs-productconverter package. +Release package will not be generated.")); return false; } if (!FileUtils::Exists (full_data_path)) @@ -2339,7 +2341,10 @@ out = (map) SCR::Execute (.target.bash_output, cmd, $["LANG":"C"]); if (out["exit"]:0 != 0) { - y2error ("command '%1' failed with: \n%2", cmd, out["stderr"]:""); + // error popup + Report::Error (sformat (_("Build of release package failed with +'%1'."), out["stderr"]:"")); + y2error ("command '%1' failed with: \n%2", cmd, out); } else { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org