Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Davide Cottignoli

Report Test Results / Problem compiling fet 5.34
November 13, 2017, 12:41:08 AM
I tried o compile the last source 5.34.0 on linux Mint 18.1 Serena and  I run into the following problems:
1) after few seconds the compilation stops with error like fatal error: GL/gl.h: No such file or directory; as you reported in readme file I was able to solve by installing the "mesa-common-dev" package.
2) after 15min of compilation time, the compiler run into the following error:

g++ -Wl,-O1 -Wl,-rpath,/opt/Qt5.9.2/5.9.2/gcc_64/lib -o ../fet ../tmp/gui/timetableexport.o ../tmp/gui/activity.o ../tmp/gui/solution.o ../tmp/gui/timetable.o ../tmp/gui/rules.o ../tmp/gui/import.o   [....many included file here... snip....]   ../tmp/gui/moc_modifyconstraintstudentsminrestinghoursform.o   -L/opt/Qt5.9.2/5.9.2/gcc_64/lib -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
/usr/bin/ld: impossibile trovare -lGL
collect2: error: ld returned 1 exit status
Makefile:2613: set di istruzioni per l'obiettivo "../fet" non riuscito
make[1]: *** [../fet] Errore 1
make[1]: uscita dalla directory "/home/davide/sorgenti/fet-5.34.0/src"
Makefile:45: set di istruzioni per l'obiettivo "sub-src-src-pro-make_first" non riuscito
make: *** [sub-src-src-pro-make_first] Errore 2
davide@mint64 ~/sorgenti/fet-5.34.0 $

what package should be installed to go on?

Report Test Results / 5.32.1 crash
July 24, 2017, 11:30:35 PM
Hi Liviu,

I've just compiled last version to test ultimate features included but 5.32.1 crashed.
I attached the logs.

Report a Bug / Fet Crashes
October 18, 2016, 01:03:31 PM
 Hi Liviu,

I got this crash:
Step to reproduce:
1) Generate a timetable.
2) Delete an activity 2+1+1 and replace it with 1+1+1+1
3) Set a constraint to append one of above subactivity to another already placed in timetable
4) Unlock time and room of the deleted activity (which doesn't exist)
6) Regenerate the timetable and wait Fet places the replaced activity
7 Fet Crashes

I attach log file to this post.

Suggestions / Lock & unlock activities
October 02, 2016, 08:47:43 AM
Hi Liviu,

is it possible to add a lock/unlock menu for all activities placed in a specific building and a lock/unlock menu for all activities with a specific key?
This can speed up manual adjustment when a timetable is generated and, virtually, can speed up the locks for any activities aggregation.

Report a Bug / FET "locks"
September 27, 2016, 06:16:18 AM
I noticed this strange behaviour:
Imagine you started a multi timetable generation which was ended correctly with some results. You went to timetable tab and saw the last that was in memory.
So, now, you decide to make some or all locks and try generation again in single mode: FET answer with 0 activities locked, also answer with 0 activities unlocked... this happens unless you start a single generation.
I think, in this case, it would be nice if FET should be able to load an already generated timetable from its "multi-folder" and show in its interface without a new generation. So, the software can be directed to  a multi file management.
Also it would be nice if wa can see a checkbox that permanent locks some or all cells.
Report Test Results / Print preview format bug
June 14, 2016, 12:02:38 PM
Hi Liviu,
after success in compiling FET 5.29.5, I wanted to try the already generated timetable for my school to test color interface and print preview.
Since the initial version that included print preview I noticed there is a problem on column spaces.
I attached an example screenshot and the setting which get the wrong format.
There is a wrong colum width at 7:50 time which expand a row height very highly.

Report Test Results / Error compiling FET 5.29.5
June 14, 2016, 02:15:41 AM
Hello Liviu,

I tried to compile FET 5.29.5 under Mac OS X Lion (10.7.5).
I downloaded and installed QT 5.6.1 with success
I issued "qmake" with success
I issued "make" but after about twenty seconds the compilation stops with the following last lines:

/Applications/ note: candidate
      template ignored: failed template argument deduction
swap(shared_ptr<_Tp>& __x, shared_ptr<_Tp>& __y) _NOEXCEPT
/Applications/ note: candidate
      template ignored: failed template argument deduction
swap(weak_ptr<_Tp>& __x, weak_ptr<_Tp>& __y) _NOEXCEPT
/Applications/ note:
      candidate template ignored: substitution failure [with _Tp = QScopedPointer<QBrushData, QBrushDataPointerDeleter>]
