--printteachers option not recognized by fet-cl.exe on Windows 11 (FET 7.2.2)

Started by samloba, May 25, 2025, 11:19:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samloba

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!



Liviu Lalescu

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.

Liviu Lalescu

It will take some more time to put the snapshot, since I am doing also other improvements. I will announce here when ready.

samloba

Hi Liviu,
Thanks for your prompt response. I'm available to test the fix.
Thanks again for your availability and sharing.
Sincerely.

Liviu Lalescu

Almost ready, samloba. Thank you as well!

I will announce it here (maybe 1 hour or less remaining).

Liviu Lalescu


Liviu Lalescu

Hello, samloba,

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