Open Source Integrated Library System

Evergreen on IRC

#openils-evergreen Logs for Saturday, August 23rd, 2008

< Friday, August 22nd, 2008Raw Log FileSunday, August 24th, 2008 >
#TimeNickMessage
#00:19:50kgs_evening has quit IRC
#02:30:09kados has quit IRC
#06:48:03kados has joined #openils-evergreen
#09:13:28kados has quit IRC
#09:13:28miker_ has quit IRC
#09:13:28lisppaste6 has quit IRC
#09:14:12kados has joined #openils-evergreen
#09:14:12miker_ has joined #openils-evergreen
#09:14:12lisppaste6 has joined #openils-evergreen
#09:48:10kgs_evening has joined #openils-evergreen
#11:18:12rsinger_ has joined #OpenILS-Evergreen
#11:21:15rsinger__ has joined #OpenILS-Evergreen
#11:34:55rsinger has quit IRC
#11:37:59rsinger_ has quit IRC
#11:38:49phase_bb has quit IRC
#11:39:03rsinger has joined #OpenILS-Evergreen
#11:42:04rsinger_ has joined #OpenILS-Evergreen
#11:48:08rsinger___ has joined #OpenILS-Evergreen
#11:51:11rsinger____ has joined #OpenILS-Evergreen
#11:54:14rsinger_____ has joined #OpenILS-Evergreen
#11:55:28rsinger__ has quit IRC
#11:57:10rsinger__ has joined #OpenILS-Evergreen
#11:58:25rsinger has quit IRC
#12:00:11rsinger has joined #OpenILS-Evergreen
#12:04:13rsinger_ has quit IRC
#12:08:04rsinger___ has quit IRC
#12:11:34rsinger____ has quit IRC
#12:13:15rsinger_____ has quit IRC
#12:16:16rsinger__ has quit IRC
#12:21:15rsinger has quit IRC
#12:37:37phase_bb has joined #openils-evergreen
#13:12:46mdxi_ has joined #openils-evergreen
#13:12:48sboyette has quit IRC
#13:40:30grahamf has joined #openils-evergreen
#16:08:34phase_bb has quit IRC
#17:04:38grahamf has quit IRC
#17:31:55rsinger has joined #OpenILS-Evergreen
#21:14:35sarabee_ is now known as other_miker
#21:20:31grahamf has joined #openils-evergreen
#21:28:09grahamfhello Evergreen folks
#21:28:54grahamfis there anyone in-channel who could help with an installation issue?
#21:30:15phasefxI can try, but it's not my area of expertise
#21:31:46grahamfphasefx: 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
#21:32:25phasefxwhat's the error?
#21:32:28grahamfIt says it's sending a request, request open-ils.actor open-ils.actor.org_tree.descendants.retrieve 1,-1
#21:32:28grahamfIt says it's sending a request, request open-ils.actor open-ils.actor.org_tree.descendants.retrieve 1,-1
#21:32:53grahamferror says: TypeError: branch has no properties
#21:33:10phasefxwhen was the last time you ran autogen.sh?
#21:34:07grahamftoday. Is it safe to repeat the autogen step?
#21:34:32phasefxyeah, it's safe to run autogen at will
#21:34:40grahamfok, let me give that a try. Thanks.
#21:34:53phasefxhave you edited the org tree at all and have not run autogen afterward?
#21:35:12grahamfDon't know how to edit the org tree yet. :-)
#21:35:20phasefx*8)
#21:35:26grahamfdo I need to stop router and other osrf_ctl services before autogen?
#21:35:31phasefxno
#21:35:34grahamfok
#21:35:47phasefxautogen just creates static javascript files for use by the OPAC and staff client
#21:36:06grahamfah. OK, brb, I'm going to re-run it.
#21:37:17grahamfautogen was successful, only some Perl warnings, '"my" variable $self masks earlier declaration in same scope'
#21:37:23grahamfbut xul client still throws same error
#21:37:57phasefxhave you used srfsh before?
#21:38:14grahamfjust for the 'login admin open-ils' test
#21:38:31phasefxtry using srfsh, and entering request open-ils.actor open-ils.actor.org_tree.descendants.retrieve 1,-1
#21:39:12grahamf"Received no data from server"
#21:40:44phasefxwhich EG release is this?
#21:40:48grahamfah, so retrieve is a method of OpenILS::Application::Actor
#21:41:04grahamfnot a release. svn head. (Is that bad?)
#21:41:28phasefxI wouldn't expect so; just more data for me to consider
#21:41:35grahamfok
#21:41:46grahamfopensrf is also svn head, if it matters
#21:41:51phasefxtry it without the ,-1 and watch what happens
#21:41:55grahamfok
#21:42:11grahamfah, I get a long JSON-ish data structure
#21:42:31phasefxyeah, 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
#21:42:54phasefxlet me login to demo and see what gets passed there
#21:43:06grahamfhm, I'll also copy a snippet from stdout of the xulrunner to confirm the -1 is there
#21:43:43grahamfit's possible the -1 wasn't an argument; it appears on a second line
#21:44:26phasefxthere should be a second argument though
#21:44:38phasefxthe only place where this method is getting called in the staff client is during workstation registration
#21:44:59phasefxand the depth is coming from an opac utility method called findOrgDepth
#21:45:38grahamfmakes sense; I haven't registered the workstation yet
#21:45:45phasefxand the argument for findOrgDepth is coming from another remote request, open-ils.actor.user.perm.highest_org
#21:46:12phasefxscan the client stdout and see what got returned for the perm.highest_org call
#21:46:25grahamfok
#21:47:23grahamfaw, jeez, it worked this time. No error, and I'm being asked to register a workstation
#21:47:32phasefxhaha
#21:47:48grahamfI didn't restart the xul app before I ran the autogen. I wonder if that's why
#21:47:58phasefxokay, that method should have returned a -1 if you had tried using a login that didn't have the REGISTER_WORKSTATION permission
#21:48:37phasefxand 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
#21:48:49grahamfright
#21:49:10grahamfcan I provide any workstation name? I just typed in something semi-random, but got another error
#21:49:17phasefxhave you actually registered yet? Do you have multiple users in the system already, or just the admin user?
#21:49:28phasefxah, what's the error this time?
#21:49:29grahamfno just admin
#21:49:32grahamf{"payload":[],"debug":"osrfMethodException : Method [open-ils.circ.circ_modifier.retrieve.all] not found for OpenILS::Application::Circ","status":404}
#21:49:32grahamf{"payload":[],"debug":"osrfMethodException : Method [open-ils.circ.circ_modifier.retrieve.all] not found for OpenILS::Application::Circ","status":404}
#21:50:37grahamfI 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)
#21:51:07grahamffirst is that my dbidrivers aren't linked against libdbi.so. I wouldn't care but the settings-tester.pl script complains about this
#21:51:24grahamfsecond is that I had to remove a line from my httpd.conf about a "mod_placeholder" that didn't exist
#21:51:24phasefxin srfsh, try introspect open-ils.circ
#21:51:58grahamfintrospection, cool
#21:52:07grahamfbig response there, want me to pastebin it?
#21:52:14phasefxgrep for circ_modifier
#21:52:41phasefxdo you see that method you got the 404 on?
#21:52:41grahamfok. argh, darn pager is fighting with my Emacs shell terminal. One line per page....
#21:52:47phasefxughers :)
#21:53:02grahamf whistles, while holding down Enter key
#21:53:59phasefxthere 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
#21:54:35grahamfI'm getting loads of data about open-ils.circ, not yet finding circ_modifier
#21:54:54grahamfis there a way to run srfsh with the pager turned off?
#21:56:11phasefxnot that I know of, not without changing the source code... but we could use an http request instead
#21:56:38phasefxI say exit and retry the staff client.. let's see if it's an intermittent error
#21:56:50grahamfthat's ok, I'll run it in a proper terminal emulator
#21:56:53grahamfah good advice
#21:58:26phasefxdo this, but replace the hostname as appropriate: http://demo.gapines.org/gateway?service=open-ils.circ&method=open-ils.circ.circ_modifier.retrieve.all
#21:58:39lisppaste6grahamf pasted "circ_modifier error" at http://paste.lisp.org/display/65752
#21:58:54grahamfok
#21:59:18grahamfhttp url -> {"payload":[],"debug": "osrfMethodException : Method [open-ils.circ.circ_modifier.retrieve.all] not found for OpenILS::Application::Circ","status":404}
#21:59:46phasefxhrmm.. 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?
#22:00:00phasefxmight want to grep your opensrf logs for ERR
#22:00:06grahamftoday some time. maybe I should revert
#22:00:28phasefxwell, 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
#22:00:53phasefxmaybe it's been broken since dev was last updated
#22:01:13phasefx checks trac
#22:01:42grahamfperhaps. My there are a lot of logfiles in /openils/var/log. I see there is an open-ils.circ_unix.log. hmm
#22:02:09phasefxthat change was 2 weeks ago re: circ_modifier.retrieve.all
#22:02:53phasefxgrahamf: but my suspicion falls on your copy of Circ.pm
#22:03:26phasefxor... your db schema
#22:04:27phasefxdo you have a config.circ_modifier table?
#22:04:49grahamfok. 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.
#22:04:52grahamfi'll check
#22:05:53grahamfyes I do. No rows in it though
#22:05:54phasefxgrahamf: btw, the -1 error from before is still bothering me.. if we get this work, would love to try to reproduce it
#22:06:17grahamfsure. (thanks for your help with this by the way)
#22:06:18phasefxhrmm, add a row to it.. non-sense values are fine
#22:06:22grahamfok
#22:06:34phasefxuse 001 for sip_media_type
#22:07:11grahamfok
#22:07:12phasefxbut really, I'd expect a different error if that method was failing because of the db
#22:07:26phasefxa 404 usually makes me thing syntax error somewhere
#22:07:35grahamfsame error
#22:07:38phasefxalright, try your circ_modifier.retrieve.all. url again
#22:07:40phasefxhrmm
#22:07:52grahamfright. url -> {"payload":[],"debug": "osrfMethodException : Method [open-ils.circ.circ_modifier.retrieve.all] not found for OpenILS::Application::Circ","status":404}
#22:08:06phasefxtail all your log files, and when things are calm, reload that url
#22:08:47grahamfok
#22:09:20phasefxanything interesting?
#22:09:38grahamffor any definition of "calm"? :-) Still the same error on that url.
#22:09:55grahamfosrf_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.
#22:10:24grahamf(from gateway.log)
#22:10:36grahamffrom 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.
#22:11:02grahamfline 118 of that file is a logging statement:
#22:11:08grahamf$log->info("CALL: $method_name [". (@p ? join(', ',@p) : '') ."]");
#22:11:30phasefxhrmm, the acq.open-ils.org box fails the same way
#22:11:42phasefxI'd punt this to berick
#22:11:45grahamfi'm glad it's not just me :-)
#22:11:56grahamfok. on the dev-list?
#22:12:07phasefxsounds good to me
#22:13:03grahamfok 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.
#22:13:34phasefxno problem; sorry I couldn't get you any farther
#22:13:54phasefxI'll be delving back into trunk before long, though
#22:14:38grahamfsome 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.
#22:14:59phasefxcool
#22:16:43grahamfOK, signing off, to spend some time with my wife before she disowns me. Thanks again, until next time.
#22:17:28grahamf has left #openils-evergreen
#22:41:19kgs_ has joined #openils-evergreen
#23:27:13mdxi_ is now known as sboyette
#23:47:57kgs_ has quit IRC
#23:50:04kgs_evening has quit IRC
< Friday, August 22nd, 2008Raw Log FileSunday, August 24th, 2008 >