error message appears

Started by MOHAMED AIT ICHOU, August 19, 2026, 05:34:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MOHAMED AIT ICHOU

When attempting to generate the timetable, the following error message appears, as shown in the image.

https://postimg.cc/Z03FrvZ7

Liviu Lalescu

You have a constraint teacher max real days per week with a non-existing teacher. I hope it is not a FET bug, but that your fet file was created with an external application.

MOHAMED AIT ICHOU

Indeed, the database is generated through the **Massar platform of the Moroccan Ministry of National Education**. However, the **"Teacher Max Real Days Per Week" constraint is not available in Massar** and is not added manually to the database.

Therefore, I believe the problem may be related to the way the FET file is generated or interpreted, particularly since the constraint refers to a teacher who does not exist in the teacher list. I would appreciate your advice on how to identify and resolve this issue.

Liviu Lalescu

#3
Could you please post here (archived if it is too large) your fet data file? If it is private, please send by email (fet4 AT lalescu.ro).

Also, maybe your file is generated in an old FET-5-MA format, in which the constraint was named "ConstraintTeacherMaxDaysPerWeek" (without "Real"), and FET converts it to "ConstraintTeacherMaxRealDaysPerWeek".

MOHAMED AIT ICHOU

The file has been sent by email.

Liviu Lalescu

Thank you! File received.

You have about 8 constraints teacher max real days per week for teacher "true". I don't know where the error was made, but I hope not in FET. Also, the file's institution name is weird.

I cannot verify where the error appeared. Maybe if you give me the original Massar fet file.

I might go to sleep now, I don't know if I'll answer today anymore.