Execution if assert

Started by Mejda, May 06, 2012, 02:23:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mejda

please I create a new class in the interface folder named "weboutput.cpp" and I do a copy of a part of my code from class timetableexport (in the engine folder) to this new class  but i have a problem in execution of assert.
the message is  "L'assertion « gt.rules.initialized && gt.rules.internalStructureComputed » a échoué."
I can't identify where is the problem
thank you

Liviu Lalescu

You need to compute the rules internal structure, then generate the timetable, and only after that call this routine.

Please see timetablegenerateform.cpp, function TimetableGenerateForm::start(), then TimetableGenerateForm::simulationFinished(). To have a timetable, you need to do similarly to them.