00:37:07 loggy has joined #openacs 00:37:07 topic is: Welcome to the OpenACS Helpline | http://www.openacs.org/ 00:37:07 Users on #openacs: loggy davb xemacs5 Psychephylax GEM chump rbm abbaJ AaronSw shagster 00:37:08 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 02:16:09 shagster has quit 02:16:12 shagster has joined #openacs 02:17:51 xemacs5 has quit 02:24:47 davb has quit 02:29:05 abbaJ has quit 02:29:05 rbm has quit 02:29:07 rbm has joined #openacs 02:30:27 abbaJ has joined #openacs 02:42:25 davb has joined #OpenACS 02:42:38 hey Psychephylax! 02:42:44 Timely link from webword.com 02:42:47 http://webword.com/weblog/00000423.html 02:42:47 H: http://webword.com/weblog/00000423.html from davb 02:42:56 H:|Webword on online resumes 02:42:56 titled item H 02:43:16 I am too lazy to figure out the correct characters for the accents, sorry. 02:43:41 H: Links to good and bad example resumes and also some advice 02:43:41 commented item H 02:48:51 davb has quit 04:35:52 [GlobalNotice] Hi all. Services will be coming back in just a moment. Please bear with us during the accompanying splits. 04:37:10 ChanServ has changed the topic to: Welcome to the OpenACS Helpline | http://www.openacs.org/ 04:37:10 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 08:17:55 Psychephylax has quit 08:42:42 jerryasher has joined #openacs 11:18:55 GEM has quit 12:32:34 djg has joined #openacs 12:44:26 markd2 has joined #openacs 12:48:41 AaronSw has quit 13:03:33 AaronSw has joined #openacs 13:11:46 davb has joined #openacs 13:15:54 GEM has joined #openacs 13:24:51 AaronSw has quit 13:31:30 http://www.macromedia.com/resources/techniques/ 13:31:31 A: http://www.macromedia.com/resources/techniques/ from davb 13:31:46 A:|Web Site Production Management Techniques 13:31:46 titled item A 13:32:01 A: From Macromedia and Kelly Goto 13:32:01 commented item A 13:32:26 heh 13:32:33 "Goto considered harmful" 13:55:40 AaronSw has joined #openacs 14:10:01 A: This site has some actually useful information 14:10:01 commented item A 14:13:35 A: includes handy items such as a downloaded [client survey|http://www.macromedia.com/resources/techniques/resources/define/client_survey.rtf] 14:13:35 commented item A 14:15:16 A: [technical survey|http://www.macromedia.com/resources/techniques/resources/define/tech_survey.rtf] 14:15:16 commented item A 14:15:32 A: [sample user profile|http://www.macromedia.com/resources/techniques/resources/define/sample_user_profile.rtf] 14:15:33 commented item A 14:34:52 Psychephylax has joined #openacs 14:35:03 Ahoy maties! 14:35:11 greetings 14:35:19 :) 14:35:22 * Psychephylax gives Mark a cookie 14:35:29 brb...have to go yell at my boss 14:38:44 moo 14:39:21 moo2 14:43:58 moo^3 14:44:11 So my boss didn't launch SSHd on the box 14:44:19 and he's not here yet 14:44:24 * Psychephylax twiddles thumbs 14:45:28 Psychephylax: read the chump from yesterday for resume tips 14:46:53 I saw the link 14:46:56 one of them at least 14:46:58 thanks :) 14:47:10 ok. 14:55:24 wasting time wasting time 14:55:28 cable free wasting time :P 14:57:49 AaronSw has quit 15:06:16 great 15:06:22 my boss will fix sshd when he gets in 15:06:25 whenever the hell THAT might be 15:06:49 by the time he does I'll probably forget what I needed to do 15:09:00 * rbm heads out 15:11:27 lucky you Psychephylax 15:12:34 how am I lucky? 15:12:43 If I forget, I'll have to spend another week trying to remember 15:12:51 * davb turns on the sarcasm indicator 15:12:57 * markd2 suggests a post-it note 15:13:17 * Psychephylax looks at his bare desk 15:15:19 email yourself. 15:18:25 lol 15:27:18 jerryasher has quit 15:29:05 i could have been sleeping! 15:30:22 markd2 has quit 15:49:27 * davb learns his something new for today 15:49:35 what's that? 15:50:21 Actually a couple of things. I learned HOW the tree query works in postgresql. Instead of just copying someone else's code and hoping it works I actually understand it now. 15:50:44 that's cool 15:50:54 I learned something too...but it was yesterday 15:51:02 Also % is the wildcard in SQL 15:51:05 DVD manufacturers are arseholes 15:51:17 DVD players or DVD discs? 15:51:26 DVD discs 15:51:43 Why? 15:52:02 what kind of a tv you got at home? 15:52:14 SONY 32 inch... 15:52:22 ok, is it wide screen? 15:52:28 nope. that's next. 15:52:33 ok well 15:52:39 The DVD people are trying to be funny 15:52:55 There are 2 different formats: wide screen / pan and scan aka full screen 15:53:01 for DVDs that is 15:53:20 oh yeah. 15:53:30 wide screen ones can technically be played in both but if you play it on a non-ws you get a band 15:53:40 at the top and bottom 15:53:42 Right, I have WS videos like that. 15:53:47 (VHS) 15:53:47 right 15:53:53 sooooooo..... 15:54:09 well, now the DVD disc guys are trying ot be funny releasing only WS DVDs 15:54:23 They could put both formats on one DVD 15:54:31 But that would be too easy of a solution 15:54:33 Oh, I like WS. 15:54:54 Well, in a perfect world me too 15:54:57 sorry. They should put them both on the disc though. 15:55:06 give me 3000$ for a WS tv and I'll call it even 15:55:27 Yeah. To watch it on a regular TV you need at least a 30" tv. 15:55:36 i have a 19" tv 15:55:49 If I get a 30" tv that's like half my room 15:55:50 lol 15:56:30 OK. I guess I am spoiled then. 15:57:25 well, hey 15:57:39 don't get me wrong, i'm sure if I had a WS tv I'd say the same thing, WS all the way 15:57:56 but it's pretty much the same concept as to develop web pages for IE6 15:58:09 kinda leaves out all the netscape, lynx, opera...users out 15:58:27 yeah. unless the movies 4 hours long they can stick both on the disc. 15:58:46 Actually I suspect they don't even need to do that. Probably just some instructions on how to display the video on the disc. 15:58:46 It gives more value to a dvd 15:59:20 i was considering going to spend many $ on dvds 15:59:29 but now, I see no point unless they come in both formats on one dvd 15:59:52 brb 16:02:30 back 16:06:07 and my boss is still not here 16:10:29 i'm getting paid to surf the net 16:10:30 lol 16:12:27 me too! 16:13:04 heh 16:13:12 I'm probably getting underpaid for it too 16:13:29 What's the average going rate for surfing? 16:15:04 I can't say, thats confidential :) 16:15:31 lol 16:15:44 I get about $15/hour 16:19:26 * davb wonders if Psychephylax is asking for a raise or laughing at him... 16:30:46 ola has joined #openacs 16:31:37 hey you, the rock steady crew 16:32:40 hi 16:41:19 dave, I played with but never got it anywhere near the way you want it. 16:41:47 I think it behaves strange. backwards or something... 16:42:02 WOW! Thanks. I went with just stuffing the data in a column in the query. It runs pretty fast with 5 or 6 keywords. 16:42:22 markd2 has joined #openacs 16:42:56 ARGH. Why does a query work in psql but not OpenACS?? Perhaps its lunchtime. 16:43:28 very likely 16:43:52 Its just this: select content_keyword__get_heading('3186'); 16:44:25 what are the different results you get? 16:44:32 is psql inside a transaction with local changes? 16:44:47 * davb is has no idea... 16:44:58 I get one row "Keyword 1" in psql. 16:45:26 In OpenACS it says query returned no rows. I copy and pasted the query from the server log to make sure it was the same. 16:45:36 usually when folks say they get different results in sqlpus and aolserver for the same query, it's because the sqlplus session is in a transaction and seeing newer/older values 16:46:17 Oh ok. 16:46:18 I see. 16:46:39 that's in oracle-land. I presume PG land it's similar 16:47:37 Probably. Well I just load the page and it fails. Then I open up psql. Noone else is using the databse so I don't know if thats a problem. I evem restarted the server a couple times in there and it still gives the same results. 16:48:28 I wonder if I can call a fucntion like that in a db_string. 16:49:03 i.e.e set keyword_heading [db_string get_keyword_heading "select content_keyword__get_heading('3186')"] 16:50:26 I think you will only get the value of the first column... 16:51:05 but I've been wrong before. 16:51:35 Thats ok. It only returns one value. 16:51:43 Or rather the query does. 16:51:54 ok. 16:53:36 what does "content_keyword__get_heading" look like? 16:56:40 create function content_keyword__get_heading (integer) 16:56:40 returns text as ' 16:56:40 declare 16:56:40 get_heading__keyword_id alias for $1; 16:56:40 v_heading text; 16:56:41 begin 16:56:43 select heading into v_heading from cr_keywords 16:56:45 where keyword_id = get_heading__keyword_id; 16:56:47 return v_heading; 16:56:49 end;' language 'plpgsql'; 17:06:13 ARRRGGGHHH!! 17:06:22 I have the exact same query in another page and it works fine. 17:08:28 time to diff the two pages :-) 17:08:58 bah 17:21:21 bah 17:21:26 of course it didn't safe 17:21:28 save rather 17:23:58 now i gotta remember where them logs are stored 17:24:02 Psychephylax has left #openacs 17:24:05 Psychephylax has joined #openacs 17:24:31 * Psychephylax reads wednesday's log 17:31:15 AHA! Never mind. I just can't read the logs correctly. 17:31:43 lol 17:31:49 hmmm 17:31:51 The QD should says if it can't find a query instead of Querying '' 17:32:12 Trying to figure out if I need a ; is not fun 17:32:40 You don't unless its in a db_exec_plsql block I think. 17:33:01 I did this: [db_string group_id "select group_id from groups where group_name = 'Manager';"] 17:33:07 nope. 17:33:12 don't need it. 17:33:15 the ';' is only in sqlplus 17:33:37 oh ok 17:33:51 but the " " are still needed 17:34:07 yeah 17:34:14 you need to pass db_string the query as a single string 17:34:25 without the E""s, you'd have 8 additional strings 17:34:39 right 17:34:57 = is counted is a string..hehe 17:35:25 it's non-space characters surrounded by whitespace, which to tcl si a string 17:35:33 yeah, what he said. 17:35:36 lol 17:35:42 I smell popcorn 17:35:50 tasty kind too 17:35:56 wow, short attention span.... 17:36:17 lol 17:40:16 anyone read this book? http://www.beedub.com/book/ 17:41:48 nope. It is one of the few Tcl books in existence though. 17:42:23 AaronSw has joined #openacs 17:42:32 Cool. My page works! 17:42:41 Now that all the queries actually exist. 17:43:15 cool. 17:44:37 woo hoo! 17:45:57 davb: any progress on the static-pages front? 17:46:02 :-) 17:46:16 Hey 17:46:23 anyone heard of the prototype package? 17:47:02 I think so. 17:47:19 A little. Dan changed around the CR a little, now I need to make it work. The tricky part for me is the regexp that extracts the filename and path. 17:47:39 can you use the tcl 'file' command to do that? 17:47:52 * Psychephylax scrolls 17:47:54 if {[ad_permission_p $package_id manager] or [ad_permission_p $package_id admin]} { 17:47:54 set group_id [db_string group_id "select group_id from groups where group_name = '$user_type'"] 17:47:54 17:47:55 [ad_user_group_user_add $user_id 'member' $group_id] 17:47:57 } 17:47:59 Maybe. The code is kinda messy for that. 17:48:16 I just have to dig in and break it until I learn how it works. 17:50:03 damn I wish I had this book now 17:50:34 Psychephylax is a regexp pro, I've heard. 17:50:48 hahahaha 17:50:49 yeah right 17:50:54 I've heard of them :P 17:50:58 what cha need done? 17:51:10 Psychephylax: why is [ad_user_group_user_add $user_id 'member' $group_id] in brackets? 17:51:27 ummmm 17:51:41 to make it look nice? 17:51:44 heh 17:52:18 I know it's not needed 17:52:27 ok. 17:52:29 but i don't think it breaks anything to add that 17:53:18 OK. WHY is there datasouce.rownum and datasouce:rowcount 17:53:24 Who thinks these things up??? 17:53:41 http://www.ananova.com/news/story/sm_410936.html?menu=news.latestheadlines 17:53:41 B: http://www.ananova.com/news/story/sm_410936.html?menu=news.latestheadlines from Psychephylax 17:53:43 heh 17:53:55 B:| Always blaming the jews! 17:53:55 titled item B 17:54:01 B: Silly fools! 17:54:01 commented item B 17:54:28 wow. that's pretty out there 17:55:37 or is valid 17:55:56 "or" rather 17:57:39 wow 17:57:42 bombed out on me 17:57:58 djg has quit 17:57:58 rbm has quit 18:04:25 * Psychephylax looks on scriptics.com for good syntax docs 18:05:05 http://www.aolserver.com/docs/tcl/tcl8.3/ 18:05:06 C: http://www.aolserver.com/docs/tcl/tcl8.3/ from davb 18:05:18 C:|Tcl 8.3 Manual at aolserver.com 18:05:18 titled item C 18:05:45 i'm looking for "Or" 18:05:45 C:[more AOLserver/Tcl docs|http://aolserver.com/docs/] 18:05:46 commented item C 18:06:07 if bah or bleh 18:06:10 that kind of an or 18:06:17 and there's no "or" keyword :( 18:06:54 || 18:07:01 && is and, || is r 18:07:02 or 18:07:08 Check out 18:07:17 http://www.arsdigita.com/books/tcl 18:07:18 D: http://www.arsdigita.com/books/tcl from davb 18:07:21 I did 18:08:09 what chapter is this in 18:08:19 because the keyword list doesn't have "special chars" thing 18:08:33 i don't see it anywhere! 18:09:04 My point exactly 18:09:15 trust me :-) || is or and && is and 18:09:29 I know. I was just wondering where it is mentioned in the docs 18:10:08 I'm wondering the same thing 18:12:19 check out expr 18:12:19 http://aolserver.com/docs/tcl/tcl8.3/TclCmd/expr.htm 18:12:20 E: http://aolserver.com/docs/tcl/tcl8.3/TclCmd/expr.htm from markd2 18:13:08 cool. 18:13:54 thanks 18:14:39 knew it had to be there *somewhere* :-) 18:14:51 oooh . expr support the ?: operator 18:16:15 aha 18:17:22 hrmmm 18:17:27 user deletion does not work right yet? 18:17:41 ora8.c:3930:ora_tcl_command: error in `OCIStmtExecute ()': ORA-00600: internal error code, arguments: [KGHFRE2], [28459208], [], [], [], [], [], [] 18:18:49 I broke something! 18:18:50 lol 18:19:03 ooh - racle internal errr! 18:19:17 time to call oracle support 18:19:22 did I do this? 18:19:33 you've somehow tripped over some oracle program 18:19:39 umm 18:19:45 all I did was ran my add user script 18:19:50 now I can't even go to the front page 18:19:56 whoa 18:20:03 do ya'll have a dba? 18:20:07 yeah 18:20:12 he just left to Hicksville though 18:20:19 bummer 18:20:52 yeah 18:20:53 big bummer 18:21:15 one thing to try is bouncing your web server - maybe something in the session is confused 18:21:39 I just did still get this: http://167.206.9.143:8080/ 18:22:08 what's it supposed to be? 18:22:20 odd 18:22:27 says SNMP Tools at the top 18:22:30 or a login page 18:22:35 it works now 18:24:19 excellent 18:27:04 ok 18:27:27 can someone explain to me why deletion of a user doesn't actually remove them from the database? 18:27:35 And I'm not talking about the one I wrote 18:27:40 The one that comes with OACS 18:28:43 Did you guys get this quote yet? 18:28:53 Philip Greenspun: "Janine and Mike Sisk at furfly.net just launched the New York Review of Books site. You can read Susan Sontag, powered by OpenACS. What better proof that ACS has entered the intellectual mainstream?" 18:28:55 - http://philip.greenspun.com/bboard/q-and-a-fetch-msg?msg_id=000tZf&topic_id=Ask%20Philip&topic= 18:29:24 nope 18:30:02 Because they probably are linked to a million objects in the database. 18:31:14 but what happens if a user registers 18:31:22 then deletes himself or gets removed 18:31:27 and then he wants to come back? 18:31:40 or is it just my database? 18:31:46 maybe I'm doing something wrong 18:32:34 Good questons. sorry I can't help... 18:32:49 Mark 18:32:51 you awake? 18:33:25 * Psychephylax opens up the oven with a batch of cookies so mark can get a good wave of cookie smell going his way 18:36:31 hi 18:36:37 got distracted 18:37:19 usually you'd just disable the user rather than actually deleting them 18:37:27 that way bboard postings and whatnot can still be attributed to them 18:38:14 aD's never done a good job of setting things up so that stuff is deletable 18:38:22 e.g. using On Delete Cascade in foreign key references, etc 18:39:03 ok 18:39:14 I posted in the bboard anyways :) 18:39:25 So how the heck am I supposed to get the user back then? 18:39:54 is there an undelete? Seems you should be able to reactivate the account. 18:40:18 yes 18:40:21 there's an undelete 18:40:32 but trust me 18:40:34 it doesn't work right 18:40:35 lol 18:40:45 ora8.c:3930:ora_tcl_command: error in `OCIStmtExecute ()': ORA-03113:....etc 18:41:11 Frankly, I'm kind of scared to use this in a production system 18:41:37 I'd be better off writing one from scratch at least then all the fingers can point at me 18:43:04 3113 means the oracle server process crashed 18:52:05 hmm 18:52:13 I now have a bigger problem 18:53:23 Since the system does not remove the user, i can't add people with same e-mail address 18:53:44 It makes sense 18:53:56 since the db has constraints that rely on the info 18:54:25 But the call center has a high turnover rate so people who come might wind up getting the same e-mail address as someone before them 18:54:40 hmmmm.... 18:54:40 johnb@cablevision.com etc 18:54:51 next guy who's name is john can get that same e-mail address 18:55:04 I guess when you disable them, mutate the email address 18:55:13 johnb-deleted-9-23-2001@cablevision.com 18:55:24 does that update the whole db? 18:55:43 oh, silly me 18:55:47 the email isn't the key used to cross-reference the tables 18:55:50 right 18:55:53 so there's just ne of them :-) 18:55:54 so it doesn't matter 18:56:01 lemme go run that by my boss 18:56:02 brb 19:03:26 he's not too imprssed 19:03:52 his question was..."What happens if the person comes back" wouldn't you want to give him the same uid? 19:04:27 He also reads my posts on the bboards 19:04:50 logical question "if he comes back and his email has been reassigned, then what?" 19:05:11 you can always rename the jonb-killed-9-23-2001 bck to jonb@cablevision.com 19:05:44 Yeah, but the other jon took his email so he's jonb2@cablevision.com now... 19:05:57 i say just issue them as separate uids 19:06:11 works for me 19:06:27 he didn't like it 19:06:32 I'm gonna do it anyway 19:06:44 because his suggestion of making a lookup table has the same exact problem 19:17:11 darn: 19:17:16 ? 19:17:45 I wonder if it just checks for an e-mail address 19:18:00 My copy of OpenACS where I am fooling around with Edit This Page is out of date. I imported it from a local repository and now I need to rememeber how I did it. 19:21:33 hrmmm 19:21:43 integer is not a valid oracle datatype is it..should be number 19:21:46 stupid m,e 19:21:53 integer is valid 19:22:03 what's the diff between number and integer then? 19:22:13 number can be a float? 19:23:54 * Psychephylax reads his Oracle book 19:24:27 integer is shorthand for a nubmer without decimal digits 19:24:37 if you describe table, it'll be number(X,Y) 19:24:53 hmm 19:25:17 i'm looking for one that can measure ping times 19:25:22 like 10.4ms 19:26:13 number then (I think) 19:26:25 all my stuff tends to be integral 19:27:59 aha 19:28:05 everything is a number :) 19:28:51 although you know, integer implies that it's only a number without the decimal point and numbers after it 19:29:05 I could have just said a "whole number" lol 19:29:08 stupid I 19:31:02 can oracle tell the difference between things claimed to be a number and ones that are an integer? 19:31:23 or does it do some internal replacements where integers are automatically changed to numbers? 19:32:37 everyting internally is a number 19:32:41 but it's a scale + precision 19:32:49 so it ca ntell if you try t insert 3.14 into an integer field 19:33:00 I dunn what it'd do thought (try it out! it'll be fun!) 19:33:09 whetther it truncates, rounds, or errors out 19:34:10 k 19:40:26 openacs4 is double single quoting bind vars in db_exec_plsql 19:43:31 awww crap 19:43:36 it's gotta be in order 19:43:38 bah! 19:44:20 wait thats right, plpgsql needs double single quotes... 19:52:35 AHA! 19:52:59 wow 19:53:03 Postgres won't let me delete a keyword if it will create orphans. So do I have to delete them in the right order? 19:53:35 rbm has joined #openacs 19:53:45 djg has joined #openacs 19:57:42 Hey! CMS hand;es this issue by NOT allowing you to delete keywords. 19:57:52 Me too. 20:16:37 Psychephylax has quit 20:16:37 rbm has quit 20:21:34 Psychephylax has joined #openacs 20:21:34 rbm has joined #openacs 20:21:55 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 20:23:56 f*ck 20:24:04 this is reaaaaally angering me 20:24:46 I don't have enough e-mail addresses to keep adding new ones every time there's a bug 20:24:58 you can make up some 20:25:02 oop@ack.blarg 20:25:17 heh 20:25:18 true 20:25:40 but I once got an e-mail from some guy in UK testing out his online ordering system because he was entering nobody@neverhere.com 20:25:44 or some crap like that 20:25:57 right. there's no Top level domain for 'blarg' though 20:26:01 at least for the forseeable future :-) 20:26:10 ok 20:26:14 i'll use blarg 20:27:19 hmmm 20:27:24 user does not get added to the system 20:27:42 ack 20:27:52 user DOES get added to the system, but he does not join the group 20:28:31 Maybe he's a loner 20:29:24 ok, I see the problem (me thinks) 20:29:37 set group_id [db_string group_id "select group_id from groups where group_name = $user_type"] 20:29:59 that is not a valid SQL query it bombs out on $user_type because it can't find Manager in the system 20:30:08 because it has to be 'Manager' 20:30:26 and if I add '' around $user_type it doesn't expand propery 20:30:38 is user_type a string? 20:30:41 yes 20:30:43 you need to have it in single quotes 20:30:47 otherwise it'l lbe a syntax error 20:30:54 I did have it in single quotes but I'll try again 20:31:06 it's not in singlequotes in the code pasted above 20:31:16 I tried before I removed them :) 20:33:04 djg has quit 20:33:17 Selection did not return a value, and no default was provided 20:33:18 while executing 20:33:18 "db_string group_id "select group_id from groups where group_name = '$user_type'"" 20:33:18 invoked from within 20:33:37 but I know my query is valid 20:33:48 Selection did not return a value, and no default was provided 20:33:52 that means that it returned no rows 20:34:05 right 20:34:06 so either have the query return something, or add a default value 20:34:10 because it can't find $user_type 20:34:28 SQL> select group_id from groups where group_name = 'Manager'; 20:34:29 GROUP_ID 20:34:29 ---------- 20:34:29 2180 20:34:29 SQL> 20:34:43 single quotes don't suppress variable expansion 20:34:59 Well..... 20:35:01 they do now :P 20:35:02 ? 20:35:24 i'll hardcode Manager in there to prove it 20:36:40 Psychephylax: use a bind variable. 20:36:43 lol 20:36:48 :user_type 20:36:52 I don't think that was my problem 20:36:55 invalid command name "ad_user_group_user_add" 20:36:55 while executing 20:36:55 "ad_user_group_user_add $user_id 'member' $group_id" 20:37:40 so ad_user_group_user_add is not even a valid thing 20:37:46 yeah, I've verified that tcl does *not* suppress variable expansion inside of single quotes 20:37:49 so you're doing something else wrong 20:37:56 paste in the code that's around and includes your db_string 20:38:09 if {[ad_permission_p $package_id manager] || [ad_permission_p $package_id admin]} { 20:38:09 set group_id [db_string group_id "select group_id from groups where group_name = 'Manager'"] 20:38:09 20:38:12 [ad_user_group_user_add $user_id 'member' $group_id] 20:38:14 } 20:38:56 gotta go 20:38:59 davb has quit 20:39:11 and you're sure user_type is Manager? 20:39:30 Just For Fun, in that if clase, do an ns_log notice "PSYCHE: user_type is $user_type" 20:39:40 and verify that it's Manager without single quotes, or some other incorrect value 20:41:18 i hard coded the Manager bit in 20:41:23 It's still crapping out 20:41:34 invalid command name "ad_user_group_user_add" 20:41:50 I have a feeling that API call is not there anymore or it never was 20:43:11 that call does not exist in my api browser 20:43:39 look here: http://www.arsdigita.com/api-doc/proc-view?proc=ad%5fuser%5fgroup%5fuser%5fadd&source_p=1 20:43:58 Defined in packages/acs-core/user-groups-procs.tcl 20:44:28 not defined in my 4.2 20:44:48 well, it's defined somewhere cuz I see it under some API 20:44:57 in fact, I don't have an acs-core package! 20:45:10 me neither 20:45:14 So............ 20:45:19 Who fscked up this one? 20:45:30 Cuz i don't think it's entirely my fault 20:48:20 doesn't look like it's in the tcl 4.2 default 20:48:28 you can slurp down an older one and check t see if it's there 20:48:40 lord knows what version of acs is running on ad.com 20:48:49 it's an unholy union of 3.x and 4.x 20:49:13 I'm losing faith in this ACS/OpenACS business :P 20:49:47 there's always php and mysql 20:49:57 I'd do it in pure java 20:50:23 there's always acs/java :-) 20:50:42 I think that acs-core thing is a 3.x backwards compatibility thing 20:50:55 look at http://www.arsdigita.com/api-doc/ - everything iwth 'core' in it is under 'disabled' 20:51:01 or uninstalled 20:52:10 hmmm 20:52:22 Now I need to figure out what I can use to add user to a group 20:58:08 ok i see nothing 20:58:11 *sigh* 21:00:28 check the admin pages and see what it does 21:02:09 hang on 21:04:00 reading this: http://openacs.org/bboard/q-and-a-fetch-msg.tcl?msg_id=0002r2&topic_id=12&topic=OpenACS%204%2e0%20Design 21:06:17 cool 21:06:27 Piskorski's bright. I've worked with him before 21:06:50 elaborate on "worked with him" 21:08:08 we worked on a project at aD 21:08:13 oh 21:08:36 he sure knows his oracle stuff 21:08:47 I'm still trying to get past the 9th line 21:08:47 lol 21:09:57 what is this 'salt' thing i keep seeing in OACS/AD 21:12:02 probably for password encryption 21:13:11 how about this one 21:13:19 how are these _id things determined 21:13:24 because I see no pattern 21:13:45 party_id goes from 2242 to 3003 to 3008 to 3011 to 3013 21:14:46 ola has quit 21:15:05 parties are (probably) acs_objects, so they share the same pool f ID numbers (and the same oracle sequence) with all other acs_objects 21:15:18 so between 3008 and 3011, two other acs_objects were created 21:15:42 oh 21:17:57 see, I can't find stuff he's talking about 21:18:09 (Now, why this calls acs_group.delete instead of p_account.delete, I don't know. Probably that's 21:18:09 a bug.) 21:18:20 I don't see acs_group or p_account anywhere 21:19:45 look down another dozen lines 21:19:49 or use the search feature of your browser 21:20:06 p_account's there about 15 times 21:20:22 yeah I see that 21:20:26 I'm talking about the API 21:22:30 anyways, I think the reason they use acs_Group.delete is because it exists in the db yet p_account doesn't 21:23:06 chump has quit 21:23:06 shagster has quit 21:23:15 shagster has joined #openacs 21:26:37 his code makes sense but some parts are not clear because I don't understand what he's trying to do 21:32:35 ok 21:32:53 Oracle book has nada on bulk collect 21:33:40 bulk collect? 21:33:40 Mark, is that dude a genius? 21:33:58 he's pretty bright 21:34:02 look: http://safari2.oreilly.com/main.asp?bookname=ornewfeatures&snode=42 21:34:15 He's using that and it's not in the "Oracle The Complete Reference" 21:34:28 heh 21:35:16 loggy has joined #openacs 21:35:16 Users on #openacs: loggy shagster @AaronSw markd2 GEM abbaJ rbm Psychephylax 21:35:17 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 21:35:21 i have no clue how I'm gonna do this 21:35:35 asktom.oracle.com has some bulk collect articles 21:37:41 collect doesn't even look like a reseved PL/SQL word 21:37:45 oh nm 21:37:47 there it is 21:40:54 yikes 21:41:00 I'm not that Oracle educated 21:43:12 Oracle's Big 21:43:40 yeah 21:45:06 oh i c 21:45:13 he makes a pe_accounts table himself 21:48:02 Psychephylax has quit 21:48:02 rbm has quit 21:48:02 GEM has quit 21:48:02 markd2 has quit 21:48:02 AaronSw has quit 21:48:02 abbaJ has quit 21:48:02 shagster has quit 21:48:19 AaronSw has joined #openacs 21:48:19 Psychephylax has joined #openacs 21:48:19 rbm has joined #openacs 21:48:19 markd2 has joined #openacs 21:48:19 GEM has joined #openacs 21:48:19 abbaJ has joined #openacs 21:48:19 shagster has joined #openacs 21:48:20 This channel is logged: http://www.blogspace.com/openacs/chatlogs/ and blogged: http://www.thedesignexperience.org/openacs/ircblog 21:54:52 I'm getting a headache thinking about this 21:55:28 what do you expect, doing New Complicated stuff on friday afternoon? 21:55:39 afternoon? 21:55:44 Dude, it's 6pm 21:55:45 :) 21:57:16 i don't like that my boss reads my OACS bb posts 21:59:56 time for that assumed name 22:02:06 "who is this Flargle Anklebytor that writes just like you do?" 22:03:54 hmmm? 22:12:48 hmmmmmmmmmmmm 22:12:55 I wonder.... 22:13:08 What happens if I just set first and last names to blank 22:13:13 but leave the e-mail intact 22:13:35 Then when they have a user with the same account and it says that they already exist I show them the undelete screen 22:13:44 And force them to update the last first/last names 22:21:36 chump has joined #openacs 22:23:19 I'm gonna get fired 22:23:34 heh 22:23:42 i just have that feeling 22:24:35 That's ok 22:24:44 I can make a good living donating blood :) 22:27:06 i'm off to go home 22:28:02 ok 22:28:07 Actually, I'm off to buy a book 22:29:16 see ya Mark 22:35:05 l8r 22:35:10 donating a blood book 22:42:51 gilbertw has joined #openacs 23:19:20 davb has joined #OpenACS 23:21:10 no 23:21:16 just a plain old TCL/TK book 23:35:01 gilbertw has quit 23:50:48 bartt has joined #openacs 23:53:27 markd2 has quit