Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Monday, February 6th, 2012

< Sunday, February 5th, 2012Raw Log FileTuesday, February 7th, 2012 >
#TimeNickMessage
#00:12:37atz has joined #evergreen
#00:14:54atz has left #evergreen
#02:22:48dbwells__ has joined #evergreen
#02:25:47dbwells_ has quit IRC
#03:24:13Yancho has quit IRC
#03:37:01Yancho has joined #evergreen
#03:37:01Yancho has joined #evergreen
#05:57:11Yancho has quit IRC
#06:10:03Yancho has joined #evergreen
#06:10:03Yancho has joined #evergreen
#06:10:14kivilaht3o has joined #evergreen
#06:10:29kivilaht3oIs anyone out there who can hear me?
#06:11:27kivilaht3oI am interested about how your system uses URL's. Specifically are there any checks for URL validity from marc data?
#06:11:56kivilaht3oor for user generated data?
#06:33:12dbwells__ has quit IRC
#06:33:12jeff has quit IRC
#06:33:12bradl_ has quit IRC
#06:33:12mcarlson has quit IRC
#06:34:59dbwells__ has joined #evergreen
#06:34:59jeff has joined #evergreen
#06:34:59bradl_ has joined #evergreen
#06:34:59mcarlson has joined #evergreen
#07:43:57kivilaht3o has quit IRC
#08:05:52akilsdonk has joined #evergreen
#08:10:59j_scott has joined #evergreen
#08:29:04collum has joined #evergreen
#08:29:54Dyrcona has joined #evergreen
#08:31:37gdunbar has joined #evergreen
#08:31:45AaronZ-PLS has joined #evergreen
#08:37:45kivilaht3o has joined #evergreen
#08:48:07kivilaht3ohi #evergreen! Do you have way to read authorities from external repositories? Like RESTful Ontologies? or any way to create a custom driver for some service?
#08:49:09kivilaht3opoint would be to give cataloguers a tool to choose from, for example, a national library authorities service when fine tuning bilbiographic data
#08:53:55tspindler has joined #evergreen
#08:54:43Callender has quit IRC
#08:55:47kmlussier has joined #evergreen
#08:57:42plux has joined #evergreen
#09:03:10Callender has joined #evergreen
#09:04:29Meliss has joined #evergreen
#09:37:59sal_ has joined #evergreen
#09:56:18tsbereFor kicks I decided to whip this up: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/multibrick_opensrf_xml
#09:56:21tsbereSeems to work
#09:56:32tsbere barely tested....with a single machine "brick"
#10:01:22tsbereWell, ok, just noticed that the logs go to the right place....but pids don't? Not sure what is up with that. <_<
#10:07:37mrpeters-islmine is still floating around out there somewhere too, i think
#10:35:16bradl_ is now known as bradl
#10:38:00jeff has quit IRC
#10:38:26jeff has joined #evergreen
#10:38:26jeff has joined #evergreen
#11:13:20b_bonner has joined #evergreen
#11:14:48rommeo has joined #evergreen
#11:15:42rommeo has left #evergreen
#11:17:08mrpeters-islwhat am i doing wrong with A/T that this won't come out of pending? http://pastie.org/3328334
#11:21:39tsberemrpeters-isl: Dunno. Would need the event def too.
#11:21:48mrpeters-islits the edi
#11:22:06tsbereand how do I know you haven't broken the event def? :P
#11:22:20senatornot an A/T troubleshooting expert, but I would probably start with two things: first, run that runner command without the redirect to /dev/null just in case there's significant output, and next grep the logs for anything (errors perhaps) related to that event id
#11:22:24mrpeters-islbecause i havent touched it
#11:22:41mrpeters-islno output, senator
#11:22:43tsberemrpeters-isl: Can you guarantee that nobody else touched it?
#11:22:54mrpeters-islnobody else would have the permissions
#11:23:34tsberemrpeters-isl: Does it have a granularity set?
#11:23:39mrpeters-islhourly
#11:23:48mrpeters-isli ran the hourly crontab entry
#11:24:01tsberedid you run the run-pending one with an hourly granularity option?
#11:24:16mrpeters-islsee line before yours
#11:24:29tsbereThe line in your paste does *not* say hourly.
#11:24:39mrpeters-islagain, i said see the line before the last one you sent
#11:24:47mrpeters-isli ran the crontab entry for --granularity Hourly
#11:25:01tsbereIs the granularity in the db set to Hourly or hourly?
#11:26:08mrpeters-islHourly
#11:26:25tsbereAlso, the *default* appears to be no granularity. Thus you *have* edited it :P
#11:26:41mrpeters-islyou're right, i have no idea what im doing
#11:27:20tsbereJust paste the result of select * from action_trigger.event_definition where id = 23; so we can see what it says, would ya?
#11:27:25mrpeters-islregardless, it ran at some point while discussing here so problem solved
#11:27:56tsbereMaybe you just hadn't waited until after 11:11 when testing?
#11:28:20mrpeters-islmaybe i dont know. oh well, it worked.
#11:28:38mrpeters-islhowever, ERROR: attempt_translation failed for event 14639622, PO 102, template_output 4154181
#11:28:47mrpeters-islso i'm sure its more special characters breaking the edit translator
#11:28:56mrpeters-islerr, edi translator
#11:32:54mrpeters-islEDI Translator edi2json failed: RPC::XML::Client::send_request: HTTP server error: Can't connect to localhost:9191 (connect: Connection refused)
#11:33:24mrpeters-islis there something else undocumented that was added in 2.1 causing this to fail? I don't recall ever having anything running on 9191.
#11:33:41gmcharltmrpeters-isl: make sure edi_webrick is running
#11:38:51mrpeters-islthanks. guess i better make sure that starts on boto.
#11:38:53mrpeters-isl*boot
#11:43:15alynn26 has joined #evergreen
#11:48:43tsbereQuestion: In action_trigger event definitions, the "Processing Group Context Field" - Am I correct in assuming that when that is set and events are being processed the Reactor gets *one* call per set of events defined by that field being identical?
#11:53:15bericktsbere: correct
#11:54:25Rommeo has joined #evergreen
#11:54:25tsbereberick: Then the SMS hold notification one is likely horribly busted, as it has a context field of "sms_notify" - Would you agree that would be the case?
#11:54:56tsbereOr is that supposed to hold the phone number for the notification?
#11:55:48tsbere thinks that combining SMS messages is a bad idea anyway
#11:56:03phasefx_sms_notify is like phone_notify, free text for holding the number
#11:56:07bericktsbere: right, it's grouping on the sms phone number.
#11:56:47Rommeo has quit IRC
#11:57:01tsbereberick: So if you have 5 holds how many of your 160 characters are remaining? <_<
#11:57:34kmlussiertsbere: Important information is up top. Mainly, the number of holds that are available.
#11:57:54tsberekmlussier: Yea, but I know some gateways throw out messages that are too long. Or at least some used to.
#11:59:23kmlussiertsbere: Do they? The ones we tested either sent piggy-back messages or cut off at the end. But we only tested the major carriers.
#12:00:04kmlussierIIRC, Library Elf messages sometimes go over the 140 character limit.
#12:00:56tsberekmlussier: Last I checked, some do, some don't. Verizon used to when they first turned their gateway on, but they changed their system to stop doing that.
#12:02:19phasefx_if need be, we could put in per carrier logic to do our own truncation
#12:02:52phasefx_ grumbles, "SMS is such a rip-off anyway :)
#12:03:47phasefx_at $0.XX per msg, some patrons may very well want them grouped
#12:05:41kmlussierphasefx_: heh, my cell phone bill was a little high the month we tested SMS. But, yes, that's why we liked the idea of grouping.
#12:12:34moodaepo has joined #evergreen
#12:12:38moodaepo has joined #evergreen
#12:21:24youdonotexist has joined #evergreen
#12:22:44tsbereAnyone have thoughts on why open-ils.cat.biblio.record.metadata.retrieve would say not found for a bib that exists?
#12:27:13tsberen/m, had the wrong srfsh config file installed
#12:36:42AaronZ-PLS has quit IRC
#13:04:49dbwells__ is now known as dbwells
#13:05:58atz has joined #evergreen
#13:07:34atzany evergreen folks at code4lib?
#13:08:03jeffmoodaepo and bshum and csharp are all there, I believe.
#13:08:11jeffnot sure beyond that.
#13:08:21bshumYeah moodaepo and I are here now
#13:08:32bshumcsharp is traveling here later today i think.
#13:08:45atzcool. i'm in dchud's linked data talk right now
#13:09:02bshumatz: Sweet, I'm upstairs listening to the "breaking silos" discussion.
#13:09:12bshumI think moodaepo is downstairs listening about Solr stuff.
#13:09:32atzi would have been at solr, but wasn't sure about it w/ erik not being able to make it
#13:09:53moodaepoAye I don't need to say where I am...bshum knows it all : )
#13:10:00moodaepoatz: It's stumbling along
#13:11:23denials@later tell kivilaht3o There's nothing built-in to check URLs for validity from MARC data, but various sites have worked towards custom solutions; NRCan, I think (look for messages from Liam Whalen)
#13:11:23pinesol_greendenials: The operation succeeded.
#13:15:19vicent has joined #evergreen
#13:23:16edoceo has joined #evergreen
#13:25:28Dyrcona growls.
#13:26:17jeff idly wonders how many Growl notifications were triggered by Dyrcona's last action
#13:32:22hopkinsju has joined #evergreen
#13:35:03tsberescreen scraping vendors--
#13:35:38atz has quit IRC
#13:37:02AaronZ-PLS has joined #evergreen
#13:43:41hopkinsju has quit IRC
#13:46:48edoceo has left #evergreen
#13:46:52edoceo has joined #evergreen
#13:47:40atz has joined #evergreen
#13:52:05atz has quit IRC
#13:53:56hopkinsju has joined #evergreen
#14:02:01kbeswick has quit IRC
#14:02:02phasefx_ has quit IRC
#14:02:06kbeswick has joined #evergreen
#14:02:09phasefx_ has joined #evergreen
#14:02:10hopkinsju has quit IRC
#14:09:50youdonotexist_ has joined #evergreen
#14:10:25bshumtag 852
#14:10:30bshumOops
#14:10:43bshum shakes fist at pinesol_green
#14:11:13tsbere grumbles about his preferred server on freenode going down for a week....
#14:11:18jeff hands bshum a:
#14:11:21jeff@marc 852
#14:11:21pinesol_greenjeff: Identifies the organization holding the item or from which it is available. May also contain detailed information about how to locate the item in a collection. (Repeatable) [a,b,c,e,f,g,h,i,j,k,l,m,n,p,q,s,t,u,x,z,2,3,6,8]
#14:11:33bshumYeah I just went to look that up ;)
#14:11:36bshumThanks jeff
#14:12:08jeffstrikes me that a link to loc might be useful there -- since looking up that many subfields over irc seems inefficient... :-)
#14:12:36jeff(but who doesn't have the loc urls bookmarked / memorized, eh? ;-)
#14:13:12youdonotexist_ has quit IRC
#14:13:38youdonotexist has quit IRC
#14:20:18gmcharltjeff: who indeed? it's perfectly common knowledge, after all ;)
#14:23:43tsbereAnyone have thoughts on why ONE service (open-ils.cat) would die multiple times (listener seemingly running, responds to nothing) without error messages in logs?
#14:26:49moodaepo has quit IRC
#14:32:49moodaepo has joined #evergreen
#14:34:02asmodai has joined #evergreen
#14:35:00asmodaiGuys, bothered Dan yesterday about this, but would like some other opinions as well. If you could get access to MusicBrainz.org data in the form of dumps or whatever, what aspects and what format would you prefer?
#14:36:04asmodaiDan mentioned track listings and covers were interesting at least.
#14:36:11jeffasmodai: json over http was how I had considered it in the past -- we were thinking of what it would take to fingerprint our physical audio collection with musicbrainz IDs in the bibliographic record.
#14:36:31jeffothers here may have other ideas.
#14:37:03jeffi hadn't looked at it from the standpoint of getting dumps of the data, just looking it up at display time
#14:37:24tsbere will go for "a well defined API using some existing standard"
#14:37:28asmodaijeff: Well, they were discussing a MARC gateway yesterday
#14:37:32asmodaiand I told them: MARC is evil, evil, evil
#14:37:39jeffgood.
#14:37:41asmodai:)
#14:37:51denialsFWIW, I had assumed that we would take either the existing dumps or the live data feed from http://musicbrainz.org/doc/Live_Data_Feed
#14:37:55asmodaiThat's one aspect I still remember when I worked for the library those years ago :)
#14:38:25asmodaidenials: This is you, right Dan?
#14:38:29denialsit's nice of musicbrainz to offer to format stuff for libraries, but as they're already offering the data...
#14:38:33denialsasmodai: ayup
#14:38:38asmodaidenials: :)
#14:38:40DyrconaMARC is great for what it was designed to do, but sucks for what it is used for today.
#14:38:50jeffyeah, i had missed/forgotten about the live data feed there. musicbrainz++
#14:38:54asmodaiWell, they seem to be open to whatever you guys deem is a good way forward.
#14:39:11DyrconaThey have an existing API, don't they?
#14:39:24asmodaiAnd the MARC gateway, knowing what you guys did with microformats, Evergreen, and such things, really sounded bad
#14:39:25denialswhen we were looking at the API, there were limitations on how many calls you could make (for understandable reasons)
#14:39:47DyrconaSeems to me I used some program written in Python to tag most of my rips of my CD collection.
#14:40:04jeffasmodai: since you're here to ask, are you aware of any reliable alternatives to generating fingerprints by inserting the physical media -- can you key a lookup off of the product EAN/UPC, for example?
#14:40:12asmodaiDyrcona: That's Picard interfacing with MB
#14:40:23DyrconaYes, think it was Picard....
#14:40:36asmodaijeff: fingerprint of the disc or the individual tracks?
#14:40:37denialshttp://musicbrainz.org/doc/XML_Web_Service/Version_2 at the bottom says "All users of the XML web service must ensure that each of their client applications never make more than ONE web service call per second"
#14:40:44jeffasmodai: disc
#14:40:50asmodaijeff: MB uses the disc ids at least
#14:41:08asmodaijeff: also for lookup
#14:41:17asmodaiI know Picard has this button for looking up the disc
#14:41:24asmodaiThe problem is that old CDs suck
#14:41:32asmodaisince they either lack it or are non-sensical
#14:41:44DyrconaWell, and ones from local bands no one else has heard of. :)
#14:41:56denialswhich would scuttle the API's use for live lookups for added content, thus setting up a local musicbrainz replica server would probably make the most sense - or crawling through the dump and extracting / augmenting data in Evergreen
#14:42:04denials is sick and going home
#14:42:18Dyrconadelials: go home. get well.
#14:42:20asmodaidenials: :(
#14:42:23asmodaidenials: Get well mate
#14:43:00denialsthanks! seeya
#14:43:29moodaepo has quit IRC
#14:45:34asmodaijeff: http://wiki.musicbrainz.org/Disc_ID_Calculation
#14:45:49asmodaijeff: Seems to be much better than the old CDDB IDv1
#14:47:11asmodaiAlso: MBIDs in libraries would be awesome. Rate limiting issues... are a
#14:47:11asmodai problem how exactly?
#14:47:28moodaepo has joined #evergreen
#14:47:38moodaepo has joined #evergreen
#14:47:42asmodai(I mean, I wouldn't think a library gets so much *new* stuff as for the
#14:47:44asmodai rate limiting to be a constant issue)
#14:47:53asmodaiI can see how it'd be a problem while trying to link the back catalog
#14:48:02asmodai loves playing intermediate :)
#14:48:21Dyrconaasmodai: Depends a lot on how the information is used.
#14:48:45reosarevok has joined #evergreen
#14:48:54reosarevokasmodai, I can join, yes ;)
#14:48:55asmodai points at reosarevok
#14:48:58warp has joined #evergreen
#14:49:05asmodaireo, meet the lovely library programmers :)
#14:49:10reosarevokreosarevok points at warp
#14:49:17reosarevokLibrarians, meet the MusicBrainz programmer
#14:49:24warphello :)
#14:49:30asmodaiHoi Kuno :)
#14:50:10reosarevokSo, asmodai tells me your problems were rate-limit related
#14:50:14asmodaiSo basically what I get is that the/a web API is good enough, the problem is adding the new items and back catalogue
#14:50:14reosarevokCan you elaborate on that? :)
#14:50:19kepstin-netbook has joined #evergreen
#14:50:32jeffI see example queries using mbid for key, and returning EAN, but none for using EAN as the lookup key. I suppose if the EAN is present, and a full local copy is posessed, EAN lookups could be enabled (if not already possible). I do wonder as to EAN coverage, though.
#14:51:04kepstin-netbookean lookups can be done right now using a 'search' query.
#14:51:10reosarevokYeah
#14:51:13reosarevokLookups are not an issue
#14:51:16reosarevokCoverage... can be
#14:51:45reosarevokI wonder how many we have now
#14:51:51reosarevokwarp, can you query for that? ;)
#14:51:54jeff(for kepstin-netbook / reosarevok 's benefit, my earlier question was) [is there] any reliable alternatives to generating fingerprints by inserting the physical media -- can you key a lookup off of the product EAN/UPC, for example?
#14:52:14reosarevokSo, yes, you can query by EAN/UPC
#14:52:55asmodaiAre the covers from MB, which generally come from Amazon, going to be a problem copyright-wise to reuse in, say, Evergreen ILS?
#14:53:08jeffand with a dump, we could compare coverage of EAN across our holdings and then we'd have unknowns. those unknowns would either not be in MB, or would be in MB but not indexed by EAN.
#14:53:13reosarevokCovers *always* are a problem copyright-wise
#14:53:28reosarevokFor everyone, everywhere
#14:53:33jeffindeed. covera are always a problem. :-)
#14:53:38jeffcovers.
#14:53:46kepstin-netbookto use the amazon covers, you'd have to independently do amazon api queries for them.
#14:53:47reosarevokIs there an off-logging option here?
#14:54:11Dyrcona-= THIS MESSAGE NOT LOGGED =-
#14:54:11asmodaijeff: At least reducing the list from 100% to a smaller percentage will be a big help already.
#14:54:14reosarevokOk
#14:54:17jeff-= THIS MESSAGE NOT LOGGED =-
#14:54:31asmodaiAh yea, sorry, forgot to mention then. My bad.
#14:54:31jeff-= THIS MESSAGE NOT LOGGED =-
#14:54:34reosarevok-= THIS MESSAGE NOT LOGGED =-
#14:54:51reosarevok-= THIS MESSAGE NOT LOGGED =-
#14:54:57reosarevok-= THIS MESSAGE NOT LOGGED =-
#14:55:11warpwe have 981605 releases, 724504 of those have NULL in the barcode column.
#14:55:25reosarevok-= THIS MESSAGE NOT LOGGED =-
#14:55:30jeffwarp: and the barcode column is where one would find the EAN/UPC?
#14:55:37warpjeff: yes.
#14:55:54reosarevokjeff: do you store things like catalog numbers and the like too?
#14:55:56DyrconaMB might be able to get better EAN/UPC coverage out of this, though.
#14:55:58reosarevokI'm guessing yes
#14:56:05moonburn has joined #evergreen
#14:56:08reosarevokDyrcona, you read my mind ;)
#14:56:13jeff nods
#14:56:24asmodaiwin-win :)
#14:56:29jeffseems only fair that we contribute back where possible
#14:56:32reosarevokBasically, you can try to map using anything we both store
#14:56:38Dyrconayep
#14:56:49moodaepo has quit IRC
#14:57:04reosarevokIn a lot of cases, it'll need manual confirmation, TBH (even by cat# sometimes although that's less likely)
#14:57:12kepstin-netbookcatalog numbers probably have better coverage on musicbrainz than barcodes, i'd think - but the format is more variable, and they're harder to search
#14:57:31reosarevokkepstin-netbook, Paul is working on making them easier to search though IIRC
#14:57:49reosarevok(trying extra searches without spaces for example when searching for cat#s)
#14:58:58reosarevokjeff, can I look at a sample of data?
#14:59:05reosarevokOne or two albums
#14:59:28reosarevokI don't really need a big dump, just one example which is fairly complete on your side
#14:59:44moonburnHey guys, got some postgres questions, relating to how evergreen does it's thing. I need to be able to insert checkout dates for books, using nothing but a CSV file with the patron barcode, and book barcode (which i can differentiate, and I already have a parser for). What I don't have is the respective tables that the data needs to go in for the checkout history of said barcodes.
#15:00:30j_scott has quit IRC
#15:00:49moonburnIf you can point me in the right direction, I am in phppgadmin and can probably piece it together from that.
#15:00:55Dyrconamoonburn: look at action.circulation for a start.
#15:04:12moonburnOkay, all I have work with is the barcodes, and at this point I am just inserting old records.
#15:04:53vicent has quit IRC
#15:05:06vicent has joined #evergreen
#15:05:19Dyrconaactor.usr and actor.card for patrons asset.copy for books
#15:05:35moonburn++
#15:09:30vicent has quit IRC
#15:10:42vicent has joined #evergreen
#15:12:36reosarevokDyrcona / jeff: in any case, right now I'd trust lookup by EAN / cat# more than I trust lookup by disc-in-the-drive
#15:12:45tsbereboopsie--
#15:13:15jefftsbere: issues?
#15:13:41reosarevokMostly because those will give the right tracklist, which is good enough for people ussing it for tagging, but not necessarily the right *release* as per EAN and cat# which I guess would be important for you
#15:13:53jeffreosarevok: more than the disc-in-drive fingerprint/id? that seems... surprising. why would EAN be more accurate / trustworthy?
#15:14:00tsberejeff: Just found out that they don't want to use the "unstable API" but are doing so because screen scraping stopped working due to TPac changing. The "unstable API" appears to be direct use of osrf-gateway-v1...
#15:14:33jefftsbere: interesting. thanks for sharing.
#15:14:37reosarevokjeff: because of the way MB was organised before
#15:14:54reosarevokUntil last year, all releases with the same tracklist shared a MusicBrainz ID
#15:15:11tsberejeff: I am now considering a temporary lockout of their access to see if a number of issues stop happening. >_>
#15:15:14Dyrconajeff: speaking from experience, i've had some fun with European releases of some CDs with Picard in the past.
#15:15:16reosarevokProblem with that is, they all also shared the DiscIDs
#15:15:39reosarevokWhen we split them into a sensible data model, there wasn't really a right way of finding out what went where
#15:15:58jefftsbere: our tech rep there confirmed in late Jan that they are using the opensrf gateway for us.
#15:16:22reosarevokSo while most of them *should* map to the right "release group" (dunno how familiar you are with MB terminology, but that's basically a grouping of all releases of the same "album")
#15:16:23jefftsbere: since you mentioned "scraping", I just went and re-verified
#15:16:44reosarevokIt's likely that they won't map to the actual correct *release*
#15:16:55reosarevok(any awesome ideas on how to solve the issue are welcomed btw)
#15:17:06tsberejeff: Well, I keep trying to track down a number of "undefined" values that float around in our logs on a regular basis, yet all normal entry points to those calls I have found check their inputs. If boopsie is calling the things *directly* though.....
#15:17:06jeffreosarevok: interesting -- thanks for the detail!
#15:17:51reosarevokThe EANs, though, were always per-release-event
#15:18:10reosarevokSo when splitting the tracklists, those didn't become a problem
#15:18:31jefftsbere: check availability on an item in the boopsie app, watch for the request, start observing all requests from that IP, confirm your suspicions? :-)
#15:19:05tsberejeff: Way too many boopsie requests coming through.....and not sure what records are causing the possible issues.
#15:19:27reosarevokping me when your actual urgent problems are solved and we can keep talking :)
#15:19:42Dyrconaah, the joys of running the master branch.
#15:19:48jefftsbere: ah.
#15:20:21tsberejeff: I would look up the record IDs in the logs.....but that is the "undefined" parameter. >_>
#15:20:48jeffreosarevok / kepstin-netbook / warp / asmodai : thanks for letting us pick your brains!
#15:21:01asmodaiI'm just a facilitator.
#15:21:04asmodai:)
#15:21:24reosarevokjeff: about the rate-limiting issues asmodai mentioned... installing your own MB server + search server should fix those
#15:21:30jefftsbere: ooh, so check your bib extracts as delivered to boopsie and look to see if your 901$c / 001 is undefined.
#15:21:43reosarevokAs you're a non-commercial service (you are, right?) you would get free hourly replication anyway
#15:21:56tsberejeff: Not my job. Dyrcona might be involved with that, though.
#15:22:11jeffreosarevok: yep, perfectly logical. not sure I was the one who mentioned rate limiting, but a local copy or a shared copy for other libs to use seems like a good solution.
#15:22:29Dyrconajeff: denials mentioned the rate limiting.
#15:23:08jeff reminds himself that a bug does not require a patch to be useful
#15:23:37asmodaireosarevok: Most of the libraries would be at least.
#15:24:05asmodai<< denials>> http://musicbrainz.org/doc/XML_Web_Service/Version_2 at the bottom says "All users of the XML web service must ensure that each of their client applications never make more than ONE web service call per second"
#15:24:15asmodai<< denials>> which would scuttle the API's use for live lookups for added content, thus setting up a local musicbrainz replica server would probably make the most sense - or crawling through the dump and extracting / augmenting data in Evergreen
#15:24:19asmodaifor context
#15:24:35reosarevokOk, so yes
#15:24:42reosarevokReplicated server is the way to go
#15:24:56jeffyes.
#15:24:57reosarevokNot sure how it would work if you have both commercial and non-commercial users
#15:25:40Dyrcona deletes the extracts when they are done.
#15:27:12Dyrcona doesn't know of any commercial Evergreen installations, but isn't 100% clear on what we're discussing. :)
#15:27:32reosarevokhttp://musicbrainz.org/doc/Live_Data_Feed
#15:27:49DyrconaWell, yeah. But are we talking about 1 server for the community, or what?
#15:28:11reosarevokGood question :p
#15:28:11asmodaiDyrcona: local premise caching servers I thought? Haha, but I could be wrong.
#15:28:39reosarevokI don't know a lot about how evergreen-powered libraries actually work tbh
#15:28:46reosarevokSo I don't know what's a good setup
#15:29:00Dyrconaok. this is really jeff and denials thing, anyway, I think.
#15:29:32jeffside project for me. no direct timeline. it interests me and i see some potential.
#15:29:38Dyrconafor some of the bigger sites, such as mine, having our own server would make sense.
#15:29:43jeffand dbs is sick -- poor guy
#15:29:45asmodaiDyrcona: Just for my own sanity, there are for-profit libraries around, aren't there? Otherwise I really need to stfu more :)
#15:29:47Dyrconasmaller sites might want to share 1.
#15:30:04asmodaijeff: Well, I asked denials about it, since reosarevok mentioned a MARC gateway yesterday.
#15:30:08gmcharltasmodai: they do exist in the sense the commercial entities have libraries
#15:30:09warpjeff: yeah, I figured dbs would hang out here. I met him at the GSOC summit.
#15:30:14Dyrconaasmodai: there are, but I don't know of any running evergreen.
#15:30:23asmodaiAnd my instinct still goes: MARC, AAAAAAAAAAAAAAAAAAAAAAAAAAAAH
#15:30:30asmodaiFight or flight, right there.
#15:30:39asmodaigmcharlt / Dyrcona: Point taken.
#15:30:48Dyrconaasmodai: that's true for those of us who work with it on a daily basis.
#15:31:09gmcharlt... save that flight isn't yet an option
#15:31:16Dyrcona writes a little something to looks for missing 001 and 901$c.
#15:31:28asmodaiDyrcona: I regularly raise a glass of spirits in honour of you guys and your persistence in the face of MARC.
#15:31:33edoceoIf I wanted to torture myself and build a web-front-end for Evergreen using, say PHP (or something else); step one is to build an XMPP api so I can talk to evergreen; yea?
#15:32:00asmodaiwarp: Yeah, unfortunately denials went home sick :(
#15:32:08Dyrconaedoceo: use osrf-http-translator, its easier.
#15:32:33edoceoOh, thx!
#15:32:47Dyrconaactually....
#15:32:58DyrconaI think jeff might have started working on a php implementation.
#15:33:07jeffwhen maintain_control_numbers came into existence, I don't think there was anything to ensure that existing records got control numbers.
#15:33:31jeffbut around that time, OpenILS::WWW::Exporter lost the ability to add/update 901$c
#15:33:39Dyrconajeff: we migrated when about the time that maintain_control_numbers came into existence.
#15:34:47jeff chuckles at his most recent command history:
#15:34:49jeffack maintain_control
#15:35:30Dyrconajeff; plus we use our own export program.
#15:37:00jeff nods
#15:37:13jeffwhich for one thing means that you can easily fix the matter.
#15:37:35jeff(not to say that i can't fix the issue here also -- need to)
#15:45:27tsberejeff: Figured out how to figure out what boopsie is doing easily. Doesn't look like they are doing anything funky directly.....unapi is likely busted partially though (or, at least, what little digging I have done points in that general direction).....and boopsie uses unapi too.
#15:52:08jefftsbere: thanks for the info.
#15:54:59kepstin-netbook has left #evergreen
#16:00:09Meliss has quit IRC
#16:01:09edoceoDyrcona: hmm; I'm trying with curl but and sending proper JSON but I get "no message body to process" in the logs; following http://open-ils.org/dokuwiki/doku.php?id=opensrf_over_http
#16:01:36tspindler has quit IRC
#16:03:23Dyrconaedoceo: you set the headers properly?
#16:03:42Dyrconai've played with it a little bit in Java, but don't have the code handy.
#16:03:53akilsdonk has quit IRC
#16:07:50collum has quit IRC
#16:09:44edoceoYea, I think I idid
#16:10:18edoceoHere's my pastebin: http://pastebin.com/UMjU3HYy
#16:11:18DyrconaI'm not that familliar with curl. Does --data-binary do a POST?
#16:11:37edoceoPOST /osrf-http-translator HTTP/1.1
#16:11:46edoceoContent-Type: application/json; Content-Length: 179
#16:12:14edoceoBut some show my post content should just be JSON data and some show osrf-msg="$json_data"
#16:12:49DyrconaActually, try it with X-OpenSRF-service an not X-OpenSRF-to.
#16:13:16DyrconaYou use X-OpenSRF-to for subsequent messages after the server sends a X-OpenSRF-from.
#16:13:33edoceoOh
#16:14:07plux has quit IRC
#16:14:43edoceoK, I tried with "X-OpenSRF-service: opensrf.simple-text" and still get no bytes back :( and "no message body to process" in the logs
#16:15:02plux has joined #evergreen
#16:17:25Dyrconaedoceo: I'd need to reference my code again.
#16:17:50DyrconaI think I made a stateful connection with CONNECT, etc.
#16:17:56edoceoHmm, docs don't match code: in osrf_http_translator.c line 123: trans->body = apacheGetFirstParamValue(params, "osrf-msg"); - so we need that param it looks like
#16:18:31edoceoprogress!!! XMPP message resulted in error code 503
#16:18:36DyrconaI know I did a couple of tiny examples: 1 where I made a simple request for bib sources, and another where I logged in, made a request for a patron's data and logged out.
#16:18:51Dyrconaah, well, that's something, I guess.
#16:18:55edoceoI would love you forever if you could send me those samples
#16:19:01edoceo:*
#16:19:16DyrconaThey're in java, but I could send them after stripping out the passwords, etc.
#16:19:46gmcharltedoceo: if you haven't seen it yet, you may find coffeecode.net/archives/180-Fetching-item-availability-from-Evergreen-using-the-OpenSRF-HTTP-gateway.html useful
#16:20:24edoceoI had not see that and it is very useful; thank you!
#16:21:16DyrconaI suppose you have seen this: http://journal.code4lib.org/articles/3365
#16:21:37Dyrconadbs++
#16:24:50edoceoNot that specific article but those samples are repeated around the webs
#16:26:37DyrconaThe first half of the article is really good, too. I recommend them to anyone getting started in Evergreen hacking.
#16:27:11edoceoOddly now I'm getting a 503 from osrf_http_translator but apache responds with a 404
#16:29:29Dyrcona wonders why the container methods are in open-ils.actor.....
#16:29:57DyrconaI guess because they belong to a user, huh?
#16:32:00edoceoOh, yea! Got it! Thanks guys!
#16:33:05berickDyrcona: iirc, they needed to live somewhere, and one container type is for users, so...
#16:34:29tsbereberick: open-ils.container sounds like a good name
#16:34:30tsbere ducks
#16:34:46DyrconaYet another listener to run..... Whee!
#16:35:12jeffhopefully I'm not way off on https://bugs.launchpad.net/evergreen/+bug/927900
#16:35:12pinesol_greenLaunchpad bug 927900 in Evergreen "Bib records may not have a 901$c after upgrade" (affected: 1, heat: 6) [Undecided,New]
#16:35:18bericksure, but if we add a service for everything that doesn't neatly fit somehwere.. what Dyrcona said (and more)
#16:37:02atz has joined #evergreen
#16:38:14edoceoAnyone feel like speculating wildly about the performance difference I'd see on native XMPP vs OSRF-HTTP translator ? I'm thinking that if I go native XMPP my tools would be a touch faster?
#16:39:02kmlussier has left #evergreen
#16:39:29gdunbar has quit IRC
#16:39:31gmcharltedoceo: IMO, the difference isn't enough to matter -- unless you're keen to implement XMPP in PHP regardless ;)
#16:42:52Dyrconaedoceo: I've been wanting to make a set of client libs to use osrf-http-translator so you can run the programs from anywhwere. With XMPP, you need to be able to talk directly to the jabber server. With osrf-http-translator, you just need access to www server.
#16:44:09jeffusing the gateway (or the translator, but the gateway gets you a lot) makes it easier to integrate -- especially in a consortium.
#16:44:50jeff crosses his fingers and upgrades virtualbox
#16:49:22vicent has left #evergreen
#16:55:29moodaepo has joined #evergreen
#16:56:04tsbere has decided he procrastinated on "make hold emails obey email_notify" long enough.....and then went further than he had to
#17:09:49atz has quit IRC
#17:10:12atz has joined #evergreen
#17:12:18jeff debates between "push from workstation, pull to test vm" vs "copy working dir to test vm" and opts for "just try one and see how it goes"
#17:13:35atzpull is easier to roll back (even partially)
#17:14:26jeffin the case of evergreen, i'm still "make install" from the git working dir, regardless of if i'm pulling or just scping the whole dir over.
#17:15:16jeffunless i opt for "just replace this one file and restart services", which all too quickly leads me down the path of editing the files in place, and having a "test vm" that contains the only copy of a fix. :P
#17:15:38jefflike many things, it seems to boil down to breaking bad habits. :-)
#17:15:45Dyrconajeff: I typically edit on my workstation, commit, and pull on the test vm.
#17:16:02Dyrconathen if it is a simple fix, I might copy from the git dir to installation dir on the vm.
#17:16:06tsbere uses the test VM as his dev environment
#17:16:15Dyrconawell, yeah, so do i.
#17:16:16jeffcool. pulling from your workstation to the vm, or is there a remote that you push to from your workstation?
#17:16:16moonburn has quit IRC
#17:16:25Dyrconai pull from the workstation.
#17:16:26tsbereBut I run windows on my workstation, and paths are a PITA there
#17:16:35jeff*nod*
#17:16:48tsbereSo I just leave an SSH session to my VM open all the time
#17:16:54tsbereAnd do all the work there
#17:18:41youdonotexist has joined #evergreen
#17:18:56Dyrconawe use ssh keys and key forwarding all over the place, so I add my workstation as a remote on the development vm.
#17:23:34tsbereAnyone have thoughts? http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/hold_available_email_notify
#17:25:42AaronZ-PLS has quit IRC
#17:30:11Dyrcona has quit IRC
#17:33:58bshumtsbere: Sounds good, based on the commit notes
#17:34:16bshumtsbere: Scary that it doesn't already do that...?
#17:39:34atz has quit IRC
#17:50:09atz has joined #evergreen
#17:51:08hopkinsju has joined #evergreen
#17:52:15tsberebshum: Tis annoying that it doesn't already do that.
#17:54:34atz has quit IRC
#18:26:59grharry has joined #evergreen
#18:30:07grharryI've setup evergreen ( good howto ! ). I have a situation that when I query a z39.50 server I get responses which are not in UTF-8 charset but in ISO8859-7 or WINDOWS-1253 ... is There a configuration option that lets me figure out that as in yaz-client ???
#18:42:15sal_ has quit IRC
#18:47:27grharry has left #evergreen
#19:05:05moodaepo has quit IRC
#19:26:46youdonotexist has quit IRC
#19:53:29reosarevok has quit IRC
#19:59:52pmplett has joined #evergreen
#20:34:56atz has joined #evergreen
#20:39:19pmplett has quit IRC
#20:45:07pmplett has joined #evergreen
#21:29:41_bott_ has quit IRC
#21:30:46_bott_ has joined #evergreen
#21:55:49Yancho has quit IRC
#22:11:13Yancho has joined #evergreen
#22:11:14Yancho has joined #evergreen
#23:01:40hopkinsju has quit IRC
#23:12:34pmplett has quit IRC
#23:54:34pmplett has joined #evergreen
< Sunday, February 5th, 2012Raw Log FileTuesday, February 7th, 2012 >