The script works so:
set Glob(Tk) [package require Tk]
set Glob(Tk:Img) [package require img::png]
if launched via my_gui.tcl, whereas Tk v8.5.11.
But when Freewrap.exe wraps it, Tk becomes 8.5.9 and:
Error sourcing /Temp/TechLog_Fetcher/techlog_fetcher.tcl: can't find package img::png
How...
Hi Bob,
I'm using now Freewrap, but...
if I launch my my_gui.tcl GUI, "package require Img" is found and used, no error at all.
After wrapping it to exe with Freewrap, I got:
Error sourcing /Temp/my_gui.tcl: can't find package Img
Why does it happen? I'm not an expert of libraries, but...
Hi Bong,
thanks for your reply. Paths are correct, I've double-checked them.
I’ve played a bit and I’ve found a possible workaround.
Since Tk does not provide real standard IO capabilities, a command like this:
exec <bat file> <args>
fails, if launched by .exe file (this is what I#ve...
Hi all,
my tcl/tk program works fine, as long as program.tcl file is launched.
BUT, if I compile it to .exe (as described here: http://wiki.tcl.tk/11861) and I launch program.exe file, exec commands - like the following - don't work anymore:
set out [catch { exec "./collectfiles.bat" -ne $ip...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.