*** replaceafill has quit IRC | 00:01 | |
*** replaceafill has joined #schooltool | 01:05 | |
*** menesis has quit IRC | 01:12 | |
*** replaceafill has quit IRC | 02:18 | |
*** replaceafill has joined #schooltool | 05:32 | |
*** menesis has joined #schooltool | 09:16 | |
*** replaceafill has quit IRC | 10:12 | |
*** krishnagiri has joined #schooltool | 10:23 | |
*** menesis has quit IRC | 11:40 | |
*** ignas has joined #schooltool | 12:10 | |
*** yvl has quit IRC | 12:35 | |
*** menesis has joined #schooltool | 12:35 | |
*** krishnagiri has quit IRC | 14:20 | |
*** replaceafill has joined #schooltool | 17:03 | |
*** ignas has quit IRC | 18:46 | |
*** ColonelPanik has joined #schooltool | 19:19 | |
*** th1a has joined #schooltool | 19:37 | |
th1a | aelkner: Ping | 19:37 |
---|---|---|
aelkner | menesis, ayt? | 19:40 |
menesis | aelkner: yes | 19:40 |
aelkner | thanks for you help with my apt problem | 19:41 |
aelkner | i got the new code now | 19:41 |
aelkner | but i have a problem | 19:41 |
aelkner | the teachers timetable view doesn't look right | 19:41 |
aelkner | the css is all wrong | 19:41 |
aelkner | did you make any decisions about the css while merging | 19:42 |
menesis | aelkner: I have not changed anything | 19:42 |
menesis | I did not even merge, just pulled and pushed.. | 19:43 |
th1a | Do you need to reload your CSS perhaps? | 19:43 |
th1a | What does that, shift-click? | 19:43 |
aelkner | th1a, that did it! | 19:43 |
menesis | your commit changed css a lot, don't know if that was intended or not | 19:43 |
aelkner | duh, i should have thought of that | 19:44 |
menesis | however, the view did not work for me | 19:44 |
aelkner | what didn't work? | 19:44 |
menesis | I have written at least three places to fix in the merge request | 19:45 |
menesis | review after merge.. | 19:45 |
menesis | I got exceptions | 19:45 |
aelkner | how do i find your explanations? | 19:46 |
replaceafill | aelkner, https://code.launchpad.net/~aelkner/schooltool/schooltool.zambia/+merge/32056 | 19:47 |
replaceafill | :) | 19:47 |
*** ColonelPanik has left #schooltool | 19:47 | |
aelkner | replaceafill, where sis you find that link? | 19:47 |
replaceafill | it's in your merge request | 19:47 |
th1a | Don't you get an email for that, aelkner? | 19:48 |
menesis | you should have got an email | 19:48 |
menesis | and everyone else in ~schooltool-owners I assume? | 19:48 |
menesis | also... the new feature has no tests, so I cannot be sure if it works as expected or not. | 19:50 |
menesis | I ran tests, some of them fail, but as I understand those parts are not used. | 19:50 |
menesis | but the teachers timetable has no tests. | 19:51 |
aelkner | i got the email, but i was looking for the link on launchpad | 19:51 |
menesis | it is at the bottom of the email | 19:53 |
menesis | probably hidden under "show quoted text" | 19:54 |
aelkner | i understand that the link is in the email, but waht about finding the same link in launchpad | 19:55 |
aelkner | is that possible when you are browsing branches? | 19:55 |
replaceafill | aelkner, go to your zambia branch | 19:55 |
replaceafill | you will see your merge request at the top of the branch | 19:55 |
replaceafill | click on the "Merged" word | 19:56 |
aelkner | replaceafill, thanks | 19:56 |
aelkner | i was looking at the trunk branch, so that's why i coulndn't find the link | 19:56 |
aelkner | th1a, what do you think about menesis' poijt about skipping sections that | 19:58 |
aelkner | have mutiple timetables rather than giving the error message | 19:58 |
aelkner | i'm just wondering if it is better to show the user nothing than explain why | 19:58 |
menesis | maybe it is a problem if there are multiple timetables | 19:59 |
menesis | but the case I noted was when there are no timetables | 20:00 |
menesis | 0 != 1 | 20:00 |
aelkner | menesis, ah, good point | 20:00 |
aelkner | sections with zero timetables can be skipped | 20:00 |
aelkner | so that i can fix | 20:00 |
aelkner | regarding the point you made about Monday-Friday being defined in the view | 20:01 |
th1a | Yeah... I don't know how you have multiple timetables. | 20:01 |
aelkner | I had to do that because of the flaw in our timetable schemas | 20:02 |
aelkner | there is no schema model factory | 20:02 |
th1a | Hm? | 20:02 |
aelkner | that provides a weekly timetable that has Monday-Friday defined | 20:02 |
aelkner | only 0-6 as weekday numbers | 20:02 |
aelkner | not useful for the user to see as day of week headings | 20:02 |
aelkner | ideally we need a new model factory | 20:03 |
aelkner | but that change is a bit more core to schooltool timetable | 20:03 |
th1a | Well, something is missing here. | 20:03 |
menesis | WeeklyTimetableModel is used, and that one provides the names | 20:03 |
menesis | I have changed it to simply use the day_id and I see localized weekday names | 20:04 |
aelkner | menesis, changed what? | 20:06 |
*** replaceafill has quit IRC | 20:06 | |
menesis | a suggested fix is in the review | 20:06 |
aelkner | if you look at model.py, in the the WeeklyTimetableModel class | 20:06 |
aelkner | you'll see the following | 20:06 |
aelkner | if day_ids is not None: | 20:07 |
aelkner | self.timetableDayIds = day_ids | 20:07 |
aelkner | that's where the days of the week get replaced with integers | 20:07 |
*** replaceafill has joined #schooltool | 20:07 | |
aelkner | so no, the odel does not have Monday-Friday | 20:07 |
th1a | How do we construct a calendar then? | 20:08 |
aelkner | badly | 20:10 |
aelkner | it shows the days of the week as integers | 20:10 |
aelkner | oh, sorry, you meant calendar | 20:10 |
aelkner | the calendar building works | 20:10 |
aelkner | but the timetable view shows integers for the days of the week | 20:10 |
aelkner | i think noone ever used this schema model before, so noone complained | 20:11 |
menesis | well maybe day_ids are different when imported from xls, if that's what they do | 20:11 |
aelkner | yes, it is | 20:12 |
menesis | then that's a problem with the timetables :( | 20:12 |
aelkner | i had to code the Weekly model to require integers because that's all that the model would accept | 20:12 |
aelkner | bingo | 20:13 |
menesis | did not work for me when I created a few teachers, sections, and timetables by hand | 20:13 |
aelkner | how did you create a timetable by hand, using the wizard? | 20:14 |
menesis | ok, so if you import xls first, the teachers timetable works | 20:14 |
menesis | yes, using web interface | 20:15 |
aelkner | menesis, this is why i haven't written tests yet, because I wanted the customer's use | 20:15 |
menesis | guess I hit a few corner cases, but it will work for them | 20:15 |
aelkner | and any problems that come up be resolved first | 20:15 |
aelkner | but yes, your review points are well taken | 20:16 |
menesis | ok, so it is not urgent. Justas is rewriting timetables anyway. | 20:16 |
aelkner | well put, i figured it would be best to wait for that to finish before | 20:16 |
aelkner | opeing up the discussion of the flaw in timetabling | 20:16 |
menesis | true | 20:17 |
aelkner | in the meantime, i certainly can refine the css generation and handle some of the corner cases you found | 20:18 |
th1a | So after looking at Zambian report cards, I think the first thing we should do is change from "minimum passing score" to a list, as we discussed. | 20:18 |
th1a | Hrm. | 20:19 |
th1a | Well, maybe not... | 20:19 |
th1a | Because they still need an average. | 20:19 |
th1a | Which will still need to be compared to a minimum or maximum score. | 20:19 |
th1a | So maybe we need to switch to a numeric value AND a min/max bit. | 20:20 |
aelkner | th1a, call me? | 20:24 |
aelkner | menesis, i tried to download the zambia package from lauchpad using the ftp link you gave | 20:26 |
aelkner | us in an email once, but it said permission denied this time | 20:27 |
aelkner | also, i was wondering how I could find the packages on launchpad listed | 20:27 |
aelkner | the reason i want to download one is to look at in the package installed | 20:27 |
aelkner | it has a great view of the installed files that helps me find things on my system | 20:27 |
replaceafill | aelkner, https://launchpad.net/~schooltool-owners/+archive/dev/ | 20:28 |
replaceafill | you can get to the packages here: https://launchpad.net/~schooltool-owners/+archive/dev/+packages | 20:28 |
replaceafill | or if you can find your way here: http://ppa.launchpad.net/schooltool-owners/dev/ubuntu/ | 20:29 |
menesis | aelkner: fixed the permissions, but the debs are on launchpad now | 20:29 |
menesis | as replaceafill said | 20:30 |
aelkner | thanks guys | 20:30 |
menesis | don't know how to see the contents of package on launchpad | 20:31 |
aelkner | ah man, the 'view package details' button is small and to the right, so i didn't see it | 20:31 |
menesis | if I understand correctly, to see the contents of an installed package, you can | 20:31 |
menesis | dpkg -L schooltool-zambia | 20:31 |
th1a | aelkner needs new glasses. | 20:32 |
replaceafill | menesis, downloading it? | 20:32 |
replaceafill | :D | 20:32 |
aelkner | there's a link for it under the package details | 20:32 |
aelkner | menesis, thanks, that's the command form which will be easier than finding links on launchpad :) | 20:33 |
menesis | to find what package a file comes from, dpkg -S /usr/share/schooltool-common/site.zcml.template | 20:34 |
replaceafill | wtf?!?! | 20:34 |
menesis | for example | 20:34 |
aelkner | nice | 20:36 |
replaceafill | nice trick! :) | 20:37 |
menesis | oh, "view package details" | 20:38 |
menesis | I don't like this change to launchpad as well | 20:38 |
aelkner | thanks for showing that it isn't just me :) | 20:38 |
menesis | more often I just append /+packages into the location bar :p | 20:47 |
*** th1a has quit IRC | 21:20 | |
*** bufke has joined #schooltool | 21:26 | |
*** menesis has quit IRC | 21:28 | |
bufke | Could someone help me build schooltool.gradebook from brz. When I make it I keep getting Error: There is a version conflict. We already have: schooltool 1.4.2.1 but schooltool.lyceum.journal 0.7.1dev-r243 requires 'schooltool>=1.5.0'. | 21:42 |
replaceafill | bufke, are you using a shared eggs directory? | 21:44 |
bufke | I set it up in /.buildout/eggs like the developing schooltool doc says | 21:46 |
replaceafill | ok, let me see something | 21:47 |
replaceafill | i've seen that kind of error when you already have eggs in your shared directory and try to do something with it | 21:47 |
replaceafill | personally, i don't like shared eggs directory because of it | 21:48 |
* replaceafill tests the gradebook | 21:48 | |
replaceafill | well the gradebook works here... | 21:50 |
bufke | hmm I'll try deleting everything and starting from scatch | 21:51 |
replaceafill | i'd recomend to put an "eggs-directory" line in your buildout.cfg file | 21:51 |
replaceafill | or delete it if you already have it | 21:51 |
replaceafill | also, if this only for testing stuff, you can get rid of the schooltool eggs in the shared directory | 21:52 |
replaceafill | i do that sometimes | 21:52 |
replaceafill | like "rm -r ~/.buildout/eggs/schooltool* | 21:53 |
replaceafill | again, i prefer every sandbox to have its own eggs :) | 21:53 |
bufke | ok I'll try that | 21:54 |
replaceafill | you download stuff repeatedly, but it helps to avoid this kind of trouble | 21:55 |
replaceafill | feel free to ask if you have further questions | 21:55 |
replaceafill | bufke, got the same error! | 21:58 |
replaceafill | wait... or not... | 21:58 |
replaceafill | While: | 21:59 |
replaceafill | Installing package. | 21:59 |
replaceafill | Getting distribution for 'schooltool.lyecum.journal'. | 21:59 |
replaceafill | Error: Couldn't find a distribution for 'schooltool.lyecum.journal'. | 21:59 |
replaceafill | :S | 21:59 |
bufke | yes I got that its spelled wrong on the documentation | 21:59 |
bufke | lyceum* | 21:59 |
replaceafill | book has a typo | 21:59 |
replaceafill | :) | 21:59 |
bufke | ah nuking .buildout and redownloading the bzr from scratch seems to have done the trick | 22:12 |
replaceafill | :) | 22:12 |
replaceafill | that's why i started to hate shared eggs directory :D | 22:12 |
bufke | aye. I can see why though that did download a ton of stuff | 22:13 |
replaceafill | yes, all the eggs have to be downloaded (and some compiled) again | 22:14 |
*** menesis has joined #schooltool | 22:14 | |
bufke | I'm fixing this bug https://bugs.launchpad.net/schooltool.gradebook/+bug/615957 | 22:22 |
bufke | When the user types enter it should just go down to the next cell down right? It makes it so the only way to save is to either user the mouse or tab until highlighting the save button | 22:24 |
*** replaceafill has quit IRC | 23:22 | |
*** ignas has joined #schooltool | 23:22 | |
*** ignas has quit IRC | 23:32 | |
*** th1a has joined #schooltool | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!