Tcl Library Source Code

View Ticket
Login
Ticket UUID: 21c45cb4c4bff37adeac400189809c7f25cea1ea
Title: TEPAM doesn't require Tk package before using Tk commands
Type: Bug Version: 0.5.1
Submitter: anonymous Created on: 2016-04-09 06:07:15
Subsystem: tepam Assigned To: droll
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2016-08-14 07:33:34
Resolution: Fixed Closed By: droll
    Closed on: 2016-08-14 07:33:34
Description:
When I try to use the "-interactive" switch when calling a TEPAM procedure, I get the error copied below, because there is no "package require Tk" command before attempting to use Tk commands to create the interactive window.

invalid command name "image"
    while executing
"image names"
    (procedure "GuiEnvironmentInit" line 2)
    invoked from within
"GuiEnvironmentInit"
    (procedure "argument_dialogbox" line 6)
    invoked from within
"argument_dialogbox $DialogBoxArguments"
    (procedure "::tepam::ProcedureArgumentEvaluation" line 190)
    invoked from within
"::tepam::ProcedureArgumentEvaluation"
    (procedure "::novasign::cli::generate_key" line 1)
    invoked from within
"::novasign::cli::generate_key -alias test -interactive"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 {::novasign::cli::generate_key -alias test -interactive}"
User Comments: droll (claiming to be Andreas Drollinger) added on 2016-08-14 07:33:34:
Fixed with commit ac49d84e58a4b7283524dc2dc0dad212e5497a7c on August 14, 2016. The new TEPAM revision is 0.5.2.