| # | Time | Nick | Message |
|---|
| # | 00:12:38 | jeff | miker_++ for 12478 fixing fixed fields |
| # | 00:14:19 | dbs has quit IRC |
| # | 01:44:50 | asmodai has quit IRC |
| # | 01:44:54 | asmodai has joined #OpenILS-Evergreen |
| # | 02:16:22 | asmodai has quit IRC |
| # | 02:16:23 | asmodai_ has joined #OpenILS-Evergreen |
| # | 02:17:05 | asmodai_ is now known as asmodai |
| # | 02:22:49 | asmodai has quit IRC |
| # | 02:22:52 | asmodai has joined #OpenILS-Evergreen |
| # | 02:27:55 | asmodai_ has joined #OpenILS-Evergreen |
| # | 02:39:56 | asmodai has quit IRC |
| # | 02:40:15 | asmodai_ is now known as asmodai |
| # | 06:35:29 | BenO has joined #openils-evergreen |
| # | 07:21:47 | jim_in_mo has quit IRC |
| # | 07:42:47 | kgs has joined #openils-evergreen |
| # | 09:12:45 | phasefx | my new favorite command, svn diff -r PREV |
| # | 09:46:53 | ort_9217 has joined #openils-evergreen |
| # | 09:49:23 | ort_9217 | phasefx: are you still in here/gonna be in here for a while? |
| # | 09:50:42 | ort_9217 | oh well, if you are, i might pop by in an hour or two with some questions |
| # | 09:51:27 | ort_9217 | got to go do something now, though |
| # | 09:56:22 | ort_9217 has quit IRC |
| # | 10:39:11 | skmurphy__ has joined #openils-evergreen |
| # | 10:55:40 | skmurphy has quit IRC |
| # | 11:53:49 | meliss has joined #OpenILS-Evergreen |
| # | 12:23:43 | _dkyle_ has joined #openils-evergreen |
| # | 12:36:11 | eby has joined #OpenILS-Evergreen |
| # | 13:01:31 | jamesrf has joined #openils-evergreen |
| # | 13:33:19 | BenO has quit IRC |
| # | 13:50:57 | eby has quit IRC |
| # | 13:59:42 | eby has joined #OpenILS-Evergreen |
| # | 15:01:35 | eby has quit IRC |
| # | 15:07:54 | phase_bb has quit IRC |
| # | 15:08:21 | eby has joined #OpenILS-Evergreen |
| # | 15:44:37 | phase_bb has joined #openils-evergreen |
| # | 16:00:14 | meliss has quit IRC |
| # | 16:23:59 | eby has quit IRC |
| # | 16:26:48 | eby has joined #OpenILS-Evergreen |
| # | 16:46:03 | brendan_ga | is there still a copy of import_holdings available somewhere? |
| # | 16:53:45 | phasefx | maybe it's what turned into importer.sh? |
| # | 16:56:23 | _bott_ has left #OpenILS-Evergreen |
| # | 17:16:50 | sarabee_ has quit IRC |
| # | 17:24:34 | brendan_ga | ahh.. will take a look thanks phasefx |
| # | 17:25:44 | jamesrf | brendan_ga: http://svn.open-ils.org/trac/ILS/browser/branches/rel_1_2_4/Evergreen/src/extras/import/import_holdings.pl |
| # | 17:27:09 | brendan_ga | thanks just wanted to look at it -- I am correct in thinking this script is deprecated now... |
| # | 18:32:26 | eby has quit IRC |
| # | 18:52:33 | sarabee_ has joined #openils-evergreen |
| # | 19:03:51 | jamesrf has quit IRC |
| # | 19:05:38 | jim_in_mo has joined #openils-evergreen |
| # | 20:02:01 | jeff | okay, i'm playing OpenILS::Utils::Fieldmapper and JSON content fetched via the gateway. i'm wondering how to get from JSON string to a Fieldmapper object that I can then use the ever-handy wrap_perl function on. |
| # | 20:02:11 | jeff | any ideas? |
| # | 20:04:19 | jeff | ("you're doing it all wrong!" appreciated also) |
| # | 20:08:03 | jeff | oh. JSON2perl in OpenSRF::Utils::JSON |
| # | 20:18:42 | phasefx | does that mean you got it? :) |
| # | 20:18:44 | djfiander has joined #OpenILS-Evergreen |
| # | 20:24:05 | jeff | hrm. |
| # | 20:24:08 | jeff | phasefx: not yet :) |
| # | 20:30:53 | phasefx | OpenSRF::Utils::JSON->JSON2perl("foo") ? |
| # | 20:32:12 | jeff | yeah, i think that gets me partly there. that turns the json into a perl hash, but wrap_perl wants a Fieldmapper object. |
| # | 20:33:08 | jeff | i want to take an mvr json payload from an open-ils.search.biblio.record.mods_slim.retrieve call and be able to print the fields like "title", etc. |
| # | 20:33:22 | phasefx | I"m used to JSON2js, would have expected it to be a fieldmapper object |
| # | 20:33:54 | jeff | maybe it is, and i'm misreading. |
| # | 20:36:09 | miker_ | jeff: are you telling OpenILS::Utils::Fieldmapper about the IDL? |
| # | 20:37:45 | jeff | i... heh. no, i'm not. i'm going through all the trouble of fetching it, and apparently i forgot to import() it. |
| # | 20:40:59 | jeff | okay, closer. |
| # | 20:41:16 | phasefx | what are you working on, if you don't mind me asking? |
| # | 20:43:21 | jeff | at the moment, trying to learn how to make use of data pulled through the gateway. |
| # | 20:44:14 | phasefx | do we have an opensrf-over-http perl library? |
| # | 20:44:36 | jeff | not that i've seen, but if i'm missing it please please tell me ;) |
| # | 20:45:56 | jeff | i'm just using LWP to grab the IDL, LWP to make a gateway request, and now trying to turn that payload into an object |
| # | 20:47:12 | jeff | i've got some rusty perl skills getting in my way, also. |
| # | 20:48:08 | jim_in_mo has quit IRC |
| # | 20:48:53 | phasefx | I love perl, but once you forget it, ouch :) |
| # | 20:54:51 | djfiander | I hate perl, because once you forget it, ouch |
| # | 20:58:50 | lisppaste6 | jeff pasted "perl stabbings" at http://paste.lisp.org/display/76792 |
| # | 20:58:55 | miker_ | I love perl, because I don't forget it |
| # | 20:59:13 | jeff | i'm doing something silly, i'm sure. |
| # | 20:59:49 | djfiander | miker_: that's caused by continuous high-grade exposure. it takes very little time to forget |
| # | 20:59:50 | jeff | if anyone would like to look at the Data::Dumper output there and offer input, i'm all ears. |
| # | 21:00:22 | miker_ | jeff: why not just use the $JSON2perl_result ... $JSON2perl_result->author() etc |
| # | 21:00:34 | jeff | miker_: i'll give it a try. |
| # | 21:00:44 | jeff | only reason why was i wasn't aware of that option :) |
| # | 21:01:21 | jeff | Can't call method "author" on unblessed reference at ./fm-learn.pl line 33. |
| # | 21:01:50 | miker_ | however, there's also a to_bare_hash method that will give you ... well ... a hash. where the keys are the field/method names |
| # | 21:01:55 | miker_ | and the values are the values |
| # | 21:02:28 | miker_ | oh, because the object is under $JSON2perl_result->{payload}->[0] |
| # | 21:02:53 | miker_ | you need to unwrap the object from the gateway wrapper |
| # | 21:03:20 | miker_ | the contents of the payload array is what was returned by the method |
| # | 21:03:45 | miker_ | the gateway wraps it in a hash, so it can pass the method call status along with the return value |
| # | 21:04:20 | jeff | yep, got it! |
| # | 21:04:34 | jeff | so, as a quick-and-messy, this works: print $JSON2perl_result->{payload}->[0]->author(); |
| # | 21:04:44 | miker_ | right |
| # | 21:05:11 | jeff | yay. |
| # | 21:06:05 | djfiander | you kids are too young to remember what real line noise looked like. |
| # | 21:06:30 | miker_ | djfiander: um ... we deal with MARC all day long. ain't that enough? ;) |
| # | 21:06:37 | jeff | i think i've already asked this, and feel free to tell me "ask the list", but does anyone know of a reason that exposing open-ils.supercat via the gateway would be a Bad Thing? i want to make use of open-ils.supercat.new_book_list |
| # | 21:07:04 | djfiander | miker_: oh, the line-noise variant of MARC is just the human readable display of a binary format ;-) |
| # | 21:07:21 | jeff | hrm. now that i'm doing this little bit in perl, i might just consider making a new supercat feed with what i want. |
| # | 21:07:25 | jeff ponders |
| # | 21:08:31 | miker_ | djfiander: no, I mean the binary format :P |
| # | 21:09:20 | jeff | objective is to pull "new books by item" (which is what open-ils.supercat.new_book_list does) with title/author/etc for featuring on our website. |
| # | 21:09:23 | miker_ | jeff: that's not a place I'd suggest working on for a first patch, fwiw |
| # | 21:10:27 | miker_ | will, first new-big-exposed-feature patch, anyway |
| # | 21:10:28 | jeff | then i might stick with my "perl script that calls open-ils.supercat.new_book_list to get record ids, then calls open-ils.search.biblio.record.mods_slim.retrieve to get title/author/etc and feed that into the website. |
| # | 21:11:26 | phasefx | is new_book_list exposed somewhere as a supercat feed? |
| # | 21:11:35 | phasefx | or is it a work in progress? |
| # | 21:11:47 | miker_ | phasefx: the exposure was planned, but sponsorship was pulled |
| # | 21:11:53 | jeff | miker_: i hacked around with making a new reporting transform for "dewey hundreds, tens, ones)" and then thought "this is only useful on call numbers", and wondered if it might be better to just add those as a view, kinda' like the dewey blocks in the classic open circulation source... any thoughts there? :) |
| # | 21:12:02 | phasefx | ah |
| # | 21:12:07 | jeff | phasefx: yeah, not exposed. why i asked about exposing open-ils.supercat through the gateway |
| # | 21:13:41 | miker_ | jeff: supercat app output is very raw, and built to be used by something that creates nice output ... we won't be exposing it by default, but if mlc wants to then I suppose they can |
| # | 21:16:45 | jeff | oh, i wasn't advocating it being exposed by default, but wondering if it would be a huge mistake to do. :) |
| # | 21:17:09 | grahamf has joined #openils-evergreen |
| # | 21:18:34 | jeff | or i could just do it in python ;) |
| # | 21:18:40 | jeff | (hi, grahamf) |
| # | 21:18:46 | grahamf | hi jeff |
| # | 21:19:02 | grahamf | doing anything in python sounds like a safe bet :) |
| # | 21:21:39 | phasefx tries to solve this halting problem again :) |
| # | 21:23:33 | jeff | miker_: thanks for the help! |
| # | 21:25:01 | miker_ | np |
| # | 21:39:59 | jeff goes digging to see if he can delete hold notifications |
| # | 21:42:46 | jim_in_mo has joined #openils-evergreen |
| # | 21:45:13 | jeff | nope, not via an api call. |
| # | 21:46:24 | jim_in_mo | I have Evrgrn 1.4.0.2 installed on ubuntu-intrepid and ehen I start Apache2 I get [warn] NameVirtualHost *:80 has no VirtualHosts |
| # | 21:47:18 | jim_in_mo | login admin open-ils returns Unable to communicate with service open-ils.auth |
| # | 21:47:45 | jeff | jim_in_mo: did you copy eg.conf to /etc/apache2/sites-available and run a2ensite eg.conf and then reload/restart apache? |
| # | 21:49:31 | jim_in_mo | checking history |
| # | 21:50:03 | jeff | if there's a link to /etc/apache2/sites-enabled you're probably set. |
| # | 21:50:20 | jeff digs around for an 8.10 image |
| # | 21:50:39 | jeff | hrm, nope. i've none. beware, i might be steering you wrong. :P |
| # | 21:50:51 | jeff | jim_in_mo: is that login attempt via srfsh? |
| # | 21:50:58 | jeff | (guessing so based on the error) |
| # | 21:52:02 | jim_in_mo | yes, history shows I ran a2ensite as root |
| # | 21:52:53 | jim_in_mo | yes, login was via srfsh, the srfsh math 2+2 works, login does not |
| # | 21:53:22 | jeff | okay, apache's not your only issue, then. |
| # | 21:55:17 | jim_in_mo | I'm sorry, I have to put a kid to bed. Will dialog later... |
| # | 21:55:23 | jeff | good luck :) |
| # | 22:01:19 | djfiander | bleah |
| # | 22:01:23 | djfiander | refactoring. |
| # | 22:01:35 | djfiander | on the plus side, I've got a test case so I can tell when I break it :) |
| # | 22:01:43 | jeff grins |
| # | 22:22:38 | djfiander has quit IRC |
| # | 22:30:29 | jamesrf has joined #openils-evergreen |
| # | 22:33:01 | grahamf | just got the i18n/l10n sorted out in Syrup (reserves app). Let the translations begin. :) |
| # | 22:34:02 | phasefx | huzzah |
| # | 22:46:32 | jim_in_mo | Back on my intrepid install with the srfsh admin login problem, when I browse to localhost, it sends me on to http://localhost/opac/en-US/skin/default/xml/index.xml and I get the page. |
| # | 22:47:38 | jim_in_mo | My srfsh login logs [WARN:2413:osrf_stack.c:95:] !!! Received Jabber layer error message |
| # | 22:52:14 | phasefx | try settings-tester.pl? |
| # | 22:55:27 | grahamf | g'nite all |
| # | 22:55:58 | phasefx | nite |
| # | 22:56:08 | grahamf has quit IRC |
| # | 22:57:24 | jim_in_mo | settings-tester.pl starts with a Prototype mismatch: sub main::__LONG_MAX__ () vs none at /usr/lib/perl/5.10/_h2ph_pre.ph line 291 but then redefines it. Then everything is OK. |
| # | 22:57:48 | phasefx | I've never seen that before |
| # | 22:58:26 | phasefx | perl 5.10? |
| # | 22:58:51 | phasefx | ha, dbs filed a bug with ubuntu for that |
| # | 22:59:09 | phasefx | try perl -e "require '_h2ph_pre.ph'" |
| # | 22:59:48 | jim_in_mo | Perl modules loaded, jabber connected - ok, I'll try the perl |
| # | 23:00:18 | phasefx | I imagine it's a harmless message |
| # | 23:00:27 | miker_ | jim_in_mo: http://article.gmane.org/gmane.education.libraries.open-ils.devel/2703 ... looks to be a known issue in Intrepid, but not actually a problem |
| # | 23:02:08 | jim_in_mo | Yes, harmless. opensrf does the math just fine, just doesn't log me into Evergreen |
| # | 23:03:30 | jim_in_mo | So in "srfsh% login admin open-ils" admin is the username and open-ils is the default password? |
| # | 23:03:46 | phasefx | jim_in_mo: try this in srfsh: request router opensrf.router.info.class.list |
| # | 23:04:05 | phasefx | jim_in_mo: that's correct |
| # | 23:04:37 | phasefx | there should be quite a few open-ils services from that class.list request |
| # | 23:04:49 | jim_in_mo | yes, several Request Completed Successfully |
| # | 23:05:25 | phasefx | including open-ils.auth? |
| # | 23:06:23 | phasefx | jim_in_mo: have you seen this page? http://evergreen-ils.org/dokuwiki/doku.php?id=troubleshooting:checking_for_errors |
| # | 23:07:24 | jim_in_mo | I did see another error message Could not find fieldmapper.xml in ./ at /openils/lib/perl5/OpenILS/Utils/Fieldmapper.pm line 50 |
| # | 23:08:54 | miker_ | that's definitely a problem |
| # | 23:09:24 | jim_in_mo | Ah HA! open-ils.auth is not in the list of services |
| # | 23:12:14 | jim_in_mo | It also Could not find org_tree_js.xml org_tree_html_options.xml locale_html_options.xml org_lasso_js.xml org_tree_proximity.xml |
| # | 23:14:19 | phasefx | what couldn't? |
| # | 23:15:43 | kgs has quit IRC |
| # | 23:17:07 | jim_in_mo | The first time I ran osrf_ctl.sh -l -a start_all. Now I restarted it and those errors don't show up. |
| # | 23:17:23 | jim_in_mo | Ah, Now I get authenticated! |
| # | 23:19:56 | jim_in_mo | Sure enough I needed to restart_all osrf_ctl |
| # | 23:20:20 | jim_in_mo | It must create those xml files the first time it runs. |
| # | 23:21:50 | phasefx | I don't think anything gets created other pid files and processes with osrf_ctl, but don't know what fixed things either :) |
| # | 23:22:47 | jim_in_mo | I agree. I tried to locate a few, they don't exist. |
| # | 23:24:02 | jim_in_mo | Well thanks! I'm on the next step now. |
| # | 23:38:22 | jamesrf has quit IRC |