Difference between revisions of "Known Issues macOS"

From SPEDAS Wiki
Jump to: navigation, search
Line 2: Line 2:
 
There are a few known issues with IDL widgets and macOS/OSX, running the latest XQuartz (2.7.11), including:
 
There are a few known issues with IDL widgets and macOS/OSX, running the latest XQuartz (2.7.11), including:
  
=== 1) Segmentation fault while running code that involves widgets (SPEDAS GUI, EVA, etc.) ===
+
=== Segmentation fault while running code that involves widgets (SPEDAS GUI, EVA, etc.) ===
  
 
Warning: Fatal Error:  
 
Warning: Fatal Error:  
Line 11: Line 11:
  
  
=== 2) IDL may close abruptly and without warning when running code that involves widgets ===  
+
=== IDL may close abruptly and without warning when running code that involves widgets ===  
  
  
Line 32: Line 32:
  
  
=== 3) On macOS Sierra you may get the following error:===  
+
=== On macOS Sierra you may get the following error:===  
  
 
Error: attempt to add non-widget child "dsm" to parent "idl" which supports only widgets
 
Error: attempt to add non-widget child "dsm" to parent "idl" which supports only widgets
Line 43: Line 43:
 
See also: http://michaelgalloy.com/2016/11/11/problems-with-xquartz-2-7-11-on-macos.html
 
See also: http://michaelgalloy.com/2016/11/11/problems-with-xquartz-2-7-11-on-macos.html
  
=== 4) No annotations/legend text showing in GUI ===  
+
=== No annotations/legend text showing in GUI ===  
 
[[File: Screen_Shot_2018-10-05_at_5.01.03_PM.png|thumb|right|IDL config issue]]
 
[[File: Screen_Shot_2018-10-05_at_5.01.03_PM.png|thumb|right|IDL config issue]]
  
 
This issue is due to corrupt IDL configuration files; to fix, delete the .idl folder in your IDL working directory
 
This issue is due to corrupt IDL configuration files; to fix, delete the .idl folder in your IDL working directory

Revision as of 20:59, 8 October 2018

There are a few known issues with IDL widgets and macOS/OSX, running the latest XQuartz (2.7.11), including:

Contents

Segmentation fault while running code that involves widgets (SPEDAS GUI, EVA, etc.)

Warning: Fatal Error:

_XmGetDefaultDisplay cannot be used prior to VendorS.Initialize, returns NULL

Segmentation fault: 11


IDL may close abruptly and without warning when running code that involves widgets

Solution:

Both of these issues can be fixed at the command line with the following:

1. change to the X11 library directory:

 cd /opt/X11/lib

2. backup the libXt library file found in this directory:

 sudo cp libXt.6.dylib libXt.6.dylib.bak

3. change to the “flat_namespace” directory:

 cd flat_namespace/

4. copy the copy of libXt from this directory up one directory:

 sudo cp libXt.6.dylib ../.


On macOS Sierra you may get the following error:

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

To fix this, you have to run the following two commands:

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

See also: http://michaelgalloy.com/2016/11/11/problems-with-xquartz-2-7-11-on-macos.html

No annotations/legend text showing in GUI

IDL config issue

This issue is due to corrupt IDL configuration files; to fix, delete the .idl folder in your IDL working directory

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox