*** alga has quit IRC | 00:04 | |
*** aelkner has joined #schooltool | 00:32 | |
*** fsufitch has joined #schooltool | 01:32 | |
*** eldar has joined #schooltool | 02:06 | |
eldar | aelkner: hey alan | 02:06 |
---|---|---|
eldar | i got your msg | 02:06 |
aelkner | cool | 02:06 |
aelkner | so you know what to do? | 02:06 |
eldar | just write a test for the evolve script | 02:07 |
aelkner | yes | 02:07 |
aelkner | if you look in schooltool, you'll see examples | 02:08 |
eldar | yup | 02:09 |
aelkner | could you explain what you did to evolve4? | 02:09 |
eldar | yes, evolve4 used to setSite | 02:09 |
eldar | for every schooltool app | 02:09 |
eldar | which works fine for over the shell evolution | 02:09 |
eldar | but it breaks when you evolve through the web interface and get an exception | 02:10 |
eldar | the exception doesn't pass through | 02:10 |
eldar | so i just reset the site to what it was after the code was done every time | 02:10 |
eldar | so that any exceptions could be posted | 02:10 |
aelkner | but i never heard of using the through the web stuff in schooltool | 02:10 |
eldar | even if web interface was used for evolution | 02:10 |
eldar | ignas showed me | 02:10 |
eldar | under: | 02:10 |
eldar | schooltool->application control -> actions -> zodb control -> there are evolve options | 02:11 |
eldar | it lists the generations for different products | 02:11 |
aelkner | OOOH | 02:11 |
eldar | and lets you evolve if possible | 02:11 |
aelkner | good to know | 02:11 |
eldar | yeah for some reason the database wouldn't evolve on start up | 02:11 |
eldar | so i had to use that button to trigger the evolution | 02:11 |
*** eldar has left #schooltool | 03:37 | |
*** ccarey has joined #schooltool | 04:08 | |
*** ccarey has joined #schooltool | 04:08 | |
*** ccarey has quit IRC | 04:48 | |
*** fsufitch has quit IRC | 05:47 | |
*** subir has joined #schooltool | 08:06 | |
*** didymo has quit IRC | 08:09 | |
*** subir has quit IRC | 08:23 | |
*** subir has joined #schooltool | 08:25 | |
*** subir has quit IRC | 08:39 | |
*** subir has joined #schooltool | 08:53 | |
*** subir has quit IRC | 11:25 | |
*** ignas has joined #schooltool | 11:45 | |
*** subir has joined #schooltool | 12:06 | |
*** subir has quit IRC | 12:17 | |
*** alga has joined #SchoolTool | 15:00 | |
*** eldar has joined #schooltool | 17:14 | |
eldar | aelkner: good morning | 17:14 |
*** Aiste has quit IRC | 17:17 | |
eldar | aelkner: ayt? | 17:26 |
aelkner | eldar: i'm here | 17:55 |
eldar | yeah sorry cell was upstairs | 17:58 |
eldar | didn't get to it in time | 17:58 |
aelkner | listen to my message please | 17:59 |
eldar | you want me to call you? | 18:00 |
aelkner | yeah | 18:01 |
aelkner | ignas: are you there? | 18:14 |
ignas | yes | 18:14 |
aelkner | i can't seem to find an evolve script in schooltool that prints a message when it's done evolving | 18:15 |
aelkner | shouldn't they? | 18:15 |
ignas | no | 18:15 |
aelkner | we do that in cando | 18:15 |
ignas | i know | 18:15 |
aelkner | it's nice to see when one starts the server | 18:15 |
ignas | why would users care about it? | 18:15 |
aelkner | as a visual queue that the evolve worked | 18:16 |
aelkner | users don't start servers | 18:16 |
ignas | if evolve fails - it's a traceback and a bug | 18:16 |
ignas | else - why display anything | 18:16 |
aelkner | ah, but isn't it nice to see a visual confirmation | 18:16 |
ignas | if you know that it should evolve - maybe | 18:16 |
ignas | not much sense otherwise | 18:16 |
ignas | especially putting it to stdout | 18:17 |
ignas | to some log file - maybe | 18:17 |
ignas | but stdout | 18:17 |
ignas | most admins don't see stdout when they start server | 18:17 |
aelkner | ok, understood | 18:17 |
ignas | i think all that apache gives you in stdout on ubuntu is "server started" | 18:17 |
ignas | having some logging in Zope3 for generations would be nice though | 18:18 |
aelkner | do you have a problem if wee use the practice of printing to stdout for our piece of mind? | 18:18 |
ignas | it's cando, so you can do whatever you want to | 18:18 |
ignas | i do this myself, but for debugging only | 18:19 |
aelkner | i see, perhaps that's how i got started doing it | 18:19 |
aelkner | someone commited a debug message | 18:19 |
aelkner | but no | 18:20 |
aelkner | i saw an evolve test that actually expected it | 18:20 |
aelkner | anyway, no big deal | 18:20 |
aelkner | another question: | 18:20 |
aelkner | how picky are you on PEP 8 for no line more than 80 chars long? | 18:21 |
ignas | i try to avoid lines longer than that quite actively | 18:21 |
ignas | sometimes you just can't | 18:22 |
ignas | but if you can - you probably should | 18:22 |
aelkner | thanks for the clarification | 18:22 |
ignas | don't go on "\" spree though ;) | 18:22 |
eldar | haha brb | 18:31 |
*** eldar has quit IRC | 18:31 | |
*** eldar has joined #schooltool | 18:32 | |
eldar | svn merge --dry-run -r 1293:HEAD https://eldar@svn.schooltool.org/cando/branches/message/ | 18:32 |
eldar | ignas, i'm trying to merge a branch back into trunk | 18:33 |
eldar | that's the command i used | 18:33 |
eldar | the output from dry-run says it's going to skip files that i svn removed | 18:33 |
eldar | is that normal? does svn merge not deal with removed files? | 18:34 |
ignas | i think it should not be skipping them | 18:34 |
ignas | but maybe they have changes | 18:34 |
ignas | in the branch you are merging into | 18:34 |
aelkner | he's merging into trunk | 18:35 |
aelkner | and nobody changed anything there | 18:35 |
ignas | hmm, it's not telling me anything about skipping | 18:37 |
ignas | but i can see only 1 file deleted "src/cando/newskin/templates/sectionjournals-go.pt" | 18:37 |
eldar | yeah, we can remove it manually, it's not big deal | 18:37 |
eldar | this is just an educational question | 18:38 |
ignas | i mean - it will be deleted by the merge | 18:38 |
ignas | i think | 18:38 |
ignas | at least on my machine | 18:38 |
*** eldar has quit IRC | 18:44 | |
*** eldar has joined #schooltool | 18:46 | |
eldar | http://svn.schooltool.org/cando | 18:46 |
eldar | can anyone get there? | 18:46 |
eldar | because neither my browser nor my shell will update | 18:47 |
eldar | ignas: is the svn machine dead? | 18:48 |
ignas | a bit slow, but yes - it's there | 18:50 |
*** mattva01 has joined #schooltool | 18:50 | |
aelkner | ignas: an svn question | 19:00 |
ignas | aelkner: how is the sections view going by the way? | 19:00 |
ignas | aelkner: what is the question? | 19:01 |
aelkner | sections view? | 19:01 |
mattva01 | so whats the plan? | 19:01 |
aelkner | ignas: forget my question for now | 19:01 |
aelkner | mattva01: we're not ready for you yet | 19:02 |
aelkner | give us a couple minutes | 19:02 |
aelkner | but stay on-line | 19:02 |
mattva01 | kk | 19:02 |
ignas | aelkner: http://schooltool.pov.lt/irclogs/%23schooltool.2007-11-05.log.html#t2007-11-05T19:05:31 | 19:02 |
ignas | "aelkner: so we agree that i will fix the sections view to behave according to role?" | 19:02 |
aelkner | ignas: looks like i missed a lot of discossion there | 19:03 |
aelkner | i | 19:03 |
aelkner | i'll need to look at that when i've got matt's instance updated | 19:03 |
ignas | ok | 19:03 |
aelkner | mattva01: i have some prep questions while eldar works on svn merge issues | 19:07 |
mattva01 | ok | 19:08 |
aelkner | did you back up your current Data.fs? | 19:09 |
mattva01 | one sec | 19:10 |
mattva01 | this is for cando right? | 19:11 |
*** th1a has joined #schooltool | 19:11 | |
aelkner | mattva01: yes, for cando | 19:12 |
eldar | make sure you shut down your instance before you copy your Data.fs | 19:12 |
eldar | otherwise it'll be corrupted | 19:12 |
aelkner | you should know that eldar did a major change to cando to change journals to messages | 19:12 |
aelkner | he's merging his branch into trunk as we speak | 19:12 |
mattva01 | ok | 19:13 |
aelkner | when he's ready (soon), we'll ask you to update your instance and restart it | 19:13 |
aelkner | you should see an evolve message mesage | 19:13 |
mattva01 | ok | 19:13 |
mattva01 | give me a sec to shutdown and backup | 19:14 |
aelkner | ok | 19:14 |
eldar | mattva01: alright matt, you can update your copy of the trunk | 19:19 |
eldar | and test the new changes | 19:19 |
mattva01 | ok | 19:19 |
mattva01 | svn up right? | 19:19 |
eldar | make update | 19:19 |
mattva01 | oh ok | 19:19 |
aelkner | i always suggest svn up, but eldar's probably right | 19:19 |
aelkner | i don't think it matters | 19:19 |
aelkner | but maybe once in a while make update will catch changes to eggs that svn up wouldn't | 19:20 |
mattva01 | ah | 19:20 |
eldar | when that's done let us know | 19:25 |
mattva01 | done | 19:25 |
mattva01 | and back up | 19:26 |
eldar | ok | 19:26 |
eldar | now do "make run" | 19:26 |
eldar | at the end of it, sometime, if everything goes well | 19:26 |
eldar | it'll say "Evolved to generation 7" | 19:27 |
mattva01 | yes did that | 19:27 |
eldar | awesome | 19:27 |
aelkner | after it's back up, please check that the messages are still there | 19:27 |
mattva01 | k having elkner check | 19:30 |
mattva01 | yes they are | 19:30 |
aelkner | yay! | 19:30 |
aelkner | nice work eldar | 19:31 |
mattva01 | oh wait | 19:31 |
eldar | ? | 19:31 |
mattva01 | error on "pending messages" | 19:31 |
mattva01 | I have to go to class | 19:31 |
*** mattva01 has quit IRC | 19:32 | |
aelkner | eldar: are you there? | 19:38 |
*** ignas has quit IRC | 19:45 | |
eldar | aelkner: yea sorry fixing some stuff | 19:48 |
aelkner | one sec | 19:48 |
*** wbrady has joined #schooltool | 19:50 | |
wbrady | eldar: hello there | 19:51 |
wbrady | im in the machine just need to know how to do it and stuff | 19:51 |
aelkner | eldar: did you hang up? | 19:51 |
eldar | aelkner: yeah my phone died | 19:53 |
aelkner | no prob | 19:53 |
aelkner | so where are you now? | 19:54 |
eldar | so obviously things don't always work the way they you want them to | 19:54 |
aelkner | right | 19:54 |
aelkner | i regret not being even more careful than i was | 19:54 |
eldar | apparently, i forgot to carry over | 19:54 |
eldar | some attributes from journals | 19:54 |
eldar | to messageboxes | 19:54 |
aelkner | yup | 19:54 |
eldar | some journals have person and section attribute assigned to them | 19:54 |
aelkner | luckily we had matt back up his DAta.fs | 19:54 |
eldar | yup | 19:55 |
aelkner | and...? | 19:55 |
aelkner | so the pending mesages would have had these attributes? | 19:55 |
aelkner | wbrady: hi | 19:56 |
wbrady | hello there | 19:56 |
aelkner | could you ask jelkner if he'll be around with matt later? | 19:57 |
wbrady | sure one sec | 19:57 |
eldar | no it's not pending messages | 19:57 |
eldar | when journals are accessed through traversal | 19:57 |
eldar | they're added person and section attributes | 19:57 |
eldar | depending on what kind of journals they are | 19:57 |
wbrady | im also looking for help updating our system and matt is in class so im kinda stuck without much | 19:57 |
eldar | that is done outside of their constructor, which is why i missed it | 19:58 |
aelkner | wbrady: we need you to have the same privelges as matt | 19:58 |
wbrady | i do | 19:58 |
aelkner | i'm sick of this not being able to do abything when matt's not there | 19:58 |
aelkner | but do you have the knowlege that he has | 19:58 |
aelkner | i mean, can you do the updates | 19:58 |
eldar | do you know where matt put | 19:59 |
eldar | his back up of Data.fs | 19:59 |
wbrady | no he was going to write it down somehwere but he hasn't gotten to that yet and that is why i'm hopin ya'll can help me update it now | 19:59 |
aelkner | well, that, too | 19:59 |
aelkner | ugh | 19:59 |
aelkner | you know what? | 20:00 |
aelkner | we might be able to | 20:00 |
aelkner | except we won't be able to know where matt put the backup Data.fs | 20:00 |
aelkner | but i could show you how to do the update | 20:00 |
wbrady | great that would be awesome | 20:01 |
aelkner | you could ps aux | grep cando | 20:01 |
aelkner | tell me what you get | 20:01 |
wbrady | root 4875 5.8 15.2 173816 73860 ? Sl 12:17 2:06 python2.4 start-cando.py | 20:01 |
wbrady | wbrady 4956 0.0 0.1 2880 752 pts/3 R+ 12:54 0:00 grep cando | 20:01 |
aelkner | try ps aef | grep cando | 20:02 |
aelkner | becuase the starting directory is not coming through | 20:02 |
wbrady | nothing | 20:02 |
aelkner | yeah, aef isn | 20:03 |
aelkner | isn't worth much | 20:03 |
aelkner | problem is we don't know what the current dir was when he started it | 20:03 |
aelkner | there's a command for listing all open files on a process id, but i don't recall it | 20:03 |
eldar | we need the old data.fs back there to be updated | 20:03 |
eldar | there is another way though | 20:03 |
eldar | if there aren't that many sections | 20:04 |
eldar | just manually traverse to all the messageboxes | 20:04 |
wbrady | there are some in his home directory | 20:04 |
eldar | then the attributes that didn't get carried over will be carried over | 20:04 |
aelkner | eldar: let's not | 20:04 |
eldar | and with updated code it should work | 20:04 |
aelkner | that's too much of a hack for a production instance | 20:04 |
eldar | well then we need matt back i guess | 20:04 |
aelkner | looks like | 20:04 |
eldar | i'll write him an email telling him what to do | 20:04 |
aelkner | wbrady: when does he come back | 20:05 |
wbrady | ok no writing matt emails is a failure | 20:05 |
wbrady | hes going to go home after school today | 20:05 |
wbrady | I will call him myself tonight or tomorrow | 20:05 |
wbrady | and work everything out with him | 20:05 |
eldar | what's your email | 20:05 |
eldar | i'll cc you | 20:05 |
wbrady | basically it will switch from him in charge to me in charge | 20:05 |
wbrady | wbrady4927@gmail.com | 20:05 |
aelkner | i like the sound of that | 20:05 |
eldar | what's matt's email? | 20:05 |
wbrady | mattva01@gmail.com | 20:06 |
wbrady | jeff was just explaining to me how u have to tell matt things in person for him to do them quickly | 20:06 |
aelkner | wbrady: please have jeff call me | 20:07 |
wbrady | he says call him | 20:08 |
eldar | ok | 20:08 |
eldar | alright, email's out | 20:09 |
wbrady | got | 20:10 |
eldar | i'm gonna grab something to eat | 20:11 |
aelkner | eldar, wbrady, i'm leaving this in your hands | 20:17 |
wbrady | it will be ok i will call matt tonight | 20:17 |
wbrady | im heading out of class now myself | 20:17 |
wbrady | adios | 20:18 |
*** wbrady has quit IRC | 20:18 | |
*** jfluhmann has joined #schooltool | 21:03 | |
*** jfluhmann has left #schooltool | 21:03 | |
*** alga has quit IRC | 21:25 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!