Main Menu

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

Messages - Davide Cottignoli

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.

Thank you Liviu
Is my mac os X version too old?
I noticed that the minimum make version from your readme is 4.0 and output of:
macdav:~ davide$ make  -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This program built for i386-apple-darwin11.3.0

So, if the problem is this, I suppose I cannot have any chances to compile FET, is it true?

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 / Re: Modify a subactivity
October 12, 2015, 10:29:17 PM
I need to publish the timetable with complete times, with those teachers also. If you see timetable like this:
you can see that few teachers have an empty timetable.
It is bad to publish an extra web page with these single timetables because teachers wrote themselves in MSWord.

Suggestions / Re: Modify a subactivity
October 12, 2015, 09:22:44 PM
You are right, but in my case the timetable doesn't change because those teacher doesn't have constraints; they choose their workhours "ad hoc".
When possible I care planning time even for those teachers but sometimes is impossible because teachers are hired when schoolyear has started.
Also, looking at activity planning dialog you don't know where FET placed that subactivity.

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?

Programming Help / Re: unable to compile FET 5.28.1
October 12, 2015, 08:44:29 PM
In my case I installed QT under my HomeDir:

So, in terminal, to start compilation I entered the subdir where FET source is expanded from the archive and I wrote:
/Users/Davide/Qt5.5.0/5.5/clang_64/bin/qmake -spec macx-g++


Because I have Mac OS X Lion (is quite old, I know), I need to compile it from source.
However I don't find any advice in the readme file by Roberto Trevisan.
Can someone help me?

Thank you Liviu,
I didn't see that.

Suggestions / Re: Customizing colors in HTML timetable
October 11, 2015, 09:28:06 AM
The first CSS doesn't work as well because, when pointing mouse over names, the javascript erase the colors and it doesn't restore them when mouse leave out.
The second CSS shows a similar problem and it is better to highlight the cell square in black and white when mouse left over the cell.

I like the color in FET interface, but i don't see customization in html timetable, so, for now, I prefer a colouring style as you can see here:

May FetToExcelExporter be open source or you want to keep it closed?
May be it will help for some derivative works wich I have in mind....

Suggestions / Re: FET license
October 03, 2015, 10:13:38 AM
I think that every contributions to the code/interface should be released, network type or not. So, I am not a lawer and I do not know every implications of GPL, LGPL, AGPL and so on licenses, then If the project stays free and open source is welcome.

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?