| *** jelkner has joined #schooltool | 02:24 | |
| *** jelkner has quit IRC | 02:24 | |
| *** jelkner has joined #schooltool | 02:25 | |
| *** jelkner has quit IRC | 02:27 | |
| *** jelkner has joined #schooltool | 02:28 | |
| *** jelkner has quit IRC | 02:32 | |
| *** didymo has joined #schooltool | 02:47 | |
| *** alga has quit IRC | 03:29 | |
| *** povbot` has joined #schooltool | 05:22 | |
| *** povbot has quit IRC | 05:37 | |
| *** th1a has quit IRC | 07:50 | |
| *** wgrant has quit IRC | 08:17 | |
| *** wgrant has joined #schooltool | 08:28 | |
| *** aelkner_ has joined #schooltool | 09:47 | |
| *** aelkner has quit IRC | 10:03 | |
| *** ignas has joined #schooltool | 11:31 | |
| *** tdoggette has joined #schooltool | 12:10 | |
| *** alga has joined #SchoolTool | 12:23 | |
| *** alga_ has joined #SchoolTool | 12:25 | |
| *** didymo has quit IRC | 12:50 | |
| *** alga has quit IRC | 13:45 | |
| *** alga_ has quit IRC | 13:46 | |
| *** alga has joined #SchoolTool | 14:38 | |
| *** alga_ has joined #SchoolTool | 14:38 | |
| *** th1a has joined #schooltool | 15:56 | |
| *** jelkner has joined #schooltool | 16:57 | |
| *** wbrady has joined #schooltool | 17:09 | |
| *** jelkner has quit IRC | 17:15 | |
| *** jelkner has joined #schooltool | 17:17 | |
| jelkner | aelkner_: ayt? | 17:17 |
|---|---|---|
| *** jelkner has quit IRC | 17:19 | |
| th1a | ignas: Can you update the version of the book on schooltool.pov.lt? | 17:55 |
| *** alga_ has quit IRC | 18:11 | |
| ignas | th1a: is it not updating automatically? | 18:15 |
| th1a | It is not up to date. | 18:16 |
| ignas | oh yeah, zope.org is down | 18:16 |
| ignas | so all the buildouts are failing :/ | 18:16 |
| *** mgedmin has joined #schooltool | 18:16 | |
| th1a | Is that why I'm getting all the messages from zope-dev? | 18:17 |
| th1a | mgedmin: http://oskuro.net/blog/site/pyblosxom-1.4.3-2008-06-13-16-24 | 18:26 |
| mgedmin | th1a: thanks | 18:58 |
| mgedmin | sounds like work | 18:58 |
| aelkner_ | ignas: a question | 19:59 |
| aelkner_ | mgedmin: ayt? | 20:08 |
| * mgedmin moos | 20:08 | |
| aelkner_ | i have problem using construct_url | 20:08 |
| aelkner_ | from within a test | 20:08 |
| aelkner_ | it expects wsgi values to be defined in request.environ | 20:09 |
| aelkner_ | but they aren;t | 20:09 |
| aelkner_ | if i run the code live, they are | 20:09 |
| aelkner_ | request.environment i meant | 20:09 |
| aelkner_ | do you know what i need to do to get those items set in request.environment | 20:10 |
| ignas | aelkner_: no idea, i don't really know what you are doing | 20:10 |
| aelkner_ | the cas plugin calls construct_url | 20:11 |
| aelkner_ | passing request.environment | 20:11 |
| aelkner_ | that causes a key error | 20:11 |
| aelkner_ | on this line | 20:11 |
| aelkner_ | url = environ['wsgi.url_scheme']+'://' | 20:11 |
| aelkner_ | that key is not set, nor any that start with wsgi | 20:11 |
| aelkner_ | i could copy request.environment and fill in the keys that are missing | 20:13 |
| aelkner_ | from within the cas plugin | 20:13 |
| aelkner_ | but that's kind of hackish | 20:13 |
| aelkner_ | i was hoping you knew of some trick for getting tests to have those cales set | 20:14 |
| aelkner_ | values | 20:14 |
| ignas | hmm | 20:18 |
| ignas | i am not sure, really | 20:19 |
| ignas | i mean - the url that Zope3 has | 20:19 |
| ignas | ok, no, i am not even sure I should be using that function in there | 20:19 |
| ignas | i think it is being used in there only because the CAS authentication was being performed at wsgi layer | 20:19 |
| ignas | 3 implementations ago ;) | 20:20 |
| ignas | aelkner_: you probably will have to write your own function to do that, or maybe use some attribute of request | 20:21 |
| aelkner_ | or i could keep what you have | 20:21 |
| aelkner_ | and add the value into the envireonment | 20:21 |
| aelkner_ | environment = request.environment | 20:21 |
| aelkner_ | environ['wsgi.url_scheme'] = 'http' | 20:21 |
| aelkner_ | that's the hack i refered to | 20:21 |
| aelkner_ | it would only require adding one line | 20:21 |
| aelkner_ | btw, when the server runs live | 20:22 |
| aelkner_ | by that i mean not in a test | 20:22 |
| aelkner_ | request.environment has all the wsgi values set | 20:22 |
| aelkner_ | that's why i think the hack wouldn't be harmful | 20:22 |
| aelkner_ | and would save a lot of work not having to rewrite construct_url | 20:23 |
| aelkner_ | oh, that didn't work | 20:25 |
| aelkner_ | 'object does not support item assignment' | 20:25 |
| aelkner_ | maybe writing my own method wouldn't be so bad | 20:26 |
| aelkner_ | as i don't need 90% of what construct_url does | 20:26 |
| ignas | indeed | 20:31 |
| aelkner_ | ok, thanks | 20:32 |
| *** ignas has quit IRC | 21:07 | |
| *** jelkner has joined #schooltool | 21:08 | |
| jelkner | wbrady: ayt? | 21:25 |
| Lumiere | yes | 21:26 |
| Lumiere | he is | 21:26 |
| jelkner | cool | 21:26 |
| wbrady | sorry | 21:26 |
| wbrady | yes | 21:26 |
| jelkner | did you see the email i just sent? | 21:26 |
| jelkner | i've been trying to reach eldar all day | 21:26 |
| jelkner | no luck | 21:26 |
| wbrady | negative | 21:26 |
| wbrady | i have not seen any new email | 21:26 |
| jelkner | can you check it out now? | 21:27 |
| wbrady | still nothing new | 21:27 |
| jelkner | only jason would see this one | 21:27 |
| jelkner | i sent it to his ibiblio address | 21:28 |
| wbrady | wait r u talking to me or jason? | 21:28 |
| Lumiere | I saw it | 21:28 |
| Lumiere | I will respond in a few minutes | 21:28 |
| jelkner | Lumiere: so, can you take from here? | 21:28 |
| jelkner | cool! | 21:28 |
| Lumiere | I am dealing with a response from pgandy | 21:28 |
| Lumiere | jelkner: why'd you want will? | 21:29 |
| jelkner | do you mean now? or over the Summer? | 21:29 |
| wbrady | now | 21:29 |
| Lumiere | you ayt'd wbrady | 21:29 |
| Lumiere | why? | 21:29 |
| jelkner | i was just going to ask him if he registered yet | 21:30 |
| Lumiere | we're registering in the next few minutes | 21:30 |
| Lumiere | welsh got back and it was.... | 21:30 |
| Lumiere | hectic | 21:30 |
| jelkner | ok | 21:30 |
| wbrady | jelkner: i just registered | 21:34 |
| jelkner | wbrady: great, thanks! | 21:35 |
| wbrady | jason should be doing his soon | 21:35 |
| jelkner | ok, i've got class, gotta run... | 21:36 |
| jelkner | have a great weekend! | 21:36 |
| *** jelkner has quit IRC | 21:37 | |
| th1a | aelkner_: ayt? | 22:08 |
| *** aelkner_ has quit IRC | 22:11 | |
| *** wbrady has quit IRC | 22:12 | |
| *** alga has quit IRC | 22:24 | |
| *** mgedmin has quit IRC | 23:46 | |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!