Changeset 125


Ignore:
Timestamp:
Dec 4, 2009 5:00:49 PM (11 years ago)
Author:
toby
Message:

# on 2000/04/10 20:07:43, toby did:
revise BLT error for bad pkgIndex.tcl file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/liveplot

    • Property rcs:date changed from 1999/04/20 19:22:46 to 2000/04/10 20:07:43
    • Property rcs:lines changed from +38 -38 to +21 -4
    • Property rcs:rev changed from 1.10 to 1.11
    r87 r125  
    826826refposvec notify never
    827827# create the graph
    828 set box [graph .g]
    829 Blt_ZoomStack $box
     828if [catch {
     829    set box [graph .g]
     830} errmsg] {
     831    tk_dialog .err "BLT Error" \
     832"BLT Setup Error: could not create a graph (msg: $errmsg). \
     833There is a problem with the setup of BLT on your system.
     834See the expgui.html file for more info." \
     835            error 0 "Quit"
     836exit
     837}
     838if [catch {
     839    Blt_ZoomStack $box
     840} errmsg] {
     841    tk_dialog .err "BLT Error" \
     842"BLT Setup Error: could not access a Blt_ routine (msg: $errmsg). \
     843The pkgIndex.tcl is probably not loading bltGraph.tcl.
     844See the expgui.html file for more info." \
     845            error 0 "Limp ahead"
     846}
    830847$box element create obs -color black -linewidth 0 \
    831848        -symbol $peakinfo(obssym) \
Note: See TracChangeset for help on using the changeset viewer.