Page 1 of 1

GNU Radio could not open display

Posted: Thu May 04, 2017 11:40 am
by txjacob
Hello all,
I'm trying to install GNU Radio on MacOS per the instructions on the wiki. However, after installing xquartz, and gnuradio through macports I get the following error when starting gnuradio-companion:

Code: Select all

** (process:14838): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:14838): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:14838): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/opt/local/bin/gnuradio-companion", line 97, in <module>
    check_gtk()
  File "/opt/local/bin/gnuradio-companion", line 64, in check_gtk
    die(err, "Failed to initialize GTK. If you are running over ssh, "
  File "/opt/local/bin/gnuradio-companion", line 42, in die
    import gtk
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 69, in <module>
    _init()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 57, in _init
    warnings.warn(str(e), _gtk.Warning)
gtk.GtkWarning: could not open display
Any help is appreciate.

Re: GNU Radio could not open display

Posted: Thu May 04, 2017 11:58 am
by txjacob
Well, I fixed it. Turns out xQuartz is not starting automatically for some reason...

Re: GNU Radio could not open display

Posted: Fri Oct 20, 2017 6:59 pm
by FawkesTEAR
I'm experiencing the same issue. How were you able to fix it?