diff options
author | Josh Blum <josh@joshknows.com> | 2012-02-02 13:30:34 -0800 |
---|---|---|
committer | Johnathan Corgan <jcorgan@corganenterprises.com> | 2012-02-02 13:32:02 -0800 |
commit | 63ffe1ade4b582fc76a09139231dbf942c6ec85a (patch) | |
tree | 07f3210f01325fa303f4aadca395d34ae8cf37e0 /grc | |
parent | 89af584a24f470027874e30a2e238de3bb5f0d1f (diff) |
grc: better error for import gr fail
Diffstat (limited to 'grc')
-rwxr-xr-x | grc/scripts/gnuradio-companion | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/grc/scripts/gnuradio-companion b/grc/scripts/gnuradio-companion index a4115c39f3..e76322b4d8 100755 --- a/grc/scripts/gnuradio-companion +++ b/grc/scripts/gnuradio-companion @@ -1,6 +1,6 @@ #!/usr/bin/env python """ -Copyright 2009 Free Software Foundation, Inc. +Copyright 2009-2012 Free Software Foundation, Inc. This file is part of GNU Radio GNU Radio Companion is free software; you can redistribute it and/or @@ -25,7 +25,16 @@ import gtk try: from gnuradio import gr except ImportError, e: d = gtk.MessageDialog(type=gtk.MESSAGE_ERROR, buttons=gtk.BUTTONS_CLOSE, message_format=""" -Cannot import gnuradio. Are your PYTHONPATH and LD_LIBRARY_PATH set correctly?""") +Cannot import gnuradio. + +Is the python path environment variable set correctly? + All OS: PYTHONPATH + +Is the library path environment variable set correctly? + Linux: LD_LIBRARY_PATH + Windows: PATH + MacOSX: DYLD_LIBRARY_PATH +""") d.set_title(str(e)) d.run() exit(-1) |