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

Topics - Zsolt Udvari

Report a Bug / FET 5.48.0 build error on FreeBSD i386
December 05, 2020, 09:11:24 AM
Hi Liviu,

I run into a build error on FreeBSD (i386). I'm not expert in C++ so I can't fix it. Could you please check the log?

c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu++11 -Wall -Wextra -pthread -fPIC -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_STRICT_ITERATORS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iengine -Iinterface -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtPrintSupport -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtCore -I../tmp/gui -I/usr/local/include/libdrm -I../tmp/gui -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/freebsd-clang -o ../tmp/gui/timetableexport.o engine/timetableexport.cpp
In file included from engine/timetableexport.cpp:46:
engine/timetable_defs.h:343:17: error: class member cannot be redeclared
        static QString number(qsizetype n);
engine/timetable_defs.h:341:17: note: previous declaration is here
        static QString number(int n);
1 error generated.
*** Error code 1

Suggestions / Run command at end of generation
August 11, 2020, 01:39:56 PM
It would be nice run a command at end of generation. The user can play a sound, display a pop-up window, etc.
I try to find the impossible constraint(s) in my FET-file and I think it's uncomfortable that only on "Time/All" dialog can activite/deactivite the constraints.
I think it would be nice when can activite/deactivite for example on "An activity has a preferred starting time" dialog (and on the others too).
Maybe a user error (PEBKAC) but I think I share it.

So I've a little complicated FET-file and it seems the "An activity has a preferred starting time" doesn't work.

I attached the file and try to generate and check:

  • Nr. 895 and 896 activities (without any teacher and student)
  • They have preferred starting time: "Szerda 1." (Wednesday) and "Hétfő 3." (Monday) with 100%
  • They have same starting time (day+hour) with 7 other activites (for example 647 and 648)
  • Generate (without success)
  • Check the student's timetable, go to "11A" and the 647 is on "Péntek" (Friday)!

Is it a bug or did I anything wrong?
Suggestions / Insert new hour later
August 15, 2017, 11:48:55 AM
My days originally have had 7 hours. The school said a thing and I thought I should include a plus hour, before the original 7 hours.
I added it (0. hour) and I saw the hour of all time constraints updated: increased by 1.
I know many times it's a good feature but in my case (I've record all activities, time constraints) hasn't increase. My 0. hour is like an virtual hour.

Now I can manually rewrite the .fet file but I think it would be nice when user can disable this feature - maybe FET ask about it the user when add later (means there are time constraints) a new hour.
Report a Bug / [fixed] assertion failed
July 25, 2017, 12:40:36 PM
I open a new activity dialog. I fill the form: without students set and set the number of students.
When I click Add a confirmation dialog appears and when I confirm it, FET exits:
Assertion failed: (_nTotalStudents==_computedNumberOfStudents), function Activity, file engine/activity.cpp, line 212.                             

FET version 5.31.5.
Suggestions / Tag constraints
July 24, 2017, 01:36:01 PM
I think it would be nice when can assign time constraints to tags.
And with the tags: maybe can use tag on subjects and teachers.

For example the PE, draw and the music activities should be the latter activities (on a day) than mathematics. It would be simplier if I could create a tag "later" and assign it to PE, draw and music subjects and add a time constraint to "later" tag.
Now I have to add these constraints for all activities.
Suggestions / Separate engine and gui
May 10, 2016, 02:39:01 PM
Hello Liviu!

I want to try build fet on FreeBSD with options (and hacks).
It can build fet-cl - it's a very good tool, e.g. on servers.
But I think would be nice that remove every QtGUI-releated things from src/engine (and move into src/interface) so if you want build only the commandline-version fet-cl (for servers) you don't need  QtGUI and QtNetwork (and their dependencies). Please check:
$ ldd /usr/local/bin/fet
/usr/local/bin/fet: => /usr/local/lib/qt4/ (0x801400000) => /usr/local/lib/qt4/ (0x802159000) => /usr/local/lib/qt4/ (0x802600000) => /usr/lib/ (0x802b04000) => /lib/ (0x802dc3000) => /lib/ (0x802fe0000) => /lib/ (0x803209000) => /lib/ (0x803417000) => /lib/ (0x80363c000) => /usr/local/lib/ (0x8039e9000) => /usr/local/lib/ (0x803bea000) => /usr/local/lib/ (0x803ef0000) => /usr/local/lib/ (0x8040fb000) => /lib/ (0x804330000) => /usr/local/lib/ (0x804546000) => /usr/local/lib/ (0x8047e8000) => /usr/local/lib/ (0x8049ef000) => /usr/local/lib/ (0x804c0a000) => /usr/local/lib/ (0x804e13000) => /usr/local/lib/ (0x805053000) => /usr/local/lib/ (0x805264000) => /usr/local/lib/ (0x80559d000) => /usr/local/lib/ (0x805897000) => /usr/lib/ (0x805b0c000) => /usr/local/lib/ (0x805d1e000) => /usr/local/lib/ (0x805f44000) => /usr/lib/ (0x806163000) => /usr/local/lib/ (0x80636c000) => /usr/local/lib/ (0x80656e000) => /usr/local/lib/ (0x80676f000)
$ ldd /usr/local/bin/fet-cl
/usr/local/bin/fet-cl: => /usr/local/lib/qt4/ (0x800e00000) => /usr/lib/ (0x801304000) => /lib/ (0x8015c3000) => /lib/ (0x8017e0000) => /lib/ (0x801a09000) => /lib/ (0x801c17000) => /lib/ (0x801e3c000) => /lib/ (0x8021e9000) => /usr/local/lib/ (0x8023ff000) => /usr/local/lib/ (0x802600000) => /usr/local/lib/ (0x802906000) => /usr/local/lib/ (0x802b11000) => /usr/local/lib/ (0x802e0b000)

