Channel #semsol: Logs

This is a public chat log generated from the #semsol IRC channel.

12:13:56 thosch: hi bengee! i just installed knowee, it looks very nice and promising!
12:14:10 bengee: thanks :)
12:14:24 bengee: still an alpha..
12:14:59 thosch: yes, alpahs of course. but is it already supposed to use my foaf file to import contacts? i didn't manage to have it import things with mine: http://infomancer.org/foaf.xml
12:15:03 bengee: the bots are still falling asleep every now and then
12:15:36 thosch: ah, yes, there is no sign of bot acitity in the logs
12:15:55 thosch: only [2009-01-28T04:53:17Z] loading schemas
12:15:57 thosch: [2009-01-28T04:53:17Z] starting bots
12:17:12 bengee: what does the queue at /bot-runner/queue say?
12:17:51 thosch: nothing in the bot queue table
12:18:29 bengee: try bot-runner/?check=1
12:18:40 bengee: and then the log
12:19:36 bengee: do you see "start bots" or "stop bots" in the right column at /bot-runner?
12:20:36 bengee: re foaf, if you add your foaf profile to your accounts, knowee should import the foaf:knows relations as contacts
12:21:15 thosch: one line added to the log: [2009-01-28T07:19:18Z] checking bots
12:21:20 bengee: the bots should also follow seeAlsos and populate the contact details in the address book
12:21:28 thosch: no, i only see "view queue" no start or stop
12:22:02 thosch: ah, i am not logged in as admin
12:22:12 bengee: ok, go to /login and log in as admin
12:22:30 bengee: the you can see at bot-runner if the bots are running
12:22:56 bengee: you can also set your account as admin in the sys.php config
12:23:47 thosch: ok, i filled the queue now. let's see what happens :-)
12:23:48 bengee: then you don't have to log in as admin
12:23:51 thosch: thx bengee
12:24:01 bengee: np
12:24:24 bengee: hope it works now. you can check "view log" for background activity
12:26:16 thosch: it added a lot of URIs, but next(=first) run is only in 8 minutes. i'll check back then
12:26:59 bengee: the bot should always pick the first item in the queue, even if it's not due yet
12:27:16 bengee: every 60 secs or so
12:28:21 bengee: the algorithm is: run all tasks that are due now XOR run the next upcoming task
12:29:38 bengee: to lower bot activity peaks a little bit
12:32:12 thosch: hm, here no bot is active yet. the countdown is down to one minute
12:33:31 bengee: there should be a "Checking Queue" in the log every 30 secs
12:33:40 bengee: otherwise the bots are not running
12:33:58 thosch: now it at "-1".
12:34:04 thosch: no checking queue in the log
12:34:14 thosch: only the statements about adding uris
12:34:31 bengee: and the navigation says "stop bots"?
12:34:40 thosch: yes
12:35:05 bengee: then there is some error..
12:35:46 thosch: well, it is not so important for me to get it to run now. but if you want feedback for debugging, i'll be happy to try other things
12:36:11 bengee: try running one of the paths from the queue
12:36:24 bengee: i.e. copy + append to /bot-runner/
12:36:25 thosch: it shouldn't be a problem that my server has htaccess protection, should it?
12:36:48 bengee: if you get a PHP error, we might be able to find out
12:37:50 bengee: or try "stop bots" and then "start bots"
12:37:55 thosch: ok, taht worked "bot running" and some sparql statements in the log
12:38:30 bengee: ok, then it's just the background process that got terminated for some reason
12:38:51 bengee: start+stop might help
12:39:11 bengee: or another ?check=1
12:39:56 thosch: no help from that:
12:39:57 thosch: [2009-01-28T07:39:33Z] checking bots
12:39:59 thosch: [2009-01-28T07:39:30Z] checking bots
12:40:00 thosch: [2009-01-28T07:39:07Z] loading schemas
12:40:02 thosch: [2009-01-28T07:39:07Z] starting bots
12:40:03 thosch: [2009-01-28T07:39:06Z] stopping bots
12:40:05 thosch: nothing else
12:40:07 bengee: hmm
12:40:14 thosch: but I gotta go to lunch now
12:40:15 thosch: cu later!
12:40:19 bengee: ok, cya
13:39:31 thosch: bengee: so i tried stopping/starting/checking bots and emptying and filling the quere. but the bots won't work no their own. is there anything else i can do?
13:39:59 thosch: (but a bit of copy psting jobs into the address bar already got me 72 contacts improted -> very nice!)
13:43:02 bengee: not much realy
13:43:21 bengee: you can try calling the queue processor directly
13:43:39 bengee: /bot-runner/processor
13:44:23 bengee: maybe you'll get an error message here
13:44:38 bengee: it should at least write "checking queue" into the log
13:46:11 bengee: and then "Processing call (...)" for each task retrieved from the queue
13:47:30 thosch: yes, it does that and:
13:47:31 thosch: [2009-01-28T08:46:18Z] running FOAF inference bot for thosch
13:47:33 thosch: [2009-01-28T08:46:18Z] MySQL process count: 1
13:47:49 thosch: this at least make manual prodding of bots easier :-)
13:48:06 bengee: ok, then wait 30secs and see if it's still running
13:48:21 bengee: the processor re-invokes itself every 30 secs
13:49:08 bengee: if it doesn't, then your server might not allow scripts to run that long, but 30secs is usually default
13:51:59 thosch: unfortuanatly it doesnt run on its own. is that 30sec the php timeout?
13:52:20 bengee: possibly
13:54:12 bengee: you could try changing /code/knowee/botrunner/Knowee_BotRunner_ProcessorHandler.php
13:54:58 bengee: around line 60, there's a command "$this->LaunchQueueProcessor(30)"
13:55:24 bengee: note to self: this should be a lowercase method name
13:55:43 bengee: try changing the 30 to 15 or so
14:11:06 thosch: bengee: hm, that didnt help either. but i can live with reloading the /processor page for now.
14:11:09 thosch: thanks for your help
14:11:15 bengee: ok, welcome
14:11:30 thosch: it is really a great app. it even made me update my foaf file :-)
14:11:34 bengee: heh
14:11:38 bengee: thanks :)
14:12:07 thosch: is there a roadmap for when knowee might become beta?
14:12:43 bengee: no, it depends on when I find time for it
14:12:59 bengee: or if others start contributing code
14:14:06 thosch: i see
14:14:50 bengee: I have to force myself to focus on paid work a little more or I won't get through 2009..
14:16:22 bengee: knowee will be very easy to incrementally improve, though. So there should be updates coming
14:17:44 thosch: oh, yes, those pesky money issues....