FET Forum

FET Development => Report a Bug => Topic started by: MOHAMED AIT ICHOU on August 19, 2026, 05:34:51 PM

Title: error message appears
Post by: MOHAMED AIT ICHOU on August 19, 2026, 05:34:51 PM
When attempting to generate the timetable, the following error message appears, as shown in the image.

https://postimg.cc/Z03FrvZ7
(https://postimg.cc/Z03FrvZ7)
Title: Re: error message appears
Post by: Liviu Lalescu on August 19, 2026, 06:20:39 PM
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.
Title: Re: error message appears
Post by: MOHAMED AIT ICHOU on August 19, 2026, 06:55:42 PM
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.
Title: Re: error message appears
Post by: Liviu Lalescu on August 19, 2026, 07:00:07 PM
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".
Title: Re: error message appears
Post by: MOHAMED AIT ICHOU on August 19, 2026, 07:34:40 PM
The file has been sent by email.
Title: Re: error message appears
Post by: Liviu Lalescu on August 19, 2026, 07:46:20 PM
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.