Please notice that fet-cl needs only QtCore (and doesn't need QtGui and QtNetwork).
Get Help / Weeks
July 27, 2012, 04:16:25 PM
I should do a timetable with week A and week B.
The difference between A and B: some activities have different splits and maybe duration.
The difference is little: on some year (maybe 50%) has some (1-3 per year) activities, on weekA: 1+1, on weekB: 1 (so without +1), or 1+1+1 and 1+1 (so the difference is only 1 hour).
How can I make similar timetables on week A and week B?
I've tried with same seeds but the two timetables very-very different!

If I need write some plus script (bash, awk, sed, etc.) or make something manually doesn't matter.

Any idea?
FET can't generate timetable and I don't know why not.

If I only want to generate Year 5-8, it works. If I add 9/C it doesn't work. With 9/A and 9/B works too.

I can't find what the problem with Year 9/C.
Suggestions / Activate and de-activate recursive
May 26, 2012, 10:07:56 AM
I think the following feature will nice: when I de-activate a year should de-active some time constraints, e.g. min hours daily for a student set.
When I deactivate a year and I want to generate timetable, FET says that some groups don't have enough activity to this constraint.

And when I activate a whole year these constraints will again active.
Get Help / Number of students?
May 24, 2012, 06:00:31 PM
Hi all!

I get the next error:
QuoteCannot generate timetable, because for activity with id==269 you have no allowed preferred room (from the allowed number of students and preferred room(s) constraints)

Does it mean that the specified activity has more student than the preferred rooms capacity? Or maybe is it a bug?
Because I've checked: its subject is Chem which room has 36 capacity. I must down manually the number of students to 30 to FET's accept. And it doesn't exist 100% weight... What's wrong?
Contribute Translation / Hungarian translation
July 29, 2010, 09:57:07 AM
I began to work on hungarian translation...
Suggestions / Subgrouping
June 24, 2010, 05:42:21 AM
It would be nice when can create subgroup by multiple aspect.
What I think? It exists a group, name GA. They're splitted on a subject (SA) to some subgroups (SGA1, SGA2, SGA3,...). And there's an other subject (SB), where splitted too, only other subgroups (SGB1, SGB2,...).
E.g. the students learn english language, beginner and andvanced. They're beginner and advanced subgroups (because of english). They learn second language, france, german, roman, etc., so they're three (or more) subgroups, because of 2nd language. And the two subgrouping is independent.
I hope, I was clear.
When I create multiple timetables, FET doesn't write the highest stage state. And it would be nice, when into the random_seed file would write the highest stage, when the generation interrupted.
Suggestions / fet.desktop and icon
August 25, 2010, 08:20:26 AM

I've create a small fet.desktop file (see here). And I wanna to know that create anyone an icon file for fet. And if anybody want to modify fet.desktop, write me :)
Suggestions / Default settings per subject
August 23, 2010, 04:53:46 PM
Is there any chance to make it? In my school the all "English" subject is 4 per week (and there are more similar subjects). So it would be nice, when I don't should set these settings (activities per week, tags).
Suggestions / Filter
August 19, 2010, 09:27:20 AM
It would be nice when can filter in activities list by "no teacher" and "no students".
Suggestions / Filter teachers in add activity dialog
August 19, 2010, 09:50:24 AM
It would be nice when can pair teachers with his/her subjects and can filter in the activity dialog.
So, what do I think? I'm teaching Math and Phisycs. So to my name can add these subjects and when I add a new activity and select Literature, my name will not shown, only those teachers who teaches Literature.
Suggestions / Deactivity
August 12, 2010, 06:09:21 PM

If I de-activity all activities of a whole year (student set), FET will not ignore "min hours daily" constraint.
So I've two suggestion immedi:
- when FET check this (and similar) constraint, would tolerate this
- can deactivite the students set (and releated activities, constraints, etc.)

Sorry, I see similar topic here.