00:11:55 I quite like dict, in fact. 00:12:03 !@$!#%<# 00:51:56 my thoughts exactly... 00:53:45 [to rbm]: #1- 00:53:58 [to rbm]: I'll help with the docs a bit 00:54:04 Ahh...that is working better... 00:54:20 hey shagster 00:55:39 So put me on your list, abuse me when you're ready :) 00:55:56 shagster: Ok. ;-) 00:56:27 I finally started free up some time....so I can actually contribue now :) 02:06:22 tdxdave has joined #OpenACS 02:07:07 tdxdave has quit 02:07:15 tdxdave has joined #OpenACS 02:09:44 * tdxdave is going to the dark side 02:09:46 tdxdave has quit 02:11:57 * rbm goes shower 02:21:09 tdxdave has joined #openacs 03:39:21 just outa curiosity is there allready a module written for picture of the week? 03:40:14 andy__ has left channel 03:44:04 andy_ has joined #openacs 03:44:30 don't know if my last question got asked or not because of network problems 03:44:33 so i'll ask again 03:44:47 just outa curiosity is there allready a module written for picture of the week? 03:44:55 never mind 03:44:58 You mean a module that looks thru pictures, judges them and selects one? 03:45:14 Sorry, don't have one of those yet. ;-) 03:45:21 well maybe just so that i could assign an administrator to look through 03:45:39 but one that lets him look through and post the one he wants 03:45:44 like the one on photo.net 03:46:42 No, don't think there is such a thing but it shouldn't be too hard to code... 03:47:10 maybe for you 03:47:23 probably take me many many months 03:47:39 Well, I mean, all you have to do is have him find one and he could just paste the URL onto the front page, no? 03:48:06 i'm not understanding? 03:48:30 I mean, there's nothing that really requires any programming. 03:48:37 well i guess that would work 03:49:01 but i sorta like this idea that the person doing the posting doesn't have to know anything about html 03:49:31 Hmm... 03:49:36 i'd like it if he could just search through a list of photo's people submit 03:49:43 hi there 03:49:48 hi rbm 03:49:53 Hi rbm, maybe you can help? 03:49:58 I can't think of an easy way to do it... 03:50:13 but like i said i know nothing of programming and was just wondering if it was possible 03:50:18 Is photodb hooked into new-stuff? 03:50:33 * rbm reads the backlog 03:50:43 tdxdave: I don't think 03:50:54 hmmmm... 03:51:30 well really all you need is a hook on a page that displays photos that only appears when an admin is viewing. 03:51:39 andy_: That'd be pretty easy to do, but it'd require a little programming. You'd have 2 choices: a) post a feature request at the SDM, b) hiring someone to do it. 03:51:45 if he sees one he likes he clicks the "make this the photo of the week" 03:51:53 And you can ask here too :-) 03:52:07 gotta go 03:52:12 thanks 03:52:19 The photodb module is going to be heavily patched. Vinod made lots of security fixes. 03:52:59 I like aaron's idea. Just post a list to the picture using news or something. 03:53:30 just post a link to the picture using news that is. 03:56:34 hmmm. Anyone has an opinion on Borland's approach? 03:57:45 * tdxdave is reading about it now 04:01:54 very interesting. if you pay you get the exact same code, but with a dual liscense that allows you to distribute applications either under GPL or any other liscense. 04:02:31 If you don't pay you get code liscensed under the GPL requiring you to release your software developed with it under the GPL. 04:02:59 It seems they really like the GPL and want to encourage people to develop under it. 04:03:28 too bad is doesn't work with PostgreSQL 04:03:50 It does, via ODBC 04:04:13 It's a good step forward. But still uncomfortable for me 04:04:28 Aha, I didn't see that it supports ODBC in the FAQ 04:04:34 how so? 04:05:38 Only the CLX library (which you must link against) is free software. Borland's intent is to attract developers to its environment. I worry that as soon as they have a large user base, they can revoke that license. 04:05:58 rbm: I just asked you a question on fslc 04:06:03 I don't even know what's the license for the CLX library, but I'm pretty sure it's copyright Borland, so they can change the license anytime 04:06:38 zzzirk: Oh. 04:06:52 zzzirk: Look at openacs.org/4 and then click in the permissions guide 04:07:09 Actually, you can go straight to openacs.org/faq 04:07:23 Cool, thanks! 04:08:11 Aha. 04:08:58 So they hook you in then "upgrade" and possibly break the GPLed stuff. 04:09:38 That's a possibility. Of course, I can't tell if they will do that. But it could happen. 04:09:52 I don't seem to find "permissions guide" 04:10:28 18.Q: How does the permissions system work? 04:10:37 Of course, but if the language/IDE is not open source but the libaries are its a sticky situation. 04:10:43 lazy zzzirk :-) 04:10:49 Ah, must've missed that one... 04:10:51 tdxdave: exactly. 04:10:57 I was looking under openacs.org/4 and there is no mention... 04:11:55 I've been looking at doing cross-platform GUI work with Tcl/Tk and Python/Tk. I found SpecTcl, a GUI builder for Tk that outputs code in Tcl, Python, Perl, Java (for awt). I'm quite pleased with it. 04:12:24 Really? Does it need a plugin to work with nstcl? :-D 04:12:32 That sounds pretty interesting. 04:12:34 zzzirk: No. 04:12:40 It's pretty nice, and all free software. 04:12:46 spectcl.sourceforge.net 04:13:03 I made a quick GUI today in under 3 minutes. Output code to Tcl and Python 04:13:04 Does it just give you templates for you to fill in the event code like VB or what? 04:14:14 It gives you a canvas and you can drag widgets to it. You can edit all definitions for any widget. It saves its definitions in a .ui file, and then you can generate the appropriate language code. 04:15:58 til has quit 04:16:21 Sounds really neat. But I must depart for dreamland... 04:16:29 tdxdave has quit 04:24:43 rbm: YOu know by any chance if there is a procc in AOLserver to get information from the /etc/passwd file? 04:24:58 Hmmm. no. That'd be a security hazzard 04:25:05 You could make one tho 04:25:15 AaronSw has quit 04:25:42 I understand it would be a security hazard, but I know of no other way to easily determine a users home directory. 04:26:00 AaronSw has joined #openacs 04:26:04 I figured I could make one, just wondered if there was such a beast. 04:26:19 I want to read a .plan file and be able to display it. 04:26:28 hmmm. never tried 04:52:26 shagster has quit 05:01:41 shagster has joined #openacs 05:14:16 abbaJ has joined #openacs 06:27:51 andy_ has quit 06:29:58 PascalS has joined #openacs 06:32:06 morning pascal 06:32:23 * rbm heads to bed for real 06:33:18 hi 06:36:23 Hi Pascal. You arrive and I leave :-) 06:36:29 time for bed (past time actually) 06:36:30 Every day. 06:36:36 hehe 06:36:40 1:30 am for you? 06:36:48 12:30 06:36:54 slightly better. 06:37:04 yeah 06:37:10 good night 06:37:13 I'll be gone ealy today. so 06:37:20 g'night! 06:47:09 PascalS has quit 08:11:10 rbm has quit 08:20:55 rbm has joined #openacs 09:53:54 PascalS has joined #openacs 10:11:28 PascalS has quit 10:15:32 PascalS has joined #openacs 10:21:48 PascalS has quit 10:46:11 PascalS has joined #openacs 12:50:38 sinaptico has joined #openacs 12:50:51 hello 12:54:40 markd2 has joined #openacs 12:57:45 Grax has joined #openacs 13:05:09 Grax has quit 13:14:30 tdxdave has joined #openacs 13:14:34 Hi 13:15:42 vinod has joined #openacs 13:15:52 hello 13:16:52 hi guys 13:17:28 morning! (or afternoon, etc) 13:18:04 here is like 11:30pm... 13:18:37 or night! ;-) 13:19:39 i am debugging the data model for address-book 13:20:16 and get an error ProcedureCreate: procedure ab_contact_... already exists 13:20:34 I though that postgres did not have procedures 13:22:50 markd2 has quit 13:23:51 ...? what do you mean, does not have procedures? 13:24:50 PascalS: apparently yesterday the cat turned off the machine :) the power strip it was plugged into was switched off. 13:25:25 sorry I am completely new with postgres. I believe that I read that you only have functions, I mean 13:25:34 you always have to return an integer 13:25:41 or null 13:25:52 or something 13:26:10 no, you define that as 'create procedure bla returns foo as ' 13:26:20 just as in oracle? 13:26:27 or 'create procedure bla as' 13:26:31 jup 13:27:41 actually, i don't think pg has 'procedures', just functions 13:27:56 yeah, check this: http://www.postgresql.org/idocs/index.php?sql-createfunction.html 13:29:18 yeah, I checked - return type seems to be required. 13:29:42 so functions only. You can always ignore the result, of course. 13:29:49 correct 13:30:23 why would psql give a procedure already exists error? 13:30:25 rafael: but if you create a duplicate function, pg will complain that 'procedure foo already exists', but it really means that 'function foo already exists' 13:31:12 use '\df function_name' to see if a function is already defined 13:31:12 you are right 13:34:18 ok I did it and get that the function exists so 13:34:48 I try droping "drop function function_name;" and get a parse error 13:35:21 in pg, you must drop a fxn with all the params: 13:35:32 drop function foo(integer,varchar,integer); 13:35:54 since there may be more than 1 function 'foo' 13:37:04 vinod: is that fact in your FAQ? 13:39:06 i thought it was, but i don't see it now (my mind is getting foggy these days). I'll add it 13:42:04 cool. 13:42:38 We should come up with a way to specify when we say something that we want to save in the docs. 13:42:54 Then we could go back through the logs and capture it automatically. 13:45:34 How about this other error: 13:45:42 trying to create a table 13:45:53 create table ab_contacts ( 13:46:08 contact_id not null 13:46:08 constraint ab_contacts_contact_id_fk 13:46:08 references acs_objects (object_id) 13:46:08 constraint ab_contacts_pk primary key 13:46:26 it gives me a parse error 13:46:53 I just took it exactly like in oracle but there must be another sintactic diff 13:48:28 it needs a type (integer). Oracle takes it from the foreign-key table, but you must specify it in PG 13:48:52 create table ab_contacts ( contact_id INTEGER not null .... 13:53:05 yes i tried that 13:59:07 what error does it give you? 14:03:51 parse error at or near not 14:04:16 contact_id INTEGER not null 14:04:19 should work 14:04:24 i just figured it out thanks 14:09:59 tdxdave: that is a good idea (somehow marking things as doc-worthy) 14:13:01 * rbm rubs his eyes 14:13:23 Hi roberto, I am going to leave soon :) 14:13:34 time for bed? :-) 14:13:41 Nah. Dinner 14:13:46 heheh 14:13:52 16:13Hrs here 14:13:55 I also liked tdxdave's idea 14:14:06 Ehrm 14:14:15 DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY DOCWORTHY 14:14:24 should be easy to find in loggy?!? 14:15:04 Of course, I should probably write a bot in the abundant spare time that does it automatically right from IRC 14:15:05 It's kind of how *doc (Javadoc, phpdoc, pydoc, etc.) works. 14:15:26 I wonder if there's a Tcl doc 14:15:29 Who is running loggy? 14:15:55 aaronsw 14:16:46 * vinod doesn't understand the words 'abundant spare time' :) 14:17:09 * tdxdave forgot to add the sarcasm indicator 14:17:12 * PascalS never heard of it either 14:18:09 What do you know... there is a TclDOC, written in Perl ;-) 14:18:17 http://www.ldas-sw.ligo.caltech.edu/doc/tcl_docs/html/tcldoc 14:21:18 also this one: http://www.neosoft.com/tcl/ftparchive/sorted/packages-7.6/apps/tcldoc-0.6/ 14:21:26 Should this use a bind variable for contained_string?: 14:21:26 for file_row in ( 14:21:26 select static_page_id from static_pages 14:21:26 where folder_id in ( 14:21:26 select folder_id from sp_folders 14:21:26 start with folder_id = :root_folder_id 14:21:27 connect by parent_id = prior folder_id) 14:21:30 and filename like '%${contained_string}%' 14:24:27 l8er fellas 14:24:34 bye 14:24:41 PascalS has quit 14:25:26 tdxdave: probably 14:25:57 I'm still kind of blurry as to when to use bind vars 14:27:29 i'm blurry too, but offhand i don't think a bind variable would work there 14:27:54 OK we can possibly assume the original programmer had an idea what he was doing. 14:28:47 i think the bind var has to replace the entire literal, so since this has '%' concat'd with it, the driver wouldn't recognize it 14:28:59 let me see if i can find docs to support that 14:29:03 I suspected as much, 14:30:40 http://developer.arsdigita.com/doc/db-api.html#db-api-bindvariables 14:36:01 Yeah. Kind of the same effect here. We were driving from Miami to Michigan 14:36:06 ooops. wrong window 14:36:28 I hate when I do that 14:42:53 that's ok - we'll forgive you this time - just save all the interesting comments for this window ;-) 14:43:59 markd2 has joined #openacs 14:49:59 wb mark 14:50:10 vinod: thanks :) 14:50:43 sinaptico has left channel 14:51:03 sinaptico has joined #openacs 14:52:07 :-) 14:52:44 i am trying a text based irc on my linux box so I can paste code more easily 14:53:40 the local isp has been flaking out today 14:53:59 whenever we get a lot of rain, everything goes to helena handbasket 14:54:50 ~ 14:56:15 Yes. xwrits is loading on startup 14:56:32 epic4 + Light is excellent 14:56:42 xwrits saved my wrists 14:57:11 hi roberto 14:57:40 hey sinaptico 14:57:55 sorry is rafael calvo 14:58:24 great work your stuff at openacs 14:59:07 your to vinod :-) 14:59:31 thanks. The community deserves a lot of the credit. I'm actually compiling a list of contributors to OpenACS to better recognize them. 15:00:10 that is good... its a pitty there was so much noice in the last few weeks... 15:00:18 rafael: thanks! 15:00:27 but it seems to be more clear :-) 15:00:44 tdxdave has quit 15:00:44 I am new with openacs but is really cool 15:00:58 tdxdave has joined #openacs 15:02:21 The bruhaha was annoying, but good things will come out of it. We could have achieved them with much less waste of time, but oh well. 15:03:22 yeah... anyway. is there a way of looking at the messages of psql with more detail, I mean 15:03:47 if I have a long function it says parse error near... but it can be anywhere 15:03:51 in 30 lines 15:05:22 Unfortunately, no :-( 15:05:22 Fun huh? postgresql could be a little more specific. 15:05:36 Hang on. I think I saw a function on the cookbook that helped with that 15:08:34 Well, nm. There's not. 15:08:52 That's why I use pgaccess to develop functions sometimes 15:09:04 Although its use in OpenACS can be disastrous. 15:09:12 what is pgaccess? 15:09:25 a graphical front-end to PostgreSQL. Written in Tcl/Tk 15:10:19 ok... so what i am doing is putting the big function and just commenting out stuff until I find the error, this is really lame 15:10:31 but I can't find it... 15:11:11 cool: there is all kinds of nifty stuff in debian/unstable 15:11:24 Debian roxq0rs 15:11:27 what i do is stick RAISE NOTICE ''breakpoint 1''; in various parts of the fxn and then drop & reload. 15:12:02 * tdxdave is compiling new kernel instead of working... 15:12:13 usually i find that the error is in a fxn that is being called and then i repeat the procedure in that function, etc. etc. 15:12:39 RAISE NOTICE ''breakpoint 1''; only work inside the function? 15:12:50 i tried outside and didnt work 15:13:02 correct - it's a plpgsql feature, not sql 15:13:54 sinaptico: carefully read the sever error log. make sure verbose is turned on in the server config file. 15:14:25 openacs4 logs every sql statement to the log and you can see which ones were sucessful and which never get run 15:15:13 what i do is a sql openacs4 < address-book-create.sql &> /tmp/err 15:15:19 and look at the err 15:15:52 You are getting an error in creation...aha. 15:16:27 anyone ever heard of SAML (security assertion markup language)? 15:16:34 "SAML, which has been under development since January, will allow users to carry their authentication and entitlement credentials with them as they surf through partner sites. " 15:16:38 tdxdave: no 15:17:00 noone else has either. 15:17:12 brb 15:28:03 vinod has quit 15:35:48 roberto: where in brasil are you from? 15:57:38 arjun has joined #openacs 15:59:49 * rbm is back 16:00:15 sinaptico: Manaus, AM. It's north of the country, at the borders of the Amazon river 16:00:24 hey fozz. _cda is for work? 16:00:24 er 16:00:24 ? 16:00:34 my dad was in manaus recently (a month ago) 16:00:34 he liked it 16:01:12 I am from Argentina 16:02:36 well .. born in the US but grown in Venezuela and Argentina 16:02:36 and now in australia. wow 16:02:36 love traveling... 16:02:39 cool. 16:03:41 hmmm. So the groups admin page does not take you to the register page. that sucks 16:05:01 I found a neat bot on #rdfig that Aaron is using to blog the channel. When you enter a URL it puts it in an XML file. You can also say BLURB:some stuff and it will log that too. Tonight I will try to install it on my server and see how it works. 16:07:40 shagster has quit 16:08:17 zzzirk has quit 16:08:27 shagster has joined #openacs 16:08:42 zzzirk has joined #openacs 16:10:07 sinaptico has quit 16:12:37 dc_openacs has joined #openacs 16:12:43 cool 16:12:47 cool the bot has arrived. 16:12:54 http://www.openacs.org 16:12:54 A: http://www.openacs.org from tdxdave 16:12:56 is that the bod? 16:12:56 Davem is that yours? 16:13:00 yes 16:13:08 Heh. 16:13:12 Where does it blog to? 16:13:14 A: OpenACS home page 16:13:14 commented item A 16:13:21 I am not sure... 16:13:30 A? 16:13:32 let me check 16:13:37 can we get info back out of the bot? 16:13:38 committed the fix to groups to CVS 16:13:43 yes... 16:13:47 A:|OpenACS Homepage 16:13:47 titled item A 16:13:56 A: 16:13:56 http://www.openacs.org 16:13:57 OpenACS Homepage 16:13:58 (tdxdave) OpenACS home page 16:14:23 Its running in the foregroung. I'll have to switch it so it doesn't close when I exit ssh 16:14:27 dc_openacs has quit 16:14:41 dc_openacs has joined #openacs 16:15:07 Aaronsw: do you have a stylesheet handy? 16:15:23 its at http://www.thedesignexperience.org/xml 16:15:47 http://www.thedesignexperience.org/xml/index.xml 16:15:47 B: http://www.thedesignexperience.org/xml/index.xml from tdxdave 16:16:07 An XSLT stylesheet? 16:16:21 anyone have an .apm file for something like bboard or faq? 16:16:46 aaronsw: i suspest that would be best. Its outputting xml. 16:17:11 Doesn't it come with one? 16:17:26 probably, i'll have to look....:) 16:18:00 dc_openacs has quit 16:21:06 hmmmm he didn'y come back. 16:21:18 Grax has joined #openacs 16:21:27 Grax has left channel 16:21:40 dc_openacs has joined #openacs 16:22:23 http://www.thedesignexperience.org/xml/index.xml 16:22:23 C: http://www.thedesignexperience.org/xml/index.xml from tdxdave 16:22:39 C: #openacs is blogged here 16:22:39 commented item C 16:24:49 dc_openacs has quit 16:25:05 arjun: It's on CVS. Do you want me to dcc it to you or something? 16:25:20 dc_openacs has joined #openacs 16:26:32 weird. all of dc_openacs's output is appearing in my #wplug window 16:27:12 weird. It is not in any of my other windows. 16:27:38 aaronsw: is dc_openacs showing up in any of your other windows? 16:27:44 (we use the same client) 16:28:33 * tdxdave needs to get ns_xml to translate the file now. 16:34:00 sinaptico has joined #openacs 16:35:31 In KDE? 16:37:21 * tdxdave hates redhat... 16:37:27 Is the APM broken for anyone here? 16:38:28 * tdxdave hasn't tried it lately 16:38:47 We have an emergency. Everybody listen up 16:38:55 * markd2 listens up 16:39:18 Ben wants to demo the APM at his O'Reilly talk, 3 hours from now, but apparently the APM is broken (at least in Arjun's copy) 16:39:38 Uh oh. 16:39:42 I trashed my 4.x install last night, so I'll need to rebuild it and see. Unless anyone has a working install there. 16:39:44 do we know what system ben's going o be using? 16:40:14 arjun: do you know? 16:40:16 markd2: yes, it's a known snak bug -- he said he'll fix it soon 16:40:24 aaronsw: thanky 16:40:52 I'm guessing it'll be openacs.org 16:41:06 Does Ben have a cell phone? 16:41:26 I'd guess so 16:41:35 I am installing from CVS now... 16:41:36 I think he does. I've talked to him through that phone in the past 16:41:55 I will figure this irc client out! don't call ben now.. he's at the keynote 16:42:23 he's going to be using an install on one of our servers...checking the age 16:43:16 anybody besides tdxdave trying? 16:52:12 hmmm. 16:58:28 I'm not an admin on his install. there's no way to become another user w/o resetting the password, correct? 17:04:09 You mean on OpenACS or on the machine? 17:04:22 I'm rebuilding my install now with the latest CVS. 17:05:47 his openacs install 17:06:56 Doesn't OpenACS still have that "Become this user!" function? 17:07:24 rbm: I just read a thread about my postgresql problems on the bboard. Fixed ALL my problems... 17:07:35 argh!! 17:07:43 I can't get anything to work now! 17:08:01 how can I see which process is binding a port? 17:08:34 AaronSw: I'm not an admin any way, so I couldn't use that. the old openacs3 get the pw out of the db dosent work either 17:09:13 But couldn't you copy the become this user script into a non-privledged area, or take out the permissions checks? 17:09:17 tdxdave: sudo lsof | grep -i listen, then look through the output 17:09:36 you can look for "TCP host.name:http (LISTEN)" also 17:09:44 if you don't have sudo, then run lsof as r00t 17:10:06 you can then use the pid to map back to the program running 17:11:19 nsd won't die! 17:11:34 even kill -9ing it? 17:11:54 it keeps restarting! I don't know why. I turned it off via svc -d 17:11:59 I am just rebooting. 17:12:20 I have never had problems like this before. 17:13:02 dc_openacs has quit 17:13:09 I'll have to fool with dc later 17:13:48 of course, not I can't get into the machine... 17:14:12 that will teach me to play with the kenel when Ben is giving a speech 17:14:15 zzzirk: Please post that to the FAQ. Vinod is in charge of that 17:14:30 tdxdave: netstat -anp --protocol=inet 17:15:00 (as root will show all ports, process owners, and PIDs) 17:15:46 sorry, I seem to have killed the machine and I can't fix it from here. 17:16:02 rbm: even sexier. thanks! 17:16:13 ARGH! 17:16:17 [26/Jul/2001:11:15:59][10544.1024][-main-] Error: 17:16:17 invalid command name "xml_parse" 17:16:18 while executing 17:16:25 What the heck is happenning? 17:16:31 * rbm breathes deeply to calm down 17:16:36 ben was fooling with the xml procs a while back... 17:16:55 try a tarball? 17:17:48 * tdxdave needs to sneak a linux box into the office... 17:17:50 anyone seen this error before? 17:19:31 I'm going after Ben's posts, trying to find anything that changed 17:22:39 Hmmm. Ben's changes were in July 14th 17:23:10 OH! It looks like we need ns_xml 1.4 now 17:23:30 It should check.. and fix itself to work with 1.2 17:24:03 Aaah! All my servers are falling apart! 17:24:11 you too>? 17:24:17 tdxdave: http://acs-misc.sourceforge.net/nsxml.html for 1.4 17:24:18 the Demo Gods are not smiling on anybody today! 17:24:43 Somebody sacrifice a lizzard to the Demo Gods! 17:25:20 sinaptico has left channel 17:25:20 Mundie is creating a disturbance in the Force 17:26:19 * rbm grabs 1.4 17:26:26 (in a desperate attempt) 17:29:26 CRAP! Still same error 17:29:33 Anyone wants the 1.4 binary? 17:30:39 * rbm throws several c0ws in the channel, for good luck 17:31:22 xml_parse has to be a Tcl command Ben wrote. 17:32:19 should be in packages/tcl/tcl/30-xml-procs.tcl 17:33:11 andy_ has joined #openacs 17:33:27 andy_ has quit 17:33:28 [26/Jul/2001:11:29:10][10840.1024][-main-] Notice: modload: loading '/usr/local/lib/aolserver/bin/nsxml.so' 17:33:29 [26/Jul/2001:11:29:10][10840.1024][-main-] Notice: nsxml module starting 17:33:41 Whis is ns_xml giving me crap if it's loading right? 17:34:05 There is no 30-xml-procs.tcl. I Have 30-xml-procs-utils.tcl or something like that 17:34:10 its not an ns_xml error, its a tcl error. 17:34:12 Thats it 17:34:26 andy_ has joined #openacs 17:35:04 I know I updated and installed with that when Ben announced it... 17:35:06 That's it! Line 83! 17:35:21 rbm: is 30-xml-utils-procs.tcl / acs-tcl being loaded? 17:35:53 arjun: Looks like not. 17:36:04 check the log... 17:36:18 Hmmm. It isn't. But why? 17:36:29 Probably something in my config 17:37:00 lunch..bbl 17:40:27 Hmm. 17:41:33 Do you have to have any lines in your config pointing to acs-tcl?? 17:43:05 no 17:43:26 no. 17:43:46 Can you tell how far bootstrap-installer is getting? 17:45:55 That's what I'm trying to find out now 17:45:55 andy_ has quit 17:46:16 It loaded the DB api, and it loaded acs-kernel-procs 17:46:29 [26/Jul/2001:11:29:11][10840.1024][-main-] Notice: Sourcing /var/www/openacs-4/packages/acs-bootstrap-installer/bootstrap.tcl 17:46:47 [26/Jul/2001:11:29:11][10840.1024][-main-] Notice: QD_LOGGER = Loading /var/www/openacs-4/packages/acs-tcl/tcl/acs-kernel-procs.xql 17:47:01 But that's the only thing in acs-tcl that's loaded, according to the logs 17:47:13 weird. 17:52:52 Are you sure the files in acs-tcl/tcl appear in the log as they are loaded? 17:53:46 it doesn't look like they do. 17:54:12 what proc is xml_parse failing in? 17:54:35 xml_parse is not being loaded at all. 17:55:03 very strange. 17:55:31 Maybe the problem is with apm_bootstrap_load_libraries 17:55:33 Wish Vinod was here 17:56:10 Do you have a log from a sucessful install to compare the bootstrap process? 17:56:14 zzzirk has quit 17:57:33 we have to get him a persistent connection, then he would never leave. 17:57:41 anyone have luke pond's (from musea's) apms? _Any_ openacs4 apms? 17:57:55 andy_ has joined #openacs 17:59:00 I have .apm's, but they are for ACS Oracle 17:59:27 If I could get OpenACS to load, I could create an .apm 18:02:02 zzzirk has joined #openacs 18:03:26 arjun: Do you have how to test a .apm file I send you? I think I can make one even without OpenACS coming up 18:06:01 rbm_home has joined #openacs 18:06:14 arjun: to accept this file, do: /dcc get rbm 18:06:43 hmm, let's try that again 18:06:55 just accept the file 18:07:18 rbm: maybe email arjun@openforce.net, cc: ben@openforce.net 18:07:58 sending it through AIM 18:08:00 Did you get it? 18:09:02 I see 18:09:17 rbm_home has quit 18:10:40 andy_ has quit 18:11:11 zzzirk has quit 18:15:48 zzzirk has joined #openacs 18:16:11 zzzirk: What's up with these disconnects of yours? 18:22:02 andy_ has joined #openacs 18:26:17 i just want to check and make sure this command my dad gave me to quickly backup my database will work 18:26:37 pg_dumball > /home/andy/database 18:28:20 am i connected? 18:28:46 yes 18:28:52 that looks right 18:28:56 the first part should be: 18:29:02 pg_dumpall though 18:29:05 That will dump ALL your databases 18:29:45 abbaJ has quit 18:30:00 by dump do you mean they will no longer be there except hopefully in the file? 18:30:55 No, they'll remain in the database. 18:30:57 i'm thinking maybe a pg_dumb mydb > /home/andy/mydb would be better 18:31:05 would that work? 18:31:19 dum*p* with a P, not a B. 18:31:35 andy_: Yeah. Do a pg_dump --help for more info 18:31:39 or man pg_dump 18:31:41 That'll put a copy of mydb in a file 18:31:50 ok i'll try all that 18:31:51 thanks 18:34:58 til has joined #openacs 18:35:28 /usr/share/doc/asclassic has nothing about the config f ile 18:35:32 errr. 18:38:57 markd2 has quit 18:53:54 Which model again? 19:00:33 "error "No script or template found for page '$__adp_stub'"" 19:00:53 has anyone seen that? 19:03:24 looks like a abstract filename was requested and OpenACS can't find a tcl/adp/html file to go with it. 19:11:01 arjun: which package? 19:17:50 bboard. i'm talking with Luke now. hence the delays here. 19:21:37 ok 19:22:02 abbaJ has joined #openacs 19:26:37 vinod has joined #openacs 19:27:12 wb abbaK, vinod 19:27:46 howdy rbm! 19:29:59 vinod: did you read the backlog yet? 19:30:21 no, why? 19:30:25 * vinod is going to read backlog 19:31:02 it's quite interesting 19:31:49 tdxdave: i was just thinking of getting a dc bot working (after seeing it on aaronsw's rdfig) 19:32:29 I just need to get the XSL stuff working so it makes a nice HTML page. 19:33:59 perhaps you could ask the webmaster of http://rdfig.xmlhack.com/index.html for their XSLT 19:34:03 (knowing nothing about XSL myself) 19:34:40 rbm: oh, I see why you say it was interesting 19:34:46 is the APM working now? 19:35:30 its in there. I just need to write some tcl to process it. 19:35:55 ahhh - cool 19:37:15 vinod: I still can't bootstrap it 19:37:47 its a good thing Yon Derek addedd xsl to ns_xml. 19:38:44 i just loaded dave's clickthrough module via the APM and it worked, but my install is at least a week old 19:38:53 let me try a fresh install 19:45:33 how do I do a netstat -anp when my netstat complains it doesn 19:45:38 doesn't support -p? 19:45:50 And I don't have lsof installed. 19:46:08 oh wait, never mind 20:14:05 hmmm - i just installed from scratch and i was able to install the notes package without any 'xml' errors 20:14:25 vinod: really? 20:14:36 I must have something wrong then. 20:14:47 But I have no idea what it is 20:15:03 which part of the install does it choke at again? 20:15:41 xml_parse is never loaded (it's defined in acs-tcl) 20:18:09 did you both install from CVS? 20:18:46 [26/Jul/2001:14:17:55][13017.1024][-main-] Notice: Sourcing /var/www/openacs-4/packages/acs-bootstrap-installer/bootstrap.tcl 20:18:50 [26/Jul/2001:14:17:56][13017.1024][-main-] Notice: Database API: The following pools are available: subquery main log 20:18:55 yep (well i did a fresh from cvs except I didn't download acs-reference -takes too long on 56K) 20:19:21 Then it does a bunch of stuff with the DB, then shows this: 20:19:22 [26/Jul/2001:14:17:56][13017.1024][-main-] Notice: QD_LOGGER = Loading /var/www/openacs-4/packages/acs-tcl/tcl/acs-kernel-procs.xql 20:19:23 [26/Jul/2001:14:17:56][13017.1024][-main-] Notice: QD_LOGGER = new massaged file content: 20:19:41 Then shows xql stuff, next thing I get is this: 20:19:50 [26/Jul/2001:14:17:56][13017.1024][-main-] Error: Server startup failed: Error during bootstrapping 20:19:51 invalid command name "xml_parse" 20:20:00 It never sources the files in acs-tcl 20:20:24 rbm: my 30-xml-utils-procs gets loaded one line before the acs-kernel-procs line 20:20:54 [26/Jul/2001:15:37:00][20066.1024][-main-] Notice: dbinit: sql(localhost::openacs4): 'select count(*) from pg_class' 20:20:55 [26/Jul/2001:15:37:00][20066.1024][-main-] Notice: Loading packages/acs-tcl/tcl/00-database-procs-postgresql.tcl... 20:20:55 [26/Jul/2001:15:37:00][20066.1024][-main-] Notice: Loading packages/acs-tcl/tcl/00-database-procs.tcl... 20:20:55 [26/Jul/2001:15:37:01][20066.1024][-main-] Notice: Loading packages/acs-tcl/tcl/10-charset-compat-procs.tcl... 20:20:56 [26/Jul/2001:15:37:01][20066.1024][-main-] Notice: Loading packages/acs-tcl/tcl/30-xml-utils-procs.tcl... 20:20:58 [26/Jul/2001:15:37:01][20066.1024][-main-] Notice: Loading packages/acs-tcl/tcl/acs-kernel-procs.tcl... 20:21:00 Hmm. Why isn't mine being loaded? 20:22:40 and you have the 30-xml... file in packages/acs-tcl/tcl/, right? 20:23:14 yeah 20:27:57 in your aolserver config file, what is Library set to (in the ns/server/$server/tcl section) 20:28:38 ns_param Library /var/www/${server}/tcl 20:29:07 The bootstrap file is loaded 20:29:16 It's from there on that things don't get loaded anymore 20:31:33 I'll try to figure out later. What I know is that the files are not being sourced by apm_load_library 20:31:43 i think you're right 20:32:10 I put a "ns_log notice" call in apm_bootstrap_load_library and no lines got output 20:32:14 But also, no errors 20:32:18 I'm stumped 20:32:34 that's weird - the notice should have fired 20:32:50 very strange. later tonight I will reload again and see what happens. 20:34:03 It's probably something very stupid, that I'll hate myself for when I find out 20:35:01 it reaches apm_bootstrap_load_library... but not the loop 20:36:08 is $root_directory set properly? 20:36:31 Do you do a CVS export or you run it straight from a checked out copy of CVS? 20:36:42 straight from a checked out copy 20:36:45 This is the first time I'm trying it off of checked out copy of CVS 20:37:50 I exported it once, but I have been just checking it out and updating every once in a while. 20:38:25 Attempting to bootstrap_load_file /var/www/openacs-4, 20:38:38 THat's the output of a notice with $root_directory. So it's right 20:38:59 so $files must get set, why doesn't it go into the loop? 20:39:27 I goes into the loop 20:39:57 _But_ apparently none of the files are satisfying the conditions of that for loop 20:40:08 [26/Jul/2001:14:39:02][13553.1024][-main-] Notice: Attempting to bootstrap_load_file /var/www/openacs-4/packages/acs-tcl/CVS/Entries 20:40:08 [26/Jul/2001:14:39:02][13553.1024][-main-] Notice: Attempting to bootstrap_load_file /var/www/openacs-4/packages/acs-tcl/CVS/Repository 20:40:08 [26/Jul/2001:14:39:02][13553.1024][-main-] Notice: Attempting to bootstrap_load_file /var/www/openacs-4/packages/acs-tcl/CVS/Root 20:40:08 [26/Jul/2001:14:39:02][13553.1024][-main-] Notice: Attempting to bootstrap_load_file /var/www/openacs-4/packages/acs-tcl/acs-tcl.info 20:40:10 [26/Jul/2001:14:39:02][13553.1024][-main-] Notice: Attempting to bootstrap_load_file /var/www/openacs-4/packages/acs-tcl/tcl/00-database-procs-oracle.tcl 20:40:13 [26/Jul/2001:14:39:02][13553.1024][-main-] Notice: Attempting to bootstrap_load_file /var/www/openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl 20:40:16 [26/Jul/2001:14:39:02][13553.1024][-main-] Notice: Attempting to bootstrap_load_file /var/www/openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 20:40:56 * rbm hates unindented code 20:41:04 * vinod too 20:44:33 HMmmm 20:44:39 I modified the proc to become this: 20:44:58 } else { 20:44:58 ns_log notice "Doing NOTHING about $file. db_type = $db_type, file_db_type = $file_db_type, file_type = $file_type" 20:44:59 } 20:45:13 This is what I get in the logs: 20:45:29 [26/Jul/2001:14:44:02][13603.1024][-main-] Notice: Doing NOTHING about /var/www/openacs-4/packages/acs-tcl/tcl/00-database-procs-oracle.tcl. db_type = postgresql, file_db_type = oracle, file_type = content_page 20:45:29 [26/Jul/2001:14:44:02][13603.1024][-main-] Notice: Doing NOTHING about /var/www/openacs-4/packages/acs-tcl/tcl/00-database-procs-postgresql.tcl. db_type = postgresql, file_db_type = postgresql, file_type = content_page 20:45:30 [26/Jul/2001:14:44:02][13603.1024][-main-] Notice: Doing NOTHING about /var/www/openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl. db_type = postgresql, file_db_type = , file_type = content_page 20:47:38 that's weird - it's seems to be totally misreading the files 20:47:49 check out http://openacs.org/bboard/q-and-a-fetch-msg.tcl?msg_id=0001df&topic_id=12&topic=OpenACS%204%2e0%20Design 20:48:21 is that related? 20:50:11 WHA???????? 20:50:21 the guess_type returns 'content_page' because it sees a 'www' in your path 20:50:25 I'll be coca-cola if that's the problem 20:50:31 FYI: Ben in onstage in San Deigo. With the help of Luke Pond, we got the apm demo working! And thanks go out to Roberto and the irc crew too. I told Ben to thank you guys on stage 20:50:54 Yoohoo!!! 20:50:55 schweeeet! 20:50:57 Go Ben! 20:51:02 * vinod sends good karma to SD 20:51:11 * AaronSw sends all his luck 20:51:28 OK, maybe not all of it... ;-) 20:51:28 So I have to rename /var/www to /var/web ? 20:51:32 That's MEGA LAME 20:51:37 Wohoo! 20:51:44 San Diego, that is :) 20:52:45 vinod: add that to the FAQ (if its really the problem) 20:52:59 Actually that is probably a bug. 20:53:44 rbm: let me know if it is indeed the problem and i will mention it in the FAQ and add it to the SDM 20:53:54 got to run now though 20:54:22 vinod has left channel 20:54:31 me too 20:54:39 tdxdave has left channel 20:55:06 HOLY MOTHER OF ALL TCL 20:55:44 Linking /var/www to /var/web works 21:04:56 * rbm fixes the bug 21:29:34 til has quit 21:58:45 andy_ has quit 21:59:31 derfy has joined #openacs 22:06:46 Hello Derfy, do I know you? 22:07:13 Were you at the ACS devlopers meeting in Chicago? 22:15:49 arjun has quit 22:21:26 I signed up to attend that Chicago meeting, but then had a conflict. 22:22:03 I'm Fred Yankowski, . 22:22:13 Oh, OK. 22:31:46 Ok. I made a patch to fix that problem. 22:37:21 AaronSw has quit 22:40:13 AaronSw has joined #openacs 22:42:34 http://openacs.org/sdm/one-patch.tcl?patch_id=32 <-- my patch to correct bug in bootstrapper 22:46:46 So what's this article that people are wiping tears about? 22:46:49 oops 22:54:13 tdxdave has joined #OpenACS 22:54:20 * rbm heads to class 23:13:33 * rbm moos from class 23:13:56 moo? 23:14:06 Yeah. Undernet thing 23:17:47 Ok. something is _really_ screwed u p 23:18:50 invalid command name "ns_getform" 23:18:59 same install? 23:19:20 yeah 23:19:31 * tdxdave has to remember to install ethernet drivers when compiling kernel 23:24:17 I think I know where the problem is 23:35:15 Hmmm. nope. 23:39:02 did you get the data-model loaded? 23:45:19 yeah 23:45:35 But this has nothing to do with the datamodel. It's saying "ns_getform" is not defined 23:46:14 My other server (running OpenACS 3.2.5+) has that defined just fine. And it's the same AOLserver 23:46:32 weird 23:46:49 I'm being attacked by weird things today 23:53:15 derfy has quit