summaryrefslogtreecommitdiff
path: root/grc/scripts
diff options
context:
space:
mode:
authorjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>2009-05-26 19:44:59 +0000
committerjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>2009-05-26 19:44:59 +0000
commite3cd8f7d59aad0ffd51c417b2623ab02588fdb08 (patch)
treeca7f688ce55e150a4b4744f868264e263da14e39 /grc/scripts
parentd8be62824c35b2eb07ff502ba879ae0bb7aedb26 (diff)
a more general error for detecting python path and ld path problems
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11130 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/scripts')
-rwxr-xr-xgrc/scripts/grc4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/scripts/grc b/grc/scripts/grc
index efbcfd2951..d0b8099f1b 100755
--- a/grc/scripts/grc
+++ b/grc/scripts/grc
@@ -22,10 +22,10 @@ import pygtk
pygtk.require('2.0')
import gtk
-try: import gnuradio
+try: from gnuradio import gr
except ImportError, e:
d = gtk.MessageDialog(type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_CLOSE, message_format="""
-Cannot find module gnuradio. Is your PYTHONPATH set correctly?""")
+Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""")
d.set_title(str(e))
d.run()
exit(-1)