*** tdoggette has quit IRC | 00:10 | |
*** eldar has quit IRC | 00:18 | |
*** eldar has joined #schooltool | 00:19 | |
pcardune | cando now has paste deploy support | 00:24 |
---|---|---|
eldar | ooooh | 00:25 |
*** fsufitch has quit IRC | 00:37 | |
pcardune | eldar: if you want to try it out, checkout the cando-buildout branch and follow the instructions in INSTALL.txt | 00:42 |
pcardune | the idea is that it won't mess up your system :) | 00:42 |
pcardune | It takes about 15 minutes to run depending on your system as it compiles python | 00:42 |
eldar | make-schooltool-instance ... | 00:44 |
eldar | eek | 00:44 |
eldar | hey hey hey | 00:45 |
eldar | what do you mean the idea is | 00:45 |
eldar | if it messes up my python it'll suck | 00:45 |
pcardune | huh? | 00:47 |
pcardune | did I make a typo in INSTALL.txt? | 00:47 |
eldar | pcardune> the idea is that it won't mess up your system :) | 00:47 |
eldar | that sounded a little fishy | 00:47 |
pcardune | oh | 00:47 |
pcardune | yeah, that is the idea | 00:48 |
eldar | Traceback (most recent call last): | 00:48 |
eldar | File "bootstrap.py", line 33, in ? | 00:48 |
eldar | ez['use_setuptools'](to_dir=tmpeggs, download_delay=0) | 00:48 |
eldar | File "<string>", line 88, in use_setuptools | 00:48 |
eldar | the script fails | 00:48 |
eldar | zipimport.ZipImportError: can't decompress data; zlib not available | 00:48 |
pcardune | is this after or before is installed its own python? | 00:48 |
eldar | after, because it tries to get stuff from cheeseshop | 00:49 |
pcardune | and you already installed like python-all-dev? | 00:50 |
eldar | yeah | 00:51 |
*** Preetam has quit IRC | 00:51 | |
eldar | this is my normal environment in which i build cando every day | 00:51 |
eldar | alright, we're starting to wrap up | 00:52 |
*** eldar has quit IRC | 00:52 | |
pcardune | hmm I've seen that zlib error before | 00:54 |
pcardune | namely trying to use custom python on another machine | 00:55 |
*** romaia has quit IRC | 01:07 | |
*** jhancock has quit IRC | 01:10 | |
*** Spec is now known as x-spec-t | 01:47 | |
*** pcardune_ has joined #schooltool | 02:00 | |
*** tdoggette has joined #schooltool | 02:11 | |
tdoggette | Hey guys, what are the dates for the Gallaudet sprint? | 02:11 |
tdoggette | That developers are attending, that is | 02:12 |
*** pcardune has quit IRC | 02:17 | |
*** mattva01 has joined #schooltool | 02:18 | |
*** pcardune_ is now known as pcardune | 03:24 | |
*** pcardune has quit IRC | 04:07 | |
*** pcardune has joined #schooltool | 04:07 | |
*** tdoggette has quit IRC | 04:36 | |
*** lhuynh has quit IRC | 05:04 | |
*** Fujitsu has quit IRC | 06:48 | |
*** mattva01 has quit IRC | 07:17 | |
*** didymo has quit IRC | 07:20 | |
*** lameiro has joined #schooltool | 07:31 | |
*** didymo has joined #schooltool | 07:33 | |
*** pcardune has quit IRC | 07:57 | |
*** jinty has joined #schooltool | 10:10 | |
*** Spec[x] has joined #schooltool | 10:26 | |
*** x-spec-t has quit IRC | 10:27 | |
*** x-spec-t has joined #schooltool | 10:33 | |
*** Spec[x] has quit IRC | 10:49 | |
*** jinty has quit IRC | 11:29 | |
*** ignas has joined #schooltool | 11:39 | |
*** mgedmin has joined #schooltool | 11:49 | |
*** jfroche has joined #schooltool | 12:51 | |
*** lameiro has quit IRC | 12:56 | |
*** jinty has joined #schooltool | 12:56 | |
*** didymo has quit IRC | 13:25 | |
*** Fujitsu has joined #schooltool | 14:08 | |
ignas | jinty: PasteScript on feisty is too old | 14:22 |
ignas | workaround? | 14:23 |
ignas | as in - should i work around it in schooltool's code? | 14:23 |
jinty | I can also try to back-port it | 14:23 |
jinty | i.e. just re-build the package for feisty | 14:24 |
jinty | th1a can actually do that with his script | 14:24 |
ignas | that should work i'd guess | 14:24 |
jinty | (i don't have a virtual feisty machine) | 14:24 |
jinty | dunno how difficult it'll be | 14:24 |
ignas | i see | 14:25 |
jinty | ignas: I think for now assume it can be done | 14:26 |
ignas | ok | 14:28 |
*** jinty has quit IRC | 14:36 | |
*** jinty has joined #schooltool | 16:26 | |
ignas | tada | 16:28 |
ignas | buildout.cfg has versions frozen in it now | 16:28 |
ignas | and seems that all the dependencies that we haven't released | 16:28 |
ignas | are Zope3 | 16:28 |
*** Ninno has joined #schooltool | 16:34 | |
th1a | jinty: Need me to run the script? | 16:40 |
jinty | yeah, can you try it with python-pastedeploy python-pastescript | 16:40 |
ignas | and python-paste (dependency for both of these) | 16:42 |
*** ignas has quit IRC | 16:49 | |
th1a | jinty: Unable to find a source package for python-paste. | 17:04 |
*** jinty has quit IRC | 17:09 | |
*** jinty has joined #schooltool | 17:10 | |
th1a | jinty: Unable to find a source package for python-paste. | 17:13 |
*** mgallagh has joined #schooltool | 18:27 | |
*** jfroche has quit IRC | 18:28 | |
*** jinty_ has joined #schooltool | 18:29 | |
*** jinty has quit IRC | 18:30 | |
*** fsufitch has joined #schooltool | 18:52 | |
fsufitch | Lumiere, ayt? | 18:53 |
Lumiere | am now | 18:56 |
fsufitch | right | 18:59 |
fsufitch | so i'm done putting the new breadcrumbs into newskin | 19:00 |
fsufitch | however, their red background doesn't match the header yet | 19:00 |
fsufitch | should i make the header red? | 19:00 |
fsufitch | (( Lumiere, ping )) | 19:00 |
Lumiere | hmm | 19:00 |
Lumiere | can I see it? | 19:00 |
fsufitch | yes, i committed to the newskin branch | 19:01 |
Lumiere | ok | 19:01 |
Lumiere | making run locally | 19:01 |
*** jinty_ has quit IRC | 19:01 | |
*** jinty has joined #schooltool | 19:02 | |
Lumiere | hi jinty | 19:02 |
*** eldar has joined #schooltool | 19:04 | |
Lumiere | hi eldar | 19:05 |
fsufitch | Lumiere, well? | 19:05 |
eldar | hi Lumiere | 19:05 |
fsufitch | eldar, just to bring you up to date, i finished the new breadcrumbs and putting them into newskin. I committed my changes to the newskin branch | 19:06 |
eldar | fsufitch, alright cool, lemme take a look | 19:07 |
Lumiere | hmm | 19:07 |
Lumiere | yes, make the header the same red for now | 19:07 |
Lumiere | and make the tabs blue | 19:08 |
fsufitch | allrght | 19:08 |
Lumiere | (that green is just uggggggly) | 19:08 |
fsufitch | although eldar is working on new tabs | 19:08 |
Lumiere | just do a quick change to em | 19:08 |
fsufitch | aaaa! it looks ugly with the red! | 19:10 |
Lumiere | hmm | 19:10 |
fsufitch | we could use a different color and fade it to the red for the crumbs | 19:10 |
Lumiere | yes | 19:10 |
fsufitch | i <3 gimp fading :) | 19:10 |
fsufitch | what color? | 19:10 |
*** mgallagh has quit IRC | 19:10 | |
fsufitch | the blue looks interesting on the tabs... | 19:11 |
fsufitch | so, Lumiere, what color should the header be? | 19:13 |
Lumiere | sec | 19:13 |
fsufitch | i would suggest a light blue or something | 19:13 |
fsufitch | schooltool uses a light blue and the red in their theme | 19:14 |
fsufitch | i'll try those | 19:14 |
eldar | is that cando logo there necessary? | 19:14 |
fsufitch | uhh | 19:15 |
fsufitch | i do not know | 19:15 |
fsufitch | there has to be a logo, right? | 19:15 |
eldar | i don't think so. Lumiere? | 19:16 |
fsufitch | it's an internet app. the teachers/students need to know what they're using ;) | 19:16 |
Lumiere | back | 19:17 |
Lumiere | there needs to be something there | 19:17 |
Lumiere | logo or text | 19:17 |
fsufitch | yeh | 19:17 |
fsufitch | the logo looks horrible on dark backgrounds | 19:17 |
fsufitch | but it looks nice on lighter ones | 19:17 |
Lumiere | make it look good! | 19:17 |
Lumiere | and use a light blue | 19:17 |
fsufitch | let me see how it looks on a light blue | 19:17 |
fsufitch | yes | 19:17 |
*** pcardune has joined #schooltool | 19:18 | |
fsufitch | Lumiere, so after a bit of experimenting, it turns out that the only color to work with the red in the way it's set up is a pink-peach ish thing | 19:34 |
fsufitch | html color #998383 | 19:35 |
Lumiere | commit it to the branch | 19:35 |
fsufitch | alright | 19:35 |
Lumiere | food back in 15 min | 19:36 |
Lumiere | eldar: do fsufitch's commits get on the mailing list? | 19:37 |
fsufitch | committed | 19:37 |
fsufitch | no, i dont think so | 19:37 |
Lumiere | that's not too bad | 19:37 |
Lumiere | but I think we can do better still | 19:38 |
fsufitch | like? | 19:38 |
Lumiere | have pcardune look at it | 19:38 |
fsufitch | pcardune, now i'm going to bother you ;) | 19:38 |
pcardune | ? | 19:39 |
eldar | nioe | 19:39 |
*** cpcarey has joined #schooltool | 19:40 | |
eldar | they're supposed to | 19:40 |
eldar | he's in the tabs file | 19:40 |
fsufitch | what? | 19:40 |
fsufitch | so, pcardune, i'm redoing the colors for the breadcrumbs and the header, and Lumiere wants you to take a look at them | 19:40 |
fsufitch | they're in the newskin branch | 19:40 |
pcardune | ok, i'll take a look in a couple of minutes | 19:41 |
fsufitch | kk | 19:41 |
fsufitch | ping me when u do | 19:41 |
fsufitch | hmm, that was more than a couple minutes | 19:51 |
Lumiere | heh | 19:53 |
fsufitch | pcardune, ayt? | 19:55 |
pcardune | fsufitch: still haven't looked at it yet | 19:56 |
pcardune | I'm talking to stephan on the phone | 19:56 |
fsufitch | oh ok | 19:56 |
fsufitch | lol yelling at him? | 19:56 |
pcardune | yelling at him about the colors? | 20:01 |
fsufitch | yes | 20:04 |
fsufitch | and the crumbs | 20:04 |
*** jinty has quit IRC | 20:06 | |
fsufitch | eldar, were u doing the new tabs? | 20:08 |
eldar | yeah, what did you do to the header | 20:08 |
eldar | it's purple now >.< | 20:08 |
fsufitch | purple?! | 20:08 |
fsufitch | i didnt do it | 20:08 |
fsufitch | wtf purple. | 20:09 |
eldar | do you see it? | 20:09 |
fsufitch | no | 20:09 |
fsufitch | or maybe it's just my retarded laptop screen | 20:09 |
eldar | the background behind the cando log | 20:10 |
eldar | and around the login buttons | 20:10 |
eldar | is purplish | 20:10 |
fsufitch | well, purplish, not purple | 20:10 |
fsufitch | i say it's more pink :) | 20:10 |
fsufitch | i was trying to find something to match the red | 20:10 |
fsufitch | that's the best i came up with | 20:10 |
fsufitch | any ideas? | 20:10 |
th1a | Are you guys still dropping the SchoolTool red/gray/white color scheme? | 20:11 |
eldar | th1a, we're using the red, and the blue used in your calendars | 20:12 |
fsufitch | no, not entirely | 20:12 |
fsufitch | i g2g now | 20:12 |
fsufitch | i'll be back soon though | 20:12 |
eldar | ok | 20:12 |
th1a | Is there a screenshot or something I can see of the current version? | 20:13 |
eldar | oh we're not completely done recoloring so there is lots of the yucky old green left | 20:14 |
th1a | OK, so you're getting rid of that. | 20:14 |
eldar | yeah, the breadcrumb bar, looks like schooltool's except it's gradient | 20:15 |
pcardune | eldar: so have we been moving the various branches over to eggs based distribution? | 20:15 |
eldar | pcardune, nope | 20:15 |
eldar | the newskin branch has been moved | 20:15 |
th1a | OK. Just keep in mind that if you stay close to our current color scheme it will prevent us from having a big branding debacle in a year. | 20:16 |
pcardune | th1a: I think the regular schooltool color scheme is still exactly the same - but that is only available to administrative users. | 20:16 |
th1a | If you guys come up with a good navigation scheme, we may end up using it, but if the colors don't match, we have a problem. | 20:18 |
pcardune | th1a: I'm all for your colors :) | 20:19 |
pcardune | fsufitch: so... everything looks exactly the same? | 20:19 |
th1a | Good. It just seems like a stupid thing to fork over. | 20:19 |
pcardune | th1a: agreed... and there is no forking involved thanks to zope CA | 20:20 |
eldar | who said anything about forking? | 20:20 |
th1a | OK, not "fork." | 20:21 |
pcardune | why can't there be an svn visualise command? | 20:21 |
th1a | But it makes it harder for us to work together if we have different colors schemes. | 20:22 |
Lumiere | pcardune: lol | 20:22 |
pcardune | (and for some reason visualise is spelled wrong in bzr... ) | 20:22 |
pcardune | unless that is how the brits spell it? | 20:22 |
Lumiere | th1a: all work is being done in cando/branches/newskin | 20:22 |
th1a | pcardune: They don't use the zed. | 20:22 |
Lumiere | once you get in to it http://localhost:whatever/++skin++NewCanDo/go.html | 20:23 |
eldar | yeah, damn brits | 20:25 |
pcardune | lol | 20:25 |
fsufitch | back | 20:26 |
Lumiere | wb | 20:26 |
fsufitch | th1a, if you want to see, it, it's in the newskin branch | 20:27 |
pcardune | fsufitch: don't make him setup a full checkout... | 20:27 |
fsufitch | >_> | 20:27 |
pcardune | fsufitch: what am I looking for here? | 20:27 |
eldar | just the src/cando/newskin directory | 20:28 |
th1a | pcardune: Well, I can never remember where your svn is. | 20:28 |
fsufitch | ... | 20:28 |
pcardune | th1a: that makes two of us :) | 20:28 |
fsufitch | what did i miss?! | 20:28 |
th1a | We need to add a link on svn.schooltool.org | 20:28 |
pcardune | th1a: yes! | 20:29 |
pcardune | +1E6 | 20:29 |
Lumiere | and a link to our coverage | 20:29 |
eldar | svn.schooltool.org/cando/branches/newskin/src/cando/newskin | 20:29 |
Lumiere | +1E7 | 20:29 |
eldar | is the module yo uwant | 20:29 |
pcardune | fsufitch: I refuse to look further until all the resources are in their own directory! :) | 20:30 |
fsufitch | argh! | 20:30 |
fsufitch | fine! | 20:30 |
fsufitch | i also have to clean up the old resources from the crumbs | 20:31 |
pcardune | fsufitch: yes, please do that as well | 20:31 |
fsufitch | lol | 20:31 |
pcardune | fsufitch: for some reason, I don't see any changes when I actually look at the running server... and I made sure to clear my cache | 20:31 |
pcardune | so there me be some other problem related to that | 20:31 |
fsufitch | pcardune, that's strange | 20:32 |
Lumiere | I have not had update issues | 20:33 |
pcardune | It might be on my end | 20:33 |
pcardune | in fact, it probably *is* on my end | 20:33 |
fsufitch | lol | 20:33 |
fsufitch | what i do to update is ctrl+shift+r | 20:33 |
fsufitch | in firefox | 20:33 |
fsufitch | it ignores the cache etc | 20:34 |
pcardune | eldar: as for you zlib problem from yesterday, try apt-get install zlib-dev and then rerun the whole process (that's right... including python recompile) | 20:34 |
pcardune | fsufitch: yeah, me too :) | 20:34 |
fsufitch | hmm | 20:34 |
eldar | pcardune, meh, python compile only took a minute | 20:34 |
fsufitch | that's stupid then... | 20:34 |
fsufitch | it means that it didn't get the css update | 20:34 |
pcardune | oh right, i forgot i'm the only one running virtualized :) | 20:35 |
fsufitch | Sending newskin/cando.css | 20:35 |
fsufitch | Sending newskin/configure.zcml | 20:35 |
fsufitch | Sending newskin/global-go.pt | 20:35 |
fsufitch | Adding (bin) newskin/topmenu.gif | 20:35 |
fsufitch | it should work | 20:35 |
fsufitch | r u at revision 966? | 20:36 |
fsufitch | so what do i need to do for now? | 20:37 |
fsufitch | just move the resources? | 20:37 |
Lumiere | at 967 here | 20:37 |
fsufitch | wtf 967? | 20:37 |
fsufitch | hmm, someone added somethign | 20:37 |
Lumiere | pcardune made a trunk commit | 20:37 |
Lumiere | fixing ftests for curriculum | 20:38 |
Lumiere | **thanks paul!** | 20:38 |
fsufitch | o yeah | 20:38 |
Lumiere | still broken tests | 20:38 |
Lumiere | :) | 20:38 |
Lumiere | but closer | 20:38 |
pcardune | fsufitch: i'll look into it more when I fix these broken tests and once you have moved those files into a resources directory | 20:39 |
fsufitch | all right | 20:39 |
fsufitch | but is it necessary to do it now? | 20:39 |
Lumiere | fsufitch: might as well | 20:39 |
fsufitch | ok | 20:39 |
fsufitch | so after i put everything in the directory i only have to do 1 registration with resourceDirectory ? | 20:40 |
pcardune | yep | 20:41 |
fsufitch | also, pcardune, could you explain to me why there's a viewlet for cando.css? | 20:42 |
pcardune | see, if you had done that first, it would have saved you time :) | 20:42 |
pcardune | fsufitch: yes I can explain that | 20:42 |
fsufitch | i didnt do the registrations for the new skin in the first place | 20:42 |
fsufitch | so it's not my fault | 20:42 |
fsufitch | i found it weird to not have a resources/ directory too | 20:42 |
Lumiere | rofl | 20:42 |
fsufitch | but meh | 20:42 |
fsufitch | i thought there might have been a reason for it | 20:42 |
pcardune | in that case, you are thinking in the right way! | 20:43 |
th1a | Ew. | 20:43 |
pcardune | th1a: finally see the skin? | 20:43 |
th1a | Yes. | 20:43 |
pcardune | lol | 20:43 |
fsufitch | XD | 20:43 |
fsufitch | great... >_> | 20:43 |
fsufitch | what parameters does resourceDirectory need? | 20:43 |
th1a | You guys are on a wild goose chase to Uglytown. | 20:43 |
Lumiere | uh | 20:44 |
pcardune | fsufitch: the viewlet is to hook the css file into the viewlet manager. This allows you to specify css files that should be used for specific views if you want | 20:44 |
pcardune | th1a: well put | 20:44 |
fsufitch | i c | 20:44 |
Lumiere | th1a: what part is the chase to uglytown | 20:44 |
Lumiere | we're working on those colors | 20:44 |
Lumiere | cause yea | 20:44 |
Lumiere | we know... they SUCK | 20:44 |
Lumiere | they're srichter's | 20:45 |
th1a | I think the SchoolTool color scheme has always been fine. | 20:46 |
Lumiere | th1a: that's what we are moving toward | 20:47 |
fsufitch | yes | 20:47 |
th1a | OK. | 20:47 |
th1a | I'll shut up then. | 20:47 |
Lumiere | the skin stuff | 20:47 |
Lumiere | is to let you see the layout | 20:47 |
Lumiere | colors are entirely in flux | 20:48 |
Lumiere | and will be till we land newskin branch | 20:48 |
Lumiere | pcardune: are there branches that need merges done? | 20:48 |
pcardune | Lumiere: yeah | 20:48 |
Lumiere | pop me an email or a pm with em | 20:48 |
pcardune | merge trunk into pcardune-evidence-linking | 20:48 |
Lumiere | and I'll look at it | 20:48 |
fsufitch | pcardune, how do i do a resourceDirectory registration again? | 20:50 |
pcardune | fsufitch: there are a few steps: | 20:50 |
fsufitch | just do a rough outline plz :) | 20:51 |
fsufitch | i can figure out most of it | 20:51 |
pcardune | 1) go to the root of the cando src tree | 20:51 |
pcardune | 2) type: rgrep -Hn resourceDirectory . | 20:51 |
pcardune | 3) profit ! | 20:51 |
fsufitch | >_< | 20:51 |
fsufitch | right | 20:51 |
pcardune | (at least that is what I would do to answer your question) | 20:51 |
eldar | lolz | 20:51 |
fsufitch | nice solution tho :) | 20:51 |
eldar | there need to be tags for xml entries | 20:52 |
pcardune | alternatively, startup apidoc, and checkout the zcml registration section | 20:52 |
fsufitch | eww, no way ;) | 20:52 |
pcardune | eldar: that is just what I was thinking | 20:52 |
fsufitch | no resourceDirectory was found... | 20:52 |
fsufitch | that's sort of disturbing | 20:53 |
pcardune | try the schooltool src | 20:53 |
fsufitch | there is none... | 20:53 |
fsufitch | which is even more disturbing | 20:54 |
pcardune | Lumiere: I'm planning on setting up a buildbot slave using the 25 machines in our linux lab | 20:54 |
Lumiere | lol | 20:54 |
Lumiere | for what? | 20:54 |
fsufitch | pcardune, this is what ls returns: | 20:54 |
pcardune | fsufitch: then the last option is apidoc | 20:54 |
fsufitch | add-plugin.py i18nextract.py plugins_enabled site.zcml tools | 20:54 |
fsufitch | cando.conf.in log README.txt src var | 20:54 |
fsufitch | eggs Makefile releases start-cando.py | 20:54 |
fsufitch | GPL.txt plugins_available setup.py test.py | 20:54 |
pcardune | Lumiere: for schooltool/cando | 20:54 |
Lumiere | pcardune: we've got buildbotslaves up... what would yours be for? | 20:55 |
pcardune | ignas has been working on a distributed test runner :) | 20:55 |
Lumiere | ah | 20:55 |
Lumiere | cando doesn't need it | 20:55 |
Lumiere | schooltool could really use it | 20:55 |
*** Ninno has quit IRC | 20:55 | |
eldar | fsufitch, search in the eggs directory | 20:56 |
eldar | that's where schooltool source is now | 20:56 |
eldar | or rather, search in the schooltool egg | 20:57 |
eldar | if you do it in eggs, you might get too much | 20:57 |
fsufitch | ok | 21:00 |
fsufitch | eldar, i got nothing | 21:01 |
fsufitch | i'll just check tha apidocs | 21:01 |
fsufitch | pcardune, where is the apidoc? | 21:01 |
fsufitch | or rather how do i access it? | 21:01 |
pcardune | fsufitch: you have to enable devmode on cando.cfg | 21:03 |
pcardune | or rather, cando.conf | 21:03 |
Lumiere | pcardune's been playing with buildout too long | 21:03 |
fsufitch | where is cando.conf? | 21:03 |
pcardune | fsufitch: in the root directory of your checkout | 21:03 |
fsufitch | thats cando.conf.in | 21:04 |
Lumiere | pcardune: so need to merge trunk 853 to current | 21:04 |
pcardune | fsufitch: no, you should copy cando.conf.in to cando.conf first | 21:05 |
fsufitch | crao | 21:05 |
fsufitch | *crap | 21:05 |
Lumiere | fsufitch: cando.conf.in is stored in the repository | 21:05 |
pcardune | Lumiere: yeah something like that, or from whatever revision the last merge was from | 21:05 |
Lumiere | cando.conf is read first | 21:05 |
Lumiere | there were no other merges | 21:05 |
Lumiere | looks like | 21:05 |
fsufitch | i c | 21:05 |
Lumiere | pcardune: is C conflicts? | 21:06 |
fsufitch | hmm, it doesn't give me the warning that devmode is on | 21:06 |
fsufitch | so devmode's off | 21:06 |
pcardune | Lumiere: yes | 21:06 |
pcardune | I suppose I best do the merge myself then... | 21:06 |
eldar | my tabs are ready btw | 21:07 |
Lumiere | the only problems are src/cando/configure.zcml | 21:07 |
fsufitch | eldar, commit? | 21:07 |
eldar | fsufitch, so as soon as you add the resourceDirectory thing, i'll add the tabs | 21:07 |
pcardune | Lumiere: oh, in that case I think you can handle it | 21:07 |
fsufitch | ok | 21:07 |
Lumiere | and src/cando.curriculum/tests.py | 21:07 |
Lumiere | yea | 21:07 |
fsufitch | but right now i can't get devmode to turn on | 21:07 |
pcardune | or paste those files if you need help | 21:07 |
eldar | fsufitch, really? you just uncomment the devmode off line and make it on | 21:08 |
Lumiere | not sure | 21:08 |
fsufitch | there is no devmode off line | 21:08 |
Lumiere | why this crap is conflicting | 21:08 |
Lumiere | <_< | 21:08 |
fsufitch | the devmode on line is commented | 21:08 |
fsufitch | so i uncommented that | 21:08 |
fsufitch | but it didn't do the trick | 21:08 |
eldar | you restarted, right? | 21:08 |
fsufitch | yes | 21:08 |
fsufitch | Reading configuration from /home/filip/newskin/cando.conf | 21:10 |
fsufitch | 2007-07-18 14:09:58,409 zope.server.http (HTTP) started. | 21:10 |
fsufitch | Hostname: Jupiter | 21:10 |
fsufitch | Port: 7080 | 21:10 |
fsufitch | Startup time: 10.646 sec real, 9.710 sec CPU | 21:10 |
fsufitch | it doesn't warn about devmode on | 21:10 |
eldar | fsufitch, to add a resource directory, just do | 21:10 |
eldar | <resourceDirectory | 21:10 |
eldar | name="resouces" | 21:10 |
eldar | directory="resources" /> | 21:10 |
eldar | i missed the r in name | 21:10 |
fsufitch | yes, i saw | 21:11 |
fsufitch | does the directory need special stuff inside it? | 21:11 |
fsufitch | e.g. __init__.py, configure.zcml, etc.? | 21:11 |
eldar | then to access the resources, you just use: localhost:8080/@@/resources/cando.css | 21:11 |
eldar | nope, you don't need an init | 21:11 |
fsufitch | configure? | 21:11 |
eldar | no | 21:12 |
fsufitch | sweet | 21:12 |
Lumiere | pcardune: ok resolved the 2 conflicts | 21:12 |
Lumiere | gonna commit | 21:12 |
pcardune | Lumiere: thanks | 21:12 |
*** x-spec-t is now known as Spec | 21:14 | |
Lumiere | hmm | 21:14 |
fsufitch | eldar, so i'm going to have to go through all files and change ++resource++something to @@/resources/something? | 21:16 |
eldar | well, first of all, did it work? | 21:16 |
fsufitch | let me check <_< | 21:17 |
fsufitch | it didn't crash... :D | 21:17 |
eldar | lol, does the resource get found? | 21:17 |
fsufitch | yes | 21:17 |
eldar | alright then, go ahead and change all other resource entries and their references | 21:18 |
Lumiere | pcardune: thanks | 21:18 |
fsufitch | @@/resources/logo.png finds it | 21:18 |
Lumiere | you just committed to trunk | 21:18 |
Lumiere | in the middle of my merge | 21:18 |
fsufitch | gr, this will take a while | 21:18 |
Lumiere | *starts over* | 21:18 |
eldar | i gotta teach you how to use emacs later | 21:18 |
fsufitch | <_< | 21:18 |
pcardune | Lumiere: well I'm going to make a few more commits | 21:18 |
fsufitch | >_> | 21:18 |
Lumiere | pcardune: k | 21:18 |
pcardune | but now it should be easy | 21:19 |
Lumiere | lemme know when you're ready | 21:19 |
Lumiere | yep | 21:19 |
pcardune | to do it again | 21:19 |
Lumiere | yes | 21:20 |
Lumiere | brb | 21:20 |
th1a | http://www.tuttlesvc.org/2007/07/europython-reflections.html | 21:23 |
fsufitch | hahaha this looks funny | 21:24 |
fsufitch | it didn't import the css correctly | 21:24 |
fsufitch | so it's a text-only cando! | 21:24 |
eldar | ~.~ | 21:27 |
eldar | fsufitch, are you done? | 21:28 |
fsufitch | no, not quite | 21:28 |
fsufitch | i have a question | 21:28 |
fsufitch | if i'm _in_ the resources directoty | 21:28 |
fsufitch | and i want to access a resource | 21:28 |
fsufitch | do i need to do ++resource++, @@/ or what? | 21:28 |
eldar | woah | 21:29 |
eldar | ooooh | 21:29 |
fsufitch | like, i'm in cando.css | 21:29 |
fsufitch | and i need to access topmenu.gif | 21:30 |
eldar | yes, this is the thing that stephan was talking about | 21:30 |
fsufitch | were *you* paying attention? | 21:30 |
eldar | yes, hold on | 21:30 |
fsufitch | i have his Resources presentation up | 21:31 |
fsufitch | but it makes no sense to me | 21:31 |
eldar | lol | 21:31 |
pcardune | th1a: do you have that picture from when *everybody* ordered zeppelins? | 21:33 |
eldar | fsufitch, it looks like cando.css can't be inside the resources directory | 21:34 |
eldar | or, if it is | 21:34 |
eldar | we're gonna have to register it separately anyways | 21:34 |
eldar | as a zrt-resource | 21:34 |
fsufitch | nyeeeegh | 21:34 |
eldar | we're also gonna have to grab the zrt resource egg | 21:34 |
eldar | by adding a requirement to it in the setup.py file | 21:34 |
fsufitch | so i'll register it separately then... | 21:35 |
eldar | yeah, well first, you need to add z3c.zrtresource | 21:35 |
eldar | to the setup.py file | 21:35 |
fsufitch | wait, you're telling me how to make it a zrt-resource? | 21:36 |
eldar | cando.css, yeah | 21:36 |
eldar | we're gonna have to | 21:36 |
fsufitch | h/o i'll follow your steps | 21:36 |
fsufitch | kk i'm ready | 21:36 |
fsufitch | <_< | 21:36 |
fsufitch | eldar, ping | 21:38 |
eldar | hold on, i'm adding zrt-resource to the required eggs | 21:38 |
fsufitch | shouldnt i add it to reduce the hassle? | 21:38 |
eldar | alright then | 21:38 |
eldar | go edit setup.py | 21:38 |
eldar | find the list called install_requires | 21:39 |
eldar | and add an entry | 21:39 |
fsufitch | so, i put z3c.zrtresource in the install_requires? | 21:39 |
eldar | for | 21:39 |
fsufitch | oh wow | 21:39 |
eldar | 'z3c.zrtresource' | 21:39 |
eldar | then run make | 21:39 |
eldar | after saving, of course | 21:39 |
fsufitch | is there any specific point i should put the thing in? | 21:39 |
eldar | just put it first in the list | 21:40 |
*** nitromaster has joined #schooltool | 21:40 | |
fsufitch | eh, i put it next to the other z3c stuff | 21:40 |
eldar | wherever | 21:40 |
pcardune | hi nitromaster (andrew) | 21:40 |
nitromaster | hello | 21:40 |
pcardune | Lumiere: ok, all the tests are passing now | 21:40 |
fsufitch | ok that worked | 21:41 |
fsufitch | eldar, what now? | 21:42 |
nitromaster | sorry, i have to eat...six hours ahead... | 21:42 |
eldar | if it downloaded the egg, then proceeded registering cando.css as a zrtresource | 21:42 |
*** nitromaster has quit IRC | 21:42 | |
fsufitch | it did download it | 21:42 |
fsufitch | how can i register it like that? | 21:42 |
eldar | <zrt-resource | 21:42 |
eldar | name="cando.css" | 21:42 |
eldar | file="resources/cando.css" | 21:42 |
eldar | /> | 21:42 |
fsufitch | thx | 21:42 |
eldar | and then in the page templates reference it like before | 21:43 |
eldar | with the ++resource++ | 21:43 |
fsufitch | right | 21:43 |
eldar | now inside the css file | 21:43 |
fsufitch | uh it's not referenced in the page templates | 21:44 |
eldar | pretend the images are right there, so just keep the url('imagefile.extension') | 21:44 |
eldar | huh? where is the cando.css included then? | 21:44 |
fsufitch | <style tal:replace="structure provider:CSS"> | 21:44 |
eldar | ok find where it registers CSS | 21:44 |
fsufitch | <viewletManager | 21:45 |
fsufitch | name="CSS" | 21:45 |
fsufitch | provides=".skin.ICSS" | 21:45 |
fsufitch | class="z3c.viewlet.manager.WeightOrderedViewletManager" | 21:45 |
fsufitch | layer="cando.newskin.INewCanDoLayer" | 21:45 |
fsufitch | permission="zope.Public" | 21:45 |
fsufitch | /> | 21:45 |
eldar | ah fuck | 21:45 |
eldar | fuck | 21:46 |
eldar | it's done in skin,py | 21:46 |
eldar | in a really weird way | 21:46 |
fsufitch | watch your language in a logged IRC convo | 21:46 |
fsufitch | :) | 21:46 |
fsufitch | who initially coded this? | 21:46 |
Lumiere | fsufitch: don't worry about it | 21:46 |
Lumiere | we're not a school | 21:46 |
fsufitch | <.< u teach people... | 21:47 |
eldar | this is an irc channel | 21:47 |
fsufitch | w/e fine | 21:47 |
fsufitch | let's not get off topic | 21:47 |
Lumiere | pcardune: am I cleared to merge | 21:48 |
eldar | this is why zcml sucks | 21:48 |
pcardune | Lumiere: yes | 21:48 |
Lumiere | *pulls in merge* | 21:48 |
eldar | ah ok nvmd | 21:49 |
eldar | i think it's alright | 21:49 |
eldar | i am hoping, the viewletmanager constructor assumes the name of the resource file passed is the one in zcml | 21:49 |
eldar | so yeah: | 21:49 |
eldar | <zrt-resource | 21:50 |
eldar | name="cando.css" | 21:50 |
eldar | file="resources/cando.css" | 21:50 |
eldar | /> | 21:50 |
eldar | should work anyways | 21:50 |
fsufitch | ok | 21:50 |
fsufitch | i'll see | 21:50 |
eldar | i'll brb | 21:51 |
Lumiere | pcardune: committing | 21:52 |
fsufitch | ConfigurationError: ('Unknown directive', u'http://namespaces.zope.org/browser', u'zrt-resource') | 21:53 |
fsufitch | something bad is happening | 21:53 |
fsufitch | it doesnt know what a zrt-resource is | 21:53 |
*** mgedmin has quit IRC | 21:53 | |
pcardune | fsufitch: did you rerun the setup process? it probably didn't install the egg you added to setup.py | 21:53 |
fsufitch | it installed it | 21:54 |
fsufitch | i saw that it did when i ran make | 21:54 |
fsufitch | should i make clean first? | 21:54 |
Lumiere | pcardune: one more commit | 21:55 |
Lumiere | missed journal ftests in first ;) | 21:55 |
Lumiere | also | 21:55 |
Lumiere | my last checkin was held | 21:55 |
Lumiere | the diff was > 40kb | 21:55 |
pcardune | yeah, we might want to adjust that, or make someone other than jelkner the list manager | 21:56 |
Lumiere | me maybe? | 21:56 |
Lumiere | or me and you | 21:57 |
pcardune | you | 21:58 |
pcardune | or me | 21:58 |
pcardune | if you can have multiple people? | 21:58 |
Lumiere | yea | 21:58 |
Lumiere | if we can have multiples | 21:58 |
Lumiere | the 2 of us | 21:58 |
Lumiere | would be plenty | 21:58 |
pcardune | yeah | 21:58 |
pcardune | Lumiere: is the journal branch merged completely into trunk? | 21:59 |
Lumiere | not sure | 21:59 |
Lumiere | I didn't merge it | 21:59 |
pcardune | Lumiere: can you check dearest merge manager? | 22:00 |
Lumiere | lol | 22:01 |
Lumiere | I can try | 22:01 |
fsufitch | pcardune, i still can't use <zrt-resource> | 22:03 |
fsufitch | i tried remaking the whole thing | 22:03 |
*** nitromaster has joined #schooltool | 22:03 | |
fsufitch | are you sure it's not zrtresource? | 22:03 |
Lumiere | pcardune: last merge was r851 | 22:04 |
pcardune | no i'm not sure | 22:04 |
Lumiere | from aelkner-journal-threading | 22:04 |
Lumiere | but that was trunk -> threading | 22:04 |
Lumiere | is there another branch | 22:04 |
Lumiere | I should look at | 22:04 |
pcardune | Lumiere: when was the last journal-threading -> trunk? | 22:05 |
Lumiere | don't see one I think | 22:05 |
pcardune | I'm fairly certain there was on | 22:06 |
Lumiere | nope | 22:06 |
Lumiere | 846/7 | 22:07 |
Lumiere | was a "merge from trunk hope to merge with trunk soon" | 22:07 |
Lumiere | looking at https://svn.schooltool.org/trac/cando-auth/log/branches/aelkner-journal-threading | 22:08 |
fsufitch | pcardune, am i supposed to be able to access namespaces.zope.org via a browser? | 22:08 |
pcardune | fsufitch: no | 22:09 |
pcardune | Lumiere: you've got to look at the revision log for trunk | 22:09 |
fsufitch | ok... | 22:09 |
Lumiere | k | 22:09 |
pcardune | Lumiere: hmmm, strange | 22:10 |
pcardune | well, yeah, just try a merge and hopefully it works | 22:10 |
pcardune | oh wait... | 22:10 |
pcardune | Lumiere: bingo: https://svn.schooltool.org/trac/cando/log/trunk/src/cando/journal | 22:11 |
pcardune | I remember now, merge was having issues so I did a straight up copy | 22:12 |
Lumiere | so 850-current | 22:12 |
pcardune | yeah | 22:12 |
Lumiere | merge trunk to aeklner first | 22:12 |
Lumiere | then merge back | 22:12 |
Lumiere | bleh | 22:12 |
Lumiere | (or am I wrong) | 22:12 |
fsufitch | ah, holy crap | 22:13 |
Lumiere | lets see how bad the merge from trunk is | 22:13 |
fsufitch | in his tutorial for zrt resources, stephan says how to install them for any project | 22:13 |
pcardune | you should just be able to merge form aelkner to trunk, and you will only need to merge the src/cando/journal directory | 22:13 |
Lumiere | well | 22:13 |
fsufitch | but he mentions a src/ directory that i do not know where to put | 22:14 |
fsufitch | but i'll shut up now, i'm interrupting ur convo | 22:14 |
Lumiere | I'm going to merge into the journal-threading so that aelkner can continue to work in it | 22:14 |
Lumiere | with a clean trunk | 22:14 |
pcardune | ok | 22:14 |
pcardune | but I think he is done | 22:14 |
Lumiere | well | 22:14 |
pcardune | but sure, that works too | 22:14 |
Lumiere | we'll see | 22:14 |
eldar | fsufitch, do yo usee the zrtresource egg | 22:14 |
eldar | in the eggs directory? | 22:15 |
fsufitch | what do u mean "use"? | 22:15 |
eldar | you see* | 22:15 |
eldar | anyways, in the zcml | 22:15 |
eldar | use z3c:zrtresource | 22:15 |
eldar | instead of just zrtresource | 22:16 |
fsufitch | i tried | 22:16 |
Lumiere | pcardune: this one | 22:16 |
fsufitch | doesn't work | 22:16 |
Lumiere | is DEFINATELY going to trip the diff size limit | 22:16 |
Lumiere | ;) | 22:16 |
eldar | is there a zrtresource egg in the eggs directory? | 22:16 |
fsufitch | i'll check | 22:16 |
fsufitch | z3c.zrtresource-0.1.1_r74105-py2.4.egg | 22:17 |
fsufitch | yes. | 22:17 |
Lumiere | wow | 22:20 |
Lumiere | my trunk was a mess | 22:20 |
fsufitch | eldar, any idea at all wtf can be wrong? | 22:21 |
eldar | i asked stephan, he has yet to get back to me | 22:21 |
fsufitch | *sigh* | 22:22 |
fsufitch | so i'm stuck doing nothing | 22:22 |
fsufitch | great. | 22:22 |
Lumiere | pcardune: how do I just to journal merge | 22:22 |
Lumiere | (and revert the merge on aelkner cause I think I screwed it up) | 22:22 |
Lumiere | (even though it looks right to me) | 22:23 |
pcardune | when you specify the paths, go right up to src/cando/journal/ | 22:25 |
Lumiere | k | 22:25 |
Lumiere | and go into src/cando/journal as I do it? | 22:25 |
pcardune | yep | 22:26 |
Lumiere | *merges* | 22:26 |
Lumiere | *runs testall* | 22:26 |
eldar | pcardune, stephan asked if the meta.zcml for the package was loaded | 22:28 |
eldar | where would i check that? | 22:28 |
fsufitch | meta.zcml? | 22:29 |
pcardune | src/cando/configure.zcml | 22:29 |
*** nitromaster has quit IRC | 22:29 | |
fsufitch | i don't see any meta.zcml in there | 22:30 |
eldar | pcardune, how do we load the meta in there? | 22:30 |
eldar | include package thing doesn't work | 22:30 |
eldar | do i need to do include file? | 22:30 |
eldar | and specify package? | 22:30 |
pcardune | something like, <package include="z3c.zrtresourse" file="meta.zcml" /> | 22:31 |
fsufitch | ok... | 22:31 |
Lumiere | pcardune: there's one problem in the ftest | 22:31 |
eldar | ok | 22:31 |
eldar | fsufitch, | 22:31 |
eldar | do | 22:31 |
Lumiere | related to what you've been fixing | 22:31 |
fsufitch | i am | 22:32 |
eldar | <include package="z3c.zrtresource" file="meta.zcml"/> | 22:32 |
eldar | add that in configure.zcml | 22:32 |
eldar | of src/cando | 22:32 |
fsufitch | oh, ok | 22:32 |
pcardune | Lumiere: what is it? | 22:32 |
Lumiere | label 'Welcome!' lookuperror | 22:33 |
Lumiere | in eldar_browser | 22:33 |
fsufitch | ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module z3c has no global zrtresourse') | 22:33 |
Lumiere | line 82 of the readme | 22:33 |
Lumiere | I'll commit | 22:33 |
Lumiere | and you can look at it | 22:33 |
fsufitch | oh, u misspelled resource | 22:33 |
Lumiere | unit tests passed | 22:33 |
Lumiere | lol | 22:33 |
Lumiere | stop copying! and read! | 22:33 |
eldar | lol | 22:34 |
fsufitch | w00t, it starts the server! | 22:34 |
Lumiere | I checked it in pcardune | 22:34 |
Lumiere | I'll let you fix | 22:35 |
Lumiere | I am going home | 22:35 |
pcardune | ok | 22:35 |
fsufitch | eldar, but the css is still not used | 22:35 |
Lumiere | I can do a little mor efrom there | 22:35 |
eldar | hmmm | 22:35 |
fsufitch | well, it just _defines_ cando.css in the configure.zcml | 22:36 |
fsufitch | that doesn't mean it uses it | 22:36 |
fsufitch | eldar, did you understand how it uses cando.css? | 22:37 |
fsufitch | u said something about crazy python | 22:37 |
eldar | the skin.py | 22:38 |
eldar | look at it | 22:38 |
fsufitch | i am | 22:38 |
eldar | i gotta go | 22:38 |
eldar | i'll be back in a few hours | 22:38 |
fsufitch | great. | 22:38 |
fsufitch | cya then | 22:38 |
*** aelkner has joined #schooltool | 22:55 | |
fsufitch | pcardune, what is a CSSViewlet _supposed_ to do? | 23:02 |
fsufitch | the python class, i mean | 23:02 |
*** nitromaster has joined #schooltool | 23:06 | |
*** pcardune has quit IRC | 23:10 | |
*** aelkner has quit IRC | 23:22 | |
th1a | nitromaster: Hi. Did you see my blog post? | 23:35 |
nitromaster | hi | 23:35 |
nitromaster | not yet, i'll check now | 23:35 |
*** pcardune has joined #schooltool | 23:35 | |
*** pcardune has quit IRC | 23:36 | |
*** pcardune has joined #schooltool | 23:40 | |
*** pcardune_ has joined #schooltool | 23:43 | |
nitromaster | th1a: nice post, very nice | 23:44 |
*** pcardune has quit IRC | 23:45 | |
*** mlinnell has joined #schooltool | 23:45 | |
*** lameiro has joined #schooltool | 23:47 | |
*** pcardune__ has joined #schooltool | 23:47 | |
fsufitch | wow, pcardune_, pcardune__ what are u doing? | 23:48 |
*** pcardune has joined #schooltool | 23:49 | |
*** pcardune_ has quit IRC | 23:49 | |
*** pcardune__ has quit IRC | 23:51 | |
*** lisppaste5 has quit IRC | 23:58 | |
*** pcardune has quit IRC | 23:58 | |
*** pcardune_ has joined #schooltool | 23:58 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!