Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9782094

Browse files
committed
minor update
1 parent d5ede6a commit 9782094

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/core/profiling.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ def profile(profileOutputFile=None, dotOutputFile=None, imageOutputFile=None):
2727
import gtk
2828
import pydot
2929
except ImportError, e:
30-
errMsg = "profiling requires third-party libraries (%s)" % getUnicode(e, UNICODE_ENCODING)
30+
errMsg = "profiling requires third-party libraries (%s). " % getUnicode(e, UNICODE_ENCODING)
31+
errMsg += "quick steps: 1) install http://code.google.com/p/pydot/ 2) sudo apt-get install python-profiler graphviz"
3132
logger.error(errMsg)
33+
3234
return
3335

3436
if profileOutputFile is None:

0 commit comments

Comments
 (0)