Page 1 of 1

error: not a tracewin options file

Posted: Fri 13 Aug 2021 11:56
by yngvelevinsen
Hi,

I sometimes get an error when I try to run the CLI version of TraceWin, that the project file is "not a TraceWin options file". Here is an example attached. If I open this in the GUI it seems to be fine, but if I try to run with the CLI executable (tracelx or equivalent) I get an error.

I could also attach the rest of the project but the error triggers just by trying to run with the file.

I tried to open the project file in the GUI again and click save to see if I could fix it that way, but seemingly it did not work.

Re: error: not a tracewin options file

Posted: Sat 14 Aug 2021 10:04
by Didier
Hi,

No problem on my side to open your file. In the latest version of TraceWin GUI, the ini file format has changed. This is transparent for the user but it implies to update the TraceWin CLI versions (Main menu -> "Exe").
I think this is the cause of your problem.

Regards,

Didier

Re: error: not a tracewin options file

Posted: Thu 19 Aug 2021 11:24
by yngvelevinsen
I really thought I had updated to the latest version and had double checked, but I failed to copy it correctly afterwards it looks like. Yes you are right, I was in all likelihood just using an older version. Works now.

Could you make a "version print" for the CLI version? Many interfaces have something like "tracelx -version" or "tracelx -v" (whatever you feel makes sense) which for most applications just prints version information and exits. Looking at the other arguments, maybe a simple "tracelx version" is according to the style. Or alternatively just have it always print the tracewin version to stdout before doing anything else (that may cause crash).

Thank you for your feedback!

Re: error: not a tracewin options file  [SOLVED]

Posted: Mon 23 Aug 2021 15:19
by Didier
Hi,

Now, command '-v' or "-version" or "version" displays application version for CLI and GUI TraceWin codes

Regards,

Didier