The ESI Spectrograph |
![]() |
Online Documentation |
Symptom: | When the user requests a filter, grating, or other removable element change, nothing moves and the dispatcher gets an error "unable to map name to position". |
Procedure: |
We suggest that you read the Overview and
Diagnostic writeups for inconfig,
the tool used to configure the instrument for removable elements such
as filters, gratings, masks, etc. This will give you a better
understanding of how inconfig is used and how it works with Dashboard.
However, you can also just start checking the following possibilities:
|
Explanation: | See the write-up for inconfig for a full explanation of dynamic configuration. |
Symptom: | Error messages appear on stderr during startup, and highlighted in yellow in the session log widget, which complain about variables and keywords not existing. Widgets which usually appear may fail to appear, causing "missing pieces" in the UI. |
Procedure: |
|
Explanation: | The .kwd file tells the Dashboard application everything it needs to know about all the keywords for a KTL service. This file must match the keyword library used by all KTL clients, and the .dbd file which is used to paint the actual graphical dashboard on your screen. If there is disagreement between them about the spelling of keyword names, the existence of keywords, the datatypes of keywords, etc. then errors will occur. All these files are generated and installed simultaneously by a normal build/install procedure. Only a failure to follow procedure, or perhaps a partial recovery from disk loss, should result in mismatched configuration files. |
Symptoms: |
Different symptoms are possible based on the different startup flags
and envars that may be incorrect if the UI is manually started.
|
Procedure: |
Determine how this copy of Dashboard was started. If it was started
manually, kill this copy and restart using the canonical (menu or
script) method for this instrument. If that does not work, then
someone has broken the canonical startup method. You may attempt to
diagnose this, or if in a hurry, try a command line like this:
"obsr |
Explanation: | The Dashboard should always be started by a script or menu which runs the standard "esi start" scripts. The command line arguments to Dashboard are correctly specified in the "esi start dashboard" script. However, if it has been manually started or if the script has been broken, bad command line arguments can result in an odd appearance or in a failure. |
Symptom: | The UI stops responding. If a window is moved above it and then moved away, the obscured area does not repaint. It does not respond to X11 events such as mouse movement or clicks. |
Procedure: |
This should never happen, so if it does happen it should be
taken seriously, carefully documented, and immediately reported.
|
Explanation: | In 1999, UCO/Lick SPG spent a lot of time trying to make the music/traffic/KTL connections robust, so that failure or restart of one component doesn't cause other components to hang. We think we succeeded. Dashboards for recent Lick-built instruments should not hang, even if backend processes like traffic or the dispatcher go away. So a Dashboard hang indicates a serious problem. |
Symptom: | Dashboard exits spontaneously |
Procedure: | Gather any stderr output, and the last few lines of the log file. Restart the Dashboard. Mail the gathered text to de@ucolick.org. |
Explanation: | The Dashboard should only shut itself down in the event where it is disconnected from traffic and cannot reconnect. It should pop up a nasty-looking warning message, then shut down within a couple of minutes. If the user wandered away from the console, this warning message might be missed; but it would appear in the log file and on stderr. |
Symptom: | Dashboard refuses to start up |
Procedure: | Is there another Dashboard for the same service already running on the same display? There is a built-in constraint which prevents duplication of UI for the same service on the same X server. If you really need to run two Dashboards for the same service on the same server, you need to set the environment variable SILLYWIZARDS (to any value you like) and run the 2nd dashboard manually. This is not recommended for the inexpert. |
Explanation: | Multiple Dashboards can be very confusing for the user. Duplicate copies of alarms and other popups start to appear. We found it best to prevent this situation. |
The Observer documents are hand-written. The Technical Documents are produced from plain text files in the CVS source tree by some Tcl scripts written at UCO/Lick Observatory. The Reference Documents are mostly generated by software from data in a relational database. Individual authors are responsible for the content of the Observer and Technical Documentation. The Lick SPG as a whole is responsible for the content of the Reference doco. Send mail to de@ucolick.org to report inconsistencies or errors in the documentation.