Main Menu
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

#1
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?
http://beefy5.nyi.freebsd.org/data/121i386-default/556876/logs/fet-5.48.0.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


Thanks!
#2
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.
#3
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).
#4
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?
#5
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.
#6
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.                             
Abort

FET version 5.31.5.
#7
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.
#8
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:
        libQtGui.so.4 => /usr/local/lib/qt4/libQtGui.so.4 (0x801400000)
        libQtNetwork.so.4 => /usr/local/lib/qt4/libQtNetwork.so.4 (0x802159000)
        libQtCore.so.4 => /usr/local/lib/qt4/libQtCore.so.4 (0x802600000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x802b04000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x802dc3000)
        libm.so.5 => /lib/libm.so.5 (0x802fe0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x803209000)
        libthr.so.3 => /lib/libthr.so.3 (0x803417000)
        libc.so.7 => /lib/libc.so.7 (0x80363c000)
        libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x8039e9000)
        libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x803bea000)
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x803ef0000)
        libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x8040fb000)
        libz.so.6 => /lib/libz.so.6 (0x804330000)
        libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x804546000)
        libSM.so.6 => /usr/local/lib/libSM.so.6 (0x8047e8000)
        libICE.so.6 => /usr/local/lib/libICE.so.6 (0x8049ef000)
        libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x804c0a000)
        libfontconfig.so.1 => /usr/local/lib/libfontconfig.so.1 (0x804e13000)
        libXext.so.6 => /usr/local/lib/libXext.so.6 (0x805053000)
        libX11.so.6 => /usr/local/lib/libX11.so.6 (0x805264000)
        libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x80559d000)
        libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x805897000)
        libbz2.so.4 => /usr/lib/libbz2.so.4 (0x805b0c000)
        libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x805d1e000)
        libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x805f44000)
        librpcsvc.so.5 => /usr/lib/librpcsvc.so.5 (0x806163000)
        libXau.so.6 => /usr/local/lib/libXau.so.6 (0x80636c000)
        libpthread-stubs.so.0 => /usr/local/lib/libpthread-stubs.so.0 (0x80656e000)
        libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x80676f000)
$ ldd /usr/local/bin/fet-cl
/usr/local/bin/fet-cl:
        libQtCore.so.4 => /usr/local/lib/qt4/libQtCore.so.4 (0x800e00000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x801304000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x8015c3000)
        libm.so.5 => /lib/libm.so.5 (0x8017e0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x801a09000)
        libthr.so.3 => /lib/libthr.so.3 (0x801c17000)
        libc.so.7 => /lib/libc.so.7 (0x801e3c000)
        libz.so.6 => /lib/libz.so.6 (0x8021e9000)
        libgthread-2.0.so.0 => /usr/local/lib/libgthread-2.0.so.0 (0x8023ff000)
        libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x802600000)
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x802906000)
        libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x802b11000)
        libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x802e0b000)


Please notice that fet-cl needs only QtCore (and doesn't need QtGui and QtNetwork).
#9
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?
#10
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.
#11
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.
#12
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?
#13
Contribute Translation / Hungarian translation
July 29, 2010, 09:57:07 AM
I began to work on hungarian translation...
#14
Suggestions / Subgrouping
June 24, 2010, 05:42:21 AM
Hello!
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.
#15
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.
#16
Suggestions / fet.desktop and icon
August 25, 2010, 08:20:26 AM
Hello!

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 :)
#17
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).
#18
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".
#19
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.
#20
Suggestions / Deactivity
August 12, 2010, 06:09:21 PM
Hello!

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.)

Edit
Sorry, I see similar topic here.