Discussion:
Issues with XQuartz 2.7.11 on macOS
(too old to reply)
Michael Galloy
2016-11-11 17:58:03 UTC
Permalink
Upgrading from XQuartz from 2.7.9 to 2.7.11 on macOS Sierra broke IDL
widgets for me:

~$ idl
IDL Version 8.5.1, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary
of Harris Corporation.

IDL> xloadct
Error: attempt to add non-widget child "dsm" to parent "idl" which
supports only widgets

The fix that worked for me were the following two commands:

sudo mv /opt/X11/lib/libXt.6.dylib{,.bak}
sudo cp /opt/X11/lib{/flat_namespace,}/libXt.6.dylib

[Downgrading] to 2.7.9 (but not 2.7.10) also worked for me.


[Downgrading]: https://www.xquartz.org/releases/index.html "XQuartz -
Releases"

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Matt Haffner
2016-11-16 16:10:10 UTC
Permalink
Helpful fix--thanks.

This also fixes the hard crash that some widgets are causing (e.g., Coyote routine error messages):

IDL> cgplot, indgen(100), /blah
% Compiled module: CGERRORMSG.
Warning: Fatal Error:
_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL
Segmentation fault: 11

The detailed thread dumps (in ~/Library/Logs/DiagnosticReports/) did point to an interaction between libXt in the new X11 and libXm (Motif library) included with IDL.

Looks like it's a known problem now (as posted in another thread):

http://www.harrisgeospatial.com/Support/HelpArticlesDetail/TabId/219/ArtMID/900/ArticleID/14944/XQuartz-2710-is-Not-Compatible-with-ENVI-531-and-IDL-851.aspx

Their suggestion in that link to update the dylib load path in the "idl" start script works fine too. However, you'd also need to edit the "init" script inside of the /Contents/MacOS/ path if you use the IDE.

mh
Post by Michael Galloy
Upgrading from XQuartz from 2.7.9 to 2.7.11 on macOS Sierra broke IDL
~$ idl
IDL Version 8.5.1, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary
of Harris Corporation.
IDL> xloadct
Error: attempt to add non-widget child "dsm" to parent "idl" which
supports only widgets
sudo mv /opt/X11/lib/libXt.6.dylib{,.bak}
sudo cp /opt/X11/lib{/flat_namespace,}/libXt.6.dylib
[Downgrading] to 2.7.9 (but not 2.7.10) also worked for me.
[Downgrading]: https://www.xquartz.org/releases/index.html "XQuartz -
Releases"
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
g***@googlemail.com
2017-04-13 09:06:52 UTC
Permalink
Post by Michael Galloy
Upgrading from XQuartz from 2.7.9 to 2.7.11 on macOS Sierra broke IDL
~$ idl
IDL Version 8.5.1, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary
of Harris Corporation.
IDL> xloadct
Error: attempt to add non-widget child "dsm" to parent "idl" which
supports only widgets
sudo mv /opt/X11/lib/libXt.6.dylib{,.bak}
sudo cp /opt/X11/lib{/flat_namespace,}/libXt.6.dylib
[Downgrading] to 2.7.9 (but not 2.7.10) also worked for me.
[Downgrading]: https://www.xquartz.org/releases/index.html "XQuartz -
Releases"
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
Fixed it for me to. Thank you so much!
d***@gmail.com
2017-04-26 19:18:30 UTC
Permalink
+1! Thanks!
p***@gmail.com
2017-06-05 17:47:44 UTC
Permalink
Post by Michael Galloy
Upgrading from XQuartz from 2.7.9 to 2.7.11 on macOS Sierra broke IDL
~$ idl
IDL Version 8.5.1, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary
of Harris Corporation.
IDL> xloadct
Error: attempt to add non-widget child "dsm" to parent "idl" which
supports only widgets
sudo mv /opt/X11/lib/libXt.6.dylib{,.bak}
sudo cp /opt/X11/lib{/flat_namespace,}/libXt.6.dylib
[Downgrading] to 2.7.9 (but not 2.7.10) also worked for me.
[Downgrading]: https://www.xquartz.org/releases/index.html "XQuartz -
Releases"
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
you kinda saved me; thank you!!
k***@gmail.com
2017-06-06 15:02:05 UTC
Permalink
Thanks! I needed to upgrade XQuartz for gv to work, which unfortunately broke my idl widgets. This fixed things nicely.
j***@gmail.com
2017-06-07 00:46:15 UTC
Permalink
Post by Michael Galloy
Upgrading from XQuartz from 2.7.9 to 2.7.11 on macOS Sierra broke IDL
~$ idl
IDL Version 8.5.1, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary
of Harris Corporation.
IDL> xloadct
Error: attempt to add non-widget child "dsm" to parent "idl" which
supports only widgets
sudo mv /opt/X11/lib/libXt.6.dylib{,.bak}
sudo cp /opt/X11/lib{/flat_namespace,}/libXt.6.dylib
[Downgrading] to 2.7.9 (but not 2.7.10) also worked for me.
[Downgrading]: https://www.xquartz.org/releases/index.html "XQuartz -
Releases"
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
It fixed for me too, thank very much!
v***@gmail.com
2017-08-17 23:39:42 UTC
Permalink
Thanks a lot. It worked
g***@googlemail.com
2017-11-13 14:49:21 UTC
Permalink
Post by Michael Galloy
Upgrading from XQuartz from 2.7.9 to 2.7.11 on macOS Sierra broke IDL
~$ idl
IDL Version 8.5.1, Mac OS X (darwin x86_64 m64).
(c) 2015, Exelis Visual Information Solutions, Inc., a subsidiary
of Harris Corporation.
IDL> xloadct
Error: attempt to add non-widget child "dsm" to parent "idl" which
supports only widgets
sudo mv /opt/X11/lib/libXt.6.dylib{,.bak}
sudo cp /opt/X11/lib{/flat_namespace,}/libXt.6.dylib
[Downgrading] to 2.7.9 (but not 2.7.10) also worked for me.
[Downgrading]: https://www.xquartz.org/releases/index.html "XQuartz -
Releases"
Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
it worked. thanks!
l***@gmail.com
2017-12-06 11:10:38 UTC
Permalink
Hello...nice to meet you as well

Continue reading on narkive:
Search results for 'Issues with XQuartz 2.7.11 on macOS' (Questions and Answers)
3
replies
Issue installing X11?
started 2007-12-16 16:15:21 UTC
software
Loading...