Hello,
Our computers were updated over the summer and now we get the following message when we open consed:
Error: attempt to add non-widget child "dsm" to parent "consed" which supports only widgets
This is fixable by typing in the following in the command line after changing the directory and before opening consed:
export DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace
However, we need to type this in every time.
Is there a more permanent way to fix this problem.
System - macOS Sierra 10.12.6
Terminal - XQuartz 2.7.11
Consed - not sure as it is SMC Set-UP Consed that is the program (created by our IT person) that is run to set it up on our machines.
Thank you,
Don
Consed Error
Re: Consed Error
One approach would be to put the export command in the shell startup file (e.g., .bashrc).
Another approach would be to create a new alias for consed so that it will set up the DYLD_LIBRARY_PATH variable before launching consed.
1. Determine the shell that you are using
2a. If it reports /bin/bash
2b. If it reports /bin/csh or /bin/tcsh:
3. Open a new shell to test the new configuration
* All subsequent shells will use the new alias
4. Navigate to the project directory (e.g., Standard3) and then launch consed
Another approach would be to create a new alias for consed so that it will set up the DYLD_LIBRARY_PATH variable before launching consed.
1. Determine the shell that you are using
Code: Select all
echo $SHELL
2a. If it reports /bin/bash
Code: Select all
cat >> ~/.bashrc <<EOF
alias consed='DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace consed'
EOF
2b. If it reports /bin/csh or /bin/tcsh:
Code: Select all
cat >> ~/.cshrc <<EOF
alias consed 'env DYLD_LIBRARY_PATH=/opt/X11/lib/flat_namespace consed'
EOF
3. Open a new shell to test the new configuration
* All subsequent shells will use the new alias
4. Navigate to the project directory (e.g., Standard3) and then launch consed
Code: Select all
cd ~/Standard3/edit_dir
consed