Skip to content
Tcl Source Code View Ticket
Login

View Ticket

could not get modification time for file in VFS

Closed / Invalidbc8467d6fdc512c9fc8e3c6e161cc300fea06116Created 10 years agoUpdated 42 days ago
Descriptionplain2016-09-16 18:55:58
#### Steps to reproduce the error without dependencies other than sdx and tcl 8.6.6:
# echo puts [clock format [file mtime [file join $starkit::topdir newsubdir]]]>test.tcl
# sdx qwrap test.tcl -runtime tclkitsh.exe
# sdx unwrap test
# -> now we have a test.vfs folder
# cd test.vfs
# md newsubdir
# cd ..
# sdx wrap test -runtime tclkitsh.exe
# ren test *.exe
# test
#
#  could not get modification time for file "C:/Users/matthiasu/usr/pgm/tcl/usr/Tst/8.6.6_test/test.exe/newsubdir"
#      while executing
#  "file mtime [file join $starkit::topdir newsubdir]"
#      (file "C:/Users/matthiasu/usr/pgm/tcl/usr/Tst/8.6.6_test/test.exe/lib/app-test/test.tcl" line 3)
#      invoked from within
#  "source C:/Users/matthiasu/usr/pgm/tcl/usr/Tst/8.6.6_test/test.exe/lib/app-test/test.tcl"
#      ("package ifneeded app-test 1.0" script)
#      invoked from within
#  "package require app-test"
#      (file "c:/Users/matthiasu/usr/pgm/tcl/usr/Tst/8.6.6_test/test.exe/main.tcl" line 4)
#######
dkf Ticket [bc8467d6fd]: 3 changes [History diff]2016-10-09 16:06:49
dgpplain2016-10-11 15:11:47
Bug is very likely not in Tcl.

It is in the Tcl_Filesystem provided,
I assume, by tclvfs, and then in 
turn by one of its fs drivers.

Seek help there.
serhiy.storchakawiki2026-10-14 14:17:31

Closing: no reply since 2016. As dgp wrote, the error comes from the filesystem driver of the starkit (tclvfs/mk4vfs), not from Tcl itself.

serhiy.storchaka Ticket [bc8467d6fd]: 3 changes [History diff]2026-10-22 17:19:25
Log in (anonymous is fine) to add a comment.