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