swap(_Tp& __x, _Tp& __y) _NOEXCEPT_(is_nothrow_move_constructible<_Tp>::value &&
/Users/davide/Qt5.6.1/5.6/clang_64/lib/QtCore.framework/Headers/qpair.h:89:6: note: candidate template ignored: failed template
      argument deduction
void swap(QPair<T1, T2> &lhs, QPair<T1, T2> &rhs) Q_DECL_NOEXCEPT_EXPR(noexcept(lhs.swap(rhs)))
3 errors generated.
make[1]: *** [../tmp/gui/timetableexport.o] Error 1
make: *** [sub-src-src-pro-make_first] Error 2

The last version I compiled with success is 5.28.6
How may I go past these errors?

Suggestions / Not available time
December 18, 2015, 08:13:03 AM
Hello Liviu,

is it possible to introduce the option to lower the weight under 100% of "Not available Time" for teachers?
So he/she can choose time by preferences and not in obliged fashion. When "Not available time" is under 100% FET can try to break it.

Suggestions / Modify a subactivity
October 12, 2015, 09:06:04 PM
I have this simple suggestion that would, in my case, save a lot of time:

I have some teachers that bind their worktime to an already built timetable, so they look at various activities and decide to work in those hours.
Often this happens when teachers are in co-presence in laboratory or when teachers have students with disabilities and need to support them when specific subject are in time.
So, it is the best to "double click" on the subactivity, on the interface with the generated timetable, to show the dialog that modify the subactivity and add the new teacher.
Then regenerate all the timetable to obtain the new HTML even for these teachers.
Whitout this simple "double click" I need to write down the number of the sub-activity, go to Data->Activities then looking for that number, click "modify" then add the teacher.

Is it possible to do this and speed-up data enter?

Suggestions / Customizing colors in HTML timetable
October 03, 2015, 10:00:49 AM
I'll do some customization to HTML timetable modifying the attached CSS and essentially, the more researched result, is to color activities and rooms to be emphasized when printing global teachers and groups timetable.
It would be useful if, in the HTML menu, be present a selector to customize color of subjects, rooms, teacher, keys, and also enable or disable the display of them.
I think this is a bit complex but... what do you think Liviu?

Suggestions / Enable/Disable Constraint and comments
October 03, 2015, 09:46:02 AM
When I add or modify single type of time or space constraint I often need to enable, disable and comment it. This is possible only in the interface that shows all constrains of any type and when a lot of them are presents it's difficult to find (luckily ther is a filter function).
Is it possible, without a lot of programming efforts, to add the enable/disable and comment button on every single type constraint dialog?
If anyone tell me how to modify the interface with an example, I'll try to do it myself and submit the result to Liviu.

I get an incomplete timetable with 740 out of 745 activities placed but I get lost the FET instance with it because I close the application.
With some adjustment I saw I can solve timetable manually but now I have the activity.xml file with all activities placed and the original .fet file without the constraints to place them in FET.
Is there a script that read activities.xml file and place, in the .fet file, the "activity has preferred starting time" constraints, in correct positions for all of them?

Suggestions / Add constraint user interface.
September 25, 2015, 06:53:49 PM
I often need to input many activities with fixed time in working hours and I find the user interface very tedious.
It would be more simple if the dialog is divided in two parts as follow:
On the left a list of activities (not the combo-box or drop-down box).
On the right a table grid with hours and day and the permission to mark only a square of the grid.

In many other dialogs with the same scheme (for example in "add teacher not available times") it would be useful to have the list instead of the drop down box.


Italian / Italiano / Edifici sede di lezione
September 25, 2015, 06:27:00 PM
Ho un istituto superiore con due sedi che svolge lezioni per cinque anni di corso. Ogni sede ha più corsi (sezioni) dalla prima alla quinta classe. In fase di messa a punto dell'orario avrei piacere di sapere se c'è un modo, utilizzando dei raggruppamenti, per:
1) Bloccare/sbloccare le attività di uno o più interi corsi (esempio 1A 2A 3A 4A 5A poi 1B 2B 3B 4B 5B, ecc).
2) bloccare/sbloccare le attività che si svolgono in una sola sede (IMPORTANTE).
3) bloccare/sbloccare le attività di un singolo indirizzo di studi (di solito presente nelle classi del secondo biennio e quinto anno).

Grazie a chi mi aiuterà.

Report a Bug / Fet Crashes
September 25, 2015, 05:28:58 PM
I discover that FET crashes from vesion 5.27.1 to last when adding a very large number of constraint in the same dialog.
In my case, when I want to  to verify a timetable and add multple "an activity has a preferred starting time" constraint without exiting the dialog, FET crashes after about 100 inputs.
The same behaviour happens when I delete a very large number of the same constraint from a generated timetable.
I use the Mac version.

General Stuff / Set up work days in a week for a teacher
September 06, 2015, 07:46:24 PM
Hello everyone,

I'd like to know if there is a constraint-only that set the exact work days number in a week for a teacher.
The only way I can accomply this is to set two constraints that set the "Teacher max days per week" and "Teacher min days per week" to the same number.

Also is there a way to delete or add the same constraint to multiple teacher in a single step?

Italian / Italiano / Excel Import
September 14, 2013, 07:45:27 AM
Ho riscontrato che il file .fet generato dall'ultima versione 5.19.0 (io uso un MacOs 10.7 ma l'ho provato anche su windows 7) non viene importato dalla routine Excel_Import_UTF8; l'elaborazione si interrompe con un errore dopo aver caricato il file e aver mostrato un paio di righe sul foglio.
Qualcuno ha riscontrato questo errore?
Suggestions / Some simple interface changes
September 13, 2013, 11:35:23 PM
I don't know if comments constraint is a widely spread practice but when I add or modify a constraint I often use these, so add a "comments" button in these dialogs it would be greatly appreciated. Also ad enable/disable constraint button would be useful.
I often use comments to group same constraints but alphabetic sort and group by constraint-type,  comments and insert order I think would be useful; could you add a preference dialog for these and others future settings?

Suggestions / New simple constraint
September 11, 2013, 01:15:36 AM
I would suggest a new simple constraint for teacher:
In Italy, the work contract for a teacher is often tethered to a specific number of workdays so, to achieve the desired result, is necessary to insert two constraint:
"Max days per week for a teacher" and "Min days per week for a teacher" that have to set the same value.
Why not add a "Number of workdays per week for a teacher"?
In the interface I am glad to see a button that add all teacher and set every single-type constraint to the same value so to be individually modified later.

General Stuff / HTML customization
December 13, 2012, 09:20:13 PM
In an old version of FET (last year) I should remember that, modifying the HTML level option, the generated timetable should show colored boxes to rapidly identify the teacher/activity in overall timetable. Now, in the last version, the color appears only when mouse rollover the teacher/activity word but is always green. Also every subline in a box displays in grey which is poorly readable.
Is there an option that show distinct color in every adiacent boxes or I remember badly?