| *** jfroche_ has quit IRC | 00:27 | |
| *** bnguyen has joined #schooltool | 00:56 | |
| *** bnguyen has left #schooltool | 00:57 | |
| *** didymo has joined #schooltool | 01:23 | |
| *** wrobel has quit IRC | 03:23 | |
| *** loganleger has joined #schooltool | 04:41 | |
| *** loganleger has left #schooltool | 04:55 | |
| *** eldafar has quit IRC | 05:23 | |
| *** alga has quit IRC | 06:05 | |
| *** kitblake has left #schooltool | 08:30 | |
| *** kitblake has joined #schooltool | 08:31 | |
| *** wrobel has joined #schooltool | 09:48 | |
| *** vidasp has joined #schooltool | 10:00 | |
| *** vidasp has quit IRC | 10:13 | |
| *** thisfred has joined #schooltool | 10:14 | |
| *** vidasp has joined #schooltool | 10:17 | |
| *** matthewrevell has joined #schooltool | 10:25 | |
| *** matthewrevell has quit IRC | 10:40 | |
| *** matthewrevell has joined #schooltool | 10:43 | |
| *** Aiste has joined #schooltool | 11:11 | |
| *** jinty has joined #schooltool | 11:17 | |
| *** mgedmin has joined #schooltool | 12:07 | |
| *** vidasp has quit IRC | 12:08 | |
| *** ignas has joined #schooltool | 12:40 | |
| *** jinty has quit IRC | 12:51 | |
| *** didymo has quit IRC | 12:54 | |
| *** shubacka has joined #schooltool | 13:39 | |
| *** jfroche has joined #schooltool | 13:56 | |
| *** jfroche has quit IRC | 14:03 | |
| *** alga has joined #SchoolTool | 14:06 | |
| *** matthewrevell has quit IRC | 14:10 | |
| *** matthewrevell has joined #schooltool | 14:16 | |
| *** mgedmin has quit IRC | 14:25 | |
| *** jinty has joined #schooltool | 14:53 | |
| *** shubacka has quit IRC | 15:13 | |
| *** shubacka has joined #schooltool | 15:13 | |
| *** gintas has joined #schooltool | 15:58 | |
| *** alga has quit IRC | 16:09 | |
| *** th1a has joined #schooltool | 16:21 | |
| th1a | ignas: Can you meet tomorrow at the regular time? | 16:22 |
|---|---|---|
| ignas | yes | 16:23 |
| ignas | always prepared ;) | 16:23 |
| th1a | jfroche can't make it today. | 16:25 |
| ignas | i see | 16:26 |
| *** jinty has quit IRC | 16:27 | |
| *** gintas has quit IRC | 16:49 | |
| matthewrevell | th1a: Hey, did you get my email? | 17:41 |
| *** thisfred has quit IRC | 17:46 | |
| *** shubacka has quit IRC | 18:46 | |
| th1a | matthewrevell: I didn't see it. Let me check. | 18:50 |
| th1a | matthewrevell: I don't think so. | 18:50 |
| *** aelkner has joined #schooltool | 18:55 | |
| aelkner | th1a: how's it going? | 18:59 |
| th1a | aelkner: Good. | 19:00 |
| aelkner | Will and I were working on the stAgent at the soprint this weekend, and we wanted to read from schooltool's zodb. Do you have any code that does that? | 19:01 |
| aelkner | th1a: ? | 19:07 |
| th1a | Hm, yes? | 19:07 |
| th1a | aelkner: You couldn't get into it? | 19:08 |
| th1a | Where are you stuck? | 19:08 |
| *** jinty has joined #schooltool | 19:08 | |
| aelkner | I got into it fine. I just's that the root has two funny classes in it: | 19:08 |
| aelkner | {'Application': <persistent broken schooltool.app.app.SchoolToolApplication instance '\x00\x00\x00\x00\x00\x00\x00\x01'>, 'zope.app.generations': <persistent.dict.PersistentDict object at 0xb7367e6c>} | 19:08 |
| aelkner | How do I get to the Persons and Courses, etc.? | 19:09 |
| aelkner | th1a? | 19:10 |
| th1a | So you can't get in the applications object? | 19:10 |
| th1a | It is broken? | 19:10 |
| th1a | Is this because of the path issues that you were discussing with mgedmin? | 19:11 |
| aelkner | Path issues? I don't remember having those. | 19:11 |
| aelkner | Are you refering to the broken in "persistent broken..."? | 19:12 |
| th1a | PythonPath? | 19:12 |
| aelkner | Mine is empty. Does it need to be set to somewhere within schooltool's source? | 19:13 |
| th1a | Didn't you have a whole discussion about this with mgedmin? | 19:14 |
| aelkner | I'll look it up in the log. | 19:15 |
| *** nnonix has joined #schooltool | 19:15 | |
| th1a | Anyhow, your script or interpreter session has to be able to import schooltool.app, for example. | 19:15 |
| aelkner | Ok, I'll try to get the path set so that I can do that. | 19:16 |
| nnonix | So I installed schooltool over the weekend. This morning I find my server has connected itself to undernet and perl is using 100% processor. | 19:20 |
| *** matthewrevell has quit IRC | 19:21 | |
| th1a | nnonix: Well, SchoolTool doen't use Perl... | 19:21 |
| th1a | nnonix: I doubt the two are connected. | 19:21 |
| nnonix | th1a: I didn't think so:) | 19:22 |
| th1a | Is undernet a botnet? | 19:22 |
| aelkner | th1a: addint schooltool's src dir got me further. Now I get an import error from within schooltool's source: | 19:22 |
| aelkner | File "/home/aelkner/cando/SchoolTool/src/schooltool/__init__.py", line 37, in ? | 19:22 |
| aelkner | from zope.i18nmessageid import MessageFactory | 19:22 |
| aelkner | ImportError: No module named i18nmessageid | 19:22 |
| aelkner | What else do I need to add to my path? | 19:22 |
| th1a | The Zope3 source, I imagine. | 19:23 |
| nnonix | th1a: can you tell me if schooltool uses apache or its own webserver? | 19:23 |
| th1a | It uses its own. | 19:23 |
| th1a | nnonix: Generally people use rewrite rules from their Apache server. | 19:23 |
| nnonix | th1a: I did the Ubuntu installation from repo | 19:24 |
| th1a | nnonix: It doesn't set up rewrite rules by default, so you're just connecting directly to the built-in server. | 19:25 |
| nnonix | th1a: do you know what user the built in server runs as? | 19:26 |
| th1a | nnonix: Not as root. | 19:27 |
| th1a | I don't remember offhand. | 19:27 |
| th1a | jinty: ayt? | 19:28 |
| nnonix | th1a: www-data, like Apache? | 19:28 |
| th1a | That sounds right. | 19:28 |
| *** jelkner has joined #schooltool | 19:28 | |
| *** jelkner has quit IRC | 19:29 | |
| *** jelkner has joined #schooltool | 19:29 | |
| jelkner | aelkner: u here? | 19:30 |
| aelkner | jelkner: dud, you got to answer your phone when I call you! | 19:30 |
| *** ignas has quit IRC | 19:31 | |
| jelkner | aelkner: maybe its not ringing | 19:31 |
| jelkner | let me call you | 19:31 |
| jelkner | give me the number | 19:31 |
| aelkner | jelkner: 267-886-9285 | 19:32 |
| *** alga has joined #SchoolTool | 19:32 | |
| jinty | th1a: yep | 19:33 |
| jinty | nnonix: the schooltool built in server runs as the user schooltool | 19:34 |
| jinty | :) | 19:34 |
| nnonix | jinty: perfect .... perl was running as www-data, which means apache2 only. | 19:34 |
| th1a | Whew. | 19:36 |
| *** mgedmin has joined #schooltool | 19:36 | |
| nnonix | It's probably Wordpress. | 19:37 |
| nnonix | :) | 19:37 |
| *** nnonix has left #schooltool | 19:49 | |
| *** ignas has joined #schooltool | 19:57 | |
| *** lhuynh has joined #schooltool | 20:01 | |
| aelkner | Welcome Linda! | 20:01 |
| jelkner | lhuynh: hi linda, you made it | 20:01 |
| * lhuynh sighs | 20:01 | |
| lhuynh | I got here. | 20:01 |
| jelkner | lhuynh: i'm trying to get alan up to speed with what we did this morning | 20:02 |
| jelkner | i'm hoping he can help us finish the lessons | 20:02 |
| jelkner | we will need about 30 minutes to do that | 20:02 |
| jelkner | can you check back with us then? | 20:02 |
| lhuynh | how long do you think it will take to do the lessons? | 20:03 |
| lhuynh | I was thinking about finishing lunch in the half hour, and then working on homework after we finished the lessons | 20:03 |
| jelkner | depends on how good alan is ;-) | 20:03 |
| * lhuynh grins | 20:03 | |
| lhuynh | I like that plan | 20:03 |
| aelkner | I'm only as good as my last novel. | 20:03 |
| lhuynh | register duckies | 20:06 |
| lhuynh | or... not. | 20:06 |
| aelkner | lhuynh: Jeff says to go ahead and do your homework and that we'll call you when we've worked out things with Paul. | 20:14 |
| th1a | aelkner: Did you get the path thing figured out? | 20:36 |
| aelkner | Not yet. Crazy stuff is happening. | 20:36 |
| aelkner | Without changing my path, I'm able to import transaction and ZODB. But that's different than importing from zope, right? | 20:37 |
| th1a | Did you do this? | 20:38 |
| th1a | import os | 20:38 |
| th1a | basedir = os.path.abspath(os.path.dirname(sys.argv[0])) | 20:38 |
| th1a | sys.path.insert(0, os.path.join(basedir, 'src')) | 20:38 |
| th1a | sys.path.insert(0, os.path.join(basedir, 'Zope3', 'src')) | 20:38 |
| th1a | (more or less) | 20:38 |
| lhuynh | aelkner: sorry to interrupt, but did one of you just call? | 20:38 |
| *** lhuynh has quit IRC | 20:43 | |
| *** lhuynh has joined #schooltool | 20:43 | |
| th1a | ignas: What's that new requirement for building SchoolTool? | 20:50 |
| ignas | libicu-dev | 20:50 |
| jelkner | lhuynh: no, but i just sent paul an email and cc'd you and alan. did you get it? | 20:53 |
| jelkner | i'm waiting to try him again at a few minutes past 2 pm. | 20:53 |
| th1a | aelkner: Well, I've successfully replicated your problem. | 21:02 |
| aelkner | That's good to hear. | 21:02 |
| aelkner | USing stAgnet.py or something else? | 21:02 |
| th1a | Using something else. | 21:03 |
| th1a | I think I found the problem. | 21:03 |
| th1a | Import the Zope related stuff AFTER you change your path. | 21:03 |
| aelkner | You mean transaction, etc? | 21:04 |
| th1a | Yeah. | 21:04 |
| aelkner | That seemed to help. 'Application' is no longer broken. | 21:07 |
| th1a | OK. You chould be on the right track then. | 21:07 |
| lhuynh | Don't let her work all day. She'll neglect other things if you do. | 21:07 |
| lhuynh | ^^^ That line... was not me. | 21:08 |
| aelkner | Who was that? | 21:08 |
| lhuynh | Mon beau, si tu lui connais. | 21:08 |
| aelkner | je lui connais naturellment. | 21:09 |
| * lhuynh grins | 21:09 | |
| aelkner | th1a: whoopie!!! When I do this: | 21:10 |
| aelkner | for key in agent.dbroot['Application']: | 21:10 |
| aelkner | print key | 21:10 |
| aelkner | 21:10 | |
| aelkner | I get this: | 21:10 |
| aelkner | wiki | 21:10 |
| aelkner | terms | 21:10 |
| aelkner | persons | 21:10 |
| aelkner | sections | 21:10 |
| aelkner | curriculum | 21:10 |
| aelkner | courses | 21:10 |
| aelkner | scoresystem | 21:10 |
| aelkner | levels | 21:10 |
| aelkner | groups | 21:10 |
| aelkner | ttschemas | 21:10 |
| aelkner | journals | 21:10 |
| aelkner | resources | 21:10 |
| aelkner | Success! | 21:10 |
| th1a | Yes. | 21:11 |
| th1a | Now we're getting somewhere. | 21:11 |
| aelkner | The next step would be to get ZEO to work so that I could do the same even when schooltool-server is running. | 21:11 |
| aelkner | I have the ote from ignas. | 21:12 |
| aelkner | I'll let you know how it goes. | 21:12 |
| aelkner | th1a: I need to do two things from within schooltool: | 21:18 |
| aelkner | 1) create the runzeo.sh script | 21:18 |
| aelkner | 2) update date schooltool.conf | 21:19 |
| aelkner | Adding the script should be no problem. | 21:19 |
| aelkner | However, if I update the conf file, won't that break the source tree for people not wanting to use zeo? | 21:19 |
| aelkner | If I commit my changes that is. | 21:20 |
| aelkner | th1a: ? | 21:22 |
| th1a | I have to go to school now... | 21:23 |
| th1a | You'd make your own conf file. | 21:23 |
| th1a | Or, | 21:23 |
| th1a | I mean, | 21:23 |
| th1a | the whole idea of a conf file is that the user changes it. | 21:23 |
| th1a | That's why it is a conf file and not hard wired. | 21:23 |
| aelkner | I create my own conf file at Schooltool's root, and then copy it to the etc dir, right? | 21:24 |
| aelkner | That way it doesn't trash the other one. | 21:24 |
| th1a | I don't know exactly what the best way to do it is. | 21:24 |
| th1a | Don't over think it, though. | 21:25 |
| th1a | It is a conf file. | 21:25 |
| th1a | It is meant to be edited for special cases like this. | 21:25 |
| aelkner | Ok, I just wanted to know how to get the conf file into the repository. I'll create my own and then one can copy it in if they want. | 21:26 |
| th1a | That's fine. | 21:27 |
| *** eldafar has joined #schooltool | 21:33 | |
| aelkner | jelkner: testing | 21:44 |
| jelkner | eldafar: hi! | 22:07 |
| *** jinty has quit IRC | 22:10 | |
| eldafar | <include package="cando.quiz" /> | 22:14 |
| eldafar | <include package="timeclock" /> | 22:15 |
| eldafar | in timeclock-configure.zcml | 22:15 |
| eldafar | in etc/package-includes/ | 22:15 |
| *** mgedmin has quit IRC | 22:19 | |
| *** jinty has joined #schooltool | 22:28 | |
| eldafar | jelkner: you there? | 23:20 |
| jelkner | eldafar: yup | 23:20 |
| eldafar | are you sure that's the right module, because it's broken | 23:21 |
| jelkner | i'm working with aelkner on the gobby/sobby page | 23:21 |
| eldafar | the tests don't pass | 23:21 |
| eldafar | and a lot of quicky things happen when you use it | 23:21 |
| jelkner | quicky? | 23:21 |
| jelkner | mine started without incident | 23:21 |
| jelkner | i don't know enough to tell you more than that | 23:22 |
| jelkner | paul would be the man | 23:22 |
| eldafar | quirky* was what I meant to say | 23:34 |
| lhuynh | jelkner: the interfaces.py file that paul gave to us did not include IContactContainer, but he mentioned the class in the log (both recent and last year). do I add it? | 23:48 |
| eldafar | yeh | 23:56 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!