| *** menesis has quit IRC | 02:26 | |
| *** alga has joined #schooltool | 03:00 | |
| *** replaceafill has quit IRC | 03:05 | |
| *** alga has quit IRC | 04:22 | |
| *** replaceafill has joined #schooltool | 05:43 | |
| aelkner | replaceafill: ayt? | 06:07 |
|---|---|---|
| replaceafill | aelkner, yes | 06:07 |
| aelkner | i'm trying to get cando into the schooltool.niepa package | 06:07 |
| aelkner | do you think i should get cando as an egg by adding it to setup.py? | 06:08 |
| aelkner | actually, cando is not a bzr project, is it? | 06:08 |
| replaceafill | that's a question i had this morning, how would you develop using cando as a library | 06:08 |
| replaceafill | no, it's subversion | 06:08 |
| replaceafill | you could get trunk doing "svn co https://svn.schooltool.org/cando/trunk" | 06:09 |
| replaceafill | try putting it in the develop = ... line of your niepa buildout.cfg | 06:09 |
| replaceafill | i have never done that though | 06:10 |
| aelkner | yvl said this during the meeting, " you'll just have to rip some parts from http://bazaar.launchpad.net/~vcs-imports/cando/trunk/annotate/head%3A/src/cando/cando2007/configure.zcml" | 06:10 |
| aelkner | but i'm sure he assumed i had the cando source in my path already | 06:11 |
| aelkner | i think i will need to do what you're saying | 06:11 |
| aelkner | let me try that | 06:11 |
| replaceafill | cool | 06:11 |
| replaceafill | i'll try the eggs approach, just for fun :P | 06:11 |
| aelkner | thanks | 06:12 |
| aelkner | replaceafill, did you ever see the syntax errors in RestrictedPython durng bin/buildout -n? | 06:16 |
| replaceafill | ah yes | 06:16 |
| aelkner | SyntaxError: ('invalid syntax', ('build/bdist.linux-x86_64/egg/RestrictedPython/tests/before_and_after27.py', 30, 17, ' x = {y: y for y in whatever if y}\n')) | 06:16 |
| aelkner | i guess i need to ignore that, right? | 06:16 |
| replaceafill | i do :) | 06:17 |
| replaceafill | ahhhhh :( | 06:17 |
| replaceafill | i got a version conflict | 06:17 |
| replaceafill | but the eggs approach seems to work too | 06:18 |
| replaceafill | in case you want to use cando eggs | 06:18 |
| replaceafill | i added "http://ftp.schooltool.org/cando/eggs/" to my base.cfg | 06:18 |
| replaceafill | and then cando to the eggs in buildout.cfg | 06:19 |
| replaceafill | and it gets the cando egg correctly | 06:19 |
| replaceafill | but at the end i got a version conflict | 06:19 |
| aelkner | what conflicted with what? | 06:21 |
| replaceafill | let me update trunks and see if the error is still there | 06:21 |
| replaceafill | yep, it worked | 06:22 |
| replaceafill | so here's what i do to get schooltool + cando egg (not trunk) | 06:22 |
| replaceafill | schooltool has buildout.cfg *and* base.cfg | 06:22 |
| *** aks has joined #schooltool | 06:22 | |
| replaceafill | most configuration is in base.cfg | 06:22 |
| replaceafill | including the find-links part | 06:22 |
| aelkner | you're just adding cando to plain old schooltool | 06:23 |
| aelkner | ? | 06:23 |
| replaceafill | to schooltool trunk, yes | 06:23 |
| aks | replaceafill: hello | 06:23 |
| aelkner | cool | 06:23 |
| replaceafill | so, i add http://ftp.schooltool.org/cando/eggs/ to find-links in base.cfg | 06:23 |
| replaceafill | hey aks! | 06:23 |
| replaceafill | aelkner, that's where the released cando eggs are | 06:24 |
| replaceafill | aelkner, next, you add cando to the 'eggs =...' part in buildout.cfg | 06:24 |
| replaceafill | and you run buildout | 06:24 |
| aks | replaceafill: I'll be making modifications to the RPM today and release it | 06:24 |
| replaceafill | and it works | 06:24 |
| aelkner | so nothing has to be added to setup.py? | 06:24 |
| replaceafill | aks, great! i'll gladly test them :) | 06:24 |
| aks | replaceafill: :) | 06:24 |
| replaceafill | aelkner, i didnt touch setup.py | 06:25 |
| replaceafill | aelkner, but let me try to start the server | 06:25 |
| replaceafill | and check the included paths | 06:25 |
| replaceafill | aelkner, | 06:25 |
| replaceafill | sys.path[0:0] = [ | 06:25 |
| replaceafill | '/home/replaceafill/.sandboxes/schooltool_plus_cando/src', | 06:25 |
| replaceafill | '/home/replaceafill/.sandboxes/schooltool_plus_cando/eggs/cando-2010.06.2-py2.6.egg', | 06:25 |
| replaceafill | aelkner, uhmm next question is: how do i get cando stuff activated... | 06:26 |
| aelkner | well, i'm following the advise yvl gave this morning to add cando's layer to the niepa skin | 06:28 |
| replaceafill | aelkner, i guess that's where you modify your niepa's app/configure.zcml | 06:28 |
| replaceafill | right | 06:28 |
| aelkner | yes, i copied all the cando <include> statements from cando2007 | 06:28 |
| replaceafill | aelkner, you're breaking new ground there :) | 06:28 |
| aelkner | yeah, i know | 06:29 |
| replaceafill | i guess nobody has "used" cando as a library | 06:29 |
| aelkner | nope, this is the first time | 06:29 |
| replaceafill | but to your original question, you can follow the trunk approach or the eggs one | 06:29 |
| aelkner | yeah, i'm going to finish working with the trunk for now | 06:29 |
| replaceafill | in any case you should get the egg in the path | 06:29 |
| replaceafill | cool | 06:29 |
| replaceafill | good luck | 06:29 |
| replaceafill | let me know if i can help | 06:29 |
| aelkner | i can use your eggs suggestions from this chat when i want to try that out | 06:30 |
| aelkner | thanks | 06:30 |
| replaceafill | aelkner, yay it worked :D | 06:36 |
| replaceafill | if i paste all the cando configuration in my school.zcml, you can see cando stuff | 06:37 |
| aelkner | replaceafill: yes, it does, but cando needs work handling no current term | 06:48 |
| aelkner | if you try out a report it crahses | 06:48 |
| aelkner | but as soon as i added a year and term, it doesn't | 06:48 |
| replaceafill | ah yes | 06:48 |
| *** th1a has quit IRC | 08:01 | |
| *** replaceafill has quit IRC | 08:40 | |
| yvl | I see you've got things under control :) | 09:10 |
| yvl | aelkner, you'll want to add cando to install_requires in your setup.py | 09:10 |
| aelkner | yvl: hey | 09:20 |
| aelkner | i didn't need to, but are you saying that's important for packaging? | 09:21 |
| aelkner | also, i'm adding schooltool.intervention to schooltool.niepa | 09:21 |
| yvl | well, setup.py a right place to put it | 09:22 |
| yvl | see schooltool.gradebook dependencies | 09:22 |
| yvl | they're all in setup.py | 09:22 |
| yvl | and packaging should automatically get the dependencies from there | 09:23 |
| yvl | but to be fair, I don't know the details :) | 09:24 |
| yvl | aks, ping me when you want rpms updated in schooltool.org | 09:25 |
| aks | yvl: sure and thanks | 09:25 |
| * yvl didn't setup a cron job, so I have to run a script manually :) | 09:25 | |
| aelkner | yvl: i added cando and schooltool.intervenion to buildout.cfg | 09:29 |
| aelkner | and added http://ftp.schooltool.org/cando/eggs/ to find_links in base.cfg | 09:30 |
| aelkner | and that was enough to get it to get the cando egg | 09:31 |
| aelkner | and the intervention egg, of course | 09:31 |
| yvl | yes | 09:31 |
| yvl | sorry, I somehow spaced-out on mentioning that yesterday | 09:31 |
| aelkner | but that's more of a buildout solution than a package solution? | 09:32 |
| yvl | that you'll need dependency on cando, find-links for the egg, etc. | 09:32 |
| yvl | well, the good thing is that you don't need to worry about that ;) | 09:32 |
| aelkner | i was just wondering if adding cando and schooltool.intevenion to install_requires would be better | 09:33 |
| aelkner | instead of adding them to buildout.cfg | 09:33 |
| yvl | definitely better | 09:33 |
| aelkner | i'll try that, thanks | 09:33 |
| aelkner | works the same, so that's better | 09:37 |
| yvl | thanks | 09:38 |
| yvl | van.pydeb (or whatever menesis uses currently) picks up dependencies from there | 09:38 |
| aelkner | cool | 09:39 |
| *** menesis has joined #schooltool | 10:15 | |
| *** aks has quit IRC | 10:30 | |
| *** aks has joined #schooltool | 10:30 | |
| aelkner | yvl: i have schooltool.niepa running on the box douglas uses for schooltool.cambodia and other things | 10:32 |
| aelkner | but something strange is happening | 10:32 |
| yvl | yes? | 10:32 |
| aelkner | when i give the ip and port, it returns http://ip:port/... | 10:33 |
| aelkner | in other words, even if i don't authenticate, it allows me to see private pages | 10:33 |
| yvl | can you paste link as private message? | 10:33 |
| aelkner | ok | 10:34 |
| *** alga has joined #schooltool | 10:42 | |
| *** alga has quit IRC | 11:08 | |
| *** menesis has quit IRC | 11:24 | |
| *** menesis has joined #schooltool | 11:59 | |
| aks | yvl: ping | 12:15 |
| yvl | pong | 12:15 |
| aks | yvl: please rsync now, I've removed the roman dependency from zope.app.rendered and rebuilt the package, also I've removed python-docutils as it is in the mainstream repo | 12:16 |
| yvl | will do! | 12:16 |
| aks | yvl, menesis: we need to try it after yvl sets the new packages up | 12:16 |
| yvl | sorry, I don't have Fedora vm set up at hand | 12:17 |
| yvl | if it's ok, I'll ask Douglas (replaceafill) to test later today | 12:17 |
| aks | yvl: it's okay | 12:19 |
| *** alga has joined #schooltool | 12:33 | |
| *** Aiste has joined #schooltool | 12:42 | |
| yvl | aks, http://ftp.schooltool.org/rpms/Fedora_13/ updated | 12:56 |
| aks | yvl: thanks a lot, will be awaiting replaceafiil's feedback after he tests | 12:56 |
| *** Aiste has quit IRC | 13:06 | |
| *** menesis has quit IRC | 13:20 | |
| *** aks has quit IRC | 13:23 | |
| *** aks has joined #schooltool | 13:23 | |
| *** aks has joined #schooltool | 13:23 | |
| *** menesis has joined #schooltool | 13:24 | |
| *** aks has quit IRC | 13:44 | |
| *** aks has joined #schooltool | 13:50 | |
| *** menesis has quit IRC | 14:05 | |
| *** menesis has joined #schooltool | 14:11 | |
| *** menesis has quit IRC | 14:21 | |
| *** menesis has joined #schooltool | 14:21 | |
| *** aks has quit IRC | 14:44 | |
| *** yvl has quit IRC | 15:22 | |
| *** th1a has joined #schooltool | 16:25 | |
| *** replaceafill has joined #schooltool | 16:48 | |
| *** menesis has quit IRC | 17:08 | |
| *** menesis has joined #schooltool | 17:09 | |
| *** menesis has quit IRC | 17:11 | |
| *** menesis has joined #schooltool | 17:14 | |
| th1a | menesis: Let me know when you've updated the release notes in the book. | 18:00 |
| menesis | th1a: oh. will do soon | 18:01 |
| th1a | Thanks. | 18:02 |
| *** replaceafill has quit IRC | 18:19 | |
| *** replaceafill has joined #schooltool | 18:54 | |
| *** alga has quit IRC | 19:42 | |
| *** replaceafill has quit IRC | 20:09 | |
| *** replaceafill has joined #schooltool | 20:24 | |
| *** replaceafill has quit IRC | 20:32 | |
| menesis | th1a: done | 21:07 |
| *** menesis has quit IRC | 21:15 | |
| *** replaceafill has joined #schooltool | 22:27 | |
| *** replaceafill has quit IRC | 23:01 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!