Discussion:
bug in sdx kit?
(too old to reply)
saito
2024-07-19 12:49:33 UTC
Permalink
I wanted to use sdx kit on my chrono-timer script (whose source is
available on the wiki). However, it kept generating errors indicating
problems with rsync not being able to delete some files.

It turns out that you can't have a dot file in a wrapped app. In other
words, no ".file" or ".folder" or it will complain and error out.

I can't find more info on sdx.kit so I wonder if this is some sort of a
feature or if it is indeed a bug.
Harald Oehlmann
2024-07-19 13:17:57 UTC
Permalink
Post by saito
I wanted to use sdx kit on my chrono-timer script (whose source is
available on the wiki). However, it kept generating errors indicating
problems with rsync not being able to delete some files.
It turns out that you can't have a dot file in a wrapped app. In other
words, no ".file" or ".folder" or it will complain and error out.
I can't find more info on sdx.kit so I wonder if this is some sort of a
feature or if it is indeed a bug.
You may look on the wiki:

https://wiki.tcl-lang.org/page/sdx
Harald Oehlmann
2024-07-19 13:38:20 UTC
Permalink
Post by saito
I wanted to use sdx kit on my chrono-timer script (whose source is
available on the wiki). However, it kept generating errors indicating
problems with rsync not being able to delete some files.
It turns out that you can't have a dot file in a wrapped app. In other
words, no ".file" or ".folder" or it will complain and error out.
I can't find more info on sdx.kit so I wonder if this is some sort of a
feature or if it is indeed a bug.
I suppose it is more a feature than a bug.


sdx qwrap also omits other special files like subversion files.

Take care,
Harald
saito
2024-07-19 14:14:57 UTC
Permalink
Post by Harald Oehlmann
I suppose it is more a feature than a bug.
sdx qwrap also omits other special files like subversion files.
Take care,
Harald
Interesting. Thanks.
greg
2024-07-19 14:55:12 UTC
Permalink
Post by saito
I wanted to use sdx kit on my chrono-timer script (whose source is
available on the wiki). However, it kept generating errors indicating
problems with rsync not being able to delete some files.
It turns out that you can't have a dot file in a wrapped app. In other
words, no ".file" or ".folder" or it will complain and error out.
I can't find more info on sdx.kit so I wonder if this is some sort of a
feature or if it is indeed a bug.
Hello,
I made a mini guide
in command prompt:
1 - 2 - 3b

#tclkit2.exe is a copy with a different name
#If there is already an executable file
# 0
tclkit sdx.kit unwrap cromo.exe

# Otherwise

# 1
tclkit sdx.kit qwrap chromo.tcl

# 2
tclkit sdx.kit unwrap chromo.kit

# 3a without rutime
#tclkit sdx.kit wrap chromo.kit

#3b with runtime
tclkit sdx.kit wrap chromo.exe -runtime tclkit2.exe

#end

cromo.exe works for me without error message


or

https://code.google.com/archive/p/tclkit/issues/13
just a note about the icon,
but can't help

Gregor
saito
2024-07-19 15:05:51 UTC
Permalink
Post by greg
cromo.exe works for me without error message
To see the error, you will need to include a dot file in your project.
Your example uses a single source file so perhaps try changing the name
of your source file to ".chromo.tcl" and see if you get errors.
Harald Oehlmann
2024-07-19 15:14:26 UTC
Permalink
Post by saito
Post by greg
cromo.exe works for me without error message
To see the error, you will need to include a dot file in your project.
Your example uses a single source file so perhaps try changing the name
of your source file to ".chromo.tcl" and see if you get errors.
If you are looking for a possibility to quickly transform one file to an
executable, LUCK may be great for you:

https://wiki.tcl-lang.org/page/LUCK

Harald
greg
2024-07-19 16:27:03 UTC
Permalink
Post by saito
Post by greg
cromo.exe works for me without error message
To see the error, you will need to include a dot file in your project.
Your example uses a single source file so perhaps try changing the name
of your source file to ".chromo.tcl" and see if you get errors.
I had overlooked the point. My mistake.

tclkit sdx.kit qwrap .cromo.tcl

Fails under both Linux and Windows.
Don't know if vfs or/and the OS has anything to do with it.
So I have no idea

Loading...