2008-08-23T00:19:50 *** kgs_evening has quit IRC 2008-08-23T02:30:09 *** kados has quit IRC 2008-08-23T06:48:03 *** kados has joined #openils-evergreen 2008-08-23T09:13:28 *** kados has quit IRC 2008-08-23T09:13:28 *** miker_ has quit IRC 2008-08-23T09:13:28 *** lisppaste6 has quit IRC 2008-08-23T09:14:12 *** kados has joined #openils-evergreen 2008-08-23T09:14:12 *** miker_ has joined #openils-evergreen 2008-08-23T09:14:12 *** lisppaste6 has joined #openils-evergreen 2008-08-23T09:48:10 *** kgs_evening has joined #openils-evergreen 2008-08-23T11:18:12 *** rsinger_ has joined #OpenILS-Evergreen 2008-08-23T11:21:15 *** rsinger__ has joined #OpenILS-Evergreen 2008-08-23T11:34:55 *** rsinger has quit IRC 2008-08-23T11:37:59 *** rsinger_ has quit IRC 2008-08-23T11:38:49 *** phase_bb has quit IRC 2008-08-23T11:39:03 *** rsinger has joined #OpenILS-Evergreen 2008-08-23T11:42:04 *** rsinger_ has joined #OpenILS-Evergreen 2008-08-23T11:48:08 *** rsinger___ has joined #OpenILS-Evergreen 2008-08-23T11:51:11 *** rsinger____ has joined #OpenILS-Evergreen 2008-08-23T11:54:14 *** rsinger_____ has joined #OpenILS-Evergreen 2008-08-23T11:55:28 *** rsinger__ has quit IRC 2008-08-23T11:57:10 *** rsinger__ has joined #OpenILS-Evergreen 2008-08-23T11:58:25 *** rsinger has quit IRC 2008-08-23T12:00:11 *** rsinger has joined #OpenILS-Evergreen 2008-08-23T12:04:13 *** rsinger_ has quit IRC 2008-08-23T12:08:04 *** rsinger___ has quit IRC 2008-08-23T12:11:34 *** rsinger____ has quit IRC 2008-08-23T12:13:15 *** rsinger_____ has quit IRC 2008-08-23T12:16:16 *** rsinger__ has quit IRC 2008-08-23T12:21:15 *** rsinger has quit IRC 2008-08-23T12:37:37 *** phase_bb has joined #openils-evergreen 2008-08-23T13:12:46 *** mdxi_ has joined #openils-evergreen 2008-08-23T13:12:48 *** sboyette has quit IRC 2008-08-23T13:40:30 *** grahamf has joined #openils-evergreen 2008-08-23T16:08:34 *** phase_bb has quit IRC 2008-08-23T17:04:38 *** grahamf has quit IRC 2008-08-23T17:31:55 *** rsinger has joined #OpenILS-Evergreen 2008-08-23T21:14:35 *** sarabee_ is now known as other_miker 2008-08-23T21:20:31 *** grahamf has joined #openils-evergreen 2008-08-23T21:28:09 hello Evergreen folks 2008-08-23T21:28:54 is there anyone in-channel who could help with an installation issue? 2008-08-23T21:30:15 I can try, but it's not my area of expertise 2008-08-23T21:31:46 phasefx: thx. :-) I think I've actually got Evergreen installed(!). I can start up the staff_client, and log into the server, but I get an error after login 2008-08-23T21:32:25 what's the error? 2008-08-23T21:32:28 It says it's sending a request, request open-ils.actor open-ils.actor.org_tree.descendants.retrieve 1,-1 2008-08-23T21:32:28 2008-08-23T21:32:53 error says: TypeError: branch has no properties 2008-08-23T21:33:10 when was the last time you ran autogen.sh? 2008-08-23T21:34:07 today. Is it safe to repeat the autogen step? 2008-08-23T21:34:32 yeah, it's safe to run autogen at will 2008-08-23T21:34:40 ok, let me give that a try. Thanks. 2008-08-23T21:34:53 have you edited the org tree at all and have not run autogen afterward? 2008-08-23T21:35:12 Don't know how to edit the org tree yet. :-) 2008-08-23T21:35:20 *8) 2008-08-23T21:35:26 do I need to stop router and other osrf_ctl services before autogen? 2008-08-23T21:35:31 no 2008-08-23T21:35:34 ok 2008-08-23T21:35:47 autogen just creates static javascript files for use by the OPAC and staff client 2008-08-23T21:36:06 ah. OK, brb, I'm going to re-run it. 2008-08-23T21:37:17 autogen was successful, only some Perl warnings, '"my" variable $self masks earlier declaration in same scope' 2008-08-23T21:37:23 but xul client still throws same error 2008-08-23T21:37:57 have you used srfsh before? 2008-08-23T21:38:14 just for the 'login admin open-ils' test 2008-08-23T21:38:31 try using srfsh, and entering request open-ils.actor open-ils.actor.org_tree.descendants.retrieve 1,-1 2008-08-23T21:39:12 "Received no data from server" 2008-08-23T21:40:44 which EG release is this? 2008-08-23T21:40:48 ah, so retrieve is a method of OpenILS::Application::Actor 2008-08-23T21:41:04 not a release. svn head. (Is that bad?) 2008-08-23T21:41:28 I wouldn't expect so; just more data for me to consider 2008-08-23T21:41:35 ok 2008-08-23T21:41:46 opensrf is also svn head, if it matters 2008-08-23T21:41:51 try it without the ,-1 and watch what happens 2008-08-23T21:41:55 ok 2008-08-23T21:42:11 ah, I get a long JSON-ish data structure 2008-08-23T21:42:31 yeah, I'm wondering if -1 is a valid argument here, and if not, where it's coming from.. the argument is supposed to be perm_depth 2008-08-23T21:42:54 let me login to demo and see what gets passed there 2008-08-23T21:43:06 hm, I'll also copy a snippet from stdout of the xulrunner to confirm the -1 is there 2008-08-23T21:43:43 it's possible the -1 wasn't an argument; it appears on a second line 2008-08-23T21:44:26 there should be a second argument though 2008-08-23T21:44:38 the only place where this method is getting called in the staff client is during workstation registration 2008-08-23T21:44:59 and the depth is coming from an opac utility method called findOrgDepth 2008-08-23T21:45:38 makes sense; I haven't registered the workstation yet 2008-08-23T21:45:45 and the argument for findOrgDepth is coming from another remote request, open-ils.actor.user.perm.highest_org 2008-08-23T21:46:12 scan the client stdout and see what got returned for the perm.highest_org call 2008-08-23T21:46:25 ok 2008-08-23T21:47:23 aw, jeez, it worked this time. No error, and I'm being asked to register a workstation 2008-08-23T21:47:32 haha 2008-08-23T21:47:48 I didn't restart the xul app before I ran the autogen. I wonder if that's why 2008-08-23T21:47:58 okay, that method should have returned a -1 if you had tried using a login that didn't have the REGISTER_WORKSTATION permission 2008-08-23T21:48:37 and the -1 should have gotten caught before it got to findOrgDepth, but the error you had got before makes it sound like it didn't 2008-08-23T21:48:49 right 2008-08-23T21:49:10 can I provide any workstation name? I just typed in something semi-random, but got another error 2008-08-23T21:49:17 have you actually registered yet? Do you have multiple users in the system already, or just the admin user? 2008-08-23T21:49:28 ah, what's the error this time? 2008-08-23T21:49:29 no just admin 2008-08-23T21:49:32 {"payload":[],"debug":"osrfMethodException : Method [open-ils.circ.circ_modifier.retrieve.all] not found for OpenILS::Application::Circ","status":404} 2008-08-23T21:49:32 2008-08-23T21:50:37 I should add that I *think* my install is okay. Only two oddball things I encountered the last time around (the several times before that had legions of oddball things) 2008-08-23T21:51:07 first is that my dbidrivers aren't linked against libdbi.so. I wouldn't care but the settings-tester.pl script complains about this 2008-08-23T21:51:24 second is that I had to remove a line from my httpd.conf about a "mod_placeholder" that didn't exist 2008-08-23T21:51:24 in srfsh, try introspect open-ils.circ 2008-08-23T21:51:58 introspection, cool 2008-08-23T21:52:07 big response there, want me to pastebin it? 2008-08-23T21:52:14 grep for circ_modifier 2008-08-23T21:52:41 do you see that method you got the 404 on? 2008-08-23T21:52:41 ok. argh, darn pager is fighting with my Emacs shell terminal. One line per page.... 2008-08-23T21:52:47 ughers :) 2008-08-23T21:53:02 * grahamf whistles, while holding down Enter key 2008-08-23T21:53:59 there are lot of methods in open-ils.circ.. I had expected that open-ils.circ wasn't actually running (and thus why you got the 404), but I was wrong 2008-08-23T21:54:35 I'm getting loads of data about open-ils.circ, not yet finding circ_modifier 2008-08-23T21:54:54 is there a way to run srfsh with the pager turned off? 2008-08-23T21:56:11 not that I know of, not without changing the source code... but we could use an http request instead 2008-08-23T21:56:38 I say exit and retry the staff client.. let's see if it's an intermittent error 2008-08-23T21:56:50 that's ok, I'll run it in a proper terminal emulator 2008-08-23T21:56:53 ah good advice 2008-08-23T21:58:26 do this, but replace the hostname as appropriate: http://demo.gapines.org/gateway?service=open-ils.circ&method=open-ils.circ.circ_modifier.retrieve.all 2008-08-23T21:58:39 grahamf pasted "circ_modifier error" at http://paste.lisp.org/display/65752 2008-08-23T21:58:54 ok 2008-08-23T21:59:18 http url -> {"payload":[],"debug": "osrfMethodException : Method [open-ils.circ.circ_modifier.retrieve.all] not found for OpenILS::Application::Circ","status":404} 2008-08-23T21:59:46 hrmm.. I know berick changed that method recently, to pull circ mods from the db instead of the xml config file.. when did you last svn up? 2008-08-23T22:00:00 might want to grep your opensrf logs for ERR 2008-08-23T22:00:06 today some time. maybe I should revert 2008-08-23T22:00:28 well, it's working for dev, which is on trunk, http://dev.gapines.org/gateway?service=open-ils.circ&method=open-ils.circ.circ_modifier.retrieve.all 2008-08-23T22:00:53 maybe it's been broken since dev was last updated 2008-08-23T22:01:13 * phasefx checks trac 2008-08-23T22:01:42 perhaps. My there are a lot of logfiles in /openils/var/log. I see there is an open-ils.circ_unix.log. hmm 2008-08-23T22:02:09 that change was 2 weeks ago re: circ_modifier.retrieve.all 2008-08-23T22:02:53 grahamf: but my suspicion falls on your copy of Circ.pm 2008-08-23T22:03:26 or... your db schema 2008-08-23T22:04:27 do you have a config.circ_modifier table? 2008-08-23T22:04:49 ok. well, I did blow the db away and rebuild it at one point during my installation wrestling match. Used the build-oils-db.sh script to do it. Maybe I broke something. 2008-08-23T22:04:52 i'll check 2008-08-23T22:05:53 yes I do. No rows in it though 2008-08-23T22:05:54 grahamf: btw, the -1 error from before is still bothering me.. if we get this work, would love to try to reproduce it 2008-08-23T22:06:17 sure. (thanks for your help with this by the way) 2008-08-23T22:06:18 hrmm, add a row to it.. non-sense values are fine 2008-08-23T22:06:22 ok 2008-08-23T22:06:34 use 001 for sip_media_type 2008-08-23T22:07:11 ok 2008-08-23T22:07:12 but really, I'd expect a different error if that method was failing because of the db 2008-08-23T22:07:26 a 404 usually makes me thing syntax error somewhere 2008-08-23T22:07:35 same error 2008-08-23T22:07:38 alright, try your circ_modifier.retrieve.all. url again 2008-08-23T22:07:40 hrmm 2008-08-23T22:07:52 right. url -> {"payload":[],"debug": "osrfMethodException : Method [open-ils.circ.circ_modifier.retrieve.all] not found for OpenILS::Application::Circ","status":404} 2008-08-23T22:08:06 tail all your log files, and when things are calm, reload that url 2008-08-23T22:08:47 ok 2008-08-23T22:09:20 anything interesting? 2008-08-23T22:09:38 for any definition of "calm"? :-) Still the same error on that url. 2008-08-23T22:09:55 osrf_json_gw 2008-08-23 22:09:33 [WARN:19250:osrf_stack.c:195:1219540777192506] The stack doesn't know what to do with the provided message code: 404, name osrfMethodException. Passing UP. 2008-08-23T22:10:24 (from gateway.log) 2008-08-23T22:10:36 from open-ils.circ_unix.log: Use of uninitialized value in join or string at /usr/local/share/perl/5.8.8/OpenSRF/Application.pm line 118. 2008-08-23T22:11:02 line 118 of that file is a logging statement: 2008-08-23T22:11:08 $log->info("CALL: $method_name [". (@p ? join(', ',@p) : '') ."]"); 2008-08-23T22:11:30 hrmm, the acq.open-ils.org box fails the same way 2008-08-23T22:11:42 I'd punt this to berick 2008-08-23T22:11:45 i'm glad it's not just me :-) 2008-08-23T22:11:56 ok. on the dev-list? 2008-08-23T22:12:07 sounds good to me 2008-08-23T22:13:03 ok will do. It was tricky getting Evergreen installed; it's nice to be so close to a working system. Thanks very much for your help, phasefx. 2008-08-23T22:13:34 no problem; sorry I couldn't get you any farther 2008-08-23T22:13:54 I'll be delving back into trunk before long, though 2008-08-23T22:14:38 some day I'll join you there. :-) This is all preliminary to doing some work in the aquisitions module. I'm just starting to get my feet wet though. 2008-08-23T22:14:59 cool 2008-08-23T22:16:43 OK, signing off, to spend some time with my wife before she disowns me. Thanks again, until next time. 2008-08-23T22:17:28 *** grahamf has left #openils-evergreen 2008-08-23T22:41:19 *** kgs_ has joined #openils-evergreen 2008-08-23T23:27:13 *** mdxi_ is now known as sboyette 2008-08-23T23:47:57 *** kgs_ has quit IRC 2008-08-23T23:50:04 *** kgs_evening has quit IRC