File:  [LON-CAPA] / capa / capa51 / GUITools / scorer.errors.tcl
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Sep 28 21:25:37 1999 UTC (24 years, 9 months ago) by albertel
Branches: capa
CVS tags: start
Created directory structure

###########################################################
# handleErrorsScorer
###########################################################
###########################################################
###########################################################
proc handleErrorsScorer { num } {
    global gScorer

    if { "" == [set file [tk_getSaveFile]] } { return }
    if { [catch {set fileId [open $file "w"]}] } {
	displayError "Unable to write to $file"
    }

    set length [llength $gScorer(errors.$num)]
    for { set i 0 } { $i < $length } { incr i } {
	puts $fileId "#[lindex $gScorer(errortype.$num) $i]"
	puts $fileId "#[lindex $gScorer(errors.$num) $i]"
    }
    close $fileId
}

proc handleErrorsScorer2 { num } {
    global gScorer

    if {[winfo exists .scorerError$num]} { 
	capaRaise .scorerError$num
	return 
    } 
    set errorWin [toplevel .scorerError$num] 
    
    set generalInfoFrame
    set studentInfoFrame
    
}

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.