Changeset 6165 for branches


Ignore:
Timestamp:
Mar 21, 2016, 7:15:42 AM (9 years ago)
Author:
gah
Message:

don't fail w/ bugreport on non-hub

Location:
branches/1.5/gui/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/1.5/gui/scripts/analyzer.tcl

    r6163 r6165  
    18031803#
    18041804itcl::body Rappture::Analyzer::WriteSimsetFile { appName fileName publish } {
    1805     # The runfiles directory is the root of the filename.
    1806     # For example, if the simset file is /path/to/myName.sav,
    1807     # the runfile directory is /path/to/myName
    1808     if { [file exists $fileName] } {
    1809     }
     1805    # The runfiles directory is the root of the filename.  For example, if
     1806    # the simset file is /path/to/myName.sav, the runfile directory is
     1807    # /path/to/myName
    18101808    set root [file root $fileName]
    18111809    if { [file exists $root] } {
     
    20802078        }
    20812079    } errs] != 0 } {
    2082         puts stderr "can't load \"$fileName\": zzzzerrs=$errs"
     2080        puts stderr "can't load \"$fileName\": errs=$errs"
    20832081    }
    20842082}
  • branches/1.5/gui/scripts/bugreport.tcl

    r5679 r6165  
    607607                return 0
    608608            }
    609 
     609            set url [Rappture::Tool::resources -huburl]
     610            if { $url == "" } {
     611                return 0
     612            }
    610613            # if this is a problem launching a job and the tool
    611614            # expects this, then don't bother with automatic reports.
  • branches/1.5/gui/scripts/imageresult.tcl

    r6140 r6165  
    446446    }
    447447    if {"" != $top} {
    448         puts stderr top=$top
    449448        switch -- $option {
    450449            image   { return [$top tkimage] }
Note: See TracChangeset for help on using the changeset viewer.