From 181dbab209c406b72921baf673ae66d09479d2b7 Mon Sep 17 00:00:00 2001 From: Johannes Schmitz <johannes.schmitz1@gmail.com> Date: Sat, 2 Mar 2019 14:24:51 +0100 Subject: gr-utils: Improve error message, avoid user confusion through error masking --- gr-utils/python/utils/gr_plot_const | 3 ++- gr-utils/python/utils/gr_plot_iq | 3 ++- gr-utils/python/utils/gr_plot_qt | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'gr-utils/python') diff --git a/gr-utils/python/utils/gr_plot_const b/gr-utils/python/utils/gr_plot_const index 6d0484391e..9b7172e00e 100755 --- a/gr-utils/python/utils/gr_plot_const +++ b/gr-utils/python/utils/gr_plot_const @@ -28,7 +28,8 @@ try: from pylab import * from matplotlib.font_manager import fontManager, FontProperties except ImportError: - print("Please install Matplotlib to run this script (http://matplotlib.sourceforge.net/)") + print("Please install Python Matplotlib (http://matplotlib.sourceforge.net/) and \ + Python TkInter https://wiki.python.org/moin/TkInter to run this script") raise SystemExit(1) from argparse import ArgumentParser diff --git a/gr-utils/python/utils/gr_plot_iq b/gr-utils/python/utils/gr_plot_iq index b767ae632f..9d89dbb2b9 100755 --- a/gr-utils/python/utils/gr_plot_iq +++ b/gr-utils/python/utils/gr_plot_iq @@ -27,7 +27,8 @@ import numpy try: from pylab import * except ImportError: - print("Please install Matplotlib to run this script (http://matplotlib.sourceforge.net/)") + print("Please install Python Matplotlib (http://matplotlib.sourceforge.net/) and \ + Python TkInter https://wiki.python.org/moin/TkInter to run this script") raise SystemExit(1) from argparse import ArgumentParser diff --git a/gr-utils/python/utils/gr_plot_qt b/gr-utils/python/utils/gr_plot_qt index 6a23e2b7af..5b9f9cf90a 100755 --- a/gr-utils/python/utils/gr_plot_qt +++ b/gr-utils/python/utils/gr_plot_qt @@ -4,7 +4,8 @@ import numpy try: from matplotlib import mlab except ImportError: - print("Please install Matplotlib to run this script (http://matplotlib.sourceforge.net)") + print("Please install Python Matplotlib (http://matplotlib.sourceforge.net/) and \ + Python TkInter https://wiki.python.org/moin/TkInter to run this script") raise SystemExit(1) try: -- cgit v1.2.3