diff options
author | Johannes Schmitz <johannes.schmitz1@gmail.com> | 2019-03-02 14:24:51 +0100 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2019-03-08 20:01:09 +0100 |
commit | 181dbab209c406b72921baf673ae66d09479d2b7 (patch) | |
tree | 5c9ce77815bc3b10916cc138f669d65393a97860 | |
parent | 0ce3596b640da4fe680372abb45787613c7d58e0 (diff) |
gr-utils: Improve error message, avoid user confusion through error masking
-rwxr-xr-x | gr-utils/python/utils/gr_plot_const | 3 | ||||
-rwxr-xr-x | gr-utils/python/utils/gr_plot_iq | 3 | ||||
-rwxr-xr-x | gr-utils/python/utils/gr_plot_qt | 3 |
3 files changed, 6 insertions, 3 deletions
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: |