2008-07-29T00:01:13 but if we started switching to a (ADD ROW) w/ selection of filter, value, and AND or OR, then that's different 2008-07-29T00:02:26 Access conf is open for registration, btw 2008-07-29T00:05:20 ugh, midnight. gnite 2008-07-29T00:05:40 *** dbs_mob has quit IRC 2008-07-29T01:30:34 *** Mark__T has joined #openils-evergreen 2008-07-29T02:12:59 *** Mark__T has quit IRC 2008-07-29T02:15:31 *** Mark__T has joined #openils-evergreen 2008-07-29T06:38:13 *** kgs_away is now known as kgs 2008-07-29T08:11:49 *** Slazer has joined #openils-evergreen 2008-07-29T08:52:10 *** kbeswick has joined #openils-evergreen 2008-07-29T09:13:31 *** dbs has joined #openils-evergreen 2008-07-29T09:15:11 kbeswick: I'm going to commit a big fix for non-working apache module stuff (where "non-working" means "compiles but doesn't have a hope in hell of running") 2008-07-29T09:17:14 "big" meaning about 4 lines 2008-07-29T09:21:02 that still doesn't resolve Slazer's obviously missing -lopensrf clause in ILS, but I'm almost convinced that that's a local problem 2008-07-29T09:21:25 dbs: ok thanks. 2008-07-29T09:21:47 dbs: Booo... so what do you think I'll have to do to fix this problem? 2008-07-29T09:22:34 kbeswick: if you can shed light on why the compile stuff didn't work for me without using root (so we could move those apxs compile steps back into build rather than install), that would be great 2008-07-29T09:23:26 Slazer: I'm tempted to wipe /openils completely and recompile OpenSRF and Evergreen from clean svn checkouts to rule out any chance that a local commit is causing you pain 2008-07-29T09:23:38 dbs: the compile steps are in the build 2008-07-29T09:23:46 dbs: the install steps are in install 2008-07-29T09:24:13 dbs: if you do that, beware my patches from last night ... I've not fully tested the date filter or preferred lang stuff 2008-07-29T09:24:15 dbs: well they are supposed to be 2008-07-29T09:24:51 dbs: they are 2008-07-29T09:25:08 weird... 2008-07-29T09:25:38 i dont know why it does not work 2008-07-29T09:25:44 but i will find out! 2008-07-29T09:27:11 kbeswick: there's always the chance that they're trying to write to a directory on my computer that was created by root and therefore nonroot users don't have perms 2008-07-29T09:27:28 but I would have expected a "sudo make clean" to remove that directory if that was the case 2008-07-29T09:28:06 and I can't see any obvious way of telling apxs where to place temporary stuff, so automake probably doesn't even know about that directory (whatever it is) 2008-07-29T09:28:17 dbs: make will not remove such a directory because we are using a non-autotools way to compile it 2008-07-29T09:28:25 right 2008-07-29T09:28:26 and i haven't specified for it to remove it 2008-07-29T09:28:27 but! 2008-07-29T09:28:30 miker_: you know we'll just file bug reports 2008-07-29T09:28:40 make distcheck didnt find any leftovers 2008-07-29T09:28:54 dbs: please do, sir 2008-07-29T09:29:05 kbeswick: sure, but if apxs uses $TMP or something like that, then make distcheck won't have a clue 2008-07-29T09:29:15 yeah 2008-07-29T09:30:27 Slazer: maybe "sudo mv /openils /openils.bak" just for sanity's sake 2008-07-29T09:30:39 dbs: Ok. 2008-07-29T09:32:04 otherwise, a nice clean svn checkout of opensrf and ils, please 2008-07-29T09:32:31 Right now? Or after you patch that big 4 lines? 2008-07-29T09:32:50 miker_: right now it will be a victory if slazer manages to compile Evergreen - he seems to be missing a critical -lopensrf 2008-07-29T09:33:03 Slazer: right now, I committed those lines about 10 minutes ago 2008-07-29T09:33:16 Oh, alrighty then. 2008-07-29T09:34:04 might be worth removing /openils/lib/lib[opensrf|objson] 2008-07-29T09:34:09 * 2008-07-29T09:34:47 before a recompile 2008-07-29T09:38:17 *** Mark__T has quit IRC 2008-07-29T09:40:36 Seems like it worked. I didn't get the error I was getting yesterday when I ran make. 2008-07-29T09:42:25 *clapping* 2008-07-29T09:42:40 dbs: You said I had to modify something in Apache? 2008-07-29T09:42:41 all that so that you can have a nice working conify environment 2008-07-29T09:43:12 yep, look for the osrf_http_translator section of Open-ILS/examples/apache/eg_vhost.conf and add that to /etc/apache2/eg_vhost.conf 2008-07-29T09:49:18 * dbs wonders if people building picklists are going to want to search in a subject field 2008-07-29T09:49:44 I'll say "no" - this is a known item search 2008-07-29T09:51:26 * dbs is working through acq workflow to prepare for tomorrow's demo 2008-07-29T09:51:46 -= THIS MESSAGE NOT LOGGED =- 2008-07-29T09:52:00 dbs: did you get an error when trying to compile before? (when you added those extra files, but before you moved the lines to the install portion) 2008-07-29T09:52:11 dbs: i better update the acq box and "activate" my build 2008-07-29T09:53:46 dbs: updated 2008-07-29T09:54:15 kbeswick: yes, it was a permissions error ("could not write osrf_http_translator.Plo to .deps" if I recall correctly) 2008-07-29T09:54:21 berick: wow, that was fast. 2008-07-29T09:54:50 I would run it locally, but I just don't trust that final piece of python translator dependency you mentioned 2008-07-29T09:55:35 yeah 2008-07-29T09:55:37 understand 2008-07-29T09:56:55 The menus are better. Nice 2008-07-29T09:58:37 yeah, less page loads 2008-07-29T10:14:15 berick: so is there a magic step at the moment between approval of items on a pick list and turning that into a PO? 2008-07-29T10:14:59 I'm sure it's just a backend thing atm, which is fine - just don't want to be missing something obvious 2008-07-29T10:25:40 dbs: in the lineitem search interface, there is a 'create po' button that shows up if you are searching for approved items 2008-07-29T10:25:52 ah 2008-07-29T10:26:15 I was missing something :) 2008-07-29T10:29:30 need to make sure you set the provider on the lineitems and have at least one copy per lineitem before a PO can be created 2008-07-29T10:29:37 and at least one price 2008-07-29T10:29:58 if you want to generate the bib data as well, for now, you have manually edit the barcode, callnumber, and shelving location on the copy details 2008-07-29T10:34:32 berick: heh, that would be why things are stalled at 0% :) 2008-07-29T10:34:55 yeah, there may be something interesting in the javascript console 2008-07-29T10:35:06 hmm - no, actually it seems to have completed. mmkay. 2008-07-29T10:35:17 at least, the titles went away 2008-07-29T10:38:48 *** pmurray_away is now known as pmurray 2008-07-29T10:49:37 hmm, shelving location isn't propagating with any data in LI search, which prevents me from editing barcode/callnum for the copy 2008-07-29T10:51:14 dbs: i don't understand 2008-07-29T10:51:21 or not... now it worked (after adding price / vendor) 2008-07-29T10:51:45 berick: i could edit barcode/callnum, but it didn't seem to be saving the changes 2008-07-29T10:52:33 got "the attempt to write to the DB failed" errors 2008-07-29T10:52:40 i've noticed one oddity with setting the shelving location. if you tab-enter to set the value instead of using the mouse, it won't set the right value (update fails) 2008-07-29T10:53:04 which is pure craziness 2008-07-29T10:53:46 hah - we should have lots of time to work out kinks like that :) 2008-07-29T10:55:00 yay, I have a PO. one out of two titles made it, anyways :) 2008-07-29T10:55:58 dbs: Alright, now that I know I can't use VI at all and my "1337" skills just faded away completely.... I just moved the osrf_http_translate stuff into the proper file (not using VI *sigh*) what do I do now? Just start apache and everything else? 2008-07-29T10:56:13 Slazer: hah! 2008-07-29T10:56:49 yeah, start up the opensrf services as usual (start_router, start_perl, start_c), then start apache, then go to http://localhost/conify/en-US/global/admin.html 2008-07-29T10:56:59 Ok. 2008-07-29T10:57:52 opensrf@order:~$ osrf_ctl.sh -c /openils/conf/opensrf_core.xml -a start_router 2008-07-29T10:57:52 Please specify the location of the opensrf_core.xml file using the -c flag 2008-07-29T10:57:55 I... am... 2008-07-29T10:58:24 strange 2008-07-29T10:58:28 try not specifying it 2008-07-29T10:59:21 oh 2008-07-29T10:59:22 duh 2008-07-29T10:59:32 Yeah, kevin just told me what to do. 2008-07-29T10:59:40 You don't have a file named /openils/conf/opensrf_core.xml 2008-07-29T11:10:53 hmm, so I've got a PO... now what? I guess we're verging into the unimiplemented EDI and receiving workflows here, although the ability to print or email the PO might make sense too 2008-07-29T11:11:26 dbs: that's pretty much it. there is middle-layer support for receiving, but no UI yet 2008-07-29T11:11:32 agreed on printing 2008-07-29T11:11:34 and emailing 2008-07-29T11:11:35 right on. 2008-07-29T11:11:46 that's good, that's good. 2008-07-29T11:13:36 woohoo, new keyboard. 2008-07-29T11:13:39 * berick plugs 'er in 2008-07-29T11:17:52 What the problem again when I go to start_router and it says "Unable to connect router to jabber server localhost" ? 2008-07-29T11:18:07 I haven't gotten that .... in a long time. Can't remember what to do about that. 2008-07-29T11:18:29 Slazer: make sure ejabberd is running 2008-07-29T11:18:37 It is. 2008-07-29T11:18:39 telnet localhost 5222 2008-07-29T11:18:56 if you get a response, then it's at least responding 2008-07-29T11:19:10 Trying 127.0.0.1... 2008-07-29T11:19:11 Connected to localhost. 2008-07-29T11:19:11 Escape character is '^]'. 2008-07-29T11:19:27 ok, good 2008-07-29T11:19:38 Slazer: have you followed the install instructions at http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_1.2_on_ubuntu_7.10 2008-07-29T11:19:46 prolly need to register users 2008-07-29T11:19:50 what dbs said ;) 2008-07-29T11:19:54 registered ejabberd users, updated opensrf_core.xml, etc... 2008-07-29T11:20:25 if you just mv'ed /openils, you should be able to simply copy over the old opensrf_core.xml & opensrf.xml 2008-07-29T11:29:11 oh yeah, this keyboard feels much better 2008-07-29T11:29:19 * berick gives is carpal tunnel a rest 2008-07-29T11:30:40 berick: good! 2008-07-29T11:30:53 carpal tunnel / RSI is decidedly not-good 2008-07-29T11:31:09 * dbs goes to change out of bike clothes 2008-07-29T11:52:12 dbs++ ubuntu install docs 2008-07-29T11:52:20 * berick thinks that will solve many problems 2008-07-29T12:06:02 *** Stompro has joined #openils-evergreen 2008-07-29T12:13:15 Could someone give me a pointer on accessing call number/volume notes. Is that functionality in the client yet? 2008-07-29T12:14:22 Stompro: IIR, copy notes are accessible via the copy editor interface. not sure about volumes 2008-07-29T12:14:52 Stompro: no volume or bib note interface yet 2008-07-29T12:15:28 Thank you both. 2008-07-29T12:25:44 dbs: is there a test instance at/for LU with the French translation of the OPAC? 2008-07-29T12:26:15 http://biblio-dev.laurentian.ca 2008-07-29T12:26:32 rad. thanks 2008-07-29T12:26:34 although it's rather out of date - lots of english poking through 2008-07-29T12:26:40 :) 2008-07-29T12:28:15 there's a good chance a complete set of french canadian and armenian translations will be coming our way soon-ish though 2008-07-29T12:30:00 awesome 2008-07-29T12:30:27 having at least one complete translation would be a nice prereq for 1.4. mayhaps we cut 1.4.0, call for translations based on 1.4.0, and revise 1.4.1 based on that feedback (as inevitably there will be lots of missing pieces / optimizations that translators will find) 2008-07-29T12:35:27 kgs: do you want those draft faqs in the wiki visible? 2008-07-29T12:37:00 * dbs heads for food 2008-07-29T12:37:02 dbs: well, yeah 2008-07-29T12:37:08 except for the roadmap 2008-07-29T12:37:12 kgs: okay 2008-07-29T12:37:16 the OSS FAQ is a mess... 2008-07-29T12:37:25 I figured, the cat's out of the bag ;) 2008-07-29T12:37:34 groovy 2008-07-29T12:38:07 * dbs orders more cat-resistant bags 2008-07-29T12:40:41 dbs: cat resistant won't pass code in GA ... please order cat proof bags 2008-07-29T12:45:26 eeevil: well, it was a case of me being too clever by half -- thinking that because my start page was my own namespace, that any namespace I created was subsidiary to it 2008-07-29T12:45:42 dbs: I have several FAQs to delete, if you hadn't noticed :) 2008-07-29T12:45:58 kgs: heh ... oh, I wasn't providing and commentary ... I just like cat jokes :) 2008-07-29T12:46:21 well at least my assumptions, however badly-informed, have some unix-like logic ;) 2008-07-29T12:46:29 :) 2008-07-29T12:46:30 meeeeow 2008-07-29T12:47:06 i should probably make a practice of reading a page of documentation from start to finish, though that sounds like a lot of work ;) 2008-07-29T12:48:24 it is too much work. see? we're saving the time of the developer by having sparse documentation! ;) 2008-07-29T13:03:23 Alright so I don't know what I'm missing now. Apache fails to start for me. So...what am I missing to look at to start Apache? =( 2008-07-29T13:03:50 Slazer: what does the apache error log say? 2008-07-29T13:04:03 (usually somewhere like /var/log/apach2/error.log) 2008-07-29T13:06:15 Hmm, hold on a second. 2008-07-29T13:07:21 feel free to use the Pastebin at http://paste.lisp.org/new/openils-evergreen 2008-07-29T13:08:00 Heh, ok. There are two errors... one is really long and the other is [error] Can't load Perl file: /etc/apache2/startup.pl for server 127.0.1.1:0, exiting.. 2008-07-29T13:08:37 ah, that would be a good thing to have, eh? 2008-07-29T13:08:49 should almost certainly be 127.0.0.1 2008-07-29T13:08:51 Slazer pasted "apache error log" at http://paste.lisp.org/display/64390 2008-07-29T13:08:52 not 127.0.1.1 2008-07-29T13:08:58 (localhost) 2008-07-29T13:09:24 But I do have startup.pl there... 2008-07-29T13:09:51 cpan install DateTime::Format::Mail 2008-07-29T13:10:00 yes, missing dependencies 2008-07-29T13:10:16 damn those rss feed validators 2008-07-29T13:10:32 indeed! 2008-07-29T13:11:27 Slazer: so, the reason that startup.pl failed was that previous error (just in case you were wondering) 2008-07-29T13:11:50 I seee... 2008-07-29T13:12:01 sboyette: 127.0.1.1 is probably okay, actually; I think ubuntu adds that automatically to /etc/hosts as an alias for localhost 2008-07-29T13:12:16 * dbs starts up his vmware image to check 2008-07-29T13:14:00 well, flip it around 2008-07-29T13:14:19 127.0.0.1 is used for localhost, 127.0.1.1 is used for "the real" host/domain name 2008-07-29T13:14:36 that's... bizarre 2008-07-29T13:14:45 but ok 2008-07-29T13:15:22 it's not bazaar, it's canonical! 2008-07-29T13:15:49 two puns for the price of one there -- too bad they still suck as jokes :) 2008-07-29T13:15:53 rollback 2008-07-29T13:16:18 * Slazer likes puns and laughed 2008-07-29T13:17:34 Canonical not canonical: discuss 2008-07-29T13:19:07 Hooray! Apache started! Thanks eeevil 2008-07-29T13:19:09 dbs: hey academic reserves.. I was at the WiLSworld conference listening to David Lankes, and during a presentation on how libraries should be focusing on knowledge as conversations and not on the artifacts of knowledge, he gave an example workflow with reserves... 2008-07-29T13:19:25 phasefx: do tell 2008-07-29T13:20:41 and as a professor he has a syllabus with lots of nifty information for students, and he gives that to the reserves department, and what the librarians do is pick out the "artificats" (the books, etc.) and throw most of the rest of the data away 2008-07-29T13:21:29 so, I have no concrete ideas on how would you preserve information like that in a useful way which could build semantic webs, etc., but I just wanted to mention it :) 2008-07-29T13:25:03 right - he really wants an online syllabus that just happens to also provide direct links to the external artifacts pertinent to the course 2008-07-29T13:25:34 dbs: now that Apache is started and everything I'm trying to go to http://localhost/conify/en-US/global/admin.html but get a 404 error. Why is it not found? 2008-07-29T13:25:34 * Slazer feels he needs to learn more about how things work so he can trouble shoot things himself 2008-07-29T13:25:54 * dbs agrees with Slazer if he wants a job in the fall :) 2008-07-29T13:26:09 Ouch 2008-07-29T13:26:37 dbs: I imagine such a thing would be useful if could expose more relationships from it and aggregate it with other syllabuses 2008-07-29T13:27:44 Slazer: does http://localhost work? 2008-07-29T13:27:58 Sure does 2008-07-29T13:28:00 phasefx: right, and support conversations etc 2008-07-29T13:28:03 I'm looking at this book for one purpose, and see that another class is also using it for something totally different/cool 2008-07-29T13:28:06 Slazer: ooooh 2008-07-29T13:28:33 you need dojo. it always helps to tell us what the 404 was for (apache2 access.log probably would tell you) 2008-07-29T13:28:57 download 1.1.1 from http://dojotoolkit.org/downloads 2008-07-29T13:29:17 extract it into /openils/var/web/js 2008-07-29T13:29:42 and "mv dojo-release-1.1.1/* dojo/." 2008-07-29T13:29:59 (if I recall correctly, that's the correct-ish incantation) 2008-07-29T13:30:11 dbs: Oh yeah... right, that's what I wanted to ask you on Friday, heh. I was trying to install it on my local machine to fool around with it but couldn't figure out where to put it so I put dojo on my own server to play with it. 2008-07-29T13:31:16 I already have a dojo folder in /openils/var/web/js ... it's the only directory I have in there actually. 2008-07-29T13:32:20 yep 2008-07-29T13:32:32 but it doesn't have the dojo, dojox, dijit directories does it? 2008-07-29T13:33:01 I know of what I speak, man... well, this time, at least. 2008-07-29T13:33:54 miker_: you've infected brandon's ability to spell! "recuring" this and "recuring" that. AUGH! 2008-07-29T13:34:07 nice 2008-07-29T13:34:41 time to help someone with spyware. wheee 2008-07-29T13:36:05 *** kbeswick has quit IRC 2008-07-29T13:39:11 *** kbeswick has joined #openils-evergreen 2008-07-29T13:41:15 dbs: ok, well I moved everything into the dojo directory.... still have the 404... http://localhost/confiy works but there's no "en-US" folder there it goes straight to "global/" 2008-07-29T14:01:30 okay, now you take a look at Open-ILS/examples/apache to find a reference to "conify" 2008-07-29T14:02:24 and you don't find anything 2008-07-29T14:02:30 hrm.. really? 2008-07-29T14:03:21 really, dude 2008-07-29T14:03:23 so dbs checks in an update to eg_vhost.conf accordingly 2008-07-29T14:03:27 well dang 2008-07-29T14:04:22 Ok... so I'm lost. Heh. What's missing? And Why is it important? 2008-07-29T14:05:58 Slazer: update your Evergreen checkout and grep for conify in Open-ILS/examples/apache 2008-07-29T14:06:02 dbs: I'm going to test trimming down the conify stuff ... all the setenvif bits should not be needed 2008-07-29T14:06:12 dbs: ok 2008-07-29T14:06:23 eeevil: oh, sure, I was just doing the naive "get it working" commit :) 2008-07-29T14:06:36 rock, sir 2008-07-29T14:06:37 proceed 2008-07-29T14:06:39 dbs: when are you showing acq? 2008-07-29T14:06:48 berick: tamale 2008-07-29T14:07:47 hm, you're showing acq a traditional indigenous American food consisting of steam-cooked corn dough? 2008-07-29T14:08:16 otherwise known as Masa 2008-07-29T14:08:35 berick: a tragic case of misunderstood requirements 2008-07-29T14:08:54 indeed 2008-07-29T14:09:48 dbs: mind giving me a heads up before you do so I can make sure it's in a usable state (and stays that way for a period of time)? 2008-07-29T14:10:09 berick: 10:00 - 12:00 tomorrow 2008-07-29T14:10:15 word 2008-07-29T14:10:16 thanks 2008-07-29T14:10:22 no no - thank you 2008-07-29T14:15:56 Slazer: any joy yet? 2008-07-29T14:18:04 I updated my Evergreen checkout and I found "RewriteRule ^/conify/.*/global/(.*)$ /conify/global/$1" and "" in eg_vhost.conf but I dunno what that means, heh. And I'm still getting a 404 error 2008-07-29T14:18:08 i'm putting "Burritos" on all my RFPs from here out 2008-07-29T14:19:34 sboyette: may as well throw in some cerveza, too 2008-07-29T14:23:06 Slazer: did you place that new section into /etc/apache2/eg_vhost.conf and restart apache? 2008-07-29T14:25:30 Hmm, I guess saving the change to the /etc/apache2/eg_vhost.conf file would help with that, eh? -_- 2008-07-29T14:26:24 Well I restarted it but now I get.... nothing. 2008-07-29T14:26:43 Firefox spews out "Failed to Connect" 2008-07-29T14:26:57 dbs: i just added a button to mark a single item as receive. so, we now have a rudimentary acq system 2008-07-29T14:27:09 berick: saw that - rockin' 2008-07-29T14:27:38 Slazer: so, usual question - any errors in /var/log/apache2/error.log? 2008-07-29T14:28:05 also, have you done the usual autogen.sh / test login via srfsh dance to confirm that the base system is working? 2008-07-29T14:30:57 dbs: everything in the error log file are all debug lines. No lines with an error in it. 2008-07-29T14:31:12 and a test login via srfsh works? 2008-07-29T14:31:20 and you've run autogen.sh? 2008-07-29T14:31:20 *** pmurray is now known as pmurray_away 2008-07-29T14:32:27 autogen.sh from where? 2008-07-29T14:33:27 and how do I do a test long via srfsh? 2008-07-29T14:33:33 login* 2008-07-29T14:34:52 Ok, figured out how to do a test login... 2008-07-29T14:34:55 doesn't work. 2008-07-29T14:35:05 srfsh# login admin open-ils 2008-07-29T14:35:05 Unable to communicate with service open-ils.auth 2008-07-29T14:35:06 ???: login admin open-ils 2008-07-29T14:39:51 I'm guessing that open-ils.auth isn't running 2008-07-29T14:40:15 did you copy over your old opensrf.xml file or edit the example one? 2008-07-29T14:40:29 I copied my old one. 2008-07-29T14:45:15 and you ran start_router / start_perl / start_c ? 2008-07-29T14:45:28 I did indeed sir. 2008-07-29T14:46:00 berick: how much do you not want me to break dev right now? ;) 2008-07-29T14:46:17 eeevil: do your worst. 2008-07-29T14:46:19 (you know this is coming) any errors in /openils/var/log/open-ils.auth.log or osrfsys.log? 2008-07-29T14:46:25 berick: oh... I will 2008-07-29T14:46:28 haha 2008-07-29T14:47:03 well, ignore open-ils.auth.log, it won't exist 2008-07-29T14:47:23 eeevil: just don't break acq.open-ils.org for a day or so, mmmkay? Please? :) 2008-07-29T14:47:25 ahh... it's beautiful watching configure output scroll by 2008-07-29T14:47:43 * berick wonders if there are any good examples printed POs floating around 2008-07-29T14:47:44 dbs: sure thing ... as long as berick doesn't merge from trunk, you should be good 2008-07-29T14:48:01 berick: I can probably scan some for you and blur out details 2008-07-29T14:48:02 noted ;) 2008-07-29T14:48:12 dbs: yr the wind beneath my wings 2008-07-29T14:48:46 I played bass for that song in a high school talent show. (I was an emergency fill in, forced to sight-read the music) 2008-07-29T14:48:51 well.. it's broken 2008-07-29T14:48:54 dbs: there's a lot in osrfsys.log 2008-07-29T14:48:57 but I can't claim this error 2008-07-29T14:49:15 miker pasted "opensrf build error" at http://paste.lisp.org/display/64396 2008-07-29T14:50:53 eeevil: looks like an svn collision 2008-07-29T14:51:24 huh ... was someone editing the repo for opensrf? 2008-07-29T14:51:48 i won't say it's impossible ;) 2008-07-29T14:52:01 they were... 2008-07-29T14:52:26 whatever's there, trash it 2008-07-29T14:52:31 #define GATEWAY_DEFAULT_CONFIG "/openils//etc/opensrf_core.xml" 2008-07-29T14:52:42 you wanna keep that? 2008-07-29T14:52:58 in the gateway 2008-07-29T14:53:47 dbs: I see a number of warning in the osrfsys.log that say: opensrf 2008-07-29 14:46:23 [WARN:8582:osrf_application.c:31:] Failed to dlopen library file oils_rstore.so: oils_rstore.so: cannot open shared object file: No such file or directory All of the warning are for .so files it seems 2008-07-29T14:54:49 eeevil: nah, just delete the gateway file and svn up 2008-07-29T14:54:52 berick: so you don't care about that? 2008-07-29T14:54:53 k 2008-07-29T14:55:37 opensrf takes a bit longer to compile now ;) 2008-07-29T14:56:22 yeah ;) 2008-07-29T14:56:28 it makes a crap ton of files 2008-07-29T14:56:47 arg ... now cstore is not happy 2008-07-29T14:57:09 any of the c services, it seems 2008-07-29T14:58:10 lord, there is an ofbiz process running on dev 2008-07-29T14:58:13 * berick kills 2008-07-29T14:58:38 haha 2008-07-29T14:58:52 so ... yeah. c services are entirely not happy 2008-07-29T15:00:02 eeevil: ok if I poke at it for a sec? 2008-07-29T15:00:08 please! 2008-07-29T15:00:19 * eeevil hand berick the pointy stick 2008-07-29T15:01:48 eeevil: huh. i think dev may finally be falling victim to the start_all race condition 2008-07-29T15:01:55 odd 2008-07-29T15:02:16 i'm gonna update .. uh ... update.sh to start individually 2008-07-29T15:02:24 rock 2008-07-29T15:08:53 what do you all think is the best approach for getting the ACQ code out to people to poke around with? Just add a (better) install page to the wiki? 2008-07-29T15:11:22 attempting to unbreak dev :) 2008-07-29T15:22:08 *** Parhamp has joined #openils-evergreen 2008-07-29T15:24:38 put up vmware under xp initial test box, stuck installing evergreen 1.2.2.3 on debian amd64 2008-07-29T15:25:58 postgresql installed, evergreen db created, make install as root cannot connect with psql 2008-07-29T15:28:59 etc init.d postgresql-8.1 restart works, ps shows postmaster process running 2008-07-29T15:31:34 hah 2008-07-29T15:32:13 Slazer: you nailed the problem 2008-07-29T15:32:34 care to "cat /etc/ld.so.conf.d/eg.conf" ? 2008-07-29T15:32:44 Ok. 2008-07-29T15:33:09 /usr/local/lib 2008-07-29T15:33:09 /usr/local/lib/dbd 2008-07-29T15:33:09 /openils/lib 2008-07-29T15:33:24 Parhamp: are you following http://open-ils.org/dokuwiki/doku.php?id=installing_evergreen_1.2_on_debian_etch_x86_32-bit 2008-07-29T15:33:40 Slazer: sudo ldconfig 2008-07-29T15:34:30 love to 2008-07-29T15:34:46 berick: acq code out to poke with - assuming that python bit goes away, a 'bleeding edge' install page (including all the other changes in trunk & acq) would certainly help 2008-07-29T15:34:52 dbs: sho here's something fun ... FF uses ll-ll (all lower) as the locale format ... and you can't change that by hand 2008-07-29T15:35:09 Yes, I'm following those 2008-07-29T15:35:14 but a vmware image would probably be good for that too 2008-07-29T15:36:59 Parhamp: i suspect that the postgresql username/password/hostname you specified in "make config" are wrong then 2008-07-29T15:37:23 try "psql -U username -h hostname -W" to see if you can connect 2008-07-29T15:37:33 eeevil: "fun" 2008-07-29T15:37:53 Ok, I'll try that. i used evergreen evergreen evergreen 2008-07-29T15:38:01 dbs: after that what should I do" I restarted Apache but I'm still getting a "Failed to Connect" in Firefox for conify. 2008-07-29T15:38:08 dbs: yes ... "fun" 2008-07-29T15:38:27 Slazer: well let's fix your .so problems first, okay? 2008-07-29T15:38:40 anyway, that's far from my only problem ... right now :) 2008-07-29T15:38:45 if you restart the C services, do you still get those warnings 2008-07-29T15:39:26 *** EGUEST375 has joined #openils-evergreen 2008-07-29T15:40:42 Is there somebody here who could possibly clear up a point of confusion I have with the prequisites to install OpenILS on Gentoo? 2008-07-29T15:40:43 eeevil: yeah, I suspect our friend Dojo will be better equipped to deal with Accept-Language mangling 2008-07-29T15:41:11 EGUEST375: uhh - maybe - but i haven't installed on Gentoo for a good nine months 2008-07-29T15:41:40 dbs: su - root, psql -U evergreen -h debian-evergreen -W 2008-07-29T15:42:14 *** asmodai has quit IRC 2008-07-29T15:42:22 dbs: FATAL error no pg_hba.conf entry for host 127.0.1.1 username evergreen database name evergreen 2008-07-29T15:42:51 Parhamp: well there you go - use "localhost" as the hostname instead 2008-07-29T15:42:56 *** asmodai has joined #OpenILS-Evergreen 2008-07-29T15:43:03 Thank you. Step 6 on installing Apache2 reads "Copy eg.conf and eg_vhost.conf from ILS/Open-ILS/examples/apache/ into the /etc/apache2/vhosts.d/ directory." 2008-07-29T15:43:23 or edit /etc/postgresql/8.1/main/pg_hba.conf to copy the 127.0.0.1 line and change that to 127.0.1.1 2008-07-29T15:43:39 Arg, lagging horribly, going to get on via a real client 2008-07-29T15:43:50 EGUEST375: mibbit.com is apparently good too 2008-07-29T15:43:53 *** EGUEST375 has quit IRC 2008-07-29T15:43:59 dbs: you mean as opensrf doing the make config 2008-07-29T15:44:01 dbs: yes. I still have the warnings. 2008-07-29T15:44:23 Slazer: are the problematic files in /openils/lib/ ? 2008-07-29T15:44:50 Parhamp: yep, to use "localhost" just go through make config again and press enter for everything except hostname 2008-07-29T15:45:03 *** kbeswick has quit IRC 2008-07-29T15:46:36 dbs: yes, it seems like it. 2008-07-29T15:46:57 *** Mindless42 has joined #openils-evergreen 2008-07-29T15:47:03 Ok, there we go 2008-07-29T15:47:09 I'm the "EUGUEST" from before 2008-07-29T15:47:22 Or whatever the default nick is 2008-07-29T15:47:30 hi Mindless42 2008-07-29T15:47:42 Step 5, actually, is where I run into issues. 2008-07-29T15:48:02 where would I fine ILS/Open-ILS/examples/apache/ ? 2008-07-29T15:48:06 find* 2008-07-29T15:48:48 ah, make that "Evergreen-1.2.2.3/Open-ILS/examples/apache" or whatever 2008-07-29T15:48:49 dbs: tried that, now it just says can't connect on 'localhost' instead, off to edit pg-hba.conf now 2008-07-29T15:49:03 Parhamp: now that it just weird 2008-07-29T15:49:31 Well, the issue with that is that Evergreen isn't installed yet. 2008-07-29T15:49:41 Parhamp: do you happen to have Postgresql 7.4 installed too? 2008-07-29T15:49:54 Parhamp: if so, 8.1 might be running on port 5433 2008-07-29T15:49:55 And the install guide seems to indicate it should not be installed yet. 2008-07-29T15:50:26 Mindless42: the install guide is referring to "ILS" as the root directory of the unpacked tarball or SVN checkout 2008-07-29T15:50:33 so those are just the source files. 2008-07-29T15:50:54 Oh, so I actually needed to have downloaded and unpacked Evergreen at this point 2008-07-29T15:50:59 indeed 2008-07-29T15:51:34 I don't know who takes care of the install instructions, but you may want to make that a bit more clear 2008-07-29T15:51:40 Thanks for the help 2008-07-29T15:52:21 Mindless42: mostly me - so yeah, I'll revise that 2008-07-29T15:52:40 Mindless42: alternately, if you successfully install on gentoo, please feel free to take over the install docs! 2008-07-29T15:52:49 Hah, yeah, right. 2008-07-29T15:52:54 I barely got gentoo installed 2008-07-29T15:52:56 *** phase_mibbit has joined #openils-evergreen 2008-07-29T15:53:08 I traveled outside of slackware and suddenly there were issues galore 2008-07-29T15:53:18 Admittedly, some of it was user stupidity and accidents. 2008-07-29T15:53:18 dbs: I removed it, the 7.4 client and even the docs 2008-07-29T15:54:30 Parhamp: "sudo grep port /etc/postgresql/8.1/main/postgresql.conf" will tell you what port 8.1 is running on 2008-07-29T15:54:43 err... su - root ; grep port /etc/postgresql/8.1/main/postgresql.conf 2008-07-29T15:54:47 ubuntu on the brain :) 2008-07-29T15:55:41 hello 2008-07-29T15:55:43 Ubuntu command line systems are pure evil on older hardware 2008-07-29T15:56:20 mibbit has some translation feature, I expected phase_mibbit to say konnichiwa :) 2008-07-29T15:58:07 dbs: I had modified hb_pga.conf to try and allow tcp connections from the network, the psql command -U... works now 2008-07-29T15:58:27 dbs: put the ipv4 line back to 127.0.0.1/32 2008-07-29T15:58:40 Parhamp: weird. I've never had to touch the default pg_hba.conf config 2008-07-29T16:00:43 dbs: so the problematic files are in /openils/lib. What should I do? 2008-07-29T16:01:14 dbs: postgresql.conf does show port 5433 2008-07-29T16:02:33 dbs: redid make config, used 5433, make install as root is flying now! 2008-07-29T16:02:58 dbs: thanks, the devils is in the details and he was givin me hell! 2008-07-29T16:05:10 Parhamp: yay! 2008-07-29T16:05:19 Slazer: I'll drop by - you get to work late tonight :) 2008-07-29T16:05:37 Deal. 2008-07-29T16:06:01 dbs: J'ai changé le web par défaut sur la passerelle ouverte à ils.org mibbit.com. Permettez-moi de savoir si cela semble horrible pour vous:) 2008-07-29T16:06:54 Ce n'est pas plus horrible de moi. 2008-07-29T16:07:27 Ce n'est pas plus horrible de moi. (pasting this in to try their translate to English feature) 2008-07-29T16:07:34 bah 2008-07-29T16:08:33 Ich bin auch fasziniert und entsetzt über diese automatische Übersetzungsfunktion 2008-07-29T16:10:53 * dbs wonders whatever happened to the German folks that were interested in EG early on 2008-07-29T16:10:59 and heads over to Slazer's office 2008-07-29T16:12:49 *** Parhamp has quit IRC 2008-07-29T16:16:14 *** rsinger__ has joined #OpenILS-Evergreen 2008-07-29T16:32:01 *** rsinger has quit IRC 2008-07-29T16:39:52 *** Slazer has quit IRC 2008-07-29T16:42:54 *** dbs has quit IRC 2008-07-29T16:59:50 dev seems unbroken now 2008-07-29T17:04:09 *** dbs has joined #openils-evergreen 2008-07-29T17:04:25 hey, did vandelay move from 1.4 to 2.0 or is that just my imagination? 2008-07-29T17:05:39 trac roadmap is also showing that we're one week late for 1.2.3, with no tickets open against it :) 2008-07-29T17:18:59 berick: btw, I didn't forget about the PO thing. It turns out that we never generate paper POs. 2008-07-29T17:19:45 We enter everything into our vendor's electronic ordering system, and they just ship us what we ordered with a packing slip and a subsequent invoice 2008-07-29T17:19:53 vendors' I should say 2008-07-29T17:27:40 *** phase_bb has quit IRC 2008-07-29T17:28:28 *** dbs has quit IRC 2008-07-29T18:01:50 *** phase_mibbit has quit IRC 2008-07-29T18:08:03 *** Stompro has quit IRC 2008-07-29T18:36:44 * kgs kgs_away 2008-07-29T19:13:27 *** wlayton has joined #OpenILS-Evergreen 2008-07-29T19:23:34 *** wlayton has quit IRC 2008-07-29T19:39:16 *** djfiander has joined #OpenILS-Evergreen 2008-07-29T20:50:20 ok, I'm trying to add a "receiving" option to the "acquisitions" menu at the top of the acq screen. the menu's appearing, but I have apparently forgotten how to add new operations to pylons 2008-07-29T20:50:35 I'm getting "500 Internal Server Error" when I go to 2008-07-29T20:50:46 http://acq.open-ils.org/djf/acq/receiving/process 2008-07-29T20:50:55 berick: where's the pylons log? 2008-07-29T20:51:51 djfiander: errors go to the apache log /var/log/apache2/error.log 2008-07-29T20:52:08 djfiander: i stole acq today too.. you'll need to setup.py develop 2008-07-29T20:52:16 yup, already got that 2008-07-29T20:52:29 and, I've found, clearing the caches is sometimes necessary 2008-07-29T20:53:27 cleared those out 2008-07-29T20:53:41 found it. 2008-07-29T20:53:58 not a cache problem, a david problem 2008-07-29T20:56:12 *** wlayton has joined #OpenILS-Evergreen 2008-07-29T20:56:38 djfiander: to test, i added a receive button in the jub details grid, so you can see the api call (pretty simple) 2008-07-29T20:56:49 cool 2008-07-29T20:57:08 I saw the new lineitem search interface too. looks good 2008-07-29T21:00:43 we've added support for setting certain lineitem attr's as identity columns. so, the reciving interface can have a single text input that will search accross isbn, issn, lccn, etc. (whatever attrs are captured) 2008-07-29T21:01:12 i'll need to get with mike on setting up the actual search call, but you get the idea 2008-07-29T21:01:22 I saw that in miker_ 's message. I've been kinda offline for the weekend and a bit. 2008-07-29T21:18:28 @later tell dbs no, vandelay is still slated for 1.4 2008-07-29T21:18:28 miker_: The operation succeeded. 2008-07-29T21:21:13 berick: we can work on that whenever you'd like, sir 2008-07-29T21:21:39 now's good 2008-07-29T21:21:43 ha 2008-07-29T21:21:45 ok 2008-07-29T21:21:48 heh 2008-07-29T21:21:52 berick++ 2008-07-29T21:23:36 so, I assume you just want to find certain classes of lineitems, eh? 2008-07-29T21:23:42 certain states, rather 2008-07-29T21:23:49 yeah 2008-07-29T21:24:12 in-process is what i'm calling the on order items (i'm fine changing that, btw) 2008-07-29T21:24:23 can't receive something we haven't ordered 2008-07-29T21:24:55 but, i also like the idea of being able to provide state as a filter 2008-07-29T21:25:00 well... I see a problem 2008-07-29T21:25:15 so you could, concievably, use this generic search infrastructure to find any lineitem 2008-07-29T21:25:20 we're not recording, on the attr, which definition was used to capture it 2008-07-29T21:25:41 yes ... any lineitem by an ident attribute 2008-07-29T21:26:45 hm, can't that be reconstructed from the attr type, and attr name? 2008-07-29T21:27:08 name comes from code on the attr_def? 2008-07-29T21:27:25 yes, it does 2008-07-29T21:27:51 however, code is not unique 2008-07-29T21:28:21 arg ... I can't believe I did that :( 2008-07-29T21:28:22 ok... 2008-07-29T21:28:42 trying to figure out how to do this without removing any data 2008-07-29T21:29:21 wel... 2008-07-29T21:29:22 ok 2008-07-29T21:30:43 alright 2008-07-29T21:31:36 one snag ... there are 2 called fund_code on the provider def. that makes sense, because you'd have one per vendor (potentially) 2008-07-29T21:31:55 but it means we can't use /just/ name and type on the attr 2008-07-29T21:32:20 so ... we need the def id 2008-07-29T21:32:57 makes sense 2008-07-29T21:48:09 *** gmcharlt is now known as gmcharlt_away 2008-07-29T21:49:42 ok ... so, I can't get the correct fund code 2008-07-29T21:50:44 or, rather, the correct definition for the fund code 2008-07-29T21:52:45 will that be a problem for your current purposes? 2008-07-29T21:52:48 hm, well, i don't think the accuracy of the data matters too much 2008-07-29T21:52:54 if the definition id for that is wrong 2008-07-29T21:52:54 ok 2008-07-29T21:53:10 yeah, i think it's ok 2008-07-29T21:55:36 actually ... the xpath is the same 2008-07-29T21:55:40 so it'll still "work" 2008-07-29T21:55:47 heh 2008-07-29T21:56:25 *** agJohn has quit IRC 2008-07-29T21:58:40 heh ... you have attrs with no definition 2008-07-29T21:58:50 the estimated_price usr attribute 2008-07-29T21:59:06 should I just remove those? (I think we're using local now) 2008-07-29T21:59:20 yeah 2008-07-29T21:59:22 *** JMCraig has joined #openils-evergreen 2008-07-29T21:59:24 *** JMCraig is now known as agJohn 2008-07-29T22:00:43 ok ... on to the idl 2008-07-29T22:01:04 berick: you'll need to set the definition field to the id of the proper attr def 2008-07-29T22:01:22 ok 2008-07-29T22:04:02 miker_: I'll need to set it for the human-generated attrs, i assume. the marc internal-combustion code will set definitions for the marc/provider/generated attr defs? 2008-07-29T22:04:33 yes, correct 2008-07-29T22:04:39 cool 2008-07-29T22:06:59 ok ... IDL and sql and db updated 2008-07-29T22:07:36 you have a new field call 'definition' on acqlia 2008-07-29T22:08:35 yep, cool 2008-07-29T22:08:44 it's a fleshable link, but from the base lineitem_attr_definition table, so no xpath or usr or provider ... just the code, description and ident fields 2008-07-29T22:09:01 and id, of course 2008-07-29T22:09:53 * berick updates acq 2008-07-29T22:13:01 berick: do it again ;-) 2008-07-29T22:13:42 hey! .../receiving! 2008-07-29T22:14:01 yup, and it's EMPTY! 2008-07-29T22:14:21 * berick restarts Perl 100 times in a row 2008-07-29T22:14:34 it's the only way to be sure 2008-07-29T22:14:38 hah 2008-07-29T22:15:02 berick: while true; osrf_ctrl.sh -a restart_perl; sleep 1; done 2008-07-29T22:15:40 * djfiander wanders off 2008-07-29T22:16:03 miker_: you forget the &'s ;) 2008-07-29T22:16:17 "osrf bomb!" 2008-07-29T22:16:50 no &'s ... it works or it deserves to die! 2008-07-29T22:17:10 *** djfiander has quit IRC 2008-07-29T22:20:23 berick: now we can talk about a json_query ;) 2008-07-29T22:22:14 now, to the heart of it all 2008-07-29T22:29:38 we could do a view, but that's a bit inflexible 2008-07-29T22:32:21 does cstore support ilike-style searches? 2008-07-29T22:34:53 hrm.. it should 2008-07-29T22:35:05 what are you trying to do, though 2008-07-29T22:35:27 just curious about this ident search in particular 2008-07-29T22:35:42 I'd use a lower transform... 2008-07-29T22:36:03 and lowercase the input in the ML 2008-07-29T23:03:34 berick: request open-ils.cstore open-ils.cstore.json_query {"from":"acqlia","where":{"attr_value":{"ilike":"%0805021272%"}}} 2008-07-29T23:03:48 (sorry ... domestic duties called) 2008-07-29T23:05:46 ooo... here's a good one: 2008-07-29T23:06:14 request open-ils.cstore open-ils.cstore.json_query {"from":"acqlia","where":{"-or":[{"attr_value":{"ilike":"%0805021272%"}},{"attr_value":{"ilike":"%0754609650%"}}]} 2008-07-29T23:07:10 * berick takes notes 2008-07-29T23:09:02 so i guess the next step is to work in a join on attr_def where ident = true? 2008-07-29T23:09:42 yeah ... I'm working on that part now :) 2008-07-29T23:09:51 ah, cool ;) 2008-07-29T23:10:41 so, we want to restrict it to 1) ident definitions 2008-07-29T23:10:59 and 2) a set of jub states 2008-07-29T23:11:34 and probably locations ... 2008-07-29T23:11:38 "owners" 2008-07-29T23:12:10 at what level? 2008-07-29T23:12:25 I would assume "here or deeper" 2008-07-29T23:13:30 i mean, what owner data in particular? the lineitem provider/selector/etc.? 2008-07-29T23:15:45 oh ... the PO owner, I would suspect 2008-07-29T23:15:49 i guess ordering agency on the po is a good start 2008-07-29T23:15:54 heh 2008-07-29T23:16:33 what states do we care about 2008-07-29T23:17:27 just in-process? 2008-07-29T23:17:30 for now 2008-07-29T23:17:35 i could imagine wanting to perform such a search on lineitems in any state, but primarily in-process 2008-07-29T23:17:45 I'm using "in" so it can be any set 2008-07-29T23:17:51 cool 2008-07-29T23:19:02 should we left join to acqpo, or should there /always/ be a po? 2008-07-29T23:19:37 well ... join type won't matter for this query... nm 2008-07-29T23:20:10 unless you do want to be able to say "for POs from this ordering agency OR picklists looking like X" 2008-07-29T23:21:57 so, not to distract you, but i'm getting a curious db syntax error when i install acq-experiment on a new etch image (latest code). http://rafb.net/p/EHSRNL85.html 2008-07-29T23:22:06 miker_: i could see that being useful at some point 2008-07-29T23:22:16 but not a big priority 2008-07-29T23:22:29 k 2008-07-29T23:23:11 that sql (from my paste) looks fine, unless i'm just blind 2008-07-29T23:27:21 I don't think 8.2 had value lists... 2008-07-29T23:28:05 has 2008-07-29T23:28:17 dbs ran into that before too 2008-07-29T23:28:46 ahh. hm, well, this is 8.1, fwiwi 2008-07-29T23:29:00 well, 8.1 definitely doesn't 2008-07-29T23:29:21 well, wait a sec. this is just the evergreen install sql 2008-07-29T23:29:37 but it's from the acq branch, eh? 2008-07-29T23:29:41 yeah 2008-07-29T23:29:50 that makes assumptions that trunk does not 2008-07-29T23:30:32 ok 2008-07-29T23:31:01 i'll try 8.2 and see how it responds 2008-07-29T23:32:31 http://rafb.net/p/eyaxUd18.html (untested as of yet) 2008-07-29T23:33:16 we can move the odering_agency filter down to the where clause, but then we can't make the PO join a left join 2008-07-29T23:35:21 mice 2008-07-29T23:35:26 heh.. nice ;) 2008-07-29T23:35:30 well... it's not happy just yet 2008-07-29T23:36:15 *** wlayton has quit IRC 2008-07-29T23:36:21 wow ... I segfaulted cstore 2008-07-29T23:37:15 that worries me 2008-07-29T23:37:27 all of those constructs should work 2008-07-29T23:37:41 ... and there was a big change recently ;) 2008-07-29T23:39:54 fwif, i cause cstore to segfault pretty much any time i mangle a query 2008-07-29T23:40:02 hrm... 2008-07-29T23:45:22 well... no segfault, but no output 2008-07-29T23:50:43 har, i just caused apt-get to segfault ;) 2008-07-29T23:50:52 vbox:/opt/src# apt-get -s install postgresql-8.2 2008-07-29T23:50:52 Segmentation faultsts... 71% 2008-07-29T23:51:08 gah