*** replaceafill has quit IRC | 00:51 | |
*** menesis has quit IRC | 02:16 | |
*** ignas has joined #schooltool | 02:58 | |
*** ignas has quit IRC | 03:35 | |
*** replaceafill has joined #schooltool | 04:33 | |
th1a | replaceafill, zyt? | 05:20 |
---|---|---|
replaceafill | y | 05:20 |
th1a | I just got a 'Could not adapt' for IUserPreferredLanguages when I tried to upload the spreadsheet. | 05:21 |
th1a | It is in the error log. | 05:21 |
* replaceafill checks | 05:21 | |
th1a | For Mark's demo. | 05:21 |
replaceafill | hhmm the importer seems broken | 05:23 |
th1a | aelkner touched it last I believe... | 05:23 |
replaceafill | no, yvl | 05:23 |
replaceafill | i guess he put some sort of hack for translating error messages | 05:24 |
replaceafill | "zope.i18n cannot recursively translate translatable messages in mapping. Yet. | 05:24 |
replaceafill | Add a workaround." | 05:24 |
th1a | Oh... I see... INVALID SCHOOL YEAR. | 05:24 |
th1a | Gotcha. | 05:24 |
replaceafill | see the translate() call | 05:24 |
th1a | Yeah, I'm moving up all the dates so this will actually show up for the current calendar. | 05:25 |
replaceafill | ah | 05:25 |
replaceafill | "# XXX: Hack, zope.i18n 3.6.2 cannot translate Message's in mapping. | 05:26 |
replaceafill | # Newer versions of zope.i18n can." | 05:26 |
replaceafill | however it seems like we're using 3.7.2 | 05:26 |
replaceafill | i wonder if yvl's XXX message is wrong or is it that we don't need the hack anymore? | 05:27 |
* replaceafill wonders why the context is being used as context in the translate() call | 05:29 | |
replaceafill | it should be the request the one being adapted to userpreferedlanguages | 05:30 |
replaceafill | th1a, can i make a change to the code? | 05:31 |
th1a | Yes. | 05:31 |
replaceafill | i mean stop the server for a while | 05:31 |
replaceafill | ok | 05:31 |
replaceafill | changing one line | 05:31 |
th1a | I was just going to ask how to stop the server... | 05:32 |
replaceafill | ok, let me do the change and i'll explain | 05:32 |
th1a | kk | 05:32 |
replaceafill | ok, change made | 05:33 |
replaceafill | try to start the server | 05:33 |
replaceafill | go to the /home/replaceafill/sandboxes/schooltool_demo_mark | 05:33 |
replaceafill | directory | 05:33 |
th1a | I'm there | 05:33 |
replaceafill | since you have sudo privileges | 05:33 |
replaceafill | you can become any user | 05:33 |
replaceafill | including 'replaceafill' | 05:33 |
replaceafill | try: | 05:33 |
replaceafill | sudo su replaceafill | 05:33 |
replaceafill | will ask you for your password | 05:34 |
th1a | Yes, yes. | 05:34 |
replaceafill | then you will be replaceafill | 05:34 |
th1a | I know THAT. | 05:34 |
replaceafill | sorry | 05:34 |
replaceafill | (shame) | 05:34 |
replaceafill | bin/start-schooltool-instance instance --daemon | 05:34 |
th1a | That's the kind of service I want for our even-less-technical users, though. ;-) | 05:34 |
th1a | Yes, how do I stop it then? | 05:35 |
replaceafill | bin/start-schooltool-instance instance --stop-daemon | 05:35 |
replaceafill | bin/start-schooltool-instance instance/ --help will show you the available comands | 05:35 |
replaceafill | you can query the service using --status for example | 05:35 |
replaceafill | could you try the same step that gave you the error? | 05:36 |
th1a | Trying... | 05:37 |
th1a | I think I fixed my error :S | 05:38 |
th1a | (mixed-up face) | 05:39 |
replaceafill | well, i can test raising the error here | 05:40 |
th1a | Ah, got a proper error message now. | 05:40 |
replaceafill | ah cool! | 05:40 |
replaceafill | (satisfaction face) | 05:40 |
th1a | Much more helpful error message now. | 05:43 |
replaceafill | excellent | 05:44 |
replaceafill | and they're supposed to be translatable (wink) | 05:44 |
th1a | Teacher don't seem to have permission to see the info page of their students. | 05:53 |
replaceafill | ah damn! | 05:54 |
replaceafill | you have to put teachers in the teachers group in cando | 05:54 |
replaceafill | so the skin will work | 05:54 |
th1a | Oh, fucking CanDo. | 05:54 |
th1a | OK, just remove cando from this. | 05:54 |
replaceafill | uh? | 05:55 |
th1a | I'll start over tomorrow. | 05:55 |
replaceafill | ah ok | 05:55 |
th1a | I can't deal with CanDo weirdness. | 05:55 |
replaceafill | new instance then | 05:55 |
th1a | It is not my problem. | 05:55 |
th1a | Please. | 05:55 |
replaceafill | ok | 05:55 |
replaceafill | sure, i'll do that later, all trunks except for cando | 05:55 |
replaceafill | (sad face because of cando weirdness) | 05:55 |
th1a | We'll have to address the permissions situation in CanDo. | 05:55 |
replaceafill | cando has a few situations... | 05:56 |
replaceafill | permissions is one of them | 05:56 |
replaceafill | ok, ill set everything up | 05:56 |
th1a | I also don't really want to use it because it takes over a bit more than I'd want. | 05:56 |
replaceafill | what do you mean? too many steps? | 05:56 |
th1a | No, just that it redirects you to cando stuff when you login. | 06:02 |
replaceafill | ah yes, the skin takes over | 06:02 |
* replaceafill wonders if 'sh' is better name than 'sheet'... | 08:33 | |
*** menesis has joined #schooltool | 09:21 | |
*** alga has joined #schooltool | 09:23 | |
*** menesis has quit IRC | 09:29 | |
*** menesis has joined #schooltool | 09:30 | |
*** krishnagiri_ has joined #schooltool | 09:36 | |
*** replaceafill has quit IRC | 11:00 | |
*** ignas has joined #schooltool | 11:24 | |
*** menesis has quit IRC | 11:30 | |
*** menesis has joined #schooltool | 11:32 | |
*** alga has quit IRC | 12:39 | |
*** yvl has quit IRC | 12:39 | |
*** Lumiere has quit IRC | 12:39 | |
*** aelkner has quit IRC | 12:39 | |
*** menesis has quit IRC | 12:39 | |
*** krishnagiri_ has quit IRC | 12:39 | |
*** th1a has quit IRC | 12:39 | |
*** ignas has quit IRC | 12:39 | |
*** menesis has joined #schooltool | 12:40 | |
*** ignas has joined #schooltool | 12:40 | |
*** krishnagiri_ has joined #schooltool | 12:40 | |
*** alga has joined #schooltool | 12:40 | |
*** th1a has joined #schooltool | 12:40 | |
*** yvl has joined #schooltool | 12:40 | |
*** Lumiere has joined #schooltool | 12:40 | |
*** aelkner has joined #schooltool | 12:40 | |
*** menesis has quit IRC | 13:05 | |
*** menesis has joined #schooltool | 13:38 | |
*** krishnagiri_ has quit IRC | 13:42 | |
*** replaceafill has joined #schooltool | 16:26 | |
*** replaceafill has quit IRC | 16:39 | |
*** replaceafill has joined #schooltool | 16:43 | |
*** alga has quit IRC | 17:07 | |
*** ColonelPanik has joined #schooltool | 17:58 | |
*** alga has joined #schooltool | 18:38 | |
*** alga has quit IRC | 19:00 | |
*** menesis has quit IRC | 20:26 | |
aelkner | replaceafill, ping | 20:26 |
replaceafill | pong | 20:26 |
aelkner | th1a and need your help | 20:27 |
aelkner | we need you to patch his instance for mark | 20:27 |
replaceafill | ok... | 20:27 |
aelkner | in the gradebook egg | 20:28 |
aelkner | the file is schooltool/gradebook/gradebook.py | 20:28 |
aelkner | let me know when you have the file open and ready for editing | 20:28 |
replaceafill | you mean you dont have a patch i can apply!??!?! | 20:28 |
replaceafill | (kidding) | 20:28 |
aelkner | hehe | 20:29 |
replaceafill | im going to stop the instance, ok? | 20:29 |
aelkner | th1a, ok? | 20:29 |
aelkner | replaceafill, let's give him one minute | 20:29 |
replaceafill | cool | 20:29 |
aelkner | then his silence will be permission :) | 20:29 |
replaceafill | (smile) | 20:30 |
aelkner | i agree with tom, you shouldn't be allowed to use a not-emoticon emoticon | 20:30 |
replaceafill | (rolling eyes) | 20:30 |
aelkner | well, that one would be difficult to do with an emoticon | 20:31 |
replaceafill | it seems like th1a isn't around | 20:31 |
aelkner | go ahead and bring it down | 20:31 |
replaceafill | server down... opening file | 20:31 |
aelkner | tell me when you have the file open for edit | 20:31 |
aelkner | search for IActivities | 20:31 |
aelkner | you will find three occurances | 20:32 |
replaceafill | ok | 20:32 |
aelkner | two of which have no 'interfaces.' before them | 20:32 |
replaceafill | yes | 20:32 |
aelkner | theay are wrong | 20:32 |
aelkner | if you fix them and restart, the bug will be gone | 20:32 |
replaceafill | i should add the 'interfaces.' then | 20:32 |
aelkner | yes | 20:32 |
replaceafill | dont use "except:" clauses | 20:33 |
aelkner | that is a new bug that wasn't caught because it was in a try except | 20:33 |
replaceafill | they hide errors pretty well | 20:33 |
aelkner | unfortunately | 20:33 |
replaceafill | ok, file changed | 20:33 |
aelkner | but if i had added a functional test for remembering sections earlier, i would have caught it | 20:33 |
replaceafill | server restarted... | 20:34 |
aelkner | unfortunately, i only added the test for the section removed | 20:34 |
replaceafill | ah | 20:34 |
aelkner | which is the except part of the code | 20:34 |
replaceafill | we need to use coverage tools (smile) | 20:34 |
aelkner | not having the original test caused me to not catch the bug | 20:34 |
aelkner | just preoves why functional tests are so important | 20:34 |
replaceafill | ok, server running | 20:34 |
replaceafill | is th1a going to check? | 20:35 |
replaceafill | or should i? | 20:35 |
aelkner | i can | 20:35 |
replaceafill | ah cool | 20:35 |
replaceafill | let me know if you fix trunk | 20:35 |
replaceafill | so we can get rid of the patch and just update the branch | 20:35 |
aelkner | it works now | 20:36 |
replaceafill | great | 20:36 |
aelkner | i'll have to subit a fix later | 20:36 |
aelkner | thanks for your help | 20:36 |
th1a | Super. | 20:36 |
replaceafill | np | 20:37 |
* replaceafill is checking cambodia's i18n using salvadorean spanish (wink) | 20:37 | |
aelkner | replaceafill, seriously what's with the new emoticons | 20:37 |
replaceafill | explicitness | 20:38 |
th1a | It is strangely disconcerting. | 20:38 |
aelkner | ;) | 20:38 |
aelkner | is explicit for wink | 20:38 |
replaceafill | i can make a face like (ah come on man, are you f*****n kidding me?) | 20:38 |
replaceafill | you cant with an emoticon | 20:38 |
aelkner | that's not a face, it's a sentence! | 20:38 |
aelkner | th1a, you get the runner-up reward for being the second person to care about last section visited :) | 20:40 |
th1a | Confirming that it works. | 20:54 |
replaceafill | (sad) demographic labels are not translatable... | 20:59 |
*** ColonelPanik has left #schooltool | 21:09 | |
*** menesis has joined #schooltool | 21:37 | |
replaceafill | th1a, aelkner, would you mind to explain me what the 'homeroom' period is? | 22:06 |
* replaceafill has been googling but he doesn't get it right yet | 22:06 | |
replaceafill | Here in the US a “Home Room” is the first class period of the day for high school students... Attendance is taken and announcements are made | 22:07 |
th1a | Oops, I thought that was in the glossary. | 22:08 |
replaceafill | oops, i didnt check | 22:09 |
th1a | Well, it isn't. (frowny face) | 22:09 |
replaceafill | lol | 22:09 |
replaceafill | but the definition above is the one, right? | 22:10 |
th1a | Yes. | 22:10 |
th1a | Well, it is applicable at all levels. | 22:10 |
replaceafill | haven't seen that here i guess | 22:10 |
th1a | In some cases, it is a completely separate section in SchoolTool terms. | 22:10 |
replaceafill | usually the same teacher is in charge of the class the whole day in schools | 22:10 |
th1a | In other cases, just the first period of the day is considered homeroom. | 22:10 |
th1a | Yes. | 22:11 |
th1a | We made it through quite a few months of working on SchoolTool before I realized that's how Lithuanian schools work and the Lithuanians realized how US schools work. | 22:11 |
th1a | It makes a rather big difference! | 22:12 |
* replaceafill looks for the spanish word for homeroom | 22:12 | |
replaceafill | and i always get the translation for 'class room' ... | 22:12 |
th1a | You might just want to translate it directly. | 22:13 |
th1a | LIterally. | 22:13 |
replaceafill | period of control (oh) | 22:15 |
*** replaceafill has quit IRC | 22:53 | |
th1a | aelkner, Do you know what an indicator is in interventions? | 23:14 |
*** alga has joined #schooltool | 23:17 | |
*** replaceafill has joined #schooltool | 23:40 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!