commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r11130 - gnuradio/trunk/grc/scripts


From: jblum
Subject: [Commit-gnuradio] r11130 - gnuradio/trunk/grc/scripts
Date: Tue, 26 May 2009 13:45:00 -0600 (MDT)

Author: jblum
Date: 2009-05-26 13:44:59 -0600 (Tue, 26 May 2009)
New Revision: 11130

Modified:
   gnuradio/trunk/grc/scripts/grc
Log:
a more general error for detecting python path and ld path problems

Modified: gnuradio/trunk/grc/scripts/grc
===================================================================
--- gnuradio/trunk/grc/scripts/grc      2009-05-26 18:51:00 UTC (rev 11129)
+++ gnuradio/trunk/grc/scripts/grc      2009-05-26 19:44:59 UTC (rev 11130)
@@ -22,10 +22,10 @@
 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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]