Issues with XQuartz 2.7.11 on macOS [message #93863] |
Fri, 11 November 2016 09:58  |
Michael Galloy
Messages: 1114 Registered: April 2006
|
Senior Member |
|
|
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)
|
|
|
Re: Issues with XQuartz 2.7.11 on macOS [message #93891 is a reply to message #93863] |
Wed, 16 November 2016 08:10   |
Matt Haffner
Messages: 34 Registered: October 2000
|
Member |
|
|
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/T abId/219/ArtMID/900/ArticleID/14944/XQuartz-2710-is-Not-Comp atible-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
On Friday, November 11, 2016 at 11:55:59 AM UTC-6, Mike Galloy wrote:
> 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)
|
|
|
Re: Issues with XQuartz 2.7.11 on macOS [message #94333 is a reply to message #93863] |
Thu, 13 April 2017 02:06   |
ggiardin
Messages: 1 Registered: April 2017
|
Junior Member |
|
|
On Friday, November 11, 2016 at 6:55:59 PM UTC+1, Mike Galloy wrote:
> 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)
Fixed it for me to. Thank you so much!
|
|
|
|
|
|
Re: Issues with XQuartz 2.7.11 on macOS [message #94483 is a reply to message #93863] |
Tue, 06 June 2017 17:46   |
jingucla
Messages: 1 Registered: June 2017
|
Junior Member |
|
|
On Friday, November 11, 2016 at 9:55:59 AM UTC-8, Mike Galloy wrote:
> 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)
It fixed for me too, thank very much!
|
|
|
|
|
|