2010-03-31T00:08:34 *** mck9 has left #evergreen 2010-03-31T00:16:52 *** pmplett has quit IRC 2010-03-31T00:29:28 *** leed- has quit IRC 2010-03-31T00:41:41 *** brendan_bywater has joined #evergreen 2010-03-31T01:25:15 *** moodaepo has quit IRC 2010-03-31T01:31:48 *** dbs has quit IRC 2010-03-31T01:39:30 *** jamesrf has quit IRC 2010-03-31T03:16:58 *** Callender has quit IRC 2010-03-31T07:06:47 *** atheos has quit IRC 2010-03-31T07:23:27 *** StephenGWills has joined #evergreen 2010-03-31T07:36:52 *** sfortin has joined #evergreen 2010-03-31T07:41:35 *** atheos has joined #evergreen 2010-03-31T07:42:27 *** mck9 has joined #evergreen 2010-03-31T08:11:38 *** Dyrcona has joined #evergreen 2010-03-31T09:08:47 *** Meliss has joined #evergreen 2010-03-31T09:09:59 *** jenny has joined #evergreen 2010-03-31T09:17:27 *** brendan_bywater has quit IRC 2010-03-31T09:24:21 *** bshum has joined #evergreen 2010-03-31T09:25:16 *** Callender has joined #evergreen 2010-03-31T09:53:22 curious. I am editing a patron, changing group in the permissions section then finish->save user and nothing happens. I do not see any logs roll either. any suggestions what to go after? 2010-03-31T10:16:37 *** moodaepo has joined #evergreen 2010-03-31T10:17:30 not sure how i missed it until now but my patron does not have a bar code. does that explain why i can't save her changes? 2010-03-31T10:18:05 if so, why no logged errors? 2010-03-31T10:23:17 *** moodaepo has quit IRC 2010-03-31T10:24:47 lat 2010-03-31T10:26:50 *** moodaepo has joined #evergreen 2010-03-31T10:29:37 * StephenGWills nails moods feet to confrence ;) 2010-03-31T10:41:15 *** atz has quit IRC 2010-03-31T10:42:02 *** atz has joined #evergreen 2010-03-31T10:49:52 *** brendan_bywater has joined #evergreen 2010-03-31T11:38:59 *** sfortin has quit IRC 2010-03-31T11:40:09 *** r123 has joined #evergreen 2010-03-31T11:40:14 *** sfortin has joined #evergreen 2010-03-31T11:41:44 *** sfortin has quit IRC 2010-03-31T11:45:47 *** _dkyle_ has quit IRC 2010-03-31T12:16:00 *** sfortin has joined #evergreen 2010-03-31T12:19:25 *** sfortin has quit IRC 2010-03-31T12:22:48 *** dbs has joined #evergreen 2010-03-31T12:39:52 StephenGWills: if no barcode, then probably no actor.card row corresponding to that user 2010-03-31T12:40:21 did you create this patron in the database, perhaps from a migration? 2010-03-31T12:41:02 it came from migration, not client creation 2010-03-31T12:41:18 * jeff shudders 2010-03-31T12:41:24 IT CAME FROM MIGRATION 2010-03-31T12:41:35 where MARCthulu lives 2010-03-31T12:41:40 AND ATE MILWAUKEE 2010-03-31T12:42:11 i like StephenGWills' rhyme, though. 2010-03-31T12:42:46 yo! 2010-03-31T12:45:33 alright... i'm taking evergreen out to the woodshed and when i get back it WILL BEHAVE! 2010-03-31T12:51:17 *** jamesrf has joined #evergreen 2010-03-31T13:01:08 haha 2010-03-31T13:01:46 StephenGWills: I bet the "red" highighting of that field in patron registration was the only error message, but I could be wrong 2010-03-31T13:04:14 actor.card.usr == actor.usr.id ? 2010-03-31T13:04:23 is that how we find the barcode? 2010-03-31T13:05:00 or vice versa? 2010-03-31T13:06:09 actor.card.id = actor.usr.card also? 2010-03-31T13:06:36 yes 2010-03-31T13:06:49 ok, so this is a migration error 2010-03-31T13:06:49 actor.usr.usrname COULD be the barcode 2010-03-31T13:17:26 StephenGWills: also, the value of actor.usr.card should equal actor.card.id 2010-03-31T13:17:32 StephenGWills: that's the user's "current" card. 2010-03-31T13:17:56 (or, "primary" card, in our case) 2010-03-31T13:18:23 nod. ok. i confirmed that the patrons I am trying to edit do not have cards 2010-03-31T13:18:35 I try and add a card and save but no dice 2010-03-31T13:21:14 *** dbs has quit IRC 2010-03-31T13:21:27 i'm not certain that the staff client is equipped to handle an actor.usr with no cards, or one with a null actor.usr.card 2010-03-31T13:22:15 nod. well it stands to reason that if you register a patron, the card is setup so why should the staff client have to deal with data that was not shoved in the backend incompletely? 2010-03-31T13:22:24 np. will fix. thanks guys 2010-03-31T13:23:00 was ..incomplete -or- not complete... ** :) 2010-03-31T13:37:19 *** _dkyle_ has joined #evergreen 2010-03-31T13:37:30 http://open-ils.org/dokuwiki/doku.php?id=documentation:technical:search_grammar hope that helps someone :) 2010-03-31T13:40:38 *** Montanaja05 has joined #evergreen 2010-03-31T13:40:50 Hello everyone 2010-03-31T13:41:30 Is anywould available that maybe able to assist me with configuring OpenSRF? 2010-03-31T13:41:37 anyone* 2010-03-31T13:49:12 Montanaja05: go ahead and ask question 2010-03-31T13:49:39 I'm following the instructions outlined on http://open-ils.org/dokuwiki/doku.php?id=opensrf:1.2:install 2010-03-31T13:49:44 I'm attempting it on Ubuntu 9.10 2010-03-31T13:50:08 When I start OpenSRF with osrf_ctl.sh -l -a start_all 2010-03-31T13:50:24 I get a message stating that it cannot connect to private.localhost 2010-03-31T13:50:32 *** artunit has quit IRC 2010-03-31T13:50:35 Montanaja05: did you edit /etc/hosts 2010-03-31T13:50:45 to include a mapping for private.localhost and public.localhost 2010-03-31T13:50:51 Yes sir. It resolves to 172.0.1.3 2010-03-31T13:51:06 127. you mean? 2010-03-31T13:51:23 Correct 2010-03-31T13:51:26 172.X woudl be a real IP 2010-03-31T13:51:31 hmm, ok 2010-03-31T13:51:39 ping private.localhost gives? 2010-03-31T13:52:15 PING private.localhost (127.0.1.3) 56(84) bytes of data. 2010-03-31T13:52:25 ok, i assume you get a reply? 2010-03-31T13:52:30 Yes sir. 2010-03-31T13:52:35 is ejabberd running? 2010-03-31T13:52:39 Yes sir. 2010-03-31T13:52:58 and you edited it's config for the new loopbacks? 2010-03-31T13:53:10 ejabber's? 2010-03-31T13:53:14 yes 2010-03-31T13:53:29 I made these changes... {hosts, ["localhost", "private.localhost", "public.localhost"]}. 2010-03-31T13:53:36 ok 2010-03-31T13:53:38 and the other ones outlined in the instructions 2010-03-31T13:53:41 ccan you paste the exact error? 2010-03-31T13:53:49 Sure thing. 2010-03-31T13:55:40 Unable to connect router to jabber server private.localhost.... Exiting 2010-03-31T13:56:09 yeah, it really sounds like ejabberd isnt running 2010-03-31T13:56:15 ps aux | grep ejabberd gives? 2010-03-31T13:56:48 It lists several ejabbered processes 2010-03-31T13:57:08 ok, maybe try restarting it? 2010-03-31T13:57:20 aye, I'll try that again. 2010-03-31T13:57:34 also, make sure you have updated the opensrf_core.xml to have the right usernames/passwords you registered on the jabber server 2010-03-31T13:57:43 See step #9 2010-03-31T14:00:31 is there anything outside of things that may cause issues? 2010-03-31T14:00:38 Is it compatibile with Ubuntu 9.10? 2010-03-31T14:03:24 i think its only been tested up through 8.10, but i could be wrong 2010-03-31T14:03:37 personally, i run my test server on debian lenny 2010-03-31T14:04:01 i'm sure one of the developers will be able to let you know if the ubuntu 9.10 could be your issue 2010-03-31T14:05:27 *** Dyrcona has quit IRC 2010-03-31T14:12:57 Montanaja05: It should work with Ubuntu 9.10 2010-03-31T14:15:30 As mrpeters-isl mentioned maybe re-check step #9 and I'd also check step #12 2010-03-31T14:16:53 Must have had something messed up in one of the configs 2010-03-31T14:17:02 I wiped out the config and redid it 2010-03-31T14:17:04 it works now 2010-03-31T14:17:05 thanks! 2010-03-31T14:17:08 *** Montanaja05 has quit IRC 2010-03-31T14:31:43 *** BobW has joined #evergreen 2010-03-31T14:34:02 *** sfortin has joined #evergreen 2010-03-31T14:34:26 miker_++ thanks for the search_grammar page 2010-03-31T15:07:28 *** StephenGWills has left #evergreen 2010-03-31T15:34:28 *** sfortin has quit IRC 2010-03-31T15:34:43 *** sfortin has joined #evergreen 2010-03-31T15:49:55 *** dbs has joined #evergreen 2010-03-31T15:51:45 *** sfortin has quit IRC 2010-03-31T16:02:30 *** Meliss has quit IRC 2010-03-31T16:33:44 *** jenny has quit IRC 2010-03-31T16:39:52 *** bshum has quit IRC 2010-03-31T16:53:58 *** pmplett has joined #evergreen 2010-03-31T17:05:26 *** r123 has quit IRC 2010-03-31T17:13:39 *** mck9 has quit IRC 2010-03-31T17:25:32 *** neraath has joined #evergreen 2010-03-31T17:26:14 howdy all! 2010-03-31T17:27:04 I have a problem with the Evergreen autogen.sh script. When it gets to the point of updating fieldmapper, I get "No Response from settings server...going to sleep" 2010-03-31T17:27:54 I've done a TON of Googling at this point. I've verified that the settings server is in fact online and responding when I issue the command request opensrf.settings opensrf.settings.host_config.get "hostname" 2010-03-31T17:28:12 The only thing is it takes about 13-14 seconds for the settings server to respond - which explains why Updating fieldmapper times out. 2010-03-31T17:28:23 However, I see no way to increase the timeout for fieldmapper. 2010-03-31T17:28:25 Any ideas? 2010-03-31T17:31:04 *** mck9 has joined #evergreen 2010-03-31T17:33:22 No errors in any of the logs, btw. 2010-03-31T17:35:30 neraath: weird 2010-03-31T17:36:52 long timeouts like that lead me to think either starved for RAM, or DNS problems. 2010-03-31T17:37:11 * dbs was thinking DNS problems, but then decided that he needed to head home :) 2010-03-31T17:37:18 gnite 2010-03-31T17:37:19 DNS problems are usually an even longer pause, though. Check your resource utilization first? top/htop, free, vmstat, iostat, etc? 2010-03-31T17:37:24 dbs: nite! 2010-03-31T17:37:26 *** dbs has quit IRC 2010-03-31T17:42:18 Well, previously I had only 512M assigned to the VM 2010-03-31T17:42:21 I increased that to 2GB 2010-03-31T17:42:29 So, I still have ~800 MB MEM free 2010-03-31T17:42:41 Load is 0.00 0.03 0.61 2010-03-31T17:42:57 CPU utilization is rather minimal, really 2010-03-31T17:43:07 So, it's not starved for resources atm 2010-03-31T17:45:58 CPU temporarily spikes to about 20% when running the settings fetch, but then it goes back down to 0%, even while it's processing to return the results. 2010-03-31T17:50:41 any thoughts? 2010-03-31T17:50:47 any way I can increase the timeout? 2010-03-31T17:52:52 or another way to generate the config file so I can host it through Apache? 2010-03-31T17:52:56 That's really the last step I'm on 2010-03-31T17:56:45 *** brendan_bywater has quit IRC 2010-03-31T18:10:50 neraath: postgresql.conf 2010-03-31T18:11:10 never mind 2010-03-31T18:13:07 you're thinking that postgres is the bottleneck? 2010-03-31T19:00:02 *** neraath has quit IRC 2010-03-31T19:00:55 @later tell neraath: Yea, but I don't see how that would be an issue with autogen. Just an fyi - increasing the RAM will help opensrf and evergreen apps but for the DB side postgresql.conf needs to be updated and possible the linux kernel also needs to be told to allow postgres to use more memory. 2010-03-31T19:00:55 moodaepo: The operation succeeded. 2010-03-31T19:33:32 *** pmplett is now known as pmp_afk 2010-03-31T21:04:31 in the past I've seen autogen fail because the request fetching data from the settings server took too long, but I can't recall a root cause 2010-03-31T21:45:56 *** dbs has joined #evergreen 2010-03-31T21:48:39 'evening, dbs 2010-03-31T21:49:09 ahoy 2010-03-31T21:50:02 had fun with git today; cloned a repo, created my own branch, made a bunch of changes and local commits, then tried to pull from the origin branch without success. oh well. 2010-03-31T21:50:52 some nasty error message about one of my files not being up to date. well, yeah, that's why I'm trying to pull! 2010-03-31T21:50:53 congrats/bummer! 2010-03-31T21:52:56 dbs: do you mean you had uncommitted changes? 2010-03-31T21:52:57 I guess nerath didn't found a solution to his suspiciously network-y problem 2010-03-31T21:53:16 git's trying not to screw your local stuff 2010-03-31T21:53:20 atz: I ran "git commit" a number of times to commit local changes 2010-03-31T21:53:43 so is "git status" clean? 2010-03-31T21:53:44 maybe it doesn't recursively descend through dirs? I dunno. 2010-03-31T21:53:56 I honestly don't care, I've got work to do 2010-03-31T21:54:01 git commit -a 2010-03-31T21:54:13 ^ gets all changes to files already tracked by git 2010-03-31T21:54:34 basically if git status shows you have changes, git commit -a hits all those 2010-03-31T21:54:55 dbs: one big gotcha I've found is what atz is getting at... you make a change, you git add it, and if you don't commit it right then, and make more changes, you have to git add again 2010-03-31T21:54:56 Yeah, I guess that was it. 2010-03-31T21:55:23 there were changes to files that git was already tracking 2010-03-31T21:55:57 so the -a flag was what I needed to make it work like cvs or svn or bzr. thanks, atz 2010-03-31T21:56:03 np 2010-03-31T21:56:16 * phasefx has aliased the hell out of git to make it fit what he's used to 2010-03-31T21:57:03 one nice thing about git's aliases is that they do tab complete still 2010-03-31T21:57:58 trying to learn git last night / today while also learning Apache2::* and Template Toolkit was probably one too many things to tackle 2010-03-31T21:58:01 i find myself using git status often, and git commit filename because right now i'm mostly hacking on a file or two at a time 2010-03-31T21:58:22 git status is probably in my muscle memory by now 2010-03-31T21:58:51 i find myself walking up to the fridge like "git status food" 2010-03-31T21:58:54 i'm breaking myself of "svn diff" and "get diff" 2010-03-31T21:59:12 * phasefx has git diff HEAD and git diff master aliased; use those a lot 2010-03-31T21:59:12 oh, i was running git status. I just wasn't able to figure out (without doing more reading) why "git commit" wasn't committing those local changes 2010-03-31T21:59:15 the "get" in my svn -> get -> git transition was weird. 2010-03-31T21:59:51 and my bash prompt modified to show me what branch I'm in 2010-03-31T22:02:06 nice. 2010-03-31T22:03:04 definitely do some global config for color too 2010-03-31T22:03:09 like http://pastebin.com/GvPS8Riq 2010-03-31T22:04:06 obviously diff being the most useful 2010-03-31T22:04:34 that's in ~/.gitconfig 2010-03-31T22:07:15 handy. thanks! 2010-03-31T22:08:22 okay, so i almost have bolt-on online self-service credit card payments using authorize.net's SIM api -- which means the patron sees authorize.net as where they input their card data, but means you have less of a PCI DSS burden. 2010-03-31T22:09:07 nice 2010-03-31T22:09:45 i just wrote that code 3 months ago and you're already making it obsolete! 2010-03-31T22:09:54 HAH! 2010-03-31T22:10:00 i doubt mine makes yours obsolete 2010-03-31T22:14:00 i don't get how some of these API notes got by... 2010-03-31T22:14:18 like "checkedout_count" 2010-03-31T22:14:24 supposedly "Returns a transaction record" 2010-03-31T22:14:59 atz: copy and paste is a marvelous (but inaccurate) thing 2010-03-31T22:15:02 uh... not unless your transaction records looks lik: return { total => scalar(@$circs), overdue => scalar(@overdue) }; 2010-03-31T22:17:12 yeah, lots of copy-paste in the api register_methods 2010-03-31T22:17:55 git's a/file, b/file is odd at first. i thought it was being literal, wondered where I had grown an a and a b dir. 2010-03-31T22:18:58 jeff: you can pass --no-prefix to diff if you want those to go away 2010-03-31T22:19:37 that makes the format more svn-friendly, if that matters 2010-03-31T22:34:33 hrm. are you expected to commit a git move before any changes to the moved file? 2010-03-31T22:34:43 *** pmp_afk is now known as pmplett 2010-03-31T22:34:44 sorry, this question could probably be answered elsewhere. 2010-03-31T22:35:00 jeff: are you using git mv ? 2010-03-31T22:35:17 renamed a file and made changes and then committed and gitweb shows it as a new file, diff is all new lines. 2010-03-31T22:35:38 atz: i did a git mv, then edited the moved file, then a git add of a second unrelated file, then git commit file1 file2 2010-03-31T22:35:59 more recent versions of git are pretty good about rename detection 2010-03-31T22:36:01 oh, that's why it broke. 2010-03-31T22:36:22 i think i broke it with my explicit naming of the file to commit before committing the renamed file. 2010-03-31T22:37:16 if you used git mv, then that change should be "added" to stuff about to be committed 2010-03-31T22:37:27 but yes, you can do renames and edits in the same commit 2010-03-31T22:38:13 it will say something like /path/x ==> /path/y (85%) 2010-03-31T22:38:29 depending on how much of the file was moved 2010-03-31T22:38:33 er, edited 2010-03-31T22:39:10 it's even smart enough to catch multiple derivative copies of the same file 2010-03-31T22:39:29 (like i do with test data) 2010-03-31T22:40:06 i fixed it with a git reset --soft HEAD^ then git commit 2010-03-31T22:40:17 cool 2010-03-31T22:40:20 possibly my installed version just sucks. 2010-03-31T22:40:42 1.5.4.3, default for Hardy 2010-03-31T22:40:57 The latest stable Git release is 2010-03-31T22:40:57 v1.7.0.3 2010-03-31T22:41:01 (heh) 2010-03-31T22:41:05 i'm on git version 1.5.6.5 2010-03-31T22:41:20 so pretty close 2010-03-31T22:41:26 i don't feel so bad, then 2010-03-31T22:41:41 *** artunit has joined #evergreen 2010-03-31T22:54:12 *** jamesrf has quit IRC 2010-03-31T23:10:21 yayyyy... self-serve password Web interface built on TT2 is now working, with (crappy but functioning) support for i18n 2010-03-31T23:10:32 yay tt2! 2010-03-31T23:10:33 dbs++ 2010-03-31T23:10:34 still lots to do 2010-03-31T23:10:57 but the end is in sight 2010-03-31T23:11:32 dbs++ 2010-03-31T23:17:13 dbs++ 2010-03-31T23:19:20 and then somebody can take my craptastic basic HTML form and make it not terribly embarrassing with the judicious application of Dojo and CSS 2010-03-31T23:23:43 * dbs is out - gnite 2010-03-31T23:23:46 *** dbs has quit IRC