Consed Error

Ask questions about sequence improvement / finishing D. mojavensis projects here.
Post Reply
Posts: 31
Joined: Fri Jun 05, 2009 6:18 pm

Consed Error

Post by dpaetkau » Thu Aug 30, 2018 3:25 pm


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,

Posts: 185
Joined: Sun Feb 04, 2007 7:41 pm
Location: Washington University in St. Louis

Re: Consed Error

Post by wleung » Fri Aug 31, 2018 3:16 pm

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

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'

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'

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


Post Reply