Changeset 727 for trunk/gui/scripts/bugreport.tcl
- Timestamp:
- May 11, 2007, 11:31:34 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/bugreport.tcl
r724 r727 151 151 152 152 .bugreport.expl insert end "This tool encountered an unexpected error. We tried to submit a trouble report automatically, but that failed. If you want to report this incident, you can file your own trouble report. Look for the \"Help\" or \"Support\" links on the main navigation bar of the web site.\n\nIf you continue having trouble with this tool, please close it and launch another session." 153 } elseif {[regexp {Ticket #([0-9] +) +\((.*?)\) +([0-9]+) +times} $result match ticket extra times]} {153 } elseif {[regexp {Ticket #([0-9]*) +\((.*?)\) +([0-9]+) +times} $result match ticket extra times]} { 154 154 .bugreport.expl insert end "This tool encountered an unexpected error. The problem has been reported as " "" "Ticket #$ticket" bold " in our system." "" 155 155 if {[string is integer $times] && $times > 1} { … … 229 229 report $stackTrace \ 230 230 login $tcl_platform(user) \ 231 sess ion [Rappture::Tool::resources -session] \231 sesstoken [Rappture::Tool::resources -session] \ 232 232 hostname [info hostname] \ 233 233 category rappture \ … … 249 249 } 250 250 upvar #0 $token rval 251 if {[regexp {Ticket #[0-9] + \(.*?\) [0-9]+times} $rval(body) match]} {251 if {[regexp {Ticket #[0-9]* +\(.*?\) +[0-9]+ +times} $rval(body) match]} { 252 252 return $match 253 253 } 254 error "Report received, but ticket may not have been filed "254 error "Report received, but ticket may not have been filed. Here's the result...\n$rval(body)" 255 255 } 256 256
Note: See TracChangeset
for help on using the changeset viewer.