pcardune | it should fail | 00:01 |
---|---|---|
pcardune | if it doesn't fail then it found the link | 00:01 |
fsufitch | then i've got the test for it | 00:01 |
pcardune | let me look again | 00:01 |
fsufitch | i'm just navigating using getLink and click | 00:01 |
fsufitch | and if the link isnt there, then getLink should fail | 00:02 |
pcardune | oh, wrong one, i mean the "Print" link | 00:02 |
fsufitch | oh | 00:02 |
pcardune | under the actions menu | 00:02 |
fsufitch | well, that's why i was asking about the skill driver | 00:02 |
fsufitch | because none is created, so i can use it to navigate | 00:02 |
*** jinty has quit IRC | 00:04 | |
pcardune | oh | 00:07 |
pcardune | well there still shouldn't be a link from the skill driver | 00:07 |
*** fsufitch_ has joined #schooltool | 00:07 | |
pcardune | only from the skill driver's gradebook | 00:07 |
fsufitch_ | w00t xchat works | 00:08 |
fsufitch_ | but how do i get _to_ the skill driver's gradebook? | 00:08 |
*** fsufitch has quit IRC | 00:08 | |
pcardune | you don't have to write a test for that | 00:08 |
fsufitch_ | yeah, but i need to *be* there before i can go to the printview... | 00:09 |
fsufitch_ | right? | 00:09 |
pcardune | I see the confusion | 00:09 |
pcardune | you need to get rid of the change you made to skilldriver/browser/configure.zcml | 00:09 |
fsufitch_ | oh? | 00:09 |
pcardune | get rid of that print.html declaration, because it isn't neeed | 00:09 |
pcardune | needed* | 00:10 |
pcardune | yeah | 00:10 |
pcardune | instead you should add title and menu attribtues to the other zcml declarations for ICompetencyGradebook | 00:10 |
pcardune | and IStudentCompetencyGradebook | 00:10 |
fsufitch_ | i'm confused | 00:10 |
pcardune | i noticed | 00:10 |
fsufitch_ | >_> | 00:11 |
pcardune | can I call you? it will be easier to explain | 00:11 |
fsufitch_ | call? | 00:11 |
fsufitch_ | u mean via skype or actual phone? | 00:11 |
fsufitch_ | cuz my skype is dead | 00:11 |
pcardune | I will skype your actual phone | 00:11 |
fsufitch_ | oook | 00:12 |
fsufitch_ | do u know my phone #? | 00:12 |
pcardune | no, you have to private message me it | 00:12 |
pcardune | oh, and what about wengophone | 00:12 |
pcardune | you should try wengophone | 00:12 |
fsufitch_ | what is wengophone? | 00:12 |
fsufitch_ | i'll privmsg u anyway | 00:12 |
fsufitch_ | and, um how do i privmsg again? | 00:12 |
AVN-clockout | uh | 00:13 |
AVN-clockout | its /msg | 00:13 |
AVN-clockout | but you need to be registered | 00:13 |
fsufitch_ | wow that was random, but thanx chris | 00:13 |
AVN-clockout | welcome :) | 00:13 |
fsufitch_ | pcardune, did u get that? | 00:14 |
pcardune | nope | 00:14 |
pcardune | maybe you should switch your nick back to fsufitch | 00:14 |
fsufitch_ | that's not registered either | 00:14 |
fsufitch_ | i'll just google IM u | 00:14 |
pcardune | that works too | 00:15 |
fsufitch_ | got that? | 00:15 |
fsufitch_ | pcardune, thx :) | 00:26 |
pcardune | np | 00:26 |
*** didymo has joined #schooltool | 00:41 | |
fsufitch_ | hmm | 01:14 |
fsufitch_ | pcardune, ping? | 01:14 |
pcardune | fsufitch_: yep? | 01:15 |
fsufitch_ | i had to take a food break, so i'm sorry i bring this up so late | 01:15 |
fsufitch_ | but: | 01:15 |
fsufitch_ | the configure.zcml works well for the competencies by group | 01:15 |
fsufitch_ | and it makes the links for the skills driver page too | 01:15 |
fsufitch_ | but those links don't work | 01:16 |
fsufitch_ | to come to it, no links from that page work | 01:16 |
fsufitch_ | well, nothing that goes to a subpage URL-wise | 01:16 |
fsufitch_ | like clicking on a student for example | 01:16 |
fsufitch_ | hello? | 01:20 |
pcardune | sorry, sometimes you've got to ping me a lot | 01:25 |
pcardune | fsufitch_: :) | 01:25 |
fsufitch_ | ok | 01:25 |
fsufitch_ | so... | 01:26 |
fsufitch_ | why is this being stupid? | 01:26 |
pcardune | you are saying there are broken links in the gradebook? | 01:26 |
fsufitch_ | yes | 01:26 |
pcardune | please submit a bug report for that | 01:26 |
fsufitch_ | well maybe just the gradebook in the skill driver context | 01:26 |
pcardune | that could be | 01:27 |
fsufitch_ | oh yeah | 01:27 |
fsufitch_ | since when you click on a student, it wants to add evidence for that student's grades | 01:27 |
fsufitch_ | and somehow there is no link to the actual students from the skill driver | 01:27 |
pcardune | ok | 01:27 |
fsufitch_ | so i should submit that? | 01:28 |
pcardune | that does sound like a bug | 01:28 |
pcardune | I even vaguely remember something like that | 01:28 |
pcardune | yes, please submit it | 01:28 |
fsufitch_ | it gives the same error for my link | 01:28 |
fsufitch_ | ok | 01:28 |
pcardune | and we'll get to it as soon as we can | 01:28 |
fsufitch_ | how do i submit bugs again? | 01:28 |
pcardune | just go to launchpad, find cando, click on bugs | 01:28 |
pcardune | and it is pretty self explanatory from there | 01:28 |
pcardune | https://bugs.launchpad.net/cando/ that is the link | 01:29 |
fsufitch_ | cando or cando project? | 01:29 |
fsufitch_ | oh ok | 01:29 |
fsufitch_ | added. | 01:33 |
fsufitch_ | i think it's the same bug that's causing my stuff not to work | 01:33 |
fsufitch_ | but anyway, i'll wait for the fix for now | 01:33 |
fsufitch_ | i'm done working today :) | 01:33 |
*** fsufitch_ is now known as fsufitch | 01:36 | |
pcardune | i'm about done as well | 01:37 |
fsufitch | oh, btw | 01:37 |
fsufitch | am i *supposed* to be able to delete people's worklogs in timeclock? | 01:38 |
fsufitch | pcardune, ping | 01:38 |
pcardune | ummm no | 01:38 |
pcardune | put that in as a bug too :) | 01:38 |
AVN-clockout | filip, your still working? | 01:39 |
pcardune | but put that in as a timeclock bug, not a cando bg | 01:39 |
AVN-clockout | you said you were sick of working 3 hours ago? | 01:39 |
pcardune | search for timeclock on LP | 01:39 |
fsufitch | i'm just done working | 01:41 |
fsufitch | yes, i was sick of working 3 hrs ago | 01:41 |
fsufitch | but i kept going :) | 01:41 |
AVN-clockout | thats the spirit | 01:41 |
fsufitch | tyvm | 01:42 |
fsufitch | pcardune, is this a security thing? | 01:42 |
pcardune | fsufitch: ys | 01:42 |
pcardune | yes* | 01:42 |
fsufitch | ok | 01:42 |
fsufitch | i'm gone... | 01:46 |
*** fsufitch is now known as fsufitch_away | 01:46 | |
*** gpaci has quit IRC | 02:21 | |
*** fsufitch_away is now known as fsufitch_not_wor | 02:27 | |
*** fsufitch_not_wor is now known as fsufitch_nowork | 02:27 | |
*** eldar has quit IRC | 02:29 | |
*** wrobel has quit IRC | 03:24 | |
*** alga has quit IRC | 04:06 | |
*** fsufitch_nowork has quit IRC | 04:14 | |
*** lisppaste5 has quit IRC | 06:43 | |
*** E-nnovative has joined #schooltool | 06:44 | |
*** lisppaste5 has joined #schooltool | 06:49 | |
*** pcardune has quit IRC | 08:08 | |
*** E-nnovative has quit IRC | 08:42 | |
*** E-nnovative has joined #schooltool | 08:58 | |
*** thisfred has joined #schooltool | 09:20 | |
*** mgedmin has joined #schooltool | 09:50 | |
*** didymo has quit IRC | 09:55 | |
*** jfroche has joined #schooltool | 11:13 | |
*** jinty has joined #schooltool | 12:10 | |
*** jfroche_ has joined #schooltool | 12:31 | |
*** pcardune has joined #schooltool | 12:43 | |
*** jfroche__ has joined #schooltool | 12:45 | |
*** jfroche has quit IRC | 12:46 | |
*** jfroche_ has quit IRC | 13:00 | |
*** jfroche_ has joined #schooltool | 14:00 | |
*** jfroche has joined #schooltool | 14:02 | |
*** E-nnovative has quit IRC | 14:08 | |
*** jfroche__ has quit IRC | 14:16 | |
*** jfroche_ has quit IRC | 14:18 | |
*** ignas has joined #schooltool | 14:43 | |
*** jelkner has joined #schooltool | 14:59 | |
*** jfroche_ has joined #schooltool | 15:17 | |
*** jfroche has quit IRC | 15:34 | |
*** eldar has joined #schooltool | 15:43 | |
eldar | good morning/evening/afternoon | 15:44 |
pcardune | ha ha | 15:45 |
eldar | pcardune: do you remember where our bounty list is? | 15:45 |
eldar | we need something to give to mr wo | 15:45 |
eldar | woo* | 15:45 |
pcardune | was not Jason supposed to give it to you? | 15:46 |
eldar | i was hoping there'd be an updated version >.< that one's kinda cryptic | 15:46 |
pcardune | where is that one? | 15:47 |
eldar | in an email | 15:47 |
pcardune | can you forward it to me? | 15:47 |
eldar | you should've gotten it, you're in the cc list | 15:47 |
eldar | or rather the to list | 15:48 |
pcardune | what is the subject line? | 15:48 |
eldar | it's titled "bounties list" | 15:48 |
pcardune | yeah, I think all of those bounties are now superseded | 15:49 |
eldar | yeah | 15:49 |
pcardune | I have plenty of work I can give out, but I'm not sure whether the powers that be want to spend the money on that | 15:50 |
eldar | the second part was confusing, rephrase please? | 15:51 |
eldar | the powers that be want to? | 15:51 |
pcardune | https://blueprints.launchpad.net/timeclock/+spec/additional-expenses | 15:51 |
pcardune | I'd like to see that get done | 15:53 |
*** pcardune_ has joined #schooltool | 16:16 | |
*** pcardune has quit IRC | 16:31 | |
*** pcardune_ is now known as pcardune | 16:33 | |
*** jfroche has joined #schooltool | 16:41 | |
*** cpcarey has joined #schooltool | 16:56 | |
*** jfroche_ has quit IRC | 16:58 | |
cpcarey | is paul here? | 17:04 |
pcardune | cpcarey: yep | 17:06 |
cpcarey | will told me that you were reworking stAgent | 17:06 |
cpcarey | and he didn't know what parts i could work on today | 17:06 |
*** alga has joined #SchoolTool | 17:07 | |
cpcarey | so i just wanted to ask you what i could work on today | 17:07 |
*** mgedmin has quit IRC | 17:07 | |
pcardune | well, you and filip need to update the launchpad specification to show that you are ready for your work to be reviewed | 17:08 |
pcardune | and one of you needs to send me a pdf or png screen shot of the page in question | 17:09 |
pcardune | cpcarey: after that, Eldar or I will give you more work | 17:10 |
pcardune | oh wait | 17:11 |
pcardune | wrong chris | 17:11 |
cpcarey | right | 17:11 |
pcardune | *I am so confused* | 17:11 |
pcardune | sorry about that | 17:11 |
cpcarey | that's ok | 17:11 |
pcardune | I think that is going to happen a lot | 17:11 |
pcardune | you just need to give me a virtual whack every time I do that | 17:11 |
* cpcarey slaps pcardune around a bit with a large trout | 17:11 | |
cpcarey | i'll remember to do that | 17:11 |
pcardune | well, first you can check out my changes to the stagent branch | 17:12 |
ignas | what's this american obsession with large trouts? | 17:12 |
pcardune | and get a working environment set up on maddog | 17:12 |
pcardune | ignas: i have no idea | 17:12 |
pcardune | cpcarey: I can give you the branch url if you don't have it already | 17:13 |
eldar | americans have an obsession for big things | 17:13 |
ignas | but why trouts? | 17:13 |
cpcarey | http://bazaar.launchpad.net/~stagent-developers/stagent/stagent-dev, right? | 17:13 |
ignas | pcardune: any luck hooking up site.zcml to stagent? | 17:13 |
pcardune | ignas: I'm just now getting stAgent to run | 17:14 |
pcardune | kinda sorta | 17:14 |
pcardune | cpcarey: yes | 17:14 |
pcardune | ignas: I made a lot of file structure changes, you should look at my checkins | 17:14 |
pcardune | ignas: it is certainly broken right now, but at least checking it out and running is a lot easier | 17:15 |
pcardune | just make, make run-sifagent | 17:15 |
pcardune | or make run-zeo | 17:15 |
* ignas has no checkout | 17:17 | |
pcardune | ignas: you should get a checkout, or even just look on LP | 17:17 |
pcardune | I'm now trying to get the tests to run correctly | 17:17 |
*** jfroche_ has joined #schooltool | 17:21 | |
AVN-clockout | hey, those laptops we can borrow, how good are they? | 17:25 |
pcardune | AVN-clockout: you should probably ask eldar or jelkner | 17:25 |
AVN-clockout | allright | 17:28 |
eldar | how good? they're pretty good | 17:29 |
eldar | what are you looking for exactly | 17:30 |
*** thisfred has quit IRC | 17:33 | |
*** jfroche has quit IRC | 17:38 | |
cpcarey | pcardune: how do i install chesty, tlslite and schooltool on maddog so that sifagent will recognize them? | 17:42 |
pcardune | you shouldn't have to | 17:43 |
pcardune | did you get a fresh copy of the branch? | 17:43 |
cpcarey | yes i did | 17:43 |
pcardune | ignore whatever is in the README.txt file | 17:44 |
pcardune | I still haven't changed that | 17:44 |
pcardune | just run make | 17:44 |
cpcarey | shouldn't i be able to run or import sifagent? | 17:46 |
pcardune | it the paths are set up right, yes | 17:46 |
pcardune | but if you are trying to import sifagent from a python prompt, chances are, your paths are not set up right | 17:47 |
cpcarey | how will i have to set up the paths? | 17:49 |
*** aelkner has joined #schooltool | 17:53 | |
pcardune | cpcarey: well, there really isn't much you can do in the python interpreter | 17:55 |
pcardune | just make sure that you can run the different stuff in make | 17:55 |
pcardune | as in, make run-zeo | 17:55 |
pcardune | make run-schooltool | 17:55 |
pcardune | make run-zis | 17:55 |
cpcarey | all three are giving me errors | 17:57 |
cpcarey | no module ZEO.runzeo, and can't cd to SchoolTool or TinyZIS | 17:57 |
cpcarey | other than setting up the maddog environment, will i have any other goals for today's worksession? | 18:00 |
ignas | python path is set up wrongly | 18:00 |
ignas | incorrectly i mean | 18:00 |
ignas | pcardune: by the way - you could use something like we do with one of our internal projects | 18:01 |
ignas | have a "workspace" project | 18:01 |
ignas | that checkout all the other parts | 18:02 |
ignas | and hooks them up | 18:02 |
ignas | patches schooltool.conf for example | 18:02 |
ignas | and has all the machinery required to run schooltool/zis/stagent | 18:02 |
ignas | just in case you are not doing it already ;) | 18:03 |
cpcarey | pcardune: i have to leave, will i have any other goals for today's worksession? | 18:03 |
pcardune | cpcarey: yeah, i'll be working on SIF all day, so we can work together | 18:03 |
cpcarey | ok, sounds good | 18:03 |
pcardune | cpcarey: and for the errors, you need to install python-zodb | 18:04 |
pcardune | on maddog | 18:04 |
pcardune | I will do that | 18:04 |
cpcarey | ok, thanx | 18:04 |
*** cpcarey has quit IRC | 18:05 | |
pcardune | ignas: yeah, i'm doing that already... | 18:07 |
pcardune | ignas: why are there so many print statements in this code | 18:27 |
pcardune | they are making me go crazy | 18:27 |
ignas | which code? | 18:27 |
pcardune | sifagent and chesty | 18:27 |
ignas | no idea, i haven't touched them ;) | 18:28 |
ignas | i'd guess because of not knowing about python logging framework ;) or mangle till it starts doing what i want coding style ;) | 18:28 |
pcardune | i think it is probably a combination of those too | 18:29 |
aelkner | pcardune: you mentioned I need to do an svn merge into my journal branch. What are the commands for that? | 18:30 |
* pcardune redirects aelkner's question to eldar | 18:30 | |
aelkner | pcardune: eldar no esta in casa. Could you help? | 18:32 |
pcardune | in that case, yes | 18:32 |
pcardune | the command is svn merge | 18:32 |
aelkner | svn update, svn merge? | 18:32 |
pcardune | the trouble isn't the command, it's the parameters, which I always manage to get wrong | 18:33 |
pcardune | just do svn help merge | 18:33 |
aelkner | k | 18:33 |
pcardune | that is as much as I can help you | 18:33 |
pcardune | eldar might know more though | 18:33 |
aelkner | pcardune: What am I merging anyway? You had stated that I needed to merge with the trunk to pick up some changes of yours. What url? | 18:35 |
pcardune | yes, trunk | 18:35 |
pcardune | merge *from* trunk, not *to* trunk | 18:35 |
pcardune | btw | 18:35 |
aelkner | the url for the trunk? | 18:36 |
aelkner | pcardune: ? | 18:36 |
pcardune | the same as for the branch, except minus the branches/whatever part and with trunk on the end | 18:36 |
aelkner | k | 18:36 |
pcardune | off the top of my head, maybe source.schooltool.org/svn/cando/trunk/? | 18:37 |
aelkner | pcardune: my branch is at https://aelkner@svn.schooltool.org/cando/branches/aelkner-journal-threading, so I'm assuming I'd merge with https://aelkner@svn.schooltool.org/cando/trunk. Sound right? | 18:39 |
eldar | sorry was setting up the room | 18:40 |
pcardune | yes | 18:40 |
eldar | what's the issue? | 18:40 |
eldar | branching? | 18:40 |
pcardune | merge command | 18:40 |
pcardune | what options | 18:40 |
eldar | merging, trunk into branch? | 18:40 |
pcardune | (I never remember) | 18:40 |
pcardune | (it always takes me like 20 minutes to figure it out) | 18:40 |
pcardune | i don't do merges that often | 18:40 |
eldar | aelkner's branch, right? | 18:40 |
aelkner | eldar: Paul needs me to merge trunk into my branch as he has made changes. | 18:41 |
eldar | gimme a minute to get your command right | 18:42 |
eldar | do you remember at what revision you branched off? | 18:42 |
pcardune | you can check in trac | 18:43 |
eldar | svn merge -r 781:805 https://username@svn.schooltool.org/cando/trunk/src/cando (depends on where you are) | 18:45 |
eldar | that should do it | 18:46 |
eldar | if you're inside SchoolTool/src/cando | 18:46 |
eldar | for the top, you just remove the src/cando part | 18:46 |
eldar | aelkner: did it work for you? | 18:47 |
aelkner | trying now... | 18:47 |
aelkner | eldar: it deleted the candowiki (I'm guessing that what pcardune did) and updated the skilldriver and curriculum packages. Then it gave and error: | 18:49 |
aelkner | svn: Copyfrom-url 'https://username@svn.schooltool.org/cando/trunk/src/cando/site.zcml' has different repository root than 'https://aelkner@svn.schooltool.org/cando' | 18:49 |
pcardune | you forgot to replace "username" | 18:50 |
aelkner | duh. | 18:50 |
aelkner | much better now. | 18:51 |
aelkner | edlar: do I svn ci -m now? | 18:51 |
eldar | yeah | 18:51 |
aelkner | Shouldn't I test first? | 18:52 |
eldar | test what? | 18:52 |
eldar | tests will fail | 18:52 |
eldar | not done fixing trunk | 18:53 |
eldar | so tests are a mess | 18:53 |
aelkner | I noticed. | 18:53 |
eldar | should be done by next week | 18:53 |
aelkner | For instance, make ftest doesn't work from the root of the checkout. | 18:53 |
eldar | we know that | 18:54 |
pcardune | you should just check it in | 18:54 |
aelkner | I got a conflict in curriculum.py, so I got ridd of the >>>> stuff. Do I svn resolve? | 18:56 |
eldar | not sure didn't have to do that often, pcardune do you know? | 18:57 |
pcardune | yes | 18:57 |
pcardune | but only aver the conflict is in fact resolved | 18:57 |
pcardune | s/aver/after | 18:58 |
aelkner | pcardune: I edited the file as I said, so what's the svn command? svn resolve didn't work. It doesn't know that command. | 18:58 |
pcardune | type: svn help | 18:59 |
aelkner | pcardune: svn help just gives a list of commands, not very helpful. I've seen you do this at the sprint, so can you remember what the steps are? | 19:02 |
aelkner | Aren't conflicts a common occurance? | 19:03 |
pcardune | the steps are to look at the svn help list of commands and find the right one | 19:03 |
aelkner | I think the problem I was having was not being in the dir where the conflict was. I tried doing it from the parent, and it didn't work. Changing to curriculum and doing the svn resolved finally gave me no error. | 19:05 |
aelkner | eldar: the commit works now. You said that I can't run tests? Doesn't that mean that I can't get any work done on the project? | 19:09 |
pcardune | you can run your own tests | 19:10 |
eldar | huh? | 19:10 |
pcardune | just don't try to run the tests for everything | 19:10 |
aelkner | Ok. But I should be able to do python2.4 test.py -1um cando.journal, right? | 19:11 |
pcardune | yes | 19:11 |
eldar | yea | 19:11 |
pcardune | hopefully | 19:11 |
aelkner | Unit tests ran, no prob. Functional tests yield: | 19:12 |
aelkner | zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions | 19:12 |
aelkner | It's security policy stuff. | 19:12 |
aelkner | eldar: Have you seen this lately? | 19:13 |
pcardune | aelkner: that's me | 19:13 |
aelkner | How so? | 19:13 |
pcardune | i changed some security stuff around in the journals | 19:13 |
pcardune | to fix a bug | 19:14 |
pcardune | it should give you more info right? | 19:14 |
pcardune | it should spit out the offending zcml registrations | 19:14 |
aelkner | Yes. | 19:14 |
aelkner | Didn't want to clutter the chat. | 19:14 |
aelkner | I could paste it if you'd like to see, but I'm guessing you know what I need to do already. | 19:15 |
pcardune | well, you just need to figure out which one is the right one, and delete the other one | 19:15 |
*** Newfie2007 has joined #schooltool | 19:16 | |
aelkner | pcardune: that's a bit over my head, I'm afraid. Could you lend a hand? | 19:18 |
pcardune | yeah, paste the error | 19:18 |
lisppaste5 | aelkner pasted "config conflict" at http://paste.lisp.org/display/43192 | 19:19 |
pcardune | hmmm | 19:21 |
pcardune | you may want to run make clean | 19:21 |
pcardune | and then make again | 19:21 |
pcardune | we had to fix build issues | 19:21 |
pcardune | I'm checking out your branch right now to have a closer look | 19:21 |
aelkner | pcadune: jfyi, I ran make clean and make but still get the same error. | 19:24 |
aelkner | pcardune, I mean. | 19:24 |
pcardune | interesting | 19:31 |
aelkner | It looks like an eggs issue, but I don't know what that means. | 19:31 |
ignas | hmm | 19:32 |
ignas | no it's not an egg issue | 19:32 |
ignas | i have fixed this before | 19:32 |
ignas | you must find the place in schooltool ftesting zcml's | 19:32 |
ignas | and remove the inclusion of testbrowser ftesting zcml | 19:32 |
ignas | or reapply the patch that did that | 19:32 |
ignas | i'll try to look the patch up | 19:32 |
pcardune | ignas: is that patch in schooltool trunk? | 19:33 |
pcardune | does schooltool trunk even ftest? | 19:33 |
ignas | yes, yes | 19:33 |
pcardune | buildbot doesn't think schooltool compiles | 19:34 |
ignas | 6870 | 19:34 |
ignas | yes buildbot doesn't | 19:34 |
ignas | the slave hasn't got docutils installed | 19:34 |
ignas | and the egg download is broken | 19:34 |
pcardune | fun :) | 19:34 |
pcardune | the change must not be in trunk though... | 19:35 |
ignas | it is, the trunk would not work without it | 19:35 |
ignas | maybe some cando package is including testbrowser ftesting? | 19:35 |
ignas | in ftesting.zcml of it's layer | 19:36 |
pcardune | ah, yes | 19:36 |
pcardune | this is the case | 19:36 |
pcardune | aelkner: remove the last include line from cando/journal/browser/ftesting.zcml | 19:37 |
aelkner | k | 19:37 |
*** bnguyen has joined #schooltool | 19:37 | |
bnguyen | pcardune: ayt? | 19:38 |
pcardune | bnguyen: yes i am | 19:38 |
pcardune | how's it going? | 19:39 |
bnguyen | are you familiar with the cuecat project? | 19:39 |
pcardune | i know that someone is doing it, but that's about it | 19:39 |
aelkner | pcardune: that did the trick. Thanks., | 19:39 |
bnguyen | well elkner just assigned me to it and i'm wondering what exactly I should be doing with it | 19:39 |
pcardune | bnguyen: what did he tell you about it? | 19:40 |
pcardune | I believe there was someone else working on it before | 19:40 |
bnguyen | yes, i'm working with bao now | 19:40 |
pcardune | who had figured out how to make barcodes | 19:40 |
bnguyen | yes that's correct | 19:40 |
pcardune | and bao is there as well? | 19:40 |
bnguyen | so he wants it to be able to scan an id and then a barcode and assign that person to the object | 19:40 |
bnguyen | and it should connect to schooltool even though it will not be a web app | 19:41 |
bnguyen | yes bao is here | 19:41 |
pcardune | which part are you on? the barcode generation part? or the barcode scanning part? | 19:41 |
bnguyen | well apparently both the barcode generation and scanning are complete... | 19:42 |
aelkner | jelkner: do you use XCHAT-GNOME? | 19:42 |
pcardune | is there a branch with this code? | 19:42 |
pcardune | that is probably the first step out of anything | 19:43 |
bnguyen | no there isn't, i'll work on that now | 19:43 |
pcardune | the branch should be published to launchpad | 19:44 |
ignas | if you want to integrate it with schooltool (barcodes) | 19:44 |
bnguyen | how do I do that? | 19:44 |
pcardune | bnguyen: robbie had written up instructions | 19:44 |
ignas | i would suggest adding a separate module with some REST views specifically designed for this kind of booking | 19:44 |
pcardune | if he is there, you should ask him | 19:44 |
ignas | pcardune: can you post a link to the instructions? | 19:44 |
pcardune | i'm not sure where those instructions are | 19:45 |
pcardune | they are in the #schooltool logs though | 19:45 |
pcardune | from last saturday | 19:45 |
ignas | so the booking functionality can work as an independent plugin for schooltool | 19:45 |
bnguyen | ok thank you | 19:45 |
*** AVN-clockout has quit IRC | 19:46 | |
pcardune | ignas: yes, that would be the best way I think | 19:46 |
ignas | pcardune: are you getting checkin emails from launchpad? | 19:46 |
pcardune | ignas: but I don't think we are looking for something that involved | 19:46 |
pcardune | ignas: sort of, they seem to come in batches | 19:46 |
ignas | pcardune: hmm, how can you do that with less code | 19:46 |
pcardune | every once in a while :) | 19:46 |
ignas | :D | 19:47 |
pcardune | ignas: well, just let the scanning program launch a web browser that points to the page for booking the item scanned | 19:47 |
ignas | oh | 19:47 |
ignas | yeah, that's easier | 19:47 |
aelkner | eldar: are you in physical proximity of jelkner? | 19:50 |
eldar | yes | 19:51 |
eldar | without a meter | 19:51 |
eldar | within* | 19:51 |
aelkner | could you ask him to private chat me? | 19:51 |
bnguyen | aelkner: jelkner says that this is not a good time | 19:52 |
bnguyen | but he will talk with you as soon as he can | 19:52 |
*** jfroche_ has quit IRC | 19:52 | |
aelkner | thanks. | 19:52 |
*** fsufitch has joined #schooltool | 20:07 | |
*** fsufitch_ has joined #schooltool | 20:07 | |
*** wdickers has joined #schooltool | 20:07 | |
*** fsufitch_ has left #schooltool | 20:08 | |
*** ignas has quit IRC | 20:09 | |
*** AVN` has joined #schooltool | 20:10 | |
pcardune | oh, hi wdickers | 20:10 |
wdickers | hello | 20:10 |
pcardune | I already know that $ZONE gets replaced in the Client object | 20:10 |
pcardune | constructor | 20:11 |
pcardune | but it gets tzString from vars, which comes form conf... which presumably comes form agent.conf | 20:11 |
pcardune | but, I don't see where the timezone is set | 20:11 |
wdickers | It gets set in chesty's Agent's __init__ | 20:11 |
wdickers | self.conf is a dictionary which includes the variables from the .conf files, but also other stuff | 20:12 |
pcardune | ooh | 20:12 |
pcardune | i found it | 20:12 |
*** th1a has joined #schooltool | 20:13 | |
pcardune | hi th1a | 20:13 |
pcardune | I'm making lots of headway into this SIF stuff | 20:13 |
wdickers | right now I'm trying to get the tests to pass again, it's mostly importation problems. I'm using the __init__.py files to import what I need | 20:13 |
pcardune | you probably should not do that | 20:13 |
wdickers | what do you recommend? | 20:14 |
pcardune | well, I'm pretty sure I fixed most of the import problems | 20:14 |
pcardune | try pulling from the branch agian | 20:14 |
pcardune | in case you don't have the latest stuff | 20:14 |
th1a | pcardune: I'm glad you're making progress. | 20:14 |
th1a | (it is basically pretty simple). | 20:14 |
pcardune | there are just a lot of different pieces | 20:15 |
wdickers | okay | 20:15 |
pcardune | and I haven't totally figured out how they all stack up | 20:15 |
pcardune | it might be nice to have a UML diagram... in case you've already made one | 20:15 |
pcardune | wdickers: you should also use make to run everything | 20:16 |
th1a | Um... no. | 20:16 |
pcardune | ok, well that's fine too. | 20:16 |
th1a | (no uml diagram) | 20:16 |
pcardune | at the moment im just trying to get tests to pass | 20:16 |
pcardune | I've got an error with the timezone code | 20:16 |
th1a | Timezone? | 20:16 |
pcardune | The value 'UTC+0-7:00' is not accepted by the pattern 'UTC[+\-]([0-1][0-9]|[2][0-3]):[0-5][0-9]'. | 20:17 |
th1a | In the XML Schema? | 20:17 |
pcardune | probably something to do with chesty.agent.Agent, line 60 | 20:17 |
pcardune | th1a: well not in the schema, but in the xml produced for the message | 20:18 |
*** dwelsh has quit IRC | 20:18 | |
*** kjcole has joined #schooltool | 20:18 | |
*** kjcole has left #schooltool | 20:19 | |
*** AVN` has quit IRC | 20:19 | |
pcardune | th1a: thisTimeZone is negative | 20:20 |
*** AVN` has joined #schooltool | 20:21 | |
th1a | Ah. Right. | 20:21 |
pcardune | i hate timezone stuff more than anything | 20:23 |
th1a | Yeah. | 20:23 |
wdickers | th1a: I would like to add you to stagent-developers, what is your username on launchpad? | 20:24 |
th1a | tom-hoffman | 20:24 |
wdickers | ah, okay | 20:25 |
pcardune | th1a: you wanted: self.cong['tzString'] = "UTC%+03i:00" % (thisTimeZone/3600) | 20:31 |
lisppaste5 | wdickers pasted "sifagent tests.py error" at http://paste.lisp.org/display/43197 | 20:32 |
wdickers | I get an error when I try to run tests.py | 20:32 |
pcardune | don't try to run any direct python | 20:33 |
pcardune | use make test | 20:33 |
wdickers | oh, okay | 20:33 |
pcardune | wdickers: I moved a lot of things around :) | 20:33 |
wdickers | heh, yeah it's really make happy now | 20:33 |
pcardune | ah yes, that worked | 20:34 |
th1a | Let me know when I can check this out and from where. | 20:34 |
pcardune | ok | 20:35 |
*** Makorihi has joined #schooltool | 20:36 | |
pcardune | th1a: so there currently is no bzr branch owned by the chesty-dev team? | 20:36 |
fsufitch | pcardune, did you check out the bug i reported yesterday? | 20:37 |
pcardune | fsufitch: haven't had the chance yet | 20:37 |
th1a | I just made the team a few minutes ago. | 20:37 |
th1a | pcardune: So no. | 20:37 |
fsufitch | oh ok | 20:37 |
pcardune | ok, and otherwise the vcs-imports branch called "trunk" is your most recent code yes? | 20:37 |
pcardune | fsufitch: I'm still waiting on that screen shot ;) | 20:38 |
fsufitch | oh shoot | 20:38 |
fsufitch | i'll do that now | 20:38 |
fsufitch | but i can't get a view of the printable form for the skill driver as it does the same weird thing as in the bug | 20:38 |
fsufitch | i'll give you one for the competency group | 20:38 |
pcardune | (they will look the same anways) | 20:39 |
fsufitch | yeah | 20:39 |
fsufitch | wow, this takes a while to start schooltool | 20:40 |
fsufitch | oh, it's done :) | 20:40 |
pcardune | th1a: i'm attempting to do a push now | 20:41 |
th1a | pcardune: That is not the most recent code. | 20:42 |
th1a | In theory it should be, but it doesn't appear to have updated from the svn, which is the most recent. | 20:42 |
fsufitch | pcardune, i sent the screenshot | 20:43 |
th1a | pcardune: I spent a while running in circles and finally just punted back to svn. | 20:43 |
pcardune | ?! | 20:43 |
wdickers | pcardune: I changed the doctest.txt to pass the tests, can I push? | 20:43 |
pcardune | umm... can you pastebin the diff? | 20:44 |
pcardune | I want to see what you did first | 20:44 |
th1a | pcardune: The most current chesty code should be in svn. | 20:44 |
pcardune | th1a: ok, well I wonder when launchpad will remirror it | 20:44 |
pcardune | then I should be able to do a merge and everything will be ok :) | 20:45 |
wdickers | sure | 20:45 |
*** pcardune has left #schooltool | 20:45 | |
*** pcardune has joined #schooltool | 20:45 | |
pcardune | woops | 20:45 |
*** mlinnell has joined #schooltool | 20:48 | |
mlinnell | wdickers: hello | 20:49 |
wdickers | mlinnell: yo. I'm not sure what you guys can do with stagent at the moment, it's kind of in a state of flux | 20:49 |
lisppaste5 | wdickers pasted "doctest.txt" at http://paste.lisp.org/display/43199 | 20:49 |
pcardune | wdickers: could you resend the link to the diff? | 20:49 |
pcardune | nvm | 20:49 |
pcardune | wdickers: I want the diff, not the file | 20:50 |
pcardune | as in bzr diff | 20:50 |
wdickers | ohh, you mean output from bzr diff? | 20:50 |
pcardune | yeah | 20:50 |
lisppaste5 | wdickers pasted "bzr diff" at http://paste.lisp.org/display/43201 | 20:50 |
wdickers | basically I deleted the stuff in the doctest that failed and removed the print statement in personTools | 20:51 |
pcardune | fsufitch: ok, that is a good start, but I have more requests | 20:51 |
pcardune | how is "deleting the stuff that failed" making the test pass? | 20:51 |
pcardune | that kind of sounds like cheating no? | 20:51 |
pcardune | fsufitch: There should be no colors | 20:52 |
wdickers | well I mean when I print the self.personDb, it used to be a list, now it is a personContainer object, that won't tell us if a person's been removed | 20:52 |
th1a | pcardune: So what's the strategy for stAgent now? | 20:52 |
wdickers | although I suppose I could use self.personsDb.keys() | 20:52 |
pcardune | wdickers: right, so you need to use the personContainer API to find out about that stuff | 20:52 |
pcardune | yes... | 20:52 |
pcardune | or [person.title for person in self.personDb.values()] | 20:53 |
pcardune | whichever you like | 20:53 |
pcardune | th1a: the strategy is getting it into a functioning state with a simpler setup | 20:53 |
th1a | OK. | 20:53 |
pcardune | th1a: I've gotten it down to just running make commands | 20:53 |
pcardune | after I get these tests to pass, I'm going to try and figure out what is actually going on in there | 20:53 |
th1a | OK. | 20:54 |
*** cpcarey has joined #schooltool | 20:54 | |
wdickers | do you guys have any ideas for what the interns should do? I don't want to waste their time with stagent being in a state of flux. Maybe a schooltool/zope3 assignment? | 20:55 |
pcardune | th1a: then I'll see about threading, site.zcml inclusion, and REST | 20:55 |
pcardune | wdickers: you should explain to them everything you know about SIF | 20:55 |
pcardune | and how the whole thing works | 20:55 |
pcardune | even if the current code is in a state of flux, the basic premise of how it's supposed to work is still the same | 20:56 |
wdickers | pcardune: okay. Also, for your example of person.title for ..., wouldn't the order of titles be unpredictable like in dictionaries? | 20:56 |
wdickers | okay | 20:56 |
pcardune | no | 20:56 |
pcardune | BTrees sort them by alphabetical order | 20:56 |
wdickers | ah, excellent | 20:56 |
cpcarey | hi, i'm still getting set up, but i'm here | 20:57 |
fsufitch | pcardune, i didnt see your remark. I'll make it uncolored. | 20:58 |
*** jfroche has joined #schooltool | 20:58 | |
*** fsufitch has quit IRC | 20:58 | |
*** fsufitch has joined #schooltool | 20:59 | |
*** bri3380 has joined #schooltool | 20:59 | |
cpcarey | wdickers: are the XSD schemas still in the new sifagent branch? | 21:01 |
*** th1a has quit IRC | 21:01 | |
*** th1a has joined #schooltool | 21:01 | |
wdickers | cpcarey: no, just in chesty. You should checkout a new branch, a lot have changed | 21:01 |
cpcarey | have you added the XML templates that i sent to you? | 21:02 |
wdickers | no, not yet | 21:03 |
fsufitch | pcardune, is it all right to leave the light gray-ish background for the whole table? | 21:04 |
pcardune | fsufitch: no | 21:04 |
pcardune | it needs to be as white as paper | 21:04 |
cpcarey | wdickers: so what do we have to work on today? | 21:04 |
*** tdoggette has joined #schooltool | 21:05 | |
fsufitch | ok | 21:05 |
lisppaste5 | wdickers annotated #43201 with "diff 2" at http://paste.lisp.org/display/43201#1 | 21:05 |
wdickers | the tests fail right now because the database isn't changing (ie 'aelkner' isn't deleted) | 21:06 |
cpcarey | persistence? | 21:07 |
wdickers | yeah, it was the catalyst for all of this change | 21:08 |
tdoggette | Dickerson, check #stagent. | 21:08 |
*** bri3380 has left #schooltool | 21:08 | |
*** bri3380 has joined #schooltool | 21:09 | |
cpcarey | i'll be on #stAgent now | 21:10 |
wdickers | I'm there | 21:10 |
*** wdickers has quit IRC | 21:11 | |
*** wdickers has joined #schooltool | 21:11 | |
*** bnguyen has quit IRC | 21:12 | |
bri3380 | Change nickname: bvuong | 21:12 |
*** bri3380 has left #schooltool | 21:12 | |
AVN` | uh, the command is /nick | 21:13 |
fsufitch | lol | 21:14 |
*** bnguyen has joined #schooltool | 21:16 | |
wdickers | pcardune: did you get my new diff? | 21:19 |
pcardune | wdickers: ummm no | 21:20 |
pcardune | oh wait | 21:20 |
pcardune | i see it now | 21:20 |
pcardune | wdickers: the "most likely this is part of a test" scares me | 21:21 |
wdickers | yeah, that is a default behavior so I could run the function without initializing a person object | 21:23 |
wdickers | It shouldn't be necessary anymore, let me check | 21:23 |
pcardune | if it isn't necessary it should be yanked | 21:23 |
wdickers | I agree. Basically, if you have {'jelkner': 'add'} in your queue, there must be a person object with username jelkner. If not, should we raise an error? | 21:24 |
fsufitch | pcardune, i removed the colors | 21:25 |
fsufitch | i'll send you a new screenshot | 21:25 |
pcardune | ok, thanks | 21:25 |
fsufitch | pcardune, i'll brb i need to make the ID card thing | 21:30 |
pcardune | ok | 21:30 |
pcardune | wdickers: yes, you should raise an error | 21:31 |
pcardune | wait a second... | 21:31 |
pcardune | if it is 'jelkner':'add' doesn't that mean you want to add a user called jelkner? | 21:31 |
wdickers | no, that means 'jelkner' has already been added and a message for adding him should be sent to other applications. It's an 'outgoing' queue | 21:32 |
pcardune | oh | 21:32 |
pcardune | then yes, that sounds like a problem and an error should be raised | 21:33 |
pcardune | but the message should still be sent to other applications | 21:33 |
pcardune | so maybe you should just stick it in the error log and otherwise pass silently | 21:33 |
pcardune | we can work out these issues later as we have a better understanding of the scenarios | 21:33 |
wdickers | okay, but then the message would simply send an empty message, the object will only have a username and nothing else | 21:34 |
wdickers | all the information we'd have about that person would be their username | 21:34 |
pcardune | i think i am misunderstanding then | 21:34 |
wdickers | Well if the queue is telling us to send an add message for jelkner, that means jelkner was just added to this application. stAgent would then try and find that object so it can copy its attributes to send in the message | 21:36 |
aelkner | pcardune: it looks like they changed Batch's constructor to accept a formatter instead of sizes. Have you changed any code to use that yet? If so, could you point me to it? | 21:39 |
pcardune | eldar has been working on that stuff, you should ask him | 21:39 |
aelkner | eldar: ? | 21:40 |
pcardune | wdickers: ok, then raise an error | 21:40 |
pcardune | because that mean the factory for a person got messed up | 21:40 |
wdickers | okay | 21:41 |
wdickers | Hmm, how should I raise it, AttributeError? | 21:41 |
pcardune | sure | 21:42 |
pcardune | we can always change it later | 21:42 |
pcardune | probably you'll want to make your own error classes at some point | 21:42 |
wdickers | okay | 21:42 |
eldar | aelkner: i am not done with that yet | 21:42 |
wdickers | yeah, Tom has a lot of custom errors | 21:42 |
eldar | just adjusting the batching to the new one leads to traversal errors | 21:42 |
eldar | haven't sorted that out yet | 21:42 |
pcardune | th1a: https://code.launchpad.net/~chesty-devs/chesty/chesty-trunk that is the branch i just put up | 21:43 |
*** gpaci has joined #schooltool | 21:44 | |
aelkner | eldar: let me know when that's resolved? | 21:44 |
eldar | aelkner: sure | 21:45 |
pcardune | fsufitch: ayt? | 21:45 |
pcardune | for the form, it should should show the course title | 21:46 |
pcardune | and the instructor | 21:46 |
pcardune | and everything should be centered on the page | 21:46 |
pcardune | and all the fields should be of a uniform width | 21:46 |
pcardune | fsufitch: and the schooltool logo should be on there | 21:47 |
fsufitch | pcardune, i'm back | 21:49 |
fsufitch | shouldve pinged me ;) | 21:50 |
pcardune | I did | 21:50 |
fsufitch | >_> ssh | 21:50 |
pcardune | that was the "fsufitch: ayt?" part | 21:50 |
fsufitch | oh | 21:50 |
*** pcardune is now known as the | 21:50 | |
fsufitch | well i was getting my picture taken | 21:50 |
the | this should be interesting... | 21:50 |
the | as far as pinging is concerned | 21:50 |
fsufitch | what? | 21:50 |
fsufitch | you're the? | 21:50 |
the | lol | 21:51 |
bnguyen | hey, this is Bao | 21:51 |
eldar | well the man reason | 21:51 |
the | ping | 21:51 |
the | eldar: that didn't make any sense | 21:51 |
bnguyen | pcardune: here is the link to my bzr repository http://maddog.yhspatriot.net/~bvuong/bazaar/barcode/project/ | 21:52 |
eldar | the main reason it is going to be annoying is that the pinging trouble | 21:52 |
eldar | the | 21:52 |
eldar | the | 21:52 |
*** bnguyen is now known as bvuong | 21:52 | |
eldar | yea, i'm done | 21:52 |
the | ha ha ah | 21:52 |
*** the is now known as pcardune | 21:52 | |
wdickers | oh wow, what was that all about? | 21:52 |
bvuong | pcardune: What should I do now? | 21:52 |
pcardune | bvuong: how does your program work right now? | 21:53 |
bvuong | pcardune: The person using the program will type the word, and the program will generate the barcode, printing out the word. | 21:54 |
pcardune | do you have it working the other way around? | 21:55 |
bvuong | yeah | 21:55 |
pcardune | as in, person scans the barcode, and the program prints out the word? | 21:55 |
bvuong | yeah, it works | 21:55 |
bvuong | it's actually built in the cuecat scanner | 21:55 |
pcardune | oh, cool | 21:55 |
pcardune | that makes that easy | 21:55 |
pcardune | the next step is integrating it into schooltool | 21:56 |
bvuong | ok | 21:56 |
bvuong | how will I do that? | 21:56 |
aelkner | eldar: you done with Batch? | 21:56 |
pcardune | well, I think that your current barcode scanner should exist as a totally separate python package | 21:56 |
bvuong | ok | 21:57 |
pcardune | and you should probably modify bar.txt to have an explanation of the usage | 21:57 |
pcardune | with tests if they are applicable | 21:57 |
pcardune | and maybe change bar.txt to README.txt | 21:57 |
bvuong | yeah, I was using bar.txt to test the scanner | 21:57 |
pcardune | throw in a GPL license | 21:57 |
bvuong | ok | 21:57 |
pcardune | add GPL license headers to all your files | 21:57 |
pcardune | come with a nice name for it | 21:58 |
pcardune | come up* | 21:58 |
pcardune | then talk to Matt Ghallager about packaging it | 21:58 |
pcardune | because I think this little thing has very wide applications and should be available to the rest of the python community | 21:59 |
pcardune | once you've done that, come back and we'll talk about integration | 21:59 |
bvuong | what's a gpl license? | 22:01 |
pcardune | http://www.gnu.org/licenses/gpl.txt | 22:02 |
eldar | aelkner: right now i don't have time to code, so i can't fix the batching issue | 22:02 |
*** gpaci has quit IRC | 22:03 | |
fsufitch | pcardune, in CSS, how can i center the whole table? | 22:03 |
fsufitch | or do i not need to? | 22:03 |
pcardune | in css you use margin: auto; | 22:04 |
fsufitch | margin? | 22:04 |
fsufitch | interesting | 22:04 |
bvuong | pcardune: ok, so how do I put my program on the gpl license? | 22:04 |
pcardune | you just need to copy that text and put it into a file in your source code | 22:04 |
aelkner | eldar: that makes me unable to do my work. When do you think you will be able to resolve this? | 22:05 |
bvuong | oh, ok, thanks. | 22:05 |
aelkner | eldar: or could I fake it for now? | 22:05 |
aelkner | like create a dummy formatter class for the shot term? | 22:05 |
bvuong | pcardune: so should I just put the whole thing inside my code as a comment? | 22:06 |
pcardune | then at the top of each of your files, put a big comment like the one shown here: https://svn.schooltool.org/trac/cando/browser/trunk/src/cando/skilldriver/skilldriver.py | 22:06 |
aelkner | eldar: and could you point me to the branch you were working on in the mean time? | 22:06 |
pcardune | bvuong: don't forget to modify the copyright info | 22:06 |
fsufitch | pcardune, margin: auto killed it | 22:07 |
fsufitch | is it all right if the table is left aligned? | 22:07 |
eldar | aelkner: i was working on trunk | 22:07 |
bvuong | ok, should I use the example in the link you showed me, or should I use the whole thing from www.gnu.org? | 22:07 |
pcardune | fsufitch: as long as it looks good printed out and dave welsh thinks it's ok, then yes it can be left aligned | 22:07 |
fsufitch | ok | 22:08 |
pcardune | bvuong: both | 22:08 |
pcardune | the example I showed you is for the in code comment | 22:08 |
pcardune | the big long one should just go in a separate file by itself | 22:08 |
bvuong | oh, thank god | 22:09 |
pcardune | bvuong: and you want a little README.txt like http://codebrowse.launchpad.net/~vcs-imports/chesty/trunk/annotate/vcs-imports%40canonical.com-20070606031020-k75okga1j0iah6gk?file_id=readme.txt-20070329154951-he3tabno2t3clr7y-160 | 22:09 |
fsufitch | anybody know how i can access the instructor name for a class from the gradebook? | 22:09 |
fsufitch | i got so far as context/__parent__/ | 22:10 |
fsufitch | wait, i can ask eldar | 22:10 |
pcardune | fsufitch: there can be multiple instructors | 22:10 |
pcardune | so you'll have to do something like, <div tal:repeat="instructor context/__parent__/instructors" tal:content="instructor/title" /> | 22:10 |
pcardune | wdickers: so what is the status on the changes you are making? | 22:11 |
wdickers | I believe I have finished for now | 22:11 |
pcardune | ok, then go ahead and push | 22:11 |
wdickers | okay | 22:11 |
eldar | aelkner: you can try to fix it yourself if you need it urgently | 22:13 |
eldar | i can't promise you anything today | 22:13 |
aelkner | eldar: I could try. Could you just quickly tell me what files you worked on with regards to Batch? You said it's incomplete, so if I could look at what you have so far... | 22:14 |
wdickers | okay, revisions pushed | 22:14 |
pcardune | aelkner: just look at the diffs | 22:15 |
aelkner | pcardune: where do I find the diffs? | 22:15 |
pcardune | on trac | 22:15 |
pcardune | look at the timeline | 22:15 |
eldar | i did not commit anything, what you need to do first | 22:16 |
eldar | is look at table/batch.py | 22:17 |
wdickers | Is there a reason SchoolTool is using schooltool.person.person.Person objects instead of schooltool.demographics.person.Person ones? The add view no longer has contact information, etc. http://img.photobucket.com/albums/v605/xenofan/person.jpg | 22:17 |
eldar | use IterableBatch instead of regular batch now | 22:17 |
eldar | that is more suitable | 22:17 |
pcardune | wdickers: interesting | 22:18 |
pcardune | I would ask ignas | 22:18 |
pcardune | except he's not here | 22:18 |
wdickers | okay | 22:19 |
wdickers | Well except for a small change to personTools, it shouldn't cause a problem for stagent | 22:19 |
pcardune | wdickers: yeah, I wouldn't worry about it for now | 22:19 |
aelkner | eldar: looking at the diff you submitted for batching, I see you removed stuff and fix the imports, but you didn't code anything for using formatter, right? | 22:20 |
pcardune | bvuong: and you should publish your branch to launchpad | 22:20 |
aelkner | I could take a whack at it. | 22:20 |
eldar | no, because just fixing the formatter breaks something else, so i figured i fixed it wrong | 22:20 |
eldar | in other words, didn't fix it | 22:21 |
eldar | yeah, have a stab at it | 22:21 |
bvuong | pcardune: I just finished my README.txt file | 22:26 |
*** smalekgh has joined #schooltool | 22:27 | |
smalekgh | Hi paul... I have a question about traversers and the _traverse method they have... what is use of the object returns? Is it a string? | 22:28 |
smalekgh | like, a path kind of a thing to point to a page to return to the browser? | 22:29 |
smalekgh | pcardune: ping | 22:30 |
fsufitch | pcardune, i'm done with the suggestions you made | 22:31 |
fsufitch | should i send you a new screenshot? | 22:31 |
fsufitch | pcardune, ping ping pinnnnng | 22:33 |
pcardune | sorry, i was out for a minute | 22:33 |
fsufitch | lol | 22:33 |
fsufitch | ppl were missing u over here | 22:33 |
pcardune | i see that | 22:33 |
fsufitch | mr welsh is busy for now, he doesn't have time to look at my form | 22:33 |
pcardune | fsufitch: yes, send me a new screen shot | 22:33 |
pcardune | and check it in | 22:33 |
fsufitch | ok | 22:33 |
fsufitch | alright | 22:33 |
pcardune | what about elkner? | 22:33 |
pcardune | does he have time to look at it, show it to him | 22:34 |
jelkner | i looked at it | 22:34 |
jelkner | it is pretty | 22:34 |
jelkner | but i'm not the customer | 22:34 |
smalekgh | Er, welcome back, could you answer my question? | 22:34 |
pcardune | yeah, in a second | 22:34 |
smalekgh | thanken | 22:34 |
jelkner | so i can't say any more than that | 22:34 |
pcardune | ok, well in that case I guess you are off the hook for now fsufitch | 22:34 |
pcardune | go talk to Eldar about what to do next | 22:34 |
pcardune | smalekgh: per your question... | 22:34 |
pcardune | the _traverse method returns an actual object | 22:35 |
pcardune | not a string | 22:35 |
pcardune | it is the object that the path is pointing to | 22:35 |
pcardune | it turns a string, or rather, a set of strings representing a path, and finds the object the strings are supposed to be pointing to | 22:36 |
smalekgh | *sigh* okay, that I knew, but I guess my questions are kinda unclear... uhhhhh... | 22:36 |
smalekgh | When you give a url, like, "yaddayadda/person/schedule" | 22:36 |
smalekgh | the traverser takes that | 22:36 |
smalekgh | and returns an object | 22:36 |
smalekgh | buuuuttttt.... | 22:36 |
smalekgh | How does that return a viewable page to the browser? | 22:37 |
pcardune | oh | 22:37 |
pcardune | that is an entirely different sort of question | 22:37 |
smalekgh | yeah, kind of... | 22:37 |
pcardune | well, first of all, it will look for a default page | 22:37 |
pcardune | I think by default, it looks for index.html | 22:37 |
pcardune | so it will turn that path into yaddayadda/person/schedule/index.html | 22:38 |
smalekgh | oye!! | 22:38 |
pcardune | for that last part it does a multiadapter lookup | 22:38 |
pcardune | rather, a muti-named-adapter look up | 22:38 |
smalekgh | ...? | 22:38 |
pcardune | smalekgh: you don't have to worry about that part | 22:38 |
smalekgh | cool, thanks | 22:39 |
pcardune | just register a page named index.html | 22:39 |
fsufitch | pcardune, i sent you the screenshot | 22:39 |
pcardune | fsufitch: *looking* | 22:39 |
pcardune | fsufitch: looks great | 22:39 |
bvuong | pcardune: ok, I just made a branch for the barcode program | 22:40 |
fsufitch | yay! | 22:40 |
fsufitch | so i'll commit | 22:40 |
pcardune | bvuong: and it's in launchpad? | 22:40 |
bvuong | yeah | 22:40 |
pcardune | bvuong: can you send me the link? | 22:40 |
bvuong | ok, the link is https://code.launchpad.net/%7Ebao-quoc-vuong/+junk/barcode, but the mirror link won't work for some reason | 22:42 |
bvuong | hello | 22:44 |
bvuong | that was a barcode test | 22:44 |
pcardune | hmm | 22:44 |
pcardune | bvuong: so how does the cuecat tell the program what it picked up? | 22:45 |
bvuong | what do you mean? | 22:45 |
smalekgh | could someone give me the lisppaste url for this chat? | 22:45 |
pcardune | lisppaste5: url | 22:46 |
lisppaste5 | To use the lisppaste bot, visit http://paste.lisp.org/new/schooltool and enter your paste. | 22:46 |
bvuong | well, when the cuecat scans a barcode, the computer will print the text from the barcode, on to a text editor | 22:47 |
pcardune | can you get it to go right into a variable in a program? | 22:47 |
pcardune | just like raw_input | 22:47 |
bvuong | kind of | 22:48 |
pcardune | except it would be like quecat_input("Please scan a barcode") | 22:48 |
bvuong | not really | 22:48 |
lisppaste5 | smalekgh pasted "partial configure for scheduling" at http://paste.lisp.org/display/43209 | 22:48 |
bvuong | the cuecat works like a keyboard, when the barcode is scanned, the text will be printed, and the enter button is executed | 22:49 |
smalekgh | okay, uh, paul, is my paste correct for a page index.html within the scheduling directory? | 22:49 |
pcardune | bvuong: oh, that is handy | 22:49 |
Lumiere | 'afternoon campers | 22:49 |
pcardune | smalekgh: *looking* | 22:49 |
Lumiere | Live from Vermont! it's Lumiere | 22:49 |
smalekgh | hihi | 22:50 |
pcardune | smalekgh: yeah that looks right | 22:50 |
bvuong | pcardune: should I make a program that works for the cuecat then? Like what you thought it would do? | 22:50 |
pcardune | bvuong: no, i guess just raw_input will work | 22:51 |
bvuong | ok then, we should try to make the text hidden though, or else the person would just type it in | 22:51 |
pcardune | well the person should be able to type it in also | 22:52 |
pcardune | if hte bar code scanner isn't working for some other reason | 22:52 |
lisppaste5 | smalekgh pasted "Traverser part of scheduling" at http://paste.lisp.org/display/43210 | 22:52 |
bvuong | ah, never mind then | 22:52 |
smalekgh | Okay then, paul, does this look correct for a traverser subscribed to a person? | 22:52 |
pcardune | eldar: it looks like we won't have to write some other standalone app to use the barcode scanner | 22:52 |
eldar | pcardune: hmmm? | 22:53 |
bvuong | pcardune: what should I do now though? | 22:53 |
pcardune | bvuong: start integrating into schooltool, you should talk to eldar about it | 22:53 |
pcardune | smalekgh: that looks about right, although I would do it in a much simpler way | 22:54 |
smalekgh | I'd be very happy to know :-) | 22:54 |
smalekgh | pleaasseeee | 22:54 |
pcardune | smalekgh: ScheduleTraverserPlugin = traverser.AdapterTraverserPlugin('schedule', interfaces.ISchedule) | 22:54 |
bvuong | eldar: how should I intergrate my barcode program to schooltool? | 22:54 |
pcardune | or something to that effect | 22:54 |
pcardune | eldar: the barcode scanner works like another keyboard | 22:55 |
smalekgh | We did that before <_< then eldar told us to do it in a different manner | 22:55 |
pcardune | he did? | 22:55 |
pcardune | how come? | 22:55 |
Makorihi | pcardune: because at first, the schedule does not exist for a person | 22:55 |
pcardune | that is okay, it gets created | 22:56 |
Makorihi | pcardune: and this should add one if it does not exist | 22:56 |
pcardune | by the zope.annotation.factory part | 22:56 |
eldar | cuz the way the had didn't work and i didn't know what was wrong with it | 22:56 |
pcardune | what was the error? | 22:56 |
Makorihi | no error | 22:56 |
smalekgh | There was no error. There was no page <_< | 22:56 |
Makorihi | just wouldnt work | 22:56 |
pcardune | did you write tests to see if the adapter worked? | 22:57 |
Makorihi | http://maddog.yhspatriot.net:8122/persons/hsuzumiya/schedule/index.html | 22:57 |
pcardune | as in ISchedule(someperson) | 22:57 |
*** dwoo has joined #schooltool | 22:57 | |
smalekgh | Yes | 22:57 |
pcardune | and it worked? | 22:57 |
*** Newfie2007 has quit IRC | 22:57 | |
smalekgh | it passed | 22:57 |
pcardune | why don't you guys push to the branch on launchpad and I'll take a look at it | 22:58 |
smalekgh | er wait, we used Schedule(person), not ISchedule(person) <_< | 22:58 |
smalekgh | because Schedule adapts, not ISchedule | 22:59 |
pcardune | Schedule is the adapter | 22:59 |
pcardune | but it gets looked up using ISchedule | 22:59 |
*** gpaci has joined #schooltool | 22:59 | |
pcardune | ISchedule performs an adapter lookup, which is the same thing that the traverser will do | 22:59 |
pcardune | I suspect that you forgot to register the getSchedule adapter | 23:00 |
smalekgh | ?? | 23:00 |
pcardune | as in <adapter factory="schedule.schedule.getSchedule" trusted="true" /> | 23:00 |
pcardune | in the configure.zcml | 23:01 |
lisppaste5 | smalekgh pasted "The OTHER part of the configure.zcml" at http://paste.lisp.org/display/43211 | 23:02 |
smalekgh | you mean this? | 23:03 |
pcardune | smalekgh: yes | 23:04 |
smalekgh | That was already in there >_< | 23:04 |
pcardune | although you shouldn't need "for" or "provides" | 23:04 |
smalekgh | oye.. | 23:04 |
pcardune | because that should be implied by the zope.component.adapts line in Schedule | 23:04 |
pcardune | and by the implements line as well | 23:05 |
smalekgh | okay... so that leaves us more puzzled at what it is we're doing wrong then before... hmm | 23:05 |
* pcardune wonders why radio DJs say that they have bad music taste...? | 23:06 | |
pcardune | smalekgh: all the more reason for you to push your branch up so I can have a look at everything | 23:06 |
pcardune | without you having to make lots of pastes | 23:06 |
smalekgh | uhhh, for some reason, it isn't letting us push | 23:07 |
Makorihi | UnlockableTransport: Cannot lock: transport is read only: <bzrlib.transport.http._urllib.HttpTransport_urllib url=http://bazaar.launchpad.net/~makorihi/cando/scheduling/.bzr/repository/> | 23:09 |
pcardune | Makorihi: make sure you are pushing to the right url | 23:10 |
pcardune | it should be an ftps url | 23:10 |
Makorihi | bzr push ftps://launchpad.net/~makorihi/cando/scheduling | 23:14 |
Makorihi | that doesnt work | 23:14 |
pcardune | Makorihi: what is the error? same thing? | 23:18 |
pcardune | Makorihi: did you upload your ssh keys and all that? | 23:18 |
smalekgh | he got it to work... somewhat... | 23:20 |
smalekgh | but right now it's hanging... | 23:20 |
pcardune | oh | 23:20 |
pcardune | it might take a while | 23:21 |
smalekgh | define 'while' ? | 23:21 |
pcardune | maybe a minute | 23:23 |
Makorihi | still hanging | 23:24 |
Makorihi | timed out | 23:24 |
*** gpaci has quit IRC | 23:25 | |
Makorihi | ok | 23:25 |
*** gpaci has joined #schooltool | 23:25 | |
Makorihi | i have something different now | 23:25 |
Makorihi | permission denied | 23:25 |
Makorihi | publickey | 23:25 |
Makorihi | omg | 23:25 |
Makorihi | its actually doing something | 23:25 |
pcardune | are you on the same computer? | 23:25 |
pcardune | as when you first uploaded the branch? | 23:25 |
Makorihi | no | 23:26 |
Makorihi | but | 23:26 |
Makorihi | i added the key | 23:26 |
Makorihi | now it says it pushed | 23:26 |
pcardune | Makorihi: yep, that worked | 23:30 |
pcardune | I'm taking a look at it now | 23:30 |
smalekgh | yay! | 23:31 |
pcardune | smalekgh: ah yes | 23:33 |
pcardune | i see one problem | 23:33 |
smalekgh | yay! | 23:33 |
pcardune | your __init__ method should locate itself | 23:33 |
smalekgh | ya-wha? | 23:33 |
pcardune | actually, nvm | 23:35 |
pcardune | I don't think you actually have to do that | 23:35 |
Makorihi | ok | 23:35 |
pcardune | the traverser should do that | 23:35 |
fsufitch | pcardune, as i was done with printable forms, i went and beautified the competency gradebook | 23:38 |
fsufitch | i.e. i fixed the row misalignment | 23:38 |
pcardune | fsufitch: good, I think we needed that | 23:38 |
fsufitch | :) np | 23:38 |
fsufitch | how come it was never filed as a bug? | 23:39 |
eldar | it was a new bug | 23:39 |
eldar | i guess | 23:39 |
fsufitch | not on launchpad it wasn't | 23:39 |
eldar | no one complained, we had a different alignment issue | 23:39 |
smalekgh | So then, paul... We're EXTREMELY confused as to what it is we are or aren't doing right/wrong? | 23:39 |
eldar | and that one was fixed, this is another one | 23:39 |
fsufitch | i c | 23:39 |
smalekgh | uhhhhh, do you have a suggestion or direction you could point us in? | 23:39 |
pcardune | smalekgh: i'm going to try to run your code | 23:40 |
smalekgh | okey | 23:40 |
* pcardune running code | 23:43 | |
pcardune | smalekgh: well, i get an unbound prefix error | 23:44 |
pcardune | from your configure.zcml | 23:44 |
smalekgh | what would an unbound prefix error be? | 23:45 |
fsufitch | it would be useful to paste the error for them ;) | 23:45 |
smalekgh | ;) yourself | 23:45 |
pcardune | you had mlns:zope=blah blah instead of xmlns:zope=blah blah | 23:45 |
smalekgh | >_< thanken | 23:45 |
pcardune | and now i'm getting invalid syntax errors in scheduleviews.py | 23:46 |
pcardune | line 36 | 23:46 |
pcardune | forgot a colon | 23:46 |
smalekgh | *wonders why we never got these errors when we ran our thinger* | 23:46 |
pcardune | you guys have missing colons everywhere | 23:47 |
fsufitch | smalekgh: gj | 23:47 |
Makorihi | fsufitch: ty | 23:48 |
smalekgh | self.gj = True | 23:48 |
fsufitch | no, self.gj() | 23:48 |
fsufitch | self.gj is a method | 23:48 |
fsufitch | stupid | 23:48 |
smalekgh | ... right | 23:48 |
pcardune | maybe your schedule code isn't being loaded | 23:49 |
Makorihi | why arent we getting errors? | 23:49 |
pcardune | try putting a raw_input() in the __init__.py file | 23:49 |
pcardune | and the run schooltool | 23:49 |
Makorihi | ? | 23:49 |
pcardune | if schooltool starts up without prompting you, your schedule code isn't being loaded | 23:49 |
AVN` | isn't raw_input a security risk? | 23:50 |
smalekgh | hooray debug code :-) | 23:50 |
smalekgh | note, debug code <_< | 23:50 |
fsufitch | yes, AVN` , pcardune wants to make security loopholes | 23:50 |
pcardune | if you really wanted it to be debug code, you would do , import pdb; pdb.set_trace() | 23:50 |
wdickers | pcardune: Can you think of a good coding assignment for the interns? I'd hate to give them only repetitive code while I'm available | 23:50 |
pcardune | but that is less understandable than raw_input() | 23:50 |
fsufitch | that's the way you told me to do it when i was failing | 23:50 |
fsufitch | pdb, i mean | 23:50 |
pcardune | wdickers: what do you mean repetitive code? | 23:51 |
smalekgh | boom? | 23:51 |
smalekgh | no prompt | 23:51 |
pcardune | smalekgh: yeah, i'm just getting lots of really simple errors all over the place | 23:51 |
smalekgh | >_< I think the problem has a been a' founded | 23:51 |
wdickers | I mean implementing all the different data type functions (Add/Delete/Change). Until they look under schooltool's hood they'll all be almost exactly the same | 23:51 |
fsufitch | *sigh* i'm tired of wasting time... | 23:51 |
fsufitch | pcardune, is there another bug or blueprint i could work on? | 23:52 |
AVN` | ah, input() is the security flaw, raw_input() is the safe one | 23:52 |
smalekgh | wdickers: point me to something about 'under the hood' and I'll read it :-) | 23:52 |
pcardune | did you put schedule-configure.zcml in schooltool-skel/etc/package-includes? | 23:52 |
pcardune | fsufitch: yes | 23:52 |
pcardune | they are hard though... | 23:52 |
fsufitch | >_> | 23:52 |
fsufitch | uh-oh | 23:52 |
fsufitch | well, what's the easiest one? | 23:53 |
smalekgh | If our module thinger works after the simple errors + the whole loading thing... I'm going to have to kick myself... like, 10 times >_< | 23:53 |
wdickers | smalekgh: I mean checking out the objects corresponding to courses, competencies, etc. and writing functions to translate them to/from dictionaries | 23:53 |
pcardune | fsufitch: if dave welsh or Lumiere are around, ask them about virginia SOL import | 23:53 |
fsufitch | neither of them are visible | 23:53 |
smalekgh | kinda like in the style of accessing annotations from dictionaries? | 23:54 |
fsufitch | otherwise i would have gotten by printable forms approved | 23:54 |
pcardune | fsufitch: can you look into writing help files? | 23:55 |
wdickers | smalekgh: hmm, sounds like something similiar. Not too familiar though | 23:55 |
pcardune | as in, if you do something special, there is a little help button that shows up | 23:55 |
pcardune | and you can click on it and it opens up a window with contextual help | 23:55 |
fsufitch | i see | 23:55 |
pcardune | I'll look for some example code to show you | 23:55 |
fsufitch | ok | 23:56 |
smalekgh | oh!!! IT GAVE ERRORS | 23:56 |
smalekgh | *Starts dancing like a maniac* | 23:56 |
smalekgh | *in joy* | 23:56 |
pcardune | fsufitch: alternatively, you could help bvuong and brittney with barcode integration | 23:56 |
fsufitch | i have no idea what that is :) | 23:57 |
fsufitch | so i'll go with help stuff | 23:57 |
*** th1a has quit IRC | 23:57 | |
Makorihi | ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module schooltool has no global scheduling') | 23:57 |
Makorihi | we recieved that error | 23:57 |
pcardune | looks like somewhere you did schooltool.scheduling | 23:57 |
pcardune | instead of just scheduling | 23:57 |
fsufitch | actually, let me go check of welsh is available | 23:57 |
pcardune | maybe in the scheduling-configure.zcml? | 23:58 |
pcardune | fsufitch: actually, what they need help with is integrating this program for generating barcodes into schooltool | 23:58 |
pcardune | I think you should work on that with them | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!