clock format does not run in window service
- From: Jens Tekhaus <nospam003@xxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 16:36:04 +0200
Hello!
I have the following problem. I make a windows service with the dev kit 4.1. with base-tclsvc-win32-ix86.exe. I run it under Win XP.
My test program without any packages:
puts "1"
puts [clock format [clock seconds] -format %H:%M%:%S]
After wrapping ist into an exe, I get the following messages:
C:\Scripte\Testservice>testservice.exe -debug
1
application-specific initialization failed: wrong # args: should be "source file
"
% puts $errorInfo
wrong # args: should be "source file"
while executing
"source C:/Scripte/Testservice/testservice.exe/main.tcl"
("uplevel" body line 1)
invoked from within
"uplevel #0 $script"
(procedure "tclSvcInit" line 15)
invoked from within
"tclSvcInit"
Now I do the following command in command line
% clock format
wrong # args: should be "source file"
% puts $errorInfo
wrong # args: should be "source file"
while executing
"source -encoding utf-8 [file join $TclLibDir clock.tcl]"
(procedure "::tcl::clock::format" line 3)
invoked from within
"clock format"
Who knows, what goes wrong?
Thank you very much.
Jens
.
- Prev by Date: Re: Limiting resources used by scripts on web server
- Next by Date: Re: Handling output from ldapsearch
- Previous by thread: Handling output from ldapsearch
- Next by thread: Tcl/Tk 8.5.3 RELEASED
- Index(es):
Relevant Pages
|