2008-03-09T00:07:15 *** greg-g has quit IRC 2008-03-09T01:59:39 *** tristanbob_ has quit IRC 2008-03-09T03:02:07 *** tristanbob_ has joined #openils-evergreen 2008-03-09T07:54:21 *** asmodai has quit IRC 2008-03-09T07:59:44 *** asmodai has joined #OpenILS-Evergreen 2008-03-09T08:02:22 *** asmodai has quit IRC 2008-03-09T08:02:29 *** asmodai has joined #OpenILS-Evergreen 2008-03-09T10:40:45 *** greg-g has joined #openils-evergreen 2008-03-09T11:36:16 *** greg-g has quit IRC 2008-03-09T11:39:10 *** greg-g has joined #openils-evergreen 2008-03-09T13:15:30 *** dbs has joined #OpenILS-Evergreen 2008-03-09T13:17:05 Getting acq up and running on my laptop again 2008-03-09T13:24:09 * asmodai sighs 2008-03-09T13:24:10 hey dbs 2008-03-09T13:24:14 hey asmodai 2008-03-09T13:24:20 why the sigh? 2008-03-09T13:34:18 *** asmodai has quit IRC 2008-03-09T13:34:18 *** eeevil has quit IRC 2008-03-09T13:34:18 *** phasefx_ has quit IRC 2008-03-09T13:34:18 *** gsf has quit IRC 2008-03-09T13:34:34 *** asmodai has joined #openils-evergreen 2008-03-09T13:34:34 *** eeevil has joined #openils-evergreen 2008-03-09T13:34:34 *** phasefx_ has joined #openils-evergreen 2008-03-09T13:34:34 *** gsf has joined #openils-evergreen 2008-03-09T13:36:52 dnspython-- 2008-03-09T13:37:02 welcome back asmodai - why the sigh? 2008-03-09T13:51:57 berick: do you have any seed data hanging around for picklists / POs etc? 2008-03-09T14:19:55 *** asmodai has quit IRC 2008-03-09T14:19:55 *** gsf has quit IRC 2008-03-09T14:19:55 *** phasefx_ has quit IRC 2008-03-09T14:19:55 *** eeevil has quit IRC 2008-03-09T14:20:25 *** asmodai has joined #openils-evergreen 2008-03-09T14:20:25 *** eeevil has joined #openils-evergreen 2008-03-09T14:20:25 *** phasefx_ has joined #openils-evergreen 2008-03-09T14:20:25 *** gsf has joined #openils-evergreen 2008-03-09T14:23:01 ahh - we need contrib/pgxml for acq, eh? just added it to the wiki 2008-03-09T14:23:12 *** asmodai has quit IRC 2008-03-09T14:23:12 *** gsf has quit IRC 2008-03-09T14:23:12 *** phasefx_ has quit IRC 2008-03-09T14:23:12 *** eeevil has quit IRC 2008-03-09T14:23:28 *** asmodai has joined #openils-evergreen 2008-03-09T14:23:28 *** eeevil has joined #openils-evergreen 2008-03-09T14:23:28 *** phasefx_ has joined #openils-evergreen 2008-03-09T14:23:28 *** gsf has joined #openils-evergreen 2008-03-09T14:27:24 *** asmodai has quit IRC 2008-03-09T14:27:24 *** gsf has quit IRC 2008-03-09T14:27:24 *** phasefx_ has quit IRC 2008-03-09T14:27:24 *** eeevil has quit IRC 2008-03-09T14:27:58 *** asmodai has joined #openils-evergreen 2008-03-09T14:27:58 *** eeevil has joined #openils-evergreen 2008-03-09T14:27:58 *** phasefx_ has joined #openils-evergreen 2008-03-09T14:27:58 *** gsf has joined #openils-evergreen 2008-03-09T14:28:55 well damn - I'm logged into acq as admin and getting "insufficient permissions" messages when I try to create new funds and stuff 2008-03-09T14:29:26 dbs: workstation? 2008-03-09T14:30:07 miker_: the page itself just says "Insufficient permissions", nothing more 2008-03-09T14:30:27 I have to run, but think on this (anyone who feels inclined) and yell at me when I show up again: I want to require PG 8.2 for EG 1.4+ 2008-03-09T14:30:28 I created the workstation by just inserting a row into actor.workstation 2008-03-09T14:31:03 miker_: sounds okay to me, although that means trouble for our beloved debian 2008-03-09T14:31:19 i'll think on it 2008-03-09T14:37:39 well, I have a good reason :) 2008-03-09T14:43:14 debian lenny and backports jump directly to 8.3 2008-03-09T14:44:05 actually, that's ok ... what I want is either built-in xml support (8.3) or xml2 contrib that I can patch (which I have, for 8.2) ... 2008-03-09T14:44:22 * miker_ ducks wild, violent swings from dbs' cluebat 2008-03-09T14:45:00 I could be convinced to wait until 2.0, and require 8.3, though 2008-03-09T14:46:03 the problem is that pg_xml contrib does not have namespace support :( 2008-03-09T14:46:04 might as well jump directly to 8.3 2008-03-09T14:46:15 do it for 1.4 though 2008-03-09T14:46:42 (rationale: we're already pulling a json dep from lenny) 2008-03-09T14:47:19 libjson-xs-perl 2008-03-09T14:47:35 problem with that is that I'm not super happy about going to 8.3.0 ... and I've yet to start the tsearch2 conversion 2008-03-09T14:51:13 if only those fools had accepted your patch in the first place 2008-03-09T14:52:00 I think I'll just need to forgo the patched/builtin xml until 2.0, and require 8.3 then ... I want to get in-db ingest done, but I don't want to cause any pain for 1.4 2008-03-09T14:52:06 haha 2008-03-09T14:53:42 once 1.4 is out and in maint mode for the db end, I'll hit in-db ingest hard ... but I'm trying to lay the groundwork now ... I have an easy-peasy plan for facets now that staged search is done, and it would be trivial with in-db XML :( ... but alas and alack 2008-03-09T14:54:26 ok ... /really/ have to run 2008-03-09T14:55:36 go! 2008-03-09T15:18:52 dbs: sounds like the prob phasefx was having the other day with the empty ws_ou on the cached user. i'll poke 2008-03-09T15:21:09 berick: I synced up the c-apps and Open-ILS/include stuff to match trunk this morning to fix the build - so if it's coming from the c layer, at least it will be consistent 2008-03-09T15:21:40 also, acq.open-ils.org is all "error 500" recently 2008-03-09T15:21:57 (can you tell I'm getting ready for wednesday's presentation?) 2008-03-09T15:22:01 i need to update that server 2008-03-09T15:26:44 it's been good; i've updated the acq install docs a couple of times today 2008-03-09T15:30:37 nice 2008-03-09T15:32:05 ok, the 500s should be taken care of 2008-03-09T15:32:46 * berick repairs the _("Update") buttons 2008-03-09T15:35:17 heh, middleware 2008-03-09T15:35:25 dbs: i can make some seed data .. i need to test the PO methods with new lineitem code 2008-03-09T15:35:45 berick: right on 2008-03-09T15:39:28 oh crap... nice work on my i18n update. 2008-03-09T15:39:30 I should stick to project management. 2008-03-09T15:40:00 heh 2008-03-09T15:40:20 yr switching contexts too much ;) 2008-03-09T15:42:01 yay, the purple line down the middle of my monitor is back 2008-03-09T15:43:34 that, and trying to add fixes without being able to test locally for the moment 2008-03-09T15:45:33 I "registered" a workstation manually (by inserting one row into actor.workstation) because the client bails on auth.init. sigh. 2008-03-09T15:45:59 yeah, i've been having troubles with the trunk client 2008-03-09T15:46:30 looks like I also need to write a little script to check my i18n handywork 2008-03-09T16:09:21 Eww, that doesn't look good: CALL: open-ils.acq.picklist.user.retrieve [fe64b0b819e2cd8ac70bfd66c5d8f9ab, HASH(0x936ef84)] 2008-03-09T16:09:45 it's not purdy, but it's cheaper then JSON-decoding all the method params 2008-03-09T16:10:58 ah - so it's not related to the subsequent failure? I'll lisppaste something 2008-03-09T16:11:10 no, that's common 2008-03-09T16:11:38 dbs pasted "Trying to look at picklists" at http://paste.lisp.org/display/57091 2008-03-09T16:13:05 okay - this is my local system, just running with the stock admin user, workstation manually inserted, no extra data in db 2008-03-09T16:13:33 dbs: does this work from srfsh? request open-ils.cstore open-ils.cstore.direct.acq.picklist.search.atomic {"owner":1,"name":{"!=":""}} 2008-03-09T16:14:58 berick: yep - once the request timed out, pylons showed the empty picklist screen and I was able to choose the "create a picklist" option 2008-03-09T16:15:15 i think that error I pasted only happens when there are no picklists. 2008-03-09T16:15:31 interesting 2008-03-09T16:16:19 or not... once I deleted the picklist, it still returns immediately 2008-03-09T16:16:26 no error in the log. weeeird 2008-03-09T16:30:11 patches are helping, berick - thanks man 2008-03-09T16:30:36 gooood 2008-03-09T16:31:53 still getting "Insufficient permissions" problem with New fund, etc, but I realized that my opensrf_core.xml still had a parental element in the gateway (d'oh!) 2008-03-09T18:56:06 *** lisppaste6 has quit IRC 2008-03-09T19:09:24 *** lisppaste6 has joined #openils-evergreen 2008-03-09T19:38:04 *** djfiander has joined #OpenILS-Evergreen 2008-03-09T19:47:56 berick: picklist viewing is broken somehow? I click on the picklist name in the list of picklists, and there's a long (1min) delay, and then I get an empty list 2008-03-09T19:48:03 empty list of items 2008-03-09T20:02:13 * dbs looks at osrfsys.log on acq.open-ils.org 2008-03-09T20:03:39 tx. my local log just says, "it took 60 secs to get back nutin" 2008-03-09T20:05:02 dbs pasted "djfiander's bane" at http://paste.lisp.org/display/57104 2008-03-09T20:07:03 dbs annotated #57104 with "open-ils.acq_unix.log counterpart" at http://paste.lisp.org/display/57104#1 2008-03-09T20:07:50 yeah, that can't be good. Nobody likes to be interrupted 2008-03-09T20:08:52 database query failed. sounds like we get to blame miker_ for this one. 2008-03-09T20:11:31 nope ... we get to blame berick: 2008-03-09T20:12:02 {"fkey":"id","field":"lineitem","join":{"type":"left"}} is incorrect ... it should be {"fkey":"id","field":"lineitem","type":"left"} 2008-03-09T20:14:08 woo-hoo! 2008-03-09T20:14:17 * djfiander starts humming "Blame Berick" 2008-03-09T20:14:58 yeah, i was experimenting with the joins 2008-03-09T20:15:04 can't find the right syntax 2008-03-09T20:15:42 berick: the part with {"fkey": ... } is the join blob I was talking about 2008-03-09T20:16:50 berick: if I say something that makes no sense, feel free to poke me with a stick of clarification 2008-03-09T20:17:57 it made sense, i just hadn't gotten the query to work. here's my current, with i think what you suggest. it does not break, but also doesn't return the expected results: http://rafb.net/p/uwfWu657.html 2008-03-09T20:30:18 ahh... ok 2008-03-09T20:39:20 berick: http://rafb.net/p/bWot6b36.html 2008-03-09T20:41:05 I left the attr_value in the select clause for that example to make sure we're seeing what we expect 2008-03-09T20:41:38 cool. yeah, that's giving me what i was expecting 2008-03-09T20:41:43 * berick repairs 2008-03-09T20:45:32 wow. 2008-03-09T20:45:43 dbs: eh? 2008-03-09T20:46:11 I haven't seen many opensrf calls like that before 2008-03-09T20:46:15 * miker_ fears that' "wow ... that's lame" ;) 2008-03-09T20:46:29 I'm used to the simple 2 or 3 argument calls 2008-03-09T20:46:59 dbs: that's my JSON->SQL translator deally that lives inside cstore :) 2008-03-09T20:47:29 I have hooked up crappy old spare monitor at home and am running double-headed. I may never go back 2008-03-09T20:47:32 yeah, i get that! just imagining the poor soul who has to document that sometime :) 2008-03-09T20:47:46 dbs: hire a contractor ;-) 2008-03-09T20:47:59 I still have to finish HAVING support, but it's a bit safer than passing around SQL ;) 2008-03-09T20:49:46 It's pretty cool. Good to pull that out near the end of an evergreen advocacy session to wow the audience with the power of cstore 2008-03-09T20:49:57 It would be a frightening lead, though :) 2008-03-09T20:50:04 heh ... yeah 2008-03-09T20:51:09 djfiander: I'm jealous. My laptop (or perhaps ubuntu's i945 support) is too under-powered to do anything other than mirrored mode 2008-03-09T20:51:43 djfiander: picklist viewing should be fixed now 2008-03-09T20:51:50 works fine from here 2008-03-09T20:52:00 * dbs anxiously awaits the commit 2008-03-09T20:53:14 should have it 2008-03-09T20:54:07 btw: i decided to use the label+archive approach you guys suggested for gmail this weekend 2008-03-09T20:54:31 discovered that I _had_ been invited to the post-code4lib internet archive mtg after all. groan. 2008-03-09T20:57:47 dbs: you mean, that we suggested during AcqFest 2008-03-09T20:57:55 it works particularly well for commits ;-) 2008-03-09T20:57:58 djfiander: yessir 2008-03-09T20:58:19 no - those I keep in my inbox - I like to read them all and commit break-fixes for i18n stuff 2008-03-09T20:58:41 dbs: for which I thank you 2008-03-09T20:58:47 berick++ miker_++ # all working now! 2008-03-09T20:59:16 don't care right now... in the middle of displaying/editing lineitem details 2008-03-09T20:59:19 djfiander: ahh... by "break-fix" I mean "a patch by which I intend to fix something, but actually break it entirely instead" 2008-03-09T20:59:33 heh 2008-03-09T20:59:52 heh, I call it "breaking in the right direction" 2008-03-09T21:00:24 "Wait, this isn't right - but it's working.. if I break it so it doesn't work for everyone, then it will get fixed properly!" 2008-03-09T21:01:23 dbs: did you get all the snow up there? 2008-03-09T21:01:29 djfiander: none 2008-03-09T21:01:39 almost makes me want to move to Sudbury 2008-03-09T21:07:02 there's no way to move things from title searches to picklists right now, right? 2008-03-09T21:07:26 dbs: nope. that disappeared during my rebuild. want it back now? 2008-03-09T21:07:58 it would be nice, but I can talk around it otherwise 2008-03-09T21:08:56 dbs: not right now 2008-03-09T21:09:07 wait ... 2008-03-09T21:09:17 now I'm confused and should probably be quite 2008-03-09T21:09:21 quiet 2008-03-09T21:09:48 miker_: dbs was asking about the UI, which I'm hacking on 2008-03-09T21:10:19 yeah - I know the infrastructure is reasonably solid at this point 2008-03-09T21:10:21 djfiander: yeah ... I got that after I typed my response. I read "title search" and thought "opac title search" 2008-03-09T21:11:01 For the presentation on wednesday, I'll probably rely on screen shots (or maybe motion captures set to sexy music) 2008-03-09T21:12:13 berick: any objection to OpenILS::Utils existing? I wan somewhere to stick things like my NACO normalizer, and it's broadly useful enough to warrant a home like that 2008-03-09T21:12:22 *** asmodai has quit IRC 2008-03-09T21:12:55 actually, nevermind 2008-03-09T21:13:06 I'll put that in OpenILS::Application::Storage::FTS 2008-03-09T21:13:12 * berick nods 2008-03-09T21:21:21 you guys ever see anything like this from mozilla? Error: can't decode principals (failure code 8007000e) 2008-03-09T21:23:18 something to do with cryptography; seems harmless :-/ 2008-03-09T21:32:08 phasefx: nope, haven't seen that before 2008-03-09T21:32:33 owe you a big thanks for cleaning up my mess, though, and for the patron i18n work 2008-03-09T21:37:51 not finished with patron, but hit util.js pretty well 2008-03-09T21:38:41 didn't notice any mess in the normal environment that is the staff cient :D 2008-03-09T21:43:56 miker_: are you planning .staff versions of staged.search_fts ? 2008-03-09T21:44:15 berick: they should be there 2008-03-09T21:45:01 yeah, they are 2008-03-09T21:45:04 indeed they are. i was looking for .atomic.staff. doh! 2008-03-09T21:45:28 yeah ... .atomic is magically added after that 2008-03-09T21:45:39 as is .cachable or whatever it's called 2008-03-09T21:47:44 dbs: btw, have you seen the generate stringbundle button under Admin -> For Developers -> Fieldmapper? 2008-03-09T21:48:05 dbs: I hope you have and you're not about to hit me :D 2008-03-09T21:48:12 um... no 2008-03-09T21:48:25 of course, right now I can't register my workstation 2008-03-09T21:49:58 dbs: all it did was take field names for a selected object, make DTD entities, and take a guess at the English version by s/_/ /g and capitalizing words 2008-03-09T21:50:23 s/did was/does is/ 2008-03-09T21:52:31 open-ils.acq.lineitem.retrieve failing with flesh_li_detail set: No event defined with textcode: ACQ_LINEITEM_DETAIL_NOT_FOUND 2008-03-09T21:53:13 djfiander: k 2008-03-09T21:54:57 djfiander: should be fixed 2008-03-09T21:55:37 yup. now it's failing in my code 2008-03-09T21:55:38 ;-) 2008-03-09T21:55:55 like ping pong ;) 2008-03-09T21:58:29 phasefx: do you have any theories about the workstation registration failures? 2008-03-09T21:59:18 works for me. What's happening? 2008-03-09T22:01:02 might be an acq vs. trunk issue - lemme see 2008-03-09T22:04:52 dbs pasted "registration error" at http://paste.lisp.org/display/57106 2008-03-09T22:06:02 try running the org proximity refresh thing? 2008-03-09T22:06:22 eh? 2008-03-09T22:06:28 just a wild guess :D 2008-03-09T22:06:31 why would prox be involved 2008-03-09T22:06:37 it's not :) 2008-03-09T22:06:50 berick: I'm running into a problem viewing lineitem details. It looks like there aren't any. 2008-03-09T22:06:52 * phasefx puts his voodoo doll back in his pocket 2008-03-09T22:07:03 berick: look at lineitem ID 30. 2008-03-09T22:07:19 I've seen that before, but don't remember how it was resolved 2008-03-09T22:07:20 it says is has 7 copies requested, but I'm not getting any detail records back 2008-03-09T22:07:47 no lineitems have been created 2008-03-09T22:07:54 so.. 2008-03-09T22:07:59 lineitem_details 2008-03-09T22:08:05 yes, sorry 2008-03-09T22:08:29 djfiander: the number on the lineitem is "I want this many" instead of "there are this many detail records" 2008-03-09T22:08:48 hmmm... when one clicks on the 'update' button, the code is supposed to create detail lines 2008-03-09T22:08:58 but I guess something's going wrong 2008-03-09T22:08:59 djfiander: currently, there is a separate open-ils.acq.lineitem_detail.create method. 2008-03-09T22:09:12 i can bundle the creation into the lineitem update/create method if necessary 2008-03-09T22:09:21 s/creation/lineitem_detail creation/ 2008-03-09T22:09:46 djfiander: you're passing an array of new detail records in the lineitem_details slot, I presume? 2008-03-09T22:10:02 hmm... 2008-03-09T22:10:24 that might be it. I'm passing a single detail record. 2008-03-09T22:10:25 duh 2008-03-09T22:10:36 but, how are you passing it? 2008-03-09T22:11:21 see _update_lineitem_count in controllers/acq/picklist.py (line 126) 2008-03-09T22:11:49 hrm... berick, when creating a new, empty object via the constructor, are you setting isnew? 2008-03-09T22:11:50 ohohoh 2008-03-09T22:12:22 I'm calling lineitem_detail.create with a new acqlid object that has the lineitem field set. 2008-03-09T22:12:29 do I need to update the lineitem too? 2008-03-09T22:13:02 shouldn't need to 2008-03-09T22:13:10 dbs: on closer inspection of irc logs, what I saw was a 404 on that method because berick was tinkering with Actor.pm at the time 2008-03-09T22:13:12 ok, then my code should work, I think 2008-03-09T22:13:36 phasefx: hrm 2008-03-09T22:13:48 djfiander: yeah, your code looks right at first glanc 2008-03-09T22:13:49 e 2008-03-09T22:14:12 lemme see if that call is happening, becuse it should be dying visibly if sent bad data 2008-03-09T22:14:21 berick: that's what I figured too 2008-03-09T22:14:50 miker_: i don't set isnew on anything in ML. it's really quite rarely used 2008-03-09T22:15:06 well, it's meant for the creator to set 2008-03-09T22:15:11 right 2008-03-09T22:15:27 and I was referring to the python constructor code for opensrf objects 2008-03-09T22:15:51 the equiv of, say, Fieldmapper::actor::usr->new 2008-03-09T22:15:59 would that set isnew to true 2008-03-09T22:16:10 oh, no. 2008-03-09T22:16:12 but it doesn't really matter if you don't use it 2008-03-09T22:16:24 dbs: acq-experiment and trunk are different with that method, in Actor.pm 2008-03-09T22:17:04 djfiander: last call i see to created lineitem_details was 1 hour and 10 minutes ago. 2008-03-09T22:17:10 s/created/create/ 2008-03-09T22:17:15 phasefx: yeah - the branch is far enough away from trunk now that the diffs are starting to be hard to keep track of 2008-03-09T22:17:47 though, that doesn't explain why there aren't any ;) 2008-03-09T22:17:48 phasefx: I'll try just copying Actor.pm from trunk into place and cross my fingers 2008-03-09T22:17:49 well, I created a bunch yesterday :) 2008-03-09T22:18:11 in fact, I created ~ 18 yesterday ;) 2008-03-09T22:19:05 18 lineitem_detail records? 2008-03-09T22:19:05 phasefx: ding ding ding 2008-03-09T22:19:10 berick: so, I guess your question from before means that you're starting on staged search? :) 2008-03-09T22:19:16 berick: yup 2008-03-09T22:19:19 miker_: yep 2008-03-09T22:19:25 gooooood 2008-03-09T22:19:28 just going by the counts on the "Comedy Films" picklist 2008-03-09T22:19:32 djfiander: hrm, there are 0 in the db. 2008-03-09T22:19:41 want me to run one now? 2008-03-09T22:20:12 djfiander: yes, please 2008-03-09T22:20:43 ok. I'm going to add one copy to lineitem ID 31 "Ultimate Improv book" 2008-03-09T22:20:52 k 2008-03-09T22:20:57 done 2008-03-09T22:21:50 my log says I did it 2008-03-09T22:23:38 djfiander: ok, i see the prob, sec 2008-03-09T22:30:44 djfiander: can you try again, please? 2008-03-09T22:31:06 done 2008-03-09T22:35:39 djfiander: ok, once more please 2008-03-09T22:35:54 ok 2008-03-09T22:36:10 yay, we got one that time 2008-03-09T22:36:15 cool 2008-03-09T22:36:32 and it displays properly! 2008-03-09T22:36:36 w00t! 2008-03-09T22:36:38 woo hoo! 2008-03-09T22:36:47 well, except the fund is wrong :) 2008-03-09T22:39:09 I'm going to merge all the changesets for Actor.pm, if'n you don't mind 2008-03-09T22:39:18 (into acq-experiment, that is) 2008-03-09T22:39:57 dbs: please do 2008-03-09T22:41:44 * dbs wonders why we're all working on a Sunday 2008-03-09T22:47:33 heh 2008-03-09T22:47:47 I'm the only one that's got even close to a good excuse for that 2008-03-09T22:51:38 heads up ... I'll be committing the current outstanding patches to opensrf and ils trunks 2008-03-09T22:53:28 scott mckellar flood? 2008-03-09T22:54:12 ok, I've got the beginning of a crappy display of lineitem details. 2008-03-09T22:54:29 there's still something funny going on with the lineitem_count, but I'm too tired to figure it out now. 2008-03-09T22:54:51 djfiander++ 2008-03-09T22:55:03 not committing this stuff yet. maybe tomorrow 2008-03-09T22:55:18 dbs: yep ... and one other, I think 2008-03-09T22:56:46 gah ... gmail is being hella slow 2008-03-09T22:57:53 ok, bedtime for me 2008-03-09T22:57:55 *** djfiander has quit IRC