IRC log of #schooltool for Monday, 2007-01-22

*** jfroche_ has quit IRC00:27
*** bnguyen has joined #schooltool00:56
*** bnguyen has left #schooltool00:57
*** didymo has joined #schooltool01:23
*** wrobel has quit IRC03:23
*** loganleger has joined #schooltool04:41
*** loganleger has left #schooltool04:55
*** eldafar has quit IRC05:23
*** alga has quit IRC06:05
*** kitblake has left #schooltool08:30
*** kitblake has joined #schooltool08:31
*** wrobel has joined #schooltool09:48
*** vidasp has joined #schooltool10:00
*** vidasp has quit IRC10:13
*** thisfred has joined #schooltool10:14
*** vidasp has joined #schooltool10:17
*** matthewrevell has joined #schooltool10:25
*** matthewrevell has quit IRC10:40
*** matthewrevell has joined #schooltool10:43
*** Aiste has joined #schooltool11:11
*** jinty has joined #schooltool11:17
*** mgedmin has joined #schooltool12:07
*** vidasp has quit IRC12:08
*** ignas has joined #schooltool12:40
*** jinty has quit IRC12:51
*** didymo has quit IRC12:54
*** shubacka has joined #schooltool13:39
*** jfroche has joined #schooltool13:56
*** jfroche has quit IRC14:03
*** alga has joined #SchoolTool14:06
*** matthewrevell has quit IRC14:10
*** matthewrevell has joined #schooltool14:16
*** mgedmin has quit IRC14:25
*** jinty has joined #schooltool14:53
*** shubacka has quit IRC15:13
*** shubacka has joined #schooltool15:13
*** gintas has joined #schooltool15:58
*** alga has quit IRC16:09
*** th1a has joined #schooltool16:21
th1aignas: Can you meet tomorrow at the regular time?16:22
ignasalways prepared ;)16:23
th1ajfroche can't make it today.16:25
ignasi see16:26
*** jinty has quit IRC16:27
*** gintas has quit IRC16:49
matthewrevellth1a: Hey, did you get my email?17:41
*** thisfred has quit IRC17:46
*** shubacka has quit IRC18:46
th1amatthewrevell: I didn't see it.  Let me check.18:50
th1amatthewrevell: I don't think so.18:50
*** aelkner has joined #schooltool18:55
aelknerth1a: how's it going?18:59
th1aaelkner: Good.19:00
aelknerWill 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
aelknerth1a: ?19:07
th1aHm, yes?19:07
th1aaelkner: You couldn't get into it?19:08
th1aWhere are you stuck?19:08
*** jinty has joined #schooltool19:08
aelknerI got into it fine.  I just's that the root has two funny classes in it:19:08
aelkner{'Application': <persistent broken instance '\x00\x00\x00\x00\x00\x00\x00\x01'>, '': <persistent.dict.PersistentDict object at 0xb7367e6c>}19:08
aelknerHow do I get to the Persons and Courses, etc.?19:09
th1aSo you can't get in the applications object?19:10
th1aIt is broken?19:10
th1aIs this because of the path issues that you were discussing with mgedmin?19:11
aelknerPath issues?  I don't remember having those.19:11
aelknerAre you refering to the broken in "persistent broken..."?19:12
aelknerMine is empty.  Does it need to be set to somewhere within schooltool's source?19:13
th1aDidn't you have a whole discussion about this with mgedmin?19:14
aelknerI'll look it up in the log.19:15
*** nnonix has joined #schooltool19:15
th1aAnyhow, your script or interpreter session has to be able to import, for example.19:15
aelknerOk, I'll try to get the path set so that I can do that.19:16
nnonixSo 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 IRC19:21
th1annonix: Well, SchoolTool doen't use Perl...19:21
th1annonix: I doubt the two are connected.19:21
nnonixth1a: I didn't think so:)19:22
th1aIs undernet a botnet?19:22
aelknerth1a: 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/", line 37, in ?19:22
aelkner    from zope.i18nmessageid import MessageFactory19:22
aelknerImportError: No module named i18nmessageid19:22
aelknerWhat else do I need to add to my path?19:22
th1aThe Zope3 source, I imagine.19:23
nnonixth1a: can you tell me if schooltool uses apache or its own webserver?19:23
th1aIt uses its own.19:23
th1annonix: Generally people use rewrite rules from their Apache server.19:23
nnonixth1a: I did the Ubuntu installation from repo19:24
th1annonix: It doesn't set up rewrite rules by default, so you're just connecting directly to the built-in server.19:25
nnonixth1a: do you know what user the built in server runs as?19:26
th1annonix: Not as root.19:27
th1aI don't remember offhand.19:27
th1ajinty: ayt?19:28
nnonixth1a: www-data, like Apache?19:28
th1aThat sounds right.19:28
*** jelkner has joined #schooltool19:28
*** jelkner has quit IRC19:29
*** jelkner has joined #schooltool19:29
jelkneraelkner: u here?19:30
aelknerjelkner: dud, you got to answer your phone when I call you!19:30
*** ignas has quit IRC19:31
jelkneraelkner: maybe its not ringing19:31
jelknerlet me call you19:31
jelknergive me the number19:31
aelknerjelkner: 267-886-928519:32
*** alga has joined #SchoolTool19:32
jintyth1a: yep19:33
jintynnonix: the schooltool built in server runs as the user schooltool19:34
nnonixjinty: perfect .... perl was running as www-data, which means apache2 only.19:34
*** mgedmin has joined #schooltool19:36
nnonixIt's probably Wordpress.19:37
*** nnonix has left #schooltool19:49
*** ignas has joined #schooltool19:57
*** lhuynh has joined #schooltool20:01
aelknerWelcome Linda!20:01
jelknerlhuynh: hi linda, you made it20:01
* lhuynh sighs20:01
lhuynhI got here.20:01
jelknerlhuynh: i'm trying to get alan up to speed with what we did this morning20:02
jelkneri'm hoping he can help us finish the lessons20:02
jelknerwe will need about 30 minutes to do that20:02
jelknercan you check back with us then?20:02
lhuynhhow long do you think it will take to do the lessons?20:03
lhuynhI was thinking about finishing lunch in the half hour, and then working on homework after we finished the lessons20:03
jelknerdepends on how good alan is ;-)20:03
* lhuynh grins20:03
lhuynhI like that plan20:03
aelknerI'm only as good as my last novel.20:03
lhuynhregister duckies20:06
lhuynhor... not.20:06
aelknerlhuynh: 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
th1aaelkner: Did you get the path thing figured out?20:36
aelknerNot yet.  Crazy stuff is happening.20:36
aelknerWithout changing my path, I'm able to import transaction and ZODB.  But that's different than importing from zope, right?20:37
th1aDid you do this?20:38
th1aimport os20:38
th1abasedir = os.path.abspath(os.path.dirname(sys.argv[0]))20:38
th1asys.path.insert(0, os.path.join(basedir, 'src'))20:38
th1asys.path.insert(0, os.path.join(basedir, 'Zope3', 'src'))20:38
th1a(more or less)20:38
lhuynhaelkner: sorry to interrupt, but did one of you just call?20:38
*** lhuynh has quit IRC20:43
*** lhuynh has joined #schooltool20:43
th1aignas: What's that new requirement for building SchoolTool?20:50
jelknerlhuynh: no, but i just sent paul an email and cc'd you and alan.  did you get it?20:53
jelkneri'm waiting to try him again at a few minutes past 2 pm.20:53
th1aaelkner: Well, I've successfully replicated your problem.21:02
aelknerThat's good to hear.21:02
aelknerUSing or something else?21:02
th1aUsing something else.21:03
th1aI think I found the problem.21:03
th1aImport the Zope related stuff AFTER you change your path.21:03
aelknerYou mean transaction, etc?21:04
aelknerThat seemed to help.  'Application' is no longer broken.21:07
th1aOK.  You chould be on the right track then.21:07
lhuynhDon't let her work all day.  She'll neglect other things if you do.21:07
lhuynh^^^ That line... was not me.21:08
aelknerWho was that?21:08
lhuynhMon beau, si tu lui connais.21:08
aelknerje lui connais naturellment.21:09
* lhuynh grins21:09
aelknerth1a: whoopie!!!  When I do this:21:10
aelkner    for key in agent.dbroot['Application']:21:10
aelkner        print key21:10
aelknerI get this:21:10
th1aNow we're getting somewhere.21:11
aelknerThe next step would be to get ZEO to work so that I could do the same even when schooltool-server is running.21:11
aelknerI have the ote from ignas.21:12
aelknerI'll let you know how it goes.21:12
aelknerth1a: I need to do two things from within schooltool:21:18
aelkner1) create the script21:18
aelkner2) update date schooltool.conf21:19
aelknerAdding the script should be no problem.21:19
aelknerHowever, if I update the conf file, won't that break the source tree for people not wanting to use zeo?21:19
aelknerIf I commit my changes that is.21:20
aelknerth1a: ?21:22
th1aI have to go to school now...21:23
th1aYou'd make your own conf file.21:23
th1aI mean,21:23
th1athe whole idea of a conf file is that the user changes it.21:23
th1aThat's why it is a conf file and not hard wired.21:23
aelknerI create my own conf file at Schooltool's root, and then copy it to the etc dir, right?21:24
aelknerThat way it doesn't trash the other one.21:24
th1aI don't know exactly what the best way to do it is.21:24
th1aDon't over think it, though.21:25
th1aIt is a conf file.21:25
th1aIt is meant to be edited for special cases like this.21:25
aelknerOk, 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
th1aThat's fine.21:27
*** eldafar has joined #schooltool21:33
aelknerjelkner: testing21:44
jelknereldafar: hi!22:07
*** jinty has quit IRC22:10
eldafar<include package="cando.quiz" />22:14
eldafar<include package="timeclock" />22:15
eldafarin timeclock-configure.zcml22:15
eldafarin etc/package-includes/22:15
*** mgedmin has quit IRC22:19
*** jinty has joined #schooltool22:28
eldafarjelkner: you there?23:20
jelknereldafar: yup23:20
eldafarare you sure that's the right module, because it's broken23:21
jelkneri'm working with aelkner on the gobby/sobby page23:21
eldafarthe tests don't pass23:21
eldafarand a lot of quicky things happen when you use it23:21
jelknermine started without incident23:21
jelkneri don't know enough to tell you more than that23:22
jelknerpaul would be the man23:22
eldafarquirky* was what I meant to say23:34
lhuynhjelkner: the 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

Generated by 2.15.1 by Marius Gedminas - find it at!