*** mgedmin has quit IRC | 00:04 | |
*** alga has quit IRC | 00:09 | |
*** didymo has joined #schooltool | 00:19 | |
*** eukreign has quit IRC | 00:31 | |
*** eukreign has joined #schooltool | 00:32 | |
aelkner | thla: are you there? | 00:34 |
---|---|---|
*** didymo has quit IRC | 00:49 | |
*** eukreign has quit IRC | 02:27 | |
*** eukreign has joined #schooltool | 02:28 | |
*** eukreign has quit IRC | 02:38 | |
*** eukreign has joined #schooltool | 02:39 | |
aelkner | eukreign: Are you the Lex from Yorktown? | 02:45 |
*** wrobel` has joined #schooltool | 03:07 | |
*** aelkner has quit IRC | 03:15 | |
*** eukreign has quit IRC | 03:18 | |
*** eukreign has joined #schooltool | 03:19 | |
*** wrobel has quit IRC | 03:21 | |
*** didymo has joined #schooltool | 05:44 | |
*** lisppaste5 has quit IRC | 06:39 | |
*** didymo has quit IRC | 06:39 | |
*** didymo has joined #schooltool | 06:44 | |
*** lisppaste5 has joined #schooltool | 06:44 | |
*** eukreign has quit IRC | 09:05 | |
*** eukreign has joined #schooltool | 09:06 | |
*** didymo has quit IRC | 10:11 | |
*** jinty has joined #schooltool | 10:38 | |
*** didymo has joined #schooltool | 11:00 | |
*** Aiste has quit IRC | 11:14 | |
*** jfroche has joined #schooltool | 11:27 | |
*** faassen has joined #schooltool | 11:40 | |
*** Aiste has joined #schooltool | 11:48 | |
*** Aiste_ has joined #schooltool | 11:48 | |
*** eukreign has quit IRC | 11:50 | |
*** eukreign has joined #schooltool | 11:59 | |
*** didymo has quit IRC | 12:37 | |
*** ignas has joined #schooltool | 13:00 | |
*** vidasp has joined #schooltool | 13:07 | |
*** mgedmin has joined #schooltool | 13:08 | |
*** vidas1 has joined #schooltool | 13:21 | |
*** vidasp has quit IRC | 13:21 | |
*** vidas1 is now known as vidasp | 13:21 | |
*** thisfred has joined #schooltool | 13:36 | |
*** vidasp has quit IRC | 14:41 | |
*** povbot has joined #schooltool | 15:16 | |
mgedmin | th1a: jinty: important announcement | 15:22 |
mgedmin | we've just got our internet line upgraded at the office | 15:23 |
mgedmin | and got an unpleasant surprise: the IP address changed | 15:23 |
mgedmin | old IP was 195.182.77.65 | 15:23 |
mgedmin | new IP is 195.182.69.209 | 15:23 |
mgedmin | source.schooltool.org still points to the old IP and should be updated ASAP | 15:24 |
mgedmin | hey, alga says we're good | 15:25 |
mgedmin | as it is an alias for fridge.pov.lt | 15:25 |
mgedmin | which we've updated today | 15:25 |
mgedmin | and the changes should propagate everywhere within 24 hours | 15:25 |
th1a | mgedmin: Thanks. | 16:19 |
*** vidasp has quit IRC | 16:36 | |
*** vidasp has joined #schooltool | 16:37 | |
ignas | th1a, jfroche: if you have any svn checkouts with Data.fs that has important data - back it up before svn up'ing I have added an evolution script that updates all __name__s of calendar events so if it goes wrong you might lose data | 17:07 |
ignas | jfroche: ayt? | 17:14 |
jfroche | yep | 17:17 |
jfroche | ignas: | 17:17 |
jfroche | ok | 17:17 |
th1a | ignas: Thanks. | 17:18 |
ignas | jfroche: you mentioned that one can have documentation as pt files | 17:19 |
jfroche | ignas: v you seen my email of yesterday ? | 17:19 |
ignas | jfroche: have you tried defining a translation domain | 17:20 |
ignas | and putting the documentation in a tag that is i18n ized ? | 17:20 |
ignas | maybe gettext would grasp such docs too | 17:20 |
ignas | and even translate them ... | 17:20 |
jfroche | i ll try this | 17:20 |
jfroche | i keep you in touch | 17:20 |
*** vidasp has quit IRC | 17:23 | |
*** aelkner has joined #schooltool | 17:52 | |
aelkner | Is anybody really there? | 17:56 |
ignas | yes | 17:57 |
ignas | how many you need ? :) | 17:57 |
aelkner | One will do. | 17:58 |
aelkner | My name is Alan Elkner | 17:58 |
aelkner | I'm getting involoved in the project with my brother Jef and his students. | 17:58 |
ignas | welcome | 17:58 |
ignas | :) | 17:58 |
aelkner | I have a question about tinyzis. Do you know about that part of the project? | 17:59 |
ignas | not really, th1a was working on it | 18:00 |
aelkner | That's cool. I'll wait until he signs in. Thanks. | 18:01 |
*** wdickers has joined #schooltool | 18:03 | |
aelkner | Hey Will! | 18:03 |
wdickers | Hello | 18:03 |
wdickers | Sorry about all the lateness | 18:03 |
aelkner | Before we start, have you goten tinyzis from the repository? | 18:03 |
aelkner | No prob. | 18:04 |
wdickers | Yes | 18:04 |
aelkner | I did the svn checkout, but the tests didn't run successfully. | 18:04 |
wdickers | I emailed Tom about that and looked at the tests. Apparently they purposely create errors and print them out, Tom said it works ok | 18:04 |
aelkner | My problem happens sooner, "ImportError: No module named transaction". | 18:05 |
aelkner | I believe that's Zope's transacation module. | 18:05 |
aelkner | IF I need to change my path, then that should be in the instructions, shouldn't it? | 18:06 |
wdickers | that rings a bell, I think I may have gotten the same error, let me check it out | 18:06 |
wdickers | When I use a python IDE I can use 'import transaction', so it seems to be a built in module | 18:07 |
aelkner | Try it from the command line. | 18:08 |
wdickers | Hmm, I can't seem to find my PYTHONPATH, it should be in .bashrc, right? | 18:08 |
aelkner | Yes. | 18:09 |
aelkner | Also, you can run "env | grep PATH' to see all of your paths. | 18:09 |
wdickers | There's only PATH | 18:10 |
aelkner | Did you you try running "python test.py" from the command lne? | 18:10 |
wdickers | yes, and it works | 18:11 |
aelkner | Weird. | 18:11 |
aelkner | Maybe you have zope installed in the default python path so that you don't need to set PTYTHPONPATH. | 18:11 |
aelkner | Mine is at /usr/local/src/Zope3 | 18:12 |
wdickers | It is weird, I'll search for it later today | 18:12 |
wdickers | nothin is in my /usr/local/src | 18:13 |
aelkner | Ok, in the meantime we can look at what we got. | 18:13 |
wdickers | right | 18:13 |
aelkner | BTW, where's your tinyzis located? | 18:13 |
wdickers | my home directory | 18:14 |
aelkner | Under tinyzis, you have trunk, branches, tags, and .svn, right? | 18:14 |
wdickers | yes | 18:14 |
aelkner | You run python test.py out of trunk/tinyzis? | 18:14 |
wdickers | yes | 18:15 |
aelkner | Ok. forgetting that mine doesn't work for now, which test file are we supposed to work on? | 18:15 |
wdickers | what do you mean? | 18:16 |
aelkner | There are two, README.txt and ftests.txt? | 18:17 |
wdickers | one more, there is doctest.txt. README is just a description, not a test | 18:17 |
aelkner | Right. Which one is where we need to add threading? | 18:18 |
wdickers | I'm really not sure actually, you would have to ask Tom, I'm still learning about threading and zis myself. But I would expect in the doctest | 18:18 |
aelkner | I'm still learning, too. I'll have to ask Tom when he gets on. | 18:19 |
aelkner | In the meantime, we could poke around the modules until we find a server. | 18:20 |
wdickers | I believe tz-run.py is what is executed to start the server | 18:20 |
aelkner | Right. It uses a module called SecureZisServer. | 18:22 |
aelkner | Found in tinyzis.py. | 18:22 |
wdickers | But it doesn't seem tz-run actually uses SecureZisServer | 18:23 |
aelkner | Check out the line that starts with "httpd = Secure..." | 18:24 |
aelkner | Then there's "httpd.server_forever()". | 18:25 |
wdickers | in tinyzis.py? | 18:26 |
aelkner | In tz-run.py. | 18:26 |
wdickers | ah, see it | 18:26 |
aelkner | In tinyzis.py we find the class in question. | 18:27 |
aelkner | It's derived from three base classes. | 18:27 |
wdickers | Yes,, but it seems to mainly use HTTPServer | 18:28 |
aelkner | Yes. I expect that this is a work in progress. | 18:28 |
wdickers | yeah, it is | 18:29 |
aelkner | Tom probably was getting ready to bolt in the threading but didn't finish. | 18:29 |
wdickers | But where is the threading necessary? SecureZisServer right now just initiates contact via 'Handshake', or does it handle events as well? | 18:30 |
aelkner | Good question. | 18:30 |
aelkner | We'll need to study this module carefully just to see what t already does. | 18:31 |
wdickers | Well clearly the implementation isn't there. What about the other classes? | 18:32 |
aelkner | SifHTTPHandler uses ZisHandler, so they're connected. | 18:33 |
aelkner | SecureZisHandler looks like it's all alone. | 18:34 |
wdickers | ZisHandler has methods for registering, subscribing, and events | 18:34 |
aelkner | The same probably is supposed to end up in SecureZisHandler. | 18:34 |
wdickers | Don't you mean SecureZisServer? | 18:35 |
aelkner | Yes. | 18:35 |
wdickers | So SifHTTPHandler looks like it is what sends the xml to or from the server | 18:36 |
wdickers | ZISHandler is enormous, it looks like it is the main class we should look at for the server | 18:37 |
aelkner | Perhaps, but I would like to know what the other classes are intended for. | 18:39 |
wdickers | do you know what 'acl' stands for? | 18:39 |
aelkner | SifHttpHandler refers to self.server, but that variable is never set. | 18:39 |
aelkner | acl is a zope acronym for "Access Control List". | 18:40 |
aelkner | In this case it's not zope's acl but a custom one. | 18:40 |
aelkner | What time do you need to sign off? | 18:41 |
wdickers | well SifHTTPHandler has its own __init__ | 18:41 |
wdickers | actually I have to go right now. Will you be on tonight around 8 or so? | 18:41 |
aelkner | Will do. In the meantime, I'll study the whole module and confer with Tom. | 18:41 |
wdickers | Alright, thanks. I'll see you later | 18:42 |
aelkner | See you then. | 18:42 |
*** wdickers has quit IRC | 18:42 | |
*** Aiste has quit IRC | 18:58 | |
*** aelkner has quit IRC | 19:06 | |
*** jinty has quit IRC | 19:28 | |
*** faassen has quit IRC | 19:52 | |
*** pcardune has joined #schooltool | 20:02 | |
*** pcardune has quit IRC | 20:29 | |
*** jfroche has quit IRC | 20:39 | |
*** thisfred has quit IRC | 21:22 | |
*** alga has joined #SchoolTool | 21:24 | |
*** ignas has quit IRC | 21:40 | |
*** Aiste has joined #schooltool | 21:52 | |
*** jfroche has joined #schooltool | 22:16 | |
*** alga has quit IRC | 22:25 | |
*** mgedmin has quit IRC | 22:25 | |
*** didymo has joined #schooltool | 22:53 | |
*** aelkner has joined #schooltool | 23:49 | |
*** pcardune has joined #schooltool | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!