2009-06-11T00:10:44 *** Alpha-GJohn has joined #openils-evergreen 2009-06-11T00:11:27 *** Alpha-GJohn has joined #openils-evergreen 2009-06-11T00:25:54 *** agJohn has quit IRC 2009-06-11T00:46:32 *** FryDay has joined #openils-evergreen 2009-06-11T00:47:16 Any reason why I cannot "register your “router” and “opensrf” ejabber users for the OpenSRF router service on each domain."? 2009-06-11T00:47:47 Can't register user "router@private.localhost" at node ejabberd@TheMatrixUbuntu: not_allowed 2009-06-11T00:50:16 anyone? 2009-06-11T01:34:02 *** dbs has quit IRC 2009-06-11T01:41:10 *** FryDay has quit IRC 2009-06-11T04:41:37 *** BenO has joined #openils-evergreen 2009-06-11T05:11:32 *** gmcharlt has quit IRC 2009-06-11T05:34:25 *** natschil has joined #openils-evergreen 2009-06-11T07:41:15 *** sylvar_laptop has joined #openils-evergreen 2009-06-11T08:10:38 *** kgs has joined #openils-evergreen 2009-06-11T08:51:25 *** rsinger has joined #OpenILS-Evergreen 2009-06-11T09:03:14 *** wlayton has joined #openils-evergreen 2009-06-11T09:06:24 *** scubes13 has joined #openils-evergreen 2009-06-11T09:19:15 *** dbs has joined #openils-evergreen 2009-06-11T09:20:27 My stupid trick of the day: staff somehow recorded 4 payments for each bill on one person's account, so at a very early hour of the day it somehow seemed like a good idea to just delete all of the money.billable_xact for that user. 2009-06-11T09:21:02 I'm glad we've only been live for a month. 2009-06-11T09:31:09 *** dchristens has joined #OpenILS-Evergreen 2009-06-11T09:46:43 *** scubes13 has quit IRC 2009-06-11T09:50:03 berick: those look like useful osrf_ctl.sh enhancements. nice. 2009-06-11T09:51:14 *** agJohn has joined #openils-evergreen 2009-06-11T09:51:33 dbs: hopefully. they're stop-gaps, but maybe they'll provide some help. /me thanks Scott M. for that suggestion 2009-06-11T09:54:59 * dbs looks sideways at the stat cat editor refusing to turn opac visibility off 2009-06-11T09:55:38 yelling sometimes helps 2009-06-11T09:57:40 I wouldn't mind so much if the stat cat wasn't "Patron Disposition": ["Ornery","Angry"] 2009-06-11T09:57:40 learned something useful/annoying yesterday/today: dojo + iceweasel = lots of potential tears 2009-06-11T09:57:54 jeff: oh no. browser sniffing? 2009-06-11T09:58:02 because all of the "ifFF" bits in dojo get skipped when running iceweasel. 2009-06-11T09:58:16 ahh. browser sniffing. 2009-06-11T09:58:45 luckily, only 0.01% of people use iceweasel right? :) 2009-06-11T09:58:45 yup. debian won't put "FireFox" in the UA string, and dojo only looks for Firefox at this time. 2009-06-11T09:59:10 our dedicated catalog terminals use iceweasel. :P 2009-06-11T09:59:14 but yeah. 2009-06-11T09:59:23 ooh. yeah, that could be a problem :) 2009-06-11T09:59:37 set their UA manually? You control the horizontal 2009-06-11T09:59:41 better a known issue than a "what the... that wasn't doing that before!" 2009-06-11T09:59:41 live free or die. at a price. 2009-06-11T10:00:19 dbs: indeed. good solution while dojo works on the problem. 2009-06-11T10:00:34 (or, while advocating that someone works on the problem, or while working on the problem... ) 2009-06-11T10:01:15 berick: live free... if somewhat awkwardly. 2009-06-11T10:02:01 oh, and isFF, not ifFF. 2009-06-11T10:02:14 jeff: it must be a one-line patch to dojo: - if UA.match(/FireFox/) + if UA.match(/(Firefox|IceWeasel)/ # he says, knowing nothing 2009-06-11T10:03:29 * dbs sees http://www.thecounter.com/stats/2009/March/browser.php and weeps at IE6 still showing 33% share in march 2009 2009-06-11T10:03:38 yeah, on the debian side it was characterized as a "stubborn refusal" (to [not] use 'firefox') and on the dojo side it was characterized as an "unfortunate choice" (to sniff 'firefox') 2009-06-11T10:04:40 btw - has anyone else worked with IE7 and Evergreen for an hour or so, and noticed an incredible slowing down as time goes on? 2009-06-11T10:05:41 Yeah, Debian is not going to bend, but I would be surprised if dojo refused to broaden their sniff. But again, I know nothing. 2009-06-11T10:05:48 * dbs looks for apple streudel 2009-06-11T10:05:55 yeah, one-line patch should do it, and i would hope that they wouldn't object, since they're also checking for "Minefield" and "Shiretoko" 2009-06-11T10:06:04 ha 2009-06-11T10:06:11 d.isFF = parseFloat(dua.split("Firefox/")[1] || dua.split("Minefield/")[1] || dua.split("Shiretoko/")[1]) || undefined; 2009-06-11T10:06:22 //We really need to get away from this. Consider a sane isGecko approach for the future. 2009-06-11T10:08:37 dbs: that was happening in the past (previous opac?). i did a big cleanup once to remove all of the anonymous function callback which give IE a memory-leak fit. 2009-06-11T10:08:48 i'm sure many have snuck their way back in 2009-06-11T10:09:25 in particular, anonymous functions with DOM node references stick around in IE indefinitely 2009-06-11T10:09:33 berick: ooh. yeah, particularly with my fingers in the pie, and dojo-ization. hmm. 2009-06-11T10:09:41 dbs: I'm putting together a small patch (against trunk) and I'd like to modify a string in cat.properties. 2009-06-11T10:10:07 Where is the en-US version of cat.properties which is used as the basis for translation? 2009-06-11T10:10:08 wlayton: okay 2009-06-11T10:10:36 I'm looking in Open-ILS/xul/staff_client/chrome/locale/en-US but no luck 2009-06-11T10:10:47 try server, not chrome 2009-06-11T10:11:33 jeff: I use iceweasel and do dojo dev...haven't had a problem over here, what were you seeing? 2009-06-11T10:11:40 dbs: gah - thanks 2009-06-11T10:11:53 * lmcfarland is a little late to the party, as per usual 2009-06-11T10:11:53 berick: and there's that google crap, who knows what's going on with that. hmm. 2009-06-11T10:12:03 jeff is probably using dojo 1.2? 2009-06-11T10:12:13 I was using 1.2.3 2009-06-11T10:12:31 unless berick knows some magic that he isn't telling anyone 2009-06-11T10:12:43 lmcfarland: hmm, you should be using 1.3.1 shouldn't you? 2009-06-11T10:12:49 i am NOW 2009-06-11T10:13:06 but back in Dec when I first started, we were on 1.2.3 2009-06-11T10:13:13 we just recently got 1.3.1 2009-06-11T10:13:25 dbs: i think there's been a lot of "using javascript the normal way which IE can't tolerate" going on all around. crazy us 2009-06-11T10:13:44 lmcfarland: no magic 2009-06-11T10:14:06 berick: so, I'm at the last step in this install and I tried to run the autogen as opensrf to generate the web files, and I get a permissions error: 2009-06-11T10:14:19 cp: cannot create regular file `/openils/var/web/js/dojo/fieldmapper/fmall.js': Permission denied 2009-06-11T10:14:22 any ideas? 2009-06-11T10:14:33 lmcfarland: sudo chown -R opensrf:opensrf /openils 2009-06-11T10:14:38 ahhh 2009-06-11T10:14:44 yes, -R is what I was missing there 2009-06-11T10:14:46 thx 2009-06-11T10:15:16 that gave me 'operation not permitted' 2009-06-11T10:15:42 lmcfarland: sudo as a regular user, not as the opensrf user 2009-06-11T10:17:03 sweet! thank you! 2009-06-11T10:20:32 maybe jeff is using the uber-pure debian iceweasel. or maybe it's a version thing, iceweasel from debian etch vs. debian lenny. 2009-06-11T10:20:52 (there is no uber-pure iceweasel that I'm aware of, that's just a bad joke) 2009-06-11T10:24:02 i've got etch n half over here running iceweasel and haven't had any issues...well there was that one time that I tried to put a bleeding edge versio of FF on there...and didn't have a browser for a couple of hours... 2009-06-11T10:24:23 lmcfarland: oh, we KNOW you have issues. just not browser-related ones 2009-06-11T10:24:46 * dbs goes to poke at Excel 2007 spreadsheets for a bit. gack. 2009-06-11T10:25:12 lmcfarland: using dojo 1.3.1, had an instance of "unexpected scrolling" when clicking on a dijit, very similar to this bug: http://trac.dojotoolkit.org/ticket/5469 2009-06-11T10:25:33 berick: error when generating web files: cp: cannot stat `/openils/var/web/opac/common/js//en-US/OrgTree.js': No such file or directory 2009-06-11T10:26:07 jeff: iceweasel's stubborn refusal to mimic the firefox user agent, combined with our unfortunate choice to sniff user agent for "firefox" results in a number of bugs. I don't know if that's one of them. 2009-06-11T10:26:43 berick: why do I have /common/js//en-US... what's up with the dual /? 2009-06-11T10:26:56 it's harmless 2009-06-11T10:27:18 lmcfarland: basically, anywhere in dojo where something does a check like this, it'll apparently fail unless you've tweaked things: dojo.isFF >= 3 2009-06-11T10:28:03 lmcfarland: but as dbs theorized and i think i've confirmed by reading -- but not yet testing -- it's a one-line patch to dojo/_base/_loader/hostenv_browser.js 2009-06-11T10:29:23 I keep finding lots of 'tweaks' that dojo needs ;) But that is interesting and I want to see if I could re-create it... 2009-06-11T10:30:06 dbs: don't think I didn't see that ;) I never denied not being a little 'wonky' on occasion ;) 2009-06-11T10:33:12 *** EGUEST224 has joined #openils-evergreen 2009-06-11T10:36:36 lmcfarland: hmm, does the script bomb out at that point (the "cp: cannot stat" error)? 2009-06-11T10:36:53 dbs: seems that way 2009-06-11T10:37:03 i can't log in using the srfsh 2009-06-11T10:37:06 lmcfarland: iow, do you have a file at /openils/var/web/opac/common/js//en-US/OrgTree.js 2009-06-11T10:37:08 well I can 2009-06-11T10:37:22 but it times out 2009-06-11T10:37:38 * lmcfarland is working on 4 things at once (I should stop that for a minute) 2009-06-11T10:38:34 yeah, I don't have a file there 2009-06-11T10:39:39 org_tree_js.pl didn't do something that it should have, then. Hmm. 2009-06-11T10:40:17 opensrf was up and running when you ran autogen.hs? 2009-06-11T10:40:44 and most importantly, cstore? 2009-06-11T10:40:52 I can't be certain 2009-06-11T10:42:04 heh :) 2009-06-11T10:42:39 there is a reason I'm not a systems dude ;) 2009-06-11T10:43:27 I've been following the wiki word for word, I can be certain of that :) 2009-06-11T10:43:47 yes, it was all started, and everything went fine 2009-06-11T10:44:02 (i must stop multi-tasking before sufficient coffee) 2009-06-11T10:44:19 does 'find /openils -name OrgTree.js' show any hits? 2009-06-11T10:44:52 it's in dojo 2009-06-11T10:45:00 /openils/var/web/js/dojo/fieldmapper/OrgTree.js 2009-06-11T10:48:34 hmm, congrats, that makes no sense to me at all :) 2009-06-11T10:48:41 wheeee! 2009-06-11T10:49:09 berick: ^--- any ideas? hints? tips? tricks? jokes? :) 2009-06-11T10:49:21 the only way it should be able to get to dojo/fieldmapper is if it existed somewhere else (like common/js/en-US/) and got copied there 2009-06-11T10:49:37 but it sounds like dojo is the only place it exists? 2009-06-11T10:49:51 well, the dojo is copied from my OTHER VM, 'cause it's the built version that I did last week 2009-06-11T10:49:57 ahhh 2009-06-11T10:50:01 dojo was the only place it was found 2009-06-11T10:50:37 lmcfarland: if you can't log into srfsh, autogen will never work. but, autogen should have given you a big error if it died 2009-06-11T10:50:45 more than just 'cannot stat' 2009-06-11T10:50:54 oh, no...I can login to srfsh 2009-06-11T10:51:01 i get timed out logging into evergreen 2009-06-11T10:51:06 sorry, that wasn't very clear 2009-06-11T10:51:25 oh. can you: request open-ils.cstore open-ils.cstore.direct.actor.user.retrieve 1 2009-06-11T10:52:23 ahhhh cstore isn't running: Unable to communicate with service open-ils.cstore 2009-06-11T10:52:36 ok, THAT i think I know how to fix (surprise surprise!)...maybe 2009-06-11T10:53:56 hey! ^--- "and most importantly, cstore?" 2009-06-11T10:54:24 dbs++ 2009-06-11T10:54:44 I ran osrf_ctl.sh -l -a start_all and it went off without a hitch 2009-06-11T10:54:50 so cstore SHOULD have started... 2009-06-11T10:54:54 trying again... 2009-06-11T10:55:13 you could just restart_c 2009-06-11T10:56:12 huh 2009-06-11T10:56:18 ps ax is showing everything but cstore 2009-06-11T10:56:20 wth? 2009-06-11T10:56:43 correct user / password / host info for cstore in opensrf.xml? 2009-06-11T10:57:03 grep ERR osrfsys.log 2009-06-11T10:57:04 checking 2009-06-11T10:58:41 * dbs glares at line 210 in ModsParser.pm, which appears to be throwing colons after all of his non-filing leading articles in titles 2009-06-11T11:00:24 viz http://laurentian.concat.ca/opac/en-CA/skin/lul/xml/rdetail.xml?r=1295809 vs. http://www.concat.ca//opac/extras/supercat/retrieve/marcxml/record/1295809 vs. http://www.concat.ca//opac/extras/supercat/retrieve/mods33/record/1295809 2009-06-11T11:01:36 Ah! because of the even eeeviler line 203 in ModsParser.pm 2009-06-11T11:01:47 dbs: in what step did I set the password for the cstore stuff? 2009-06-11T11:01:48 * dbs wags a finger at miker_ 2009-06-11T11:02:18 lmcfarland: when you created a postgres database 2009-06-11T11:02:19 lmcfarland: step 4 2009-06-11T11:02:40 oh.. s/create/set ignore me 2009-06-11T11:02:42 perl Open-ILS/src/support-scripts/eg_db_config.pl --blah # is supposed to set all of that stuff for you 2009-06-11T11:03:03 yeah, the password is evergreen 2009-06-11T11:03:08 BAH!!!! 2009-06-11T11:03:16 I'm gonna start smoking again....in my office 2009-06-11T11:03:26 however, the new optional reporter store doesn't get set, and I've been meaning to fix that 2009-06-11T11:03:54 lmcfarland++ # for fighting the good fight 2009-06-11T11:04:51 everything was going relatively smoothly.... 2009-06-11T11:06:28 lmcfarland: a slight variation on what berick said; echo "" > /openils/var/log/osrfsys.log; osrf_ctl.sh -l -a restart_c; grep ERR /openils/var/log/osrfsys.log 2009-06-11T11:07:11 *** phase_bb has quit IRC 2009-06-11T11:07:33 error connecting to DB 2009-06-11T11:09:03 [2009-06-11 15:11:01] open-ils.storage [ERR :17391:Pg.pm:90:] Error connecting to database: 2009-06-11T11:09:36 lmcfarland: there's probably a useful line after that in the logs... 2009-06-11T11:09:47 heading there now 2009-06-11T11:11:07 it's the password auth. 2009-06-11T11:11:12 ok...this I can work on 2009-06-11T11:11:35 thanks for the helps dbs and berick !! I'll probably be back in a few minutes with something else 2009-06-11T11:13:29 berick: actually I'm gonna lisppaste something that I'd like you to look at...not sure if this is a bigger issue than I think or not 2009-06-11T11:13:31 lmcfarland pasted "error" at http://paste.lisp.org/display/81700 2009-06-11T11:14:06 miker_: btw, for now I've added "der" to the eeevil line in 203 of ModsParser.pm locally but there has to be a better way, based on class = title & element name = nonSort 2009-06-11T11:14:07 yeah, that's unexpected 2009-06-11T11:14:44 lmcfarland: looks like something got jacked up in the install 2009-06-11T11:15:01 in particular, the eg_db_config.pl part 2009-06-11T11:15:02 yeah. opensrf.xml doesn't actually have "HASH" anywhere in it, does it? 2009-06-11T11:16:07 dbs: yeah, the better way is BibTemplate :) 2009-06-11T11:16:54 miker_: heh, I'd like to actually reduce the number of JS calls per page 2009-06-11T11:17:34 as that would mean bibtemplating each search result hit on [mr]result.xml as well 2009-06-11T11:17:39 dbs: agreed ... lets MVR usage with BibTemplate for parity, at least 2009-06-11T11:17:45 yes it would 2009-06-11T11:18:06 ok .. I have to drive now 2009-06-11T11:18:06 biab 2009-06-11T11:18:11 miker_: anyway, I'm not saying you fix this 2009-06-11T11:18:15 okay, be safe! 2009-06-11T11:18:34 ok, so what does this mean? am I gonna have to blow away this install and do it again? 2009-06-11T11:18:45 lmcfarland: does the strin HASH appear in opensrf.xml? 2009-06-11T11:20:23 *** jamesrf has joined #openils-evergreen 2009-06-11T11:21:11 berick: no 2009-06-11T11:22:21 that's weirder. 2009-06-11T11:22:52 lmcfarland: do you have duplicate or elements in opensrf.xml section for storage? 2009-06-11T11:23:06 or any duplcatate elements in that section 2009-06-11T11:23:45 lmcfarland: wanna paste your whole section? ** any passwords that are sensitive, of course 2009-06-11T11:27:03 lmcfarland annotated #81700 "open-ils.storage" at http://paste.lisp.org/display/81700#1 2009-06-11T11:27:26 everything looks good 2009-06-11T11:28:09 the Pg.pm file is throwing HASH out, for some reason...at least that's my theory 2009-06-11T11:29:38 so, I have the error that I pasted, and it has repeated over and over, with the same user HASH(0x243a768) which looks like a memory location to me -- maybe I'm wrong 2009-06-11T11:30:03 I'm not saying the .pm is broken, just that that is where the HASH stuff is coing from, at least I think so. 2009-06-11T11:30:03 it's a perl "reference" 2009-06-11T11:31:04 lmcfarland: i assume and have values in them in your copy? (just checking) 2009-06-11T11:31:57 what you see is what I have 2009-06-11T11:32:12 oh, well you can't connect to a db without a and a 2009-06-11T11:32:21 I thought that looked wrong, but I don't know how it's suppose to look 2009-06-11T11:32:34 that's what I figured :) but y'all do magic all the time so I never know :) 2009-06-11T11:33:04 well that's like that all over that file...so clearly I need to go back and redo that part, somehow 2009-06-11T11:33:29 double-check your arguments to eg_db_config.pl 2009-06-11T11:34:02 double check how? 2009-06-11T11:34:51 i just mean verify the parameter names you provide when you run it match up with the docs 2009-06-11T11:35:07 stuff like --username vs. --usrname 2009-06-11T11:36:02 oh yeah, ok..now I remember which step that was, and yes, I did enter username and password and dbname and all that 2009-06-11T11:37:24 berick: it looks ok to me 2009-06-11T11:37:38 can I just run that command again? or is that gonna screw up other things? 2009-06-11T11:38:11 guess it can't screw it up any more than it already is, eh? :) 2009-06-11T11:38:48 got nothin' to lose... yeah, it will just rebuild the db and update the configs 2009-06-11T11:57:37 oh for the love of PETE....it's giving me usernames and passwords that I didn't specify..wth? 2009-06-11T12:04:09 *** brendan_ga has quit IRC 2009-06-11T12:13:15 *** wlayton has quit IRC 2009-06-11T12:17:19 *** arnt has left #OpenILS-Evergreen 2009-06-11T12:26:21 *** brendan_ga has joined #OpenILS-Evergreen 2009-06-11T12:39:55 *** wlayton has joined #openils-evergreen 2009-06-11T12:56:58 *** BenO has quit IRC 2009-06-11T13:00:39 *** EGUEST224 has quit IRC 2009-06-11T13:37:48 * lmcfarland has an evergreen 1.6 trunk install...that works -- thanks to everyone who helped!! 2009-06-11T13:39:43 *** eeevil has quit IRC 2009-06-11T13:41:39 *** brendan_ga has quit IRC 2009-06-11T13:44:22 *** sarabee has joined #openils-evergreen 2009-06-11T15:01:36 lmcfarland++ 2009-06-11T15:02:49 *** jamesrf has quit IRC 2009-06-11T15:11:21 *** jamesrf has joined #openils-evergreen 2009-06-11T15:36:46 *** gmcharlt has joined #OpenILS-Evergreen 2009-06-11T15:54:10 *** gmcharlt has quit IRC 2009-06-11T16:13:52 *** sylvar_laptop has quit IRC 2009-06-11T16:37:32 * jeff extends dojo a bit 2009-06-11T16:50:51 *** wlayton has quit IRC 2009-06-11T17:16:45 *** natschil has quit IRC 2009-06-11T17:17:09 *** dchristens has left #OpenILS-Evergreen 2009-06-11T17:17:21 *** phase_bb has joined #openils-evergreen 2009-06-11T18:02:58 *** dbs has quit IRC 2009-06-11T18:48:47 *** gmcharlt has joined #OpenILS-Evergreen 2009-06-11T19:09:17 *** kgs has quit IRC 2009-06-11T19:27:43 *** r123_ has joined #openils-evergreen 2009-06-11T19:28:01 *** r123 has joined #openils-evergreen 2009-06-11T19:29:36 *** r123 has left #openils-evergreen 2009-06-11T19:30:21 *** r123 has joined #openils-evergreen 2009-06-11T19:30:24 *** r123 has left #openils-evergreen 2009-06-11T19:30:27 *** r123 has joined #openils-evergreen 2009-06-11T19:42:40 *** brendan_ga has joined #OpenILS-Evergreen 2009-06-11T19:46:34 *** lisppaste6 has quit IRC 2009-06-11T19:46:40 *** lisppaste6 has joined #openils-evergreen 2009-06-11T20:07:00 *** djfiander has joined #OpenILS-Evergreen 2009-06-11T20:07:18 fuck 2009-06-11T20:09:39 I was most of the way through converting to using DateTimes internally for passing things around before I realized that that doesn't work for "seasonal" publications. 2009-06-11T20:25:19 *** agJohn has quit IRC 2009-06-11T21:51:12 *** jamesrf has quit IRC 2009-06-11T21:58:55 *** r123 has left #openils-evergreen 2009-06-11T22:00:43 *** wlayton has joined #OpenILS-Evergreen 2009-06-11T22:20:26 wlayton: nice patch! much better approach than what i'd tried. 2009-06-11T22:31:08 jeff: Thanks! 2009-06-11T22:34:33 *** djfiander has quit IRC 2009-06-11T23:04:38 *** wlayton has quit IRC