FET Forum

FET Development => Report a Bug => Topic started by: samloba on May 25, 2025, 11:19:48 AM

Title: --printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)
Post by: samloba on May 25, 2025, 11:19:48 AM
Hello Liviu,
I am using FET version 7.2.2 (latest) on Windows 11 64-bit, with the CLI executable fet-cl.exe.
I have noticed that when I pass the option --printteachers=false (or --printteachers=true) to the CLI, I get the following error: Unrecognized option: --printteachers=false / Unrecognized option: --printteachers=true

All other --print... options (such as --printstudents, --printrooms, etc.) are recognized and work as expected.
The problem seems to be specific to --printteachers.
Steps to reproduce:
Run the following command in a terminal:   fet-cl.exe --inputfile=example.fet --outputdir=output --printteachers=false

Environment:
OS: Windows 11 64-bit
FET version: 7.2.2 (latest release)
CLI: fet-cl.exe
Expected behavior:
The option --printteachers should be recognized and allow disabling or enabling the display of teachers in the generated HTML timetables, as documented.
Actual behavior:
The CLI returns "Unrecognized option: --printteachers=false".
Additional notes:
All other --print... options work as expected.
The issue occurs with both --printteachers=false and --printteachers=true.
N.B.:
Despite the error message, the timetable is still generated successfully.
Thank you for your work and for your help!


Title: Re: --printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)
Post by: Liviu Lalescu on May 25, 2025, 11:28:51 AM
Hello, samloba,

Thank you for your bug report! It is a typo in the source code. I will now correct it and put a snapshot for you to check (I hope you can help me with this), and maybe tomorrow or later I will release a new official version.

I estimate to put the snapshot in about an hour, so please stay tuned.
Title: Re: --printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)
Post by: Liviu Lalescu on May 25, 2025, 12:56:09 PM
It will take some more time to put the snapshot, since I am doing also other improvements. I will announce here when ready.
Title: Re: --printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)
Post by: samloba on May 25, 2025, 01:49:27 PM
Hi Liviu,
Thanks for your prompt response. I'm available to test the fix.
Thanks again for your availability and sharing.
Sincerely.
Title: Re: --printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)
Post by: Liviu Lalescu on May 25, 2025, 02:12:26 PM
Almost ready, samloba. Thank you as well!

I will announce it here (maybe 1 hour or less remaining).
Title: Re: --printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)
Post by: Liviu Lalescu on May 25, 2025, 02:56:28 PM
A snapshot is ready: https://lalescu.ro/liviu/fet/download/test/

Thank you for the report, samloba!
Title: Re: --printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)
Post by: Liviu Lalescu on May 26, 2025, 09:51:39 AM
Hello, samloba,

The new official version is released. Thank you for the bug report!