Evergreen ILS Website

IRC log for #evergreen, 2016-04-11

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat

All times shown according to the server's local time.

Time Nick Message
00:39 Mark__T joined #evergreen
01:57 dcook joined #evergreen
05:34 gsams joined #evergreen
07:09 JBoyer joined #evergreen
07:26 geoffsams joined #evergreen
07:28 bshum @roulette
07:28 pinesol_green bshum: *click*
07:30 rjackson_isl joined #evergreen
07:32 ericar joined #evergreen
08:03 wjr joined #evergreen
08:06 graced joined #evergreen
08:30 Dyrcona joined #evergreen
08:43 mmorgan joined #evergreen
09:12 mrpeters joined #evergreen
09:18 kmlussier joined #evergreen
09:36 yboston joined #evergreen
10:02 mmorgan1 joined #evergreen
10:09 collum joined #evergreen
10:13 mllewellyn joined #evergreen
10:47 barbara joined #evergreen
10:48 Bmagic Does anyone have code that creates holds through OpenSRF outside of using the OPAC/Staff Client?
10:48 mmorgan joined #evergreen
10:48 Dyrcona Yeah, lots of it.
10:49 Bmagic oh good
10:49 Bmagic I didn't find a straight forward opensrf call that placed a hold
10:49 Dyrcona Bmagic: Check this out: http://git.evergreen-ils.org/?p=worki​ng/NCIPServer.git;a=shortlog;h=refs/h​eads/user/dyrcona/better_abstraction
10:50 Bmagic great! Thanks
10:50 Dyrcona Particularly around here: http://git.evergreen-ils.org/?p=working/NCIPSe​rver.git;a=blob;f=lib/NCIP/ILS/Evergreen.pm;h=​85aa4407536e8d86c8ca551ee4831e460f9b5f71;hb=b7​d7ab764a76b07fd2a853c504813ccc076b5aba#l2288
10:51 Bmagic There we go
10:53 Bmagic It was looking like placing holds in particular was going to require much more code than just calling request('open-ils.circ.placeholdblablba', $authtoken.....
10:53 Bmagic and clearly it does
10:54 Dyrcona Well, you have to build the params and have an array ref of the target(s).
10:54 Dyrcona Then you might want to handle notifications.
10:54 Dyrcona That function does it all, pretty much.
10:54 Bmagic I see that, thanks for sharing
10:55 Bmagic Dyrcona++
10:56 Dyrcona Bmagic: Note that the example code above uses the depth field for title holds to restrict them to a given org unit.
10:56 Dyrcona You might not want to do that in more generic code.
10:57 Bmagic for sure, I plan on just popping the hold into existence for a few seconds, just to make sure OpenSRF is functioning, then canceling it
10:57 Dyrcona OK. Then you won't care the notification params and all that.
10:58 Bmagic no not really
10:58 Bmagic just the bare bones
10:59 Bmagic Your examples will help expedite this for me, I really appreciate it!
10:59 Dyrcona You're more than welcome.
11:00 Bmagic I am also trying to come up with a way to make sure that autogen did it's job to all of those JS files
11:07 Dyrcona That', I'm less sure of, though you could check for errors in autogen.sh's output.
11:11 brahmina joined #evergreen
11:34 sandbergja joined #evergreen
11:37 Christineb joined #evergreen
12:04 jihpringle joined #evergreen
12:35 Dyrcona So, I just got this:
12:35 Dyrcona pg_restore: [archiver (db)] COPY failed for table "z3950_index_field_map": ERROR:  new row for relation "z3950_index_field_map" violates check constraint "valid_z3950_attr_type"
12:35 Dyrcona I believe we have applied the fix for that, too.
12:42 Bmagic that is odd
12:42 Dyrcona We'll see. Maybe we haven't applied the db upgrade, yet.
12:46 Bmagic if that is the case, then it makes more sense
12:47 Dyrcona OK. False alarm. We haven't applied that upgrade script in production, yet.
12:47 Dyrcona It didn't happen all the time, so maybe it either hasn't happened in a while or I haven't noticed.
13:50 mmorgan1 joined #evergreen
14:31 mcarlson joined #evergreen
14:43 mnsri_away joined #evergreen
14:43 b_bonner joined #evergreen
14:43 rashma_away joined #evergreen
14:44 mtcarlson_away joined #evergreen
15:29 mmorgan joined #evergreen
15:58 jlitrell joined #evergreen
16:18 DPearl left #evergreen
17:07 mmorgan left #evergreen
17:19 Stompro joined #evergreen
17:21 Bmagic Do I remember that jboyer-isl changed his nick? I don't see him in channel (or is he)?
17:24 gsams Bmagic: Last I saw it was just JBoyer
17:27 Bmagic ok, that is what I was recalling too :)
17:35 geoffsams joined #evergreen
17:38 Bmagic has anyone wrestled with ansible and conquered shell: /openils/bin/osrf_control --localhost --start-all  ? I think my problem is the user settings. I don't think it's running the command truely as opensrf
20:42 mcarlson joined #evergreen
21:11 dcook joined #evergreen

| Channels | #evergreen index | Today | | Search | Google Search | Plain-Text | summary | Join Webchat