From 97820949f5c70ec3cd27701d32ec6e68f18e7cd0 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 30 May 2011 08:33:01 +0000 Subject: [PATCH] minor update --- lib/core/profiling.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/profiling.py b/lib/core/profiling.py index ef92e46f1..a67fd8a78 100644 --- a/lib/core/profiling.py +++ b/lib/core/profiling.py @@ -27,8 +27,10 @@ def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None): import gtk import pydot except ImportError, e: - errMsg = "profiling requires third-party libraries (%s)" % getUnicode(e, UNICODE_ENCODING) + errMsg = "profiling requires third-party libraries (%s). " % getUnicode(e, UNICODE_ENCODING) + errMsg += "quick steps: 1) install http://code.google.com/p/pydot/ 2) sudo apt-get install python-profiler graphviz" logger.error(errMsg) + return if profileOutputFile is None: