*** th1a has joined #schooltool | 00:06 | |
*** jhancock__ has quit IRC | 00:30 | |
*** didymo has joined #schooltool | 00:53 | |
*** th1a has quit IRC | 02:56 | |
*** fsufitch has joined #schooltool | 03:39 | |
*** ignas has quit IRC | 03:51 | |
* fsufitch is away: Away | 03:53 | |
* fsufitch is back (gone 00:17:05) | 04:10 | |
*** lisppaste5 has quit IRC | 04:21 | |
*** lisppaste5 has joined #schooltool | 04:27 | |
*** aelkner has joined #schooltool | 04:33 | |
*** fsufitch has quit IRC | 05:22 | |
*** didymo has quit IRC | 14:22 | |
*** th1a has joined #schooltool | 14:56 | |
*** ignas has joined #schooltool | 15:04 | |
*** wbrady has quit IRC | 15:05 | |
*** mgedmin has joined #schooltool | 15:39 | |
*** aelkner has quit IRC | 15:39 | |
*** aelkner has joined #schooltool | 15:44 | |
*** jfroche has joined #schooltool | 15:47 | |
*** ^Migs^ has left #schooltool | 16:23 | |
*** mgedmin has quit IRC | 16:43 | |
*** mgedmin has joined #schooltool | 16:47 | |
*** Fujitsu_ has joined #schooltool | 17:27 | |
*** Fujitsu has quit IRC | 17:30 | |
*** Fujitsu_ is now known as Fujitsu | 17:30 | |
*** jfroche_ has joined #schooltool | 17:33 | |
*** mgedmin_ has joined #schooltool | 17:39 | |
*** mgedmin has quit IRC | 17:43 | |
*** jfroche has quit IRC | 17:45 | |
*** th1a has quit IRC | 17:47 | |
*** jfluhmann has quit IRC | 18:24 | |
*** jfluhmann has joined #schooltool | 18:30 | |
*** mgedmin_ is now known as mgedmin | 18:30 | |
aelkner | ignas: I have a question | 19:24 |
---|---|---|
ignas | yes | 19:24 |
ignas | oh, and you had some failing tests | 19:25 |
ignas | are they still failing? | 19:25 |
aelkner | really? | 19:25 |
aelkner | where? | 19:25 |
ignas | oyu told me that attendance tests were failing | 19:25 |
ignas | on your machine | 19:25 |
aelkner | oh | 19:25 |
aelkner | let me get my bearings | 19:25 |
ignas | ok :) | 19:25 |
aelkner | i had trouble getting jelkner-buildout to work (until i realized how to cehckout schooltool into it) | 19:26 |
aelkner | so in the meantime, i checked out trunk in a separate plave | 19:26 |
aelkner | place | 19:26 |
ignas | i see | 19:27 |
aelkner | so i developed the gradbook changes directly there | 19:27 |
aelkner | and that's where the tests were failing | 19:27 |
aelkner | could you try that? | 19:27 |
ignas | interesting | 19:27 |
ignas | ok | 19:27 |
ignas | by the way | 19:28 |
ignas | i forgot to tell you how to test schooltool when it is in the same buildout as jelkner2007 | 19:28 |
ignas | (not with make test in the schooltool directory) | 19:28 |
ignas | as that duplicates all the Zope3 eggs | 19:28 |
ignas | which is not very convenient | 19:28 |
ignas | or did you already found that out ? | 19:28 |
aelkner | not yet | 19:29 |
aelkner | i guess i would have found that out when I get there | 19:29 |
aelkner | so what would i need to do? | 19:29 |
ignas | try adding: | 19:29 |
ignas | [test-schooltool] | 19:29 |
ignas | recipe = zc.recipe.testrunner | 19:29 |
ignas | eggs = schooltool | 19:29 |
ignas | defaults = ['--tests-pattern', '^f?tests$', '-v'] | 19:29 |
ignas | into your buildout.cfg | 19:30 |
ignas | and add test-schooltool to parts | 19:30 |
ignas | and bin/buildout | 19:30 |
ignas | that should add a bin/test-schooltool script | 19:30 |
ignas | that will run tests for schooltool | 19:30 |
ignas | though if you like testing both schooltool and jelkner2007 together | 19:30 |
ignas | you might just add schooltool to the eggs of [test] | 19:31 |
ignas | [test] | 19:31 |
ignas | recipe = zc.recipe.testrunner | 19:31 |
ignas | eggs = schooltool | 19:31 |
ignas | jelkner2007 | 19:31 |
ignas | defaults = ['--tests-pattern', '^f?tests$', '-v'] | 19:31 |
aelkner | hold on, i'm confused | 19:31 |
aelkner | first, I'm going to develop schooltool from within jelkner-buildout by checking out schooltool into it | 19:32 |
aelkner | as you had suggested | 19:32 |
aelkner | so why refer to schooltool asa an egg? | 19:32 |
aelkner | also, shouldn't I also check out jelkner2007 into the buildout and add it to the .cfg file? | 19:33 |
ignas | hmm | 19:36 |
ignas | the point is - schooltool checkout | 19:36 |
ignas | as well as jelkner checkout | 19:36 |
ignas | in the buildout | 19:36 |
ignas | are both treated as "eggs" | 19:37 |
ignas | "development-eggs" | 19:37 |
ignas | to be precise | 19:37 |
aelkner | oh | 19:37 |
ignas | so the idea is - testing schooltool as an egg as well | 19:37 |
ignas | because that means that jelkner2007 and schooltool are both using the same set of eggs | 19:38 |
aelkner | because until recently, the only way to test schooltool was from a checkout, but you changed all that, right? | 19:39 |
ignas | no, actually i am not using checkout for like 3 months already | 19:39 |
aelkner | i see | 19:39 |
ignas | that's why i am recomending others to do it that way as well | 19:40 |
aelkner | and what of the tests failing from a direct checkout of schooltool? | 19:40 |
ignas | i am trying to run the tests | 19:42 |
aelkner | ok | 19:42 |
ignas | someone deleted zope.app.apidoc 3.4.0 from PYPI! | 19:42 |
aelkner | wow | 19:44 |
aelkner | so, so far, all i changed to buildout.cfg was to add schooltool to the develop = section on line two | 19:47 |
aelkner | cause you said i need to do that in order to get it to work with the schooltool checkout | 19:48 |
aelkner | and jelkner2007 is an egg | 19:48 |
aelkner | but if i wanted to develop jelkner2007, i would need to remove the egg and replace it with a checkout, right? | 19:48 |
ignas | yes | 19:49 |
ignas | but that does not require any changes to buildout.cfg | 19:50 |
aelkner | i figured that | 19:50 |
aelkner | there's a "sctipts" paragraph there. is that misspelled? | 19:51 |
ignas | yes ;) | 19:51 |
ignas | all stipts should be replaced with scripts | 19:51 |
ignas | and svn commited ;) | 19:52 |
aelkner | i'll do that right now | 19:52 |
aelkner | then i'll have a question about the complete procedure for going from a fresh checkout to being development-ready | 19:52 |
aelkner | before that, why was it not a problem to have that paragraph misspelled? | 19:53 |
ignas | because it was misspelled twice | 19:54 |
ignas | the name is an identifier | 19:54 |
ignas | so if you have "stipts" in parts | 19:54 |
ignas | and "stipts" as a part name | 19:54 |
ignas | it's ok | 19:54 |
ignas | it does not mean anything | 19:54 |
aelkner | oh, i didn't spot the presense of stipts in parts, so I'll have to fix that now | 19:56 |
ignas | yes | 19:56 |
aelkner | done | 19:56 |
ignas | cool :) | 19:57 |
aelkner | for my sanity, i'd like to start with a fresh checkout of jelkner-buildout and follow steps that i have been accumulating | 20:01 |
aelkner | may i show the the steps as i understand them? | 20:01 |
ignas | ok | 20:02 |
aelkner | here goes: | 20:02 |
aelkner | svn co svn+ssh://source.schooltool.org/svn/schooltool/trunk/jelkner2007-buildout | 20:02 |
aelkner | cd jelkner2007-buildout | 20:02 |
aelkner | svn co svn+ssh://source.schooltool.org/svn/schooltool/trunk/schooltool | 20:02 |
aelkner | rm -rf jelkner2007 | 20:02 |
aelkner | svn co svn+ssh://source.schooltool.org/svn/schooltool/trunk/jelkner2007 | 20:02 |
aelkner | edit buildout.cfg | 20:02 |
aelkner | add schooltool to the end of the line that starts with develop | 20:02 |
aelkner | add schooltool to the end of line in test paragraph that starts with eggs | 20:02 |
aelkner | make | 20:03 |
aelkner | make test | 20:03 |
aelkner | make ftest | 20:03 |
aelkner | make run | 20:03 |
*** jfroche_ has quit IRC | 20:03 | |
ignas | no need for "rm -rf jelkner2007" | 20:04 |
ignas | if you haven't run make | 20:04 |
ignas | there is nothing to remove | 20:04 |
aelkner | svn co replaces? | 20:04 |
aelkner | i.e. does the rm -rf itself? | 20:04 |
ignas | no, there is no jelkner2007 in there | 20:04 |
aelkner | oh | 20:04 |
ignas | in that point in time | 20:04 |
aelkner | that was there as a result of the make | 20:04 |
aelkner | i get it | 20:04 |
ignas | add schooltool to the end of line in test paragraph that starts with eggs - not really | 20:05 |
ignas | i think you have to add it in the next line | 20:05 |
ignas | eggs = jelkner2007 | 20:05 |
ignas | schooltool | 20:05 |
aelkner | why does there need to be newlines there and not in develop | 20:06 |
aelkner | ? | 20:06 |
aelkner | on line 2? | 20:06 |
ignas | ask J1m | 20:06 |
ignas | :) | 20:06 |
aelkner | :) | 20:06 |
ignas | aelkner: all tests are passing in a clean schooltool checkout | 20:10 |
aelkner | cool | 20:10 |
ignas | when you update setup.py to depend on zope.app.apidoc == 3.4.1 | 20:10 |
ignas | :/ | 20:10 |
aelkner | so i started from sratch with the following steps: | 20:11 |
aelkner | svn co svn+ssh://source.schooltool.org/svn/schooltool/trunk/jelkner2007-buildout | 20:11 |
aelkner | cd jelkner2007-buildout | 20:11 |
aelkner | svn co svn+ssh://source.schooltool.org/svn/schooltool/trunk/schooltool | 20:11 |
aelkner | svn co svn+ssh://source.schooltool.org/svn/schooltool/trunk/jelkner2007 | 20:11 |
aelkner | edit buildout.cfg | 20:11 |
aelkner | add schooltool to the end of the line that starts with develop | 20:11 |
aelkner | add a line with just " schooltool" in it after the line in test paragraph that starts with eggs | 20:11 |
aelkner | make | 20:11 |
aelkner | make test | 20:11 |
aelkner | make ftest | 20:11 |
aelkner | make run | 20:12 |
aelkner | running make now | 20:12 |
aelkner | i noted the following as the make runs: | 20:15 |
aelkner | Got zope.app.apidoc 3.4.0. | 20:15 |
aelkner | is that ok? | 20:15 |
ignas | cool | 20:15 |
ignas | that means that it is still in there | 20:15 |
ignas | but somehow our original setup.py in schooltool didn't find it | 20:16 |
ignas | maybe a missing find_links | 20:16 |
aelkner | ok | 20:16 |
aelkner | uh oh, make test is failing | 20:17 |
aelkner | File "/home/aelkner/buildouts/jelkner2007-buildout/schooltool/src/schooltool/attendance/browser/tests/test_sparkline.py", line 98, in schooltool.attendance.browser.tests.test_sparkline.doctest_AttendanceSparklineView_call | 20:18 |
aelkner | Failed example: | 20:18 |
aelkner | print image.encode('base64') | 20:18 |
aelkner | Exception raised: | 20:18 |
aelkner | Traceback (most recent call last): | 20:18 |
aelkner | File "/home/aelkner/buildouts/jelkner2007-buildout/eggs/tmp27a6c9/zope.testing-3.5.1-py2.4.egg/zope/testing/doctest.py", line 1356, in __run | 20:18 |
aelkner | 20:18 | |
aelkner | File "<doctest schooltool.attendance.browser.tests.test_sparkline.doctest_AttendanceSparklineView_call[14]>", line 1, in ? | 20:18 |
aelkner | print image.encode('base64') | 20:18 |
aelkner | NameError: name 'image' is not defined | 20:18 |
ignas | hmm | 20:18 |
ignas | seems like there is no PIL | 20:18 |
aelkner | on my machine? | 20:19 |
ignas | is your schooltool checkout up to date? | 20:19 |
ignas | if it is the gradebook branch it might be out of date | 20:19 |
ignas | and you should be using trunk anyway | 20:19 |
aelkner | i followed the steps i outlines above | 20:19 |
aelkner | outlined | 20:19 |
aelkner | which is completely from sratch | 20:20 |
aelkner | i.e., i'm not using the gradebook branch anymore | 20:20 |
aelkner | you folded it into trunk, so i've been using trunk | 20:21 |
ignas | hmm | 20:21 |
ignas | can you do this: | 20:21 |
ignas | in eggs | 20:21 |
ignas | find PIL egg | 20:21 |
ignas | and rm -rf it | 20:21 |
ignas | sudo apt-get build-dep python-imaging | 20:22 |
ignas | and then bin/buildout | 20:22 |
aelkner | ugh | 20:22 |
aelkner | that seems ugly, and what of my steps from scratch | 20:23 |
ignas | it might be that you were missing some PIL dependencies | 20:23 |
ignas | i know i had a problem like this before | 20:23 |
ignas | could you look at schooltool/setup.py | 20:23 |
ignas | and see if there is PILwoTk in there? | 20:23 |
aelkner | it is | 20:24 |
ignas | hmm | 20:25 |
ignas | how does test section in your buildout.cfg look? | 20:25 |
aelkner | btw, the failed test doesn't mention the PIL library | 20:26 |
aelkner | on sec | 20:26 |
aelkner | [test] | 20:26 |
aelkner | recipe = zc.recipe.testrunner | 20:26 |
aelkner | eggs = jelkner2007 | 20:26 |
aelkner | schooltool | 20:26 |
aelkner | defaults = ['--tests-pattern', '^f?tests$', '-v'] | 20:26 |
ignas | hmm | 20:28 |
ignas | let me see | 20:28 |
ignas | tests seem to be passing | 20:33 |
ignas | so my assumption is that you are missing python-imaging build deps | 20:33 |
ignas | sudo apt-get build-dep python-imaging | 20:33 |
ignas | and then remove and reinstall PIL egg | 20:33 |
ignas | because it compiled wrong | 20:33 |
ignas | if that does not help | 20:33 |
ignas | lisppaste5: url | 20:33 |
lisppaste5 | To use the lisppaste bot, visit http://paste.lisp.org/new/schooltool and enter your paste. | 20:33 |
*** jhancock has joined #schooltool | 20:34 | |
ignas | post your bin/test in there | 20:34 |
aelkner | i'll go ahead and try that. | 20:35 |
aelkner | make test worked! | 20:42 |
ignas | cool :) | 20:42 |
aelkner | so i didn't have my machine set up correctly | 20:42 |
aelkner | where is the latest instructions for setting up a development machine, and could you check to make sure it is up to date? | 20:43 |
ignas | there are none, they are still for a simple checkout, but yes I should create something like that | 20:45 |
ignas | just that up to date, you are the only person who had to start using a buildout-sandbox | 20:46 |
ignas | so i was not sure whether it is usable yet ;) | 20:46 |
ignas | but when you will get everything smoothly working | 20:46 |
ignas | i'll fix our website to recomend buildouts for installation | 20:46 |
ignas | instead of svn co + all the 17 steps .. | 20:47 |
aelkner | great, thanks | 20:50 |
aelkner | btw, make ftest and make run also work! | 20:50 |
aelkner | yay! | 20:50 |
aelkner | that was a very productive couple of hours | 20:52 |
ignas | cool :) | 20:53 |
aelkner | so i'd like to ask you another question about the Requirements package | 20:53 |
ignas | yes | 20:53 |
aelkner | Am I the only person using is, i mean cando.virgina? | 20:53 |
aelkner | uding it | 20:53 |
aelkner | using it | 20:54 |
aelkner | i ask cause i'd like to remove New Requirement and Edit Requirement from the actions menu if i may | 20:54 |
aelkner | also, schooltool.gradebook use it | 20:55 |
ignas | schooltool.requirement is considered a part of schooltool.gradebook | 20:55 |
ignas | from my point of view | 20:55 |
ignas | so you can do whatever you want with it ;) | 20:55 |
ignas | as long as tests on trunk are passing | 20:56 |
aelkner | ah, the freedom, how sweet | 20:56 |
*** jhancock_ has joined #schooltool | 20:56 | |
aelkner | of course i would not check anything into trunk without passing tests | 20:56 |
ignas | ok, i have to go now, must make it until shops close | 20:57 |
aelkner | thanks for your help | 20:57 |
ignas | it's my job ;) | 20:57 |
aelkner | thanks just the same | 20:57 |
ignas | if you will see th1a online tell him that CAS authentication works with schooltool | 20:58 |
ignas | at least in the prototype | 20:58 |
aelkner | great! | 20:58 |
ignas | but might need some improvement | 20:58 |
aelkner | ok | 20:58 |
ignas | bye | 20:58 |
aelkner | bye | 20:58 |
*** ignas has quit IRC | 20:59 | |
*** th1a has joined #schooltool | 21:03 | |
aelkner | hey tom | 21:03 |
*** jelkner has joined #schooltool | 21:04 | |
aelkner | ignas asked me to pass along that CAS authentication works with schooltool | 21:04 |
aelkner | at least in the prototype | 21:04 |
aelkner | but might need some improvement | 21:04 |
aelkner | hey jeff | 21:04 |
*** jelkner has quit IRC | 21:05 | |
aelkner | th1a: did you get my last message? | 21:05 |
*** jelkner has joined #schooltool | 21:05 | |
aelkner | about CAS | 21:05 |
aelkner | jelkner: what it is? | 21:05 |
jelkner | CAS? | 21:05 |
aelkner | that was for Tom | 21:05 |
aelkner | i'm just saying hi to you | 21:06 |
jelkner | did someone here say "hey jeff"? | 21:06 |
aelkner | that would be me | 21:06 |
jelkner | ahh | 21:06 |
jelkner | well hey to you to! | 21:06 |
aelkner | so igans gave me the goahaed to remove those stupid action menu items | 21:07 |
aelkner | New REquirement for instance | 21:07 |
jelkner | great | 21:07 |
aelkner | Since apparantly, schooltool.gradebook and cando.virginia are the only packages using Requirement | 21:07 |
aelkner | and those are both for you, so aren;t you important | 21:08 |
aelkner | jelkner: so i'l remove those menu items and all other menu items in lieu of buttons on the forms as we discussed yesterday | 21:09 |
aelkner | th1a: ping | 21:09 |
th1a | aelkner: Hi. | 21:10 |
aelkner | did you see the message about CAS? | 21:10 |
aelkner | ignas asked me to pass it along | 21:10 |
th1a | Were you talking to him earlier on IRC? | 21:10 |
aelkner | yep | 21:11 |
th1a | Well, that's good news. | 21:11 |
th1a | I've been thinking we should probably push Chris to get his sys admin to do most of the work on getting CAS working on the other apps. | 21:12 |
th1a | That's not really our job. | 21:12 |
*** jhancock has quit IRC | 21:12 | |
th1a | Plus it isn't programming really, just getting the right plugins working. | 21:13 |
aelkner | good thinking | 21:13 |
th1a | But that's one good reason to work with them... they have their own sys admin. | 21:13 |
aelkner | yes, very good | 21:14 |
*** mgedmin has quit IRC | 21:16 | |
aelkner | th1a: did you receive my provate chat? | 21:16 |
th1a | Did you receive my response? | 21:18 |
th1a | I may not be registered on this computer. | 21:18 |
th1a | Anyhow, aelkner, the answer is no. | 21:19 |
aelkner | i din't receive your response. can i call you? | 21:19 |
*** jhancock__ has joined #schooltool | 21:43 | |
*** jhancock_ has quit IRC | 21:46 | |
*** jelkner has quit IRC | 21:47 | |
*** ignas has joined #schooltool | 21:51 | |
*** ignas has quit IRC | 22:00 | |
*** jhancock__ has quit IRC | 22:13 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!