Evergreen ILS Website

Search in #evergreen

Channels | #evergreen index




Results

Result pages: 1 2 3 4 5 6 7

Results for 2015-12-01

15:11 * tsbere hasn't taken a close look though
15:11 jboyer-isl kitteh_: Dyrcona's right, we're looking at brining in a Polaris system into our existing system. Just looking at the marc there are bizarre holdings fields that may or may not require copious coding to codify. (i.e. it stinks.)
15:11 tsbere jboyer-isl: Is it at least valid MARC?
15:12 Dyrcona jboyer-isl: Very often, you can configure the MARC holdings fields before export, but 1) I don't know if Polaris can do that and 2) if it can, I don't know if the people giving you the data know how to do that.
15:12 jboyer-isl tsbere: yes, but there are multiple holdings tags with varying formats. I'm not sure how that was done, but un-doing it is going to be most of the work.
15:13 Dyrcona jboyer-isl: That smells of the remnants of previous migrations.
15:13 jboyer-isl Dyrcona: That's what I'm hoping. (Well, what I was really hoping for was someone to say "Oh, you probably need to have them BLAH" where BLAH isn't 3 dozen config changes)

Results for 2015-11-30

12:15 Dyrcona You can normally restart just one.
12:15 Dyrcona I do it all the time.
12:15 Dyrcona Sometimes, you have to restart more than one.
12:16 Dyrcona For instance, add a marc template to config, it's best to restart opensrf.settings and open-ils.cat.
12:37 krvmga Dyrcona++
12:37 krvmga gmcharlt++
12:44 maryj joined #evergreen

Results for 2015-11-20

11:02 miker pops up...
11:03 miker krvmga: (and, after your meeting) you can also empty out that whole element in opensrf.xml and experiment with different CD normalizers directly in the search box
11:04 miker (one of the caveats to keep in mind: searches like, say, "title:it" may (probably will) suffer)
11:20 Dyrcona @marc leader
11:20 pinesol_green Dyrcona: unknown tag leader
11:21 Dyrcona @marc ldr
11:21 pinesol_green Dyrcona: unknown tag ldr
11:21 Dyrcona Figures.
11:30 jeff the marc leader should always be set to '48151nam a2262342 a 4500'

Results for 2015-11-19

10:44 kmlussier gmcharlt: Sounds good to me. Thanks!
10:44 kmlussier I will do so for two bugs now while I'm thinking of it.
10:45 Dyrcona And, grr. That string_agg trick in the having is just not working.... Time to try something else.
10:46 * Dyrcona is trying to find all copies with a certain marc type at a library.
11:03 jboyer-isl Dyrcona: care to paste the query?
11:03 Dyrcona jboyer-isl: I will paste it, but got it working with a second join.
11:04 pastebot "Dyrcona" at 64.57.241.14 pasted "Copies by item type by lib" (15 lines) at http://paste.evergreen-ils.org/18
16:32 Dyrcona ;)
16:33 jeff <controlfield tag="007">sz zunznnnzneu                              </controlfield>
16:33 jeff interesting.
16:33 Dyrcona Well, it's marc and those spaces may have meaning.
16:33 Dyrcona @marc 007
16:33 pinesol_green Dyrcona: This field contains special information about the physical characteristics in a coded form. The information may represent the whole item or parts of an item such as accompanying material. (Repeatable) []
16:33 jeff longest after trimming trailing whitespace is: <controlfield tag="007">snbdncrndbnesnfmngenh​nninnjmnkpnlunmn</controlfield>
16:34 Dyrcona That just looks like someone passed out on the keyboard. That can't possibly mean anything. :)
16:34 Dyrcona But, it's MARC, so it probably does mean something.
16:36 jeff i actually found a video of the moment that 007 was placed on file: http://i.imgur.com/0RS6ND5.gif
16:38 Dyrcona jeff++
16:38 Dyrcona heh

Results for 2015-11-12

10:55 Dyrcona Anyhoo.
10:56 Dyrcona I don't think I've seen any records like that for a long time.
10:59 jboyer-isl What appears to have happened: Saving that record stripped out a bunch of "empty" fields and subfields. (like so: <datafield tag="100" ind1="" ind2=""><subfield code="a"/><datafield> ) and that is the only real change I can see. (I don't suspect any unusual characters or whitespace issues, it was created in the client "by hand" as far as I can tell.)
11:00 Dyrcona Ah. We sometimes get errors from MARC export about records with empty subfields.
11:00 Dyrcona That may be a bug of creating records from templates.
11:00 Dyrcona I've never looked into it, though.
11:01 jboyer-isl Which is likely long fixed, because we'd be hitting this constantly if it was still happening.
11:01 Dyrcona Well, *I* still see it, and it is always on newly-created records before central site catalogers overlay the records from OCLC.
11:03 jboyer-isl (I have at times wished catalogers could save records with lots of empty fields; that way they could create new templates in the editor and all I'd have to do is select the data out of them. Time for an LP about in-db templates, perhaps.)
11:03 jboyer-isl Dyrcona: newly created as in newly imported, or are staff able to save records with blank fields?
11:04 Dyrcona Created from a MARC template, so created and saved in the client.
11:04 Dyrcona I'm searching my trash folder to see if it has turned up in any recent dumps for EBSCO.
11:04 Dyrcona I get something like this: Field 520 must have at least one subfield at /usr/share/perl5/MARC/File/XML.pm line 481.
11:06 Dyrcona I should merge cf4410e & a9d80dc into my production branch.
11:07 pinesol_green [evergreen|Jason Stephenson] LP 1502152: Improve marc_export warnings. - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=cf4410e>
11:07 pinesol_green [evergreen|Galen Charlton] LP#1502152: (follow-up) fix a typo - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=a9d80dc>
11:27 Dyrcona jeff: (add-hook 'sql-mode-hook (lambda ()  (setq indent-tabs-mode nil tab-width 4))) works pretty well for me. :)
11:28 stonerl left #evergreen
11:33 Dyrcona Hrm. Perhaps I misspoke about the 520.
11:33 Dyrcona @marc 520
11:33 pinesol_green Dyrcona: Unformatted information that describes the scope and general contents of the materials. This could be a summary, abstract, annotation, review, or only a phrase describing the material. (Repeatable) [a,b,u,3,6,8]
11:34 Dyrcona Yep. I did.
11:34 Dyrcona @marc 540
11:34 pinesol_green Dyrcona: Terms governing the use of the described materials (e.g., copyrights, film rights, trade rights) after access has been provided. (Repeatable) [a,b,c,d,u,3,5,6,8]
11:35 Dyrcona @marc 590
11:35 pinesol_green Dyrcona: unknown tag 590
11:37 Dyrcona Well, either I've guessed the wrong record, or I don't know what happened to it.
11:47 Dyrcona Ah ha!
11:47 Dyrcona Failure to map a character to MARC-8 in the 520 resulted in the record being skipped and erroring out.
11:48 Dyrcona Looks like there's a UTF-8 em dash in the 520.
11:48 * Dyrcona wishes vendors would just accept UTF-8 MARC records already.
11:52 jwoodard2 joined #evergreen
12:14 Christineb joined #evergreen
12:21 jihpringle joined #evergreen

Results for 2015-10-21

15:13 jboyer-isl csharp: local notes! we just blew them all away here.
15:14 jihpringle joined #evergreen
15:14 jboyer-isl (not that “local notes!” helps, I think there’s a lot of those.)
15:15 Dyrcona We use that to differentiate "on order" or "brief" records from "regular" MARC records.
15:15 mmorgan joined #evergreen
15:16 Dyrcona My local version of the Backstage software does not export records with a date or an o/o, or similar note in any 590 subfield.
15:16 Dyrcona So, it has uses....

Results for 2015-10-02

10:05 Dyrcona That is what I think I'll change to make that one subroutine more like the others.
10:19 jeff "Optionally pass each record through MARC::Lint and display output" [Wishlist,New] https://example.com/not/really
10:24 Dyrcona heh.
10:24 Dyrcona And I triggered it: Can't locate object method "id" via package "MARC::Record" at /openils/bin/marc_export line 786.
10:41 krvmga joined #evergreen
10:42 krvmga "group by formats and editions" seems to pull in all consortial holdings and ignore scoping. (in other words, i can't see all the formats and editions only my library owns). is my understanding correct?
10:46 kmlussier hmmm...I don't recall that being a problem with metarecords

Results for 2015-09-30

08:41 Shae joined #evergreen
09:00 DPearl Question...  I'd like to use features in a cpan module (not yet used by EG). Besides the "use" in the perl code, I see that referenced cpan modules are in a list at Open-ILS/src/perlmods/Build.PL.  Are there any other places that I should be aware of to ensure that the module is installed on the server during EG install or upgrade time?
09:01 Dyrcona joined #evergreen
09:01 Dyrcona Record length of 160129 is larger than the MARC spec allows (99999 bytes). at /usr/share/perl5/MARC/File/USMARC.pm line 314.
09:01 Dyrcona I think I need to modify my export to report the id numbers of those records.
09:03 ericar joined #evergreen
09:03 krvmga joined #evergreen

Results for 2015-09-21

15:31 jeff_ (i.e., SET_CIRC_MISSING may have been an interim way to spell SET_CIRC_CLAIMS_RETURNED)
15:32 jeff_ ten years ago.
15:33 * gmcharlt gives 0945 and 0946 back
15:50 Dyrcona Gotta love it.... Header says UTF-8, file is actually MARC-8.
15:51 Dyrcona s/Header/Leader/
15:54 Dyrcona Oh, good. Even better.
15:54 Dyrcona Second set of records from the same vendor appear to be actually UTF-8. Maybe it varies by record.

Results for 2015-09-11

08:35 jeff "excaping"? oof.
08:39 Dyrcona joined #evergreen
08:42 mmorgan joined #evergreen
08:46 Dyrcona <sarcasm>Yay for smart quotes in MARC records!</sarcasm>
08:52 rlefaive joined #evergreen
08:52 maryj joined #evergreen
08:52 Dyrcona Well, that's neat. Somebody sent an actual email to opensrf-commits.

Results for 2015-09-04

12:36 dbs kete it was
12:40 * jeff is once again reminded how frustrating it is that neither marc nor isbd seem to acknowledge each other in any way, shape, or form. :P
12:41 jeff at least, not in the places i look. :P
12:50 Dyrcona MARC at least acknowledges ISBD with an indicator here and there.
12:50 Dyrcona As far as punctuation is concerned.
12:50 * Dyrcona realizes jeff's opine was deeper than that.
12:51 jeff taking more cataloging classes might help, but might also just properly equip me to argue with someone who took another cataloging class. ;-)

Results for 2015-08-17

10:40 Stompro Unless it watches what it just did, and doesn't repeat bugs that were recently displayed.
10:42 collum joined #evergreen
10:42 jeff keep in mind that the docs may not match the version of the module presently loaded.
10:43 Dyrcona jboyer-laptaupe: Fun thing, is a lot of MARC are actually ISO-8859-1 or some MS encoding when they should be MARC-8.
10:44 Dyrcona jboyer-laptaupe: Good luck! :)
10:44 bshum Stompro: pretty sure it doesn't repeat bugs for X time where X is beyond my recollection.
10:45 Stompro I'm testing over at #openils-evergreen, and the multiple bug display worked fine there, so it was just refusing to display the same bug again immediatly.

Results for 2015-08-11

12:49 Dyrcona I don't recall how that worked (if at all) with Horizon when we did our migration.
12:51 Dyrcona jeff: Different encodings in the same character set? ;)
12:51 Dyrcona UTF-8 is fun!
12:53 Dyrcona And, I've recently seen MARC records that said they were UTF-8, but were really MARC-8.
12:53 Dyrcona Just adding that 'a' to the leader doesn't magically change the encoding, guys.... :)
12:55 jeff right.
12:57 Stompro Dyrcona, but the date they opt-in is the date that the EG circ activity gets shown, so opting in wouldn't show their old circ history.

Results for 2015-08-07

11:19 Dyrcona I'd need more context and have other things to do at the moment.
11:19 Bmagic that would result in including all subfields except "t" ?
11:19 Bmagic Dyrcona: no problem, I really appreciate your time!
11:20 Dyrcona possibly: marc:datafield[@tag='700']/marc:subfield[not @code='t']
11:20 Dyrcona off the top of my head and not sure the syntax is even correct.
11:20 pinesol_green [evergreen|Kathy Lussier] Documentation: Add 2.8 docs for void on claims returned - <http://git.evergreen-ils.org/?p=​Evergreen.git;a=commit;h=6177e5d>
11:21 RoganH joined #evergreen

Results for 2015-08-06

10:10 bshum And since translations in LP track against master
10:10 bshum Those strings never showed up for needing translation in LP.
10:10 Dyrcona miker: If you want sprint2 in master before the alpha/beta release, then you'll need to clean up the upgrade scripts and provide pgtap tests.
10:11 Dyrcona miker: I'm also concerned about the FIXME comment in XXXX.schema.marc-tag-tables.sql
10:11 Dyrcona I get errors on line 9 and will try reordering the drop statements, but also wonder if I should even be running those drops given the comment.
10:12 phasefx bshum: fun
10:13 bshum phasefx: I would imagine we could still cherry-pick berick's changeset from 2.8 to master now.  And then when Dyrcona does i18n dances for 2.9, we just make sure to bring in all the translations

Results for 2015-07-29

10:39 Dyrcona It will cause a recalculation or opac visibility and some other things.
10:39 Dyrcona s/or/of/
10:40 mrpeters i will need to reingest eventually, because i will also be changing the marc with REGEXP_REPLACE but i hadn't even gotten to that point in the process yet, but, now i see a lot of hung up crap in the db that may take care of things
10:41 Dyrcona mrpeters: I'd suggest possibly doing whatever you're doing via Perl. I find it much easier to manipulate MARC in Perl than directly in the database.
10:41 jboyer-isl joined #evergreen
10:41 phasefx didn't see it in channel this morning (net-split?), but there's a new failure at http://testing.evergreen-ils.org/~live/ re: perl live tests for negative balances
10:42 mrpeters gotta stick with what i know, for now, Dyrcona

Results for 2015-07-09

12:17 Bmagic on the 035
12:17 bshum @marc 035
12:17 pinesol_green bshum: A control number of a system other than the one whose control number is contained in field 001 (Control Number), field 010 (Library of Congress Control Number) or field 016 (National Bibliographic Agency Control Number). (Repeatable) [a,z,6,8]
12:17 Dyrcona @marc 040
12:17 pinesol_green Dyrcona: The MARC code for or the name of the organization(s) that created the original bibliographic record, assigned MARC content designation and transcribed the record into machine-readable form, or modified (except for the addition of holdings symbols) an existing MARC record. These data and the code in 008/39 (Cataloging source) specify the parties responsible for the bibliographic record. (1 more message)
12:18 Bmagic if you are hand crafting a bib, and you put in a 001, the software will move that to 035 right?
12:18 bshum Bmagic: It depends on how you use Evergreen.
12:47 Dyrcona pdot2: To find items on library shelves.
12:48 pdot2 ah, okay
12:50 Dyrcona In Evergreen, asset.call_number serves as the link between biblio.record_entry and asset.copy.
12:50 Dyrcona biblio.record_entry being the bibliographic (MARC) data about the book/item/what have you.
12:51 Dyrcona and asset.copy being the physical manifestation in the form of a book, dvd, what have you.
12:52 * bshum likes diagrams: https://docs.google.com/drawings/d/1EIcumPTGAwLg​JvC9FgnYB9LjyWEKFn4rw-DW8ctO69k/edit?usp=sharing
12:52 * jeffdavis wonders idly what Melvil Dewey would say to that explanation of what call numbers are for

Results for 2015-07-07

14:47 RoganH Yeah, I'm trying to see what I can work out when many of us have separate accounts.  I'm starting to hit the point of saying they'll either have to be done by hand or we'll need to do development.
14:47 kmlussier I think one consortium may be loading them with the MARC stream importer, but I'm not sure. I know they generally do ebook titles that way.
14:48 RoganH I can think of ways of doing it on the backend but part of the goal is to put it in the catalogers' hands.
14:48 Dyrcona I could be wrong, but I don't think the marc stream importer can do anything that vandelay doesn't.
14:48 kmlussier Dyrcona: No, it can't.
14:49 pdot2 so, MARC records appear to be overkill for the few hundred books I'm looking at, I'm assuming I can't get by with brief records for catalogs / circulation?
14:49 RoganH pdot2: if you have a small collection and you need marc you can use something like the amazon 2 marc tool
14:50 RoganH pdot2: http://chopac.org/cgi-bin/tools/az2marc.pl
14:50 kmlussier pdot2: Brief MARC records? Sure. But  you might want to make sure all of the fixed field information is there so that format icons and filters work properly.
14:50 kmlussier +1 to the amazon 2 marc tool
14:51 Dyrcona pdot2: You could also try grabbing records via z39.50, but +1 to amazon 2 marc.
14:51 * Dyrcona goes back to fixing last night's mess.
14:57 pdot2 amazon marc tool is pretty cool
14:59 kitteh__ joined #evergreen
15:59 pdot2 and restarted my client
16:00 jeff you may have made changes that don't make sense, or you might be trying to assign your user to an org unit type that doesn't have "can_have_users" set to true.
16:01 * Dyrcona wishes he had this feature right about now: http://bugs.koha-community.org/​bugzilla3/show_bug.cgi?id=11876
16:01 Dyrcona Or just a tool to diff marc.
16:02 pdot2 allrighty, thanks Jeff, I'll try that out tomorrow
16:03 miker Dyrcona: looks like a side-by-side view of breaker format, no?
16:05 miker Dyrcona: ah ... reading further, they use a JS dif formatter to highlight differences.  neat
16:16 yboston worked great
16:17 Dyrcona That could almost work in my case.
16:17 Dyrcona yboston++
16:17 Dyrcona Anyway, we've decided to replace MARC on records where the quality dropped by 10 or more.
16:17 jeff yboston++ handy and clever -- doesn't help Dyrcona's scenario, but close! :-)
16:18 yboston :)
16:18 Dyrcona We'll figure out what to do with the others later this week.

Results for 2015-06-24

14:36 pinesol_green rangi needs coffee.
14:36 terran @weather 30345
14:36 pinesol_green terran: The current temperature in Lakeside, Atlanta, Georgia is 91.8°F (2:30 PM EDT on June 24, 2015). Conditions: Partly Cloudy. Humidity: 62%. Dew Point: 77.0°F. Pressure: 30.10 in 1019 hPa (Falling).
14:36 Dyrcona The @marc is the most work-related thing that pinesol does.
14:36 jeff @coffee rangi
14:36 yboston @seen remingtron
14:36 * pinesol_green brews and pours a cup of Guatemala Hunapu Antigua Bourbon, and sends it sliding down the bar to rangi

Results for 2015-06-22

10:25 Dyrcona Best thing is if we could set up a test to make it happen.
10:25 yboston It could have gone away, but from Dan's comments it might have been a feature and not in the sarcastic CYA way
10:25 Dyrcona That doesn't sound intentional to me.
10:26 Dyrcona I don't recall what MARC says about subfield order, if anything.
10:27 yboston Dyrcona: you are right I am not making much sense, I guess I mean that I understand the thinking that the $0 should be ignored by a lot of the UI, except here thta the change it location is quite jarring
10:28 yboston in the MARC editor
10:28 Dyrcona yep, $0 should be ignored, but the other fields should not move. ("Should" does not mean it is.)

Results for 2015-06-19

08:22 Dyrcona Something must be cached.
08:23 akilsdonk joined #evergreen
08:24 ericar joined #evergreen
08:25 Dyrcona On an unrelated note, I wish more vendors would accept UTF-8 in MARC records.
08:26 Dyrcona 'Cause I just should not be seeing messages like this in my email: no mapping found at position 0 in ⓟ2015. at /usr/share/perl5/MARC/Charset.pm line 384.
08:27 Dyrcona Hrm.... That funkiness continues after a reboot!
08:28 Newziky joined #evergreen
08:30 Dyrcona Well, Google is no help..... I suspect this has something to do with python caching a compiled version somewhere.
10:33 mmorgan I can think of one that applies here: New items can have a shorter loan period initially, then a longer loan period when they're no longer popular.
10:33 gsams I can't say that I can figure one out for any of our libraries, that wouldn't be covered by some other option more easily.
10:34 mmorgan Our circ modifiers are format based. book, dvd, etc.
10:35 Dyrcona Our circ modifiers are modifiers: hot, bestseller, etc. We use MARC fields for DVDs, etc.
10:35 * Dyrcona is kinda masochistic like that. ;)
10:35 mmorgan No MARC fields here, just circ modifiers.
10:36 Dyrcona What we've discussed with rule-based circ mods is encoding the loan duration, renewals, and holdability in the name somehow.

Results for 2015-06-11

09:57 krvmga joined #evergreen
09:57 csharp yeah - reports are my proposed solution to a lot of staff issues like that
10:00 afterl joined #evergreen
10:03 Dyrcona Whee! Editing MARC by hand....
10:03 Dyrcona At least it is MARCXML.
10:04 * jeff puts the hex editor away
10:05 * jeff hides his disappointment on the shelf behind the hex editor

Results for 2015-06-01

09:42 bshum devi_: Out of curiosity, what legacy system are you attempting to migrate from?
09:43 devi_ omg....there is no word about CSV files.....
09:43 kmlussier devi_: You can't migrate CSV files. They have to be MARC files.
09:44 Dyrcona kmlussier: I've done migrations where patron data and transactions were in CSV. Bib records work best in MARC.
09:44 bshum jeff++ # yeah, that's applicable for VMs in certain hosted environments, right? Like Amazon cloud?
09:44 Dyrcona Granted, I write my own software each time to load the data.
09:45 Dyrcona Which reminds me.....I owe someone some questions about a migration.

Results for 2015-05-19

12:15 tsbere dkyle1: From my docs, any of the following item forms will stop the book search filter/icon: a,b,c,f,o,q,r,s (d, for large print, only stops the icon)
12:16 dkyle1 had a book that was displaying with an ebook icon, found that config.coded_value_map row id 587 has no corresponding coded_value entry in config.composite_attr_entry_definition
12:16 tsbere dkyle1: ebooks show up with item_form set to one of o,q,s
12:16 Dyrcona Check the MARC is the usual answer.
12:17 tsbere dkyle1: MVLC's row 587 isn't ebook, it is "item_form=q", which the ebook and book icon_formats check indirectly.
12:17 dkyle1 Dyrcona: indeed, and item_form showed blank in marc editor, but showed as q in metabib.record_attr_flat
12:17 sandbergja joined #evergreen

Results for 2015-04-30

12:13 kmlussier Would krvmga need to reingest too?
12:16 Dyrcona Don't think so.
12:16 kmlussier krvmga: If you look at the definition used for the book format icon, you might have a good definition for your everyday, print book that could be used as a search filter.
12:17 Dyrcona Except that in some cases, search_format and icon_format are different, i.e. come from different MARC fields.
12:18 jihpringle joined #evergreen
12:20 kmlussier Yeah, I think that's partially because an "All Books" format filter makes sense for people who just want any kind of book, but doesn't make as much sense as an icon, where you want to have a bit more granularity in what kind of book it is.
12:24 tsbere kmlussier: If you change the definition of the search formats you have to reingest. So adding a new one could be seen as just as much of a headache as changing an existing one.

Results for 2015-04-08

14:37 Bmagic EG staff client doesn't have time settings of any kind?
14:38 krvmga tsbere: to answer your question, i think they were using "--" as a divider between sections in chapters.
14:38 krvmga tsbere: i can change contents.tt2 as you suggest and see what happens
14:39 Dyrcona Looks to me that the MARC probably had tags in it like so: <embed> <script>
14:39 Dyrcona That's being stripped/mangled on the way out.
14:39 tsbere krvmga: If it works make a patch and submit it. If it doesn't or causes other breakage then I didn't dig deep enough.
14:41 bshum Bmagic: so, it's stored as -05, but right now, we're at -04 aren't we?

Results for 2015-03-20

09:48 Dyrcona :)
09:48 bshum Right :)
09:56 jeff_ joined #evergreen
09:56 Dyrcona csharp: On your marc export later, I thought we took care of that at one point, but I can't find a launch pad bug about it.
09:58 Dyrcona Oh, wait, you're talking about the ones that are too large.
09:58 Dyrcona That's not easy to fix, and might actually require changes to MARC::Record.
09:58 Dyrcona Vendors should just a) accept MARCXML and b) ignore the size field.
09:59 Dyrcona It's a throwback to the days of limited storage.
09:59 Dyrcona With an end of record indicator in the binary format, it is also unnecessary.
10:00 Dyrcona There's a lot of stupidity in the MARC format itself.
10:00 jboyer-isl Dyrcona: it was designed for tape. If you know how long the record is you can skip ahead without looking for the EOR marker.
10:00 Dyrcona Another option is just don't send them holdings, but that's the whole point of sending to OCLC.
10:01 Dyrcona jboyer-isl: I know what it was designed for and it serverd that purpose at that time OK. It totally sucks today.
10:14 Dyrcona True about the holdings. The original purpose was to send the tape and have cards printed for the card catalog.
10:14 Dyrcona Everything else we've made the format do is tacked on.
10:14 Dyrcona And, since we're not using linear storage, and it's 2015, vendors should just ignore the size field.
10:15 Dyrcona Evergreen ignores it, as does anything that uses MARC::Record.
10:15 Dyrcona "But this software has worked since 1985! Why should we change it?"
10:36 dreuther joined #evergreen
10:45 collum http://www.cincinnati.com/story/news/2015/03/2​0/appeals-court-ky-library-tax-legal/25076117/

Results for 2015-03-13

14:42 kmlussier When I'm creating records in a test system, I usually do "Kathy's adventures in Evergreen."
14:43 kmlussier There's also a serial version: "Kathy's journal of Evergreen."
14:47 Dyrcona I've got some books on the shelf in my office with barcodes on them that I use if I need test copies.
14:49 Dyrcona I don't usually create MARC data.
14:50 Dyrcona We actually have a barcode prefix for our central site, though we do not have a circulating collection.
14:52 Dyrcona Cataloged a Coca Cola bottle once, now that I think of it.
14:54 dbs Hmm. Running through acquisitions PO notes, I had a use case for copying and pasting multi-line notes and hoping the formatting would stick

Results for 2015-03-10

09:09 dkyle joined #evergreen
09:09 _bott_ joined #evergreen
09:10 Dyrcona joined #evergreen
09:30 Dyrcona Do I have to use namespace prefixes when using xpath in a database query on bre.marc?
09:31 Dyrcona I ask, 'cause this is giving me nothing: /record/field[@tag="245"]/​subfield[@code="a"]/text()
09:32 Dyrcona Doh!
09:32 Dyrcona datafield, not field.
16:44 * Dyrcona calls it a day.
16:45 jonadab Haha.  I still remember my horror the first time I ever saw a MARC record.
16:46 Dyrcona That horror comes back every time you look at one.
16:47 Dyrcona Ever look at a raw binary MARC record?
16:47 vlewis joined #evergreen
17:02 mmorgan left #evergreen
17:05 eeevil @later tell Dyrcona re method_lookup(), if it can't resolve the method name locally, it will go to the router, get a list of services, go to each and gather their methods, then try to resolve the method by name again.  it supports simple service discovery: "I don't care who implements this method, just do what I want" ... that functionality is not used inside evergreen (we only resolve local methods via method_lookup)

Results for 2015-03-04

16:01 gmcharlt now there's a frightening prospect -- "sorry, Dave, I can't let you catalog any more"
16:04 Dyrcona jeff: Silently discarding the changes is worse.
16:04 Dyrcona "Evergreen is broke. It won't save my changes."
16:05 Dyrcona I think you guys are just talking crazy talk....MARC cataloging is bad enough as it is. Why deliberately make it worse?
16:05 jeff with few exceptions, silent (and secret!) refusal to perform an action is usually best avoided. :-)
16:05 bmills joined #evergreen
16:06 gmcharlt Dyrcona: I'm pretty sure jeff and I stopped being entirely serious at 15:50:33 my time ;)

Results for 2015-02-17

16:52 Dyrcona ..or..
16:53 Dyrcona I can maybe take a look tomorrow.
16:54 mdriscoll Ok.  I'll post my comments on launchpad.  For us this works great!  We don't use the 905 $u.
16:56 Dyrcona Well, in theory, nothing else should use 905$u, either, but in practice, I've seen all kinds of junk in incoming MARC records. ;)
16:57 bmills1 joined #evergreen
17:01 mdriscoll Dyrcona: in the case of marc_steam_importer, the user that the process is running as will be the creator.  That's not necessarily a bad thing.  Our libraries add a 990 to record the person who is uploading the record.
17:02 Dyrcona mdriscoll: The focus of this change is on Vandelay. I don't know if the marc_stream_importer uses the same API underneath.

Results for 2015-02-13

14:15 Dyrcona I felt obligated to work on it when a Backstage import busted up someone's work. :)
14:15 Dyrcona That's cool. Collaboration is nice.
14:24 Dyrcona While testing that change, I noticed something unusual.
14:25 Dyrcona Any time I typed a key in the marc editor, regular or flat text, while editing a record to import, a JavaScript error window would pop up.
14:26 Dyrcona TypeError: tab is undefined
14:26 Dyrcona Still doing it, actually.
14:26 Dyrcona MARC edit works fine on regular bibs.
14:27 Dyrcona Guess I'll do a git clean and see what happens.
14:27 kmlussier dbs: Thanks for letting me know about mlnc4. I'll fix it up now.
14:28 dbwells Dyrcona: I saw that too, when testing master with a 2.7 client.  I know it stems from some changes ldw wrote a while back, and I thought it might be related to me needing a new client.

Results for 2014-12-08

11:08 tsbere Though I can't say much more than that because we were only running the code in production since last night.
11:08 tsbere Oh, and we pushed the new view into production to stop the errors and are waiting to see if that makes new issues or not
11:09 jihpringle joined #evergreen
11:10 Dyrcona MARC types are not involved in the matchpoints that come up.
11:11 Dyrcona Specifically, our matchpoints 2 and 314, not that that tells *you* anything useful. :)
11:11 RoganH joined #evergreen
11:20 bshum Hmm, maybe vr_format?
11:28 bshum Gotcha... so I'd need to have some truly terrible bib records to try replicating some of that.
11:28 jboyer-isl So is it looking like the lack of 008's + the left joins are causing the issue, or is that still an early assumption to make?
11:28 vlewis joined #evergreen
11:28 Dyrcona jboyer-isl: It looks like it is the left joins, definitely, as for what MARC tags are missing, I can't say.
11:29 dbs Would the alternative to removing the left joins be COALESCE()ing the resulting nulls with some reasonable default?
11:29 csharp sounds like we'll have similar issues then - we have lots of sh*tty data
11:29 Dyrcona The records in question are createed with a leader, 005, 082, and 245 only.
14:56 * tsbere is never sure when he is authed to the bot
14:56 * kmlussier always forgets how to authenticate to the bot.
14:56 bshum phasefx++ # my curiosity is sated
14:57 Dyrcona @quote add <jboyer-isl> MARC breaks everything. It's the anti-ILS whisperer.
14:57 pinesol_green Dyrcona: The operation succeeded.  Quote #101 added.
14:57 bshum Permissions are weird.  End of line.
14:57 kmlussier Dyrcona++
15:02 jboyer-isl Bummer.
15:03 Dyrcona @quote search jboyer-isl
15:03 pinesol_green Dyrcona: 4 found: #101: "<jboyer-isl> MARC breaks everything. It's the...", #76: "<jboyer-isl> Our copy location table is looking...", #83: "< jboyer-isl> PEBCAKEs, while delicious, rarely...", and #89: "<jboyer-isl> Assumption soup isn’t nearly as..."
15:03 Dyrcona @quote search marc
15:03 pinesol_green Dyrcona: 6 found: #101: "<jboyer-isl> MARC breaks everything. It's the...", #38: "<jcamins> At least your MARC frameworks aren't...", #46: "<_bott_> I am not a cataloger, but I speak...", #52: "<dbs> MARC is not machine readable.", #75: "< _bott_> I fear that MARC was a humorous...", and #77: "< Dyrcona> Sure, send someone binary MARC..."
15:03 * bshum laughed out loud at #52 again.
15:04 jboyer-isl I was trying to see if search and who would work together. Either it doesn't process them in the correct order, or you'd have to do it a dozen times to hit one.

Results for 2014-11-29

09:59 Dyrcona And the fix for the older bug in no way affects record sizes, so it is definitely different.
10:00 bshum But wouldn't it have passed the warning off with the bib ID?
10:00 bshum And then proceeded to make a sucky export
10:00 Dyrcona He's getting the warning from MARC::Lint.
10:03 Dyrcona He's also probably "backported" the new marc_export, 'cause there is no reason that it wouldn't work with 2.5, as far as I know.
10:03 bshum Sure, if you grabbed the whole thing from a newer release I guess.
10:04 Dyrcona Just cherry-pick the commit(s) or copy the complete file and alter your Makefiles.
10:05 Dyrcona @blame MARC
10:05 pinesol_green Dyrcona: MARC forgot to give the gerbils their chocolate-frosted sugar bombs
10:06 bshum Huh
10:06 bshum Speaking of dependencies

Results for 2014-11-26

11:48 Dyrcona You could try using OpenILS::Utils::Normalize::clean_marc on the records before writing to your output file.
11:49 csharp Dyrcona: is that employed by marc_export at all?
11:49 csharp eeevil: interesting - I know there's a history there that I've heard in bits and pieces over the years
11:50 Dyrcona charp: Apparently not. It is normally done when MARC is added to the database these days, but you may have older data or data added via SQL that bypasses that.
11:50 eeevil csharp: royt and Thom Hickey were my prime targets, if you want a starting point, IIRC
11:51 * Dyrcona wonders what is wrong with his fingers this morning.
11:51 Dyrcona csharp: see above
12:03 Dyrcona No. It's on my laptop. :)
12:03 csharp no prob - I'm on a box that has that anyway
12:03 Dyrcona I was going to maybe add some more things to it.
12:03 Dyrcona I use when I want to mess with MARC on my laptop using DBI.
12:03 csharp I wonder if that would be worth running on our full bib set at some point
12:04 Dyrcona Might not be a bad idea.
12:05 Dyrcona Something in Perl to pull the marc of each record, clean it, and update it.
12:08 jeff it would be nice if OCLC didn't charge an arm and a leg to update your holdings with them. the only recent holdings we have are where we've gotten the MARC from them via CatExpress
12:12 Dyrcona If you ever pull MARCXML from the database and it comes straight out with more than 1 line, then you should at least run clean_marc on those records.
12:12 Dyrcona Multiple lines is a sure sign that the MARC was not "fixed" for Evergreen.
12:13 csharp @fix ALL THE MARC
12:13 pinesol_green csharp: Zoia knows how to make fusilli.
12:14 Dyrcona What do you know, pinesol_green ?

Results for 2014-11-24

12:22 dbs the marcedit-tooltips are special, to boot, as we try to generate those automatically from MARC docs (at least for en-US and fr-CA)
12:24 Dyrcona mixo: That actually looks valid to me. I think something might be happening out of order, but I don't know for sure.
12:24 Dyrcona mixo: I don't usually upgrade with those scripts.
12:25 Dyrcona dbs: How are they generated from MARC docs? I was going to copy and paste and then run some macros in my text editor or something like that.
12:26 dbs dyrcona: Open-ILS/xsl/locDoc2xml.xsl
12:26 * Dyrcona takes a peak.
12:26 dbs that's the en-US version, I created an fr-CA version that is probably lost somewhere in the mists of time

Results for 2014-11-17

15:21 csharp been working on a script most of the day to do surgery on some subject headings
15:21 * mmorgan assumes it has not been going well...
15:22 csharp I had a success, but I was only changing a single 65X subfield, and the text I'm trying to expurgate is in at least two other subfields
15:31 Dyrcona @insult MARC
15:31 pinesol_green MARC: You are nothing but a tepid truck-load of off-color ooze.
15:34 bshum @whocares MARC
15:34 pinesol_green mllewellyn loves MARC

Results for 2014-11-07

13:45 jeff in this case it was my own fault. i was eating MARC-8 with MARC::Record then writing out to a file that I had set as :utf8
13:46 Dyrcona Yep.
13:47 jeff I'm tempted to transform these incoming records to UTF-8 using yaz-marcdump.
13:47 Dyrcona But, I always seem to have the UTF-8 characters that won't map to MARC-8.
13:48 Dyrcona When exporting to a vendor.
13:48 Dyrcona jeff: Might be a good idea.
13:48 Dyrcona I like using yaz-marcdump to convert binary MARC to xml and UTF-8 at the same time, even. :)
13:49 jeff I thought that MARC::Record had more obvious transcoding support. Maybe I'm just thinking of MARC::File::Encode
13:49 Dyrcona Often makes those "vendor records" easier for MARC::Record to digest. Just ignore the comments in the output. :)
13:50 jeff no, if yaz-marcdump can't parse without errors/warnings, you reject the file ;-)
13:51 Dyrcona Then, I'd almost never load anything. ;)
13:51 jeff last if $outcount >= 50;

Results for 2014-10-27

11:50 Dyrcona jeff: Could be. What is it?
11:50 jeff Dyrcona: I think the last time I looked, your safari bib load scripts delete-then-create, but some of your backstage scripts overlay existing bibs?
11:51 jeff I'm looking to make our e-resource bib loads better, starting with OverDrive, where we have some existing poorer-quality bibs that I'd like to overlay.
11:52 Dyrcona jeff: I'm pretty sure it just replaces the MARC field.
11:53 Dyrcona Someone on staff here uploads OverDrive records by hand, but the Safari load is probably close to what you want.
11:53 jeff boy do i have a lot of git clones in my homedir...
11:53 Dyrcona We are planning to expand it into something that we can use for more vendors.

Results for 2014-10-23

13:55 nhilton_ joined #evergreen
14:13 Dyrcona gmcharlt: Implementing extensions in C is not good enough for you? ;)
14:14 yboston joined #evergreen
14:16 Dyrcona Hm... Wonder what happens to a serial with circ as type 'a'? I imagine it still circs as a serial and not just the line for marc type a.
14:16 Dyrcona I may try it just to confirm.
14:16 Dyrcona In fact, I will try it.
14:19 nhilton joined #evergreen

Results for 2014-10-14

12:25 Stompro tsbere: So the only key that can be used for local conent is the record ID in short.
12:26 tsbere Stompro: Generally, once "by record ID" was put in place, yes, the local content override became the record ID.
12:26 tsbere (which I guess means that people who had content *before* that point suddenly had it no longer in place)
12:30 * Dyrcona wonders if anyone actually uses our MARC templates branch that we've shared.
12:32 kmlussier left #evergreen
12:37 nhilton joined #evergreen
12:38 Stompro tsbere:  I guess that using symlinks to share images between multiple records would work also... I'm probably inventing a problem in my own head though.

Results for 2014-10-12

14:02 atlas__ I don't have a lot of resources to provision to this machine though...so...it might take a while to do the 1.3m records
14:03 Dyrcona Yeah, it might.
14:03 atlas__ what does a large evergreen deployment look like
14:03 Dyrcona If you can search the IRC logs, you find some discussions from the past few years of things you can do speed up a large load of MARC records.
14:03 atlas__ will do
14:04 Dyrcona large? Dunno. C/W MARS has about 3 million bibliographic records.
14:04 atlas__ looking for info on load balancing/multiple app servers/hardware spec

Results for 2014-09-15

11:13 dbs csharp: I usually just build a little MARC::Record based SQL function and run the records through that
11:14 dbs something like evergreen.maintain_901 but as a function instead of a trigger
11:16 tsbere going the DB function route, if you really wanted to you could probably make it a trigger for insert/update and get all future records too.
11:18 Dyrcona I'd write a little something in Perl to pull the records out in a query, make the changes, and then stuff them back in. So, I'd use MARC::Record and friends, myself.
11:19 Dyrcona I'd not add a function to the database, btw. I'd write a standalone script.
11:27 dbs csharp: you could export the records from the database, have someone print them out on index cards, have someone else edit them with a red pen, and then have someone reenter them in your database too
11:29 csharp dbs++

Results for 2014-08-01

16:01 bshum *ninja kicks*
16:16 mmorgan Anyone else had problems with runaway MARC Expert searches?
16:16 mmorgan concurrent expert searches driving up the load average, essentially bringing the system down.
16:19 Dyrcona mmorgan: Not sure if it is MARC expert searches or not, but we have found some search queries running in the database for days in the past.
16:20 Dyrcona Haven't noticed that so much lately, though.
16:20 jboyer-isl mmorgan: Not since our last upgrade (which included hardware modifications, so who knows)
16:21 jboyer-isl Of course, before that it was so common that expert searches just plain never returned results that I suspect no one has tried one in ages.

Results for 2014-07-31

10:41 jboyer-isl development as in, is anyone working on anything currently?
10:42 Dyrcona frank____: The -i option to include item information excludes records without copies. It also fails to add records with located URIs, apparently.
10:43 frank____ Dyrcona: ok, so If I want to import all the marc records I just have to exclude the -i option?
10:44 Dyrcona frank____: Yes, but you will not then get item information in the MARC output.
10:45 Dyrcona I *think* the old marc_export behaved that way, too, but I'm too busy to look it up right now.
10:45 Dyrcona This should probably be fixed. frank____ , could you open a Launchpad bug on it?
10:46 Dyrcona I think -i should at least include records with located URIs.

Results for 2014-07-30

08:29 collum joined #evergreen
08:41 mmorgan joined #evergreen
08:44 csharp hmmm - I'm seeing an issue with marc_export where I feed it a list of 30K bib ids, it processes around 400, then dies with "substr outside of string at /usr/share/perl5/MARC/Record.pm line 568."
08:44 Dyrcona Bad MARC data.
08:45 Dyrcona If it comes from MARC::Record, it's converting the record at that point.
08:45 csharp interestingly, when I begin the next file at line 401 (for instance), it processes 400 more, then dies again
08:45 csharp I'm having trouble isolating the source
08:46 Dyrcona Well, I've never seen that and I regularly dump almost 1 billion bibs.
08:46 csharp 1 MILLION DOLLARS!
08:47 Dyrcona A simple way? I don't think so.
08:47 csharp ok - that's consistent with my reading of the marc_export code
08:50 Dyrcona You might try outputting records as bre, but that bypasses the conversion to MARC.
08:51 csharp I'm going to go brute force and import each id individually until I hit the bad record
08:52 DPearl joined #evergreen
08:52 mrpeters joined #evergreen
08:54 Dyrcona csharp: Or are you using the old one?
08:55 phasefx csharp: just curious, are you leaving things as xml?
08:55 Dyrcona Yeah, I was wondering about that, myself. It's probably blowing up around line 515.
08:56 Dyrcona That's the call to MARC::Record->as_usmarc, and it's the one MARC::Record call not wrapped in an eval block.
08:59 csharp Dyrcona: I'm using the new one
08:59 csharp I'm outputting USMARC
09:00 Dyrcona csharp: I'll post a patch that you could apply to your marc_export that should output the id of the failed records and continue exporting, unless you want the export to stop.

Results for 2014-07-25

11:45 jeff @later tell krvmga the responsive-web one is pretty much from scratch (with some jQuery). if we decide to continue down that path we might incorporate angularjs. I'm also interested in eliminating/reducing the role/need of the Rails app that currently works as a JSON<->TPAC screen scraping gateway.
11:45 pinesol_green jeff: The operation succeeded.
11:46 jeff Since they're experiments, there are a lot of things in there where we've done it, but learned enough to know that we would want to do it differently next time. :-)
12:18 Dyrcona @marc 505
12:18 pinesol_green Dyrcona: The titles of separate works or parts of an item or the table of contents. The field may also contain statements of responsibility and volume numbers or other sequential designations. (Repeatable) [a,g,r,t,u,6,8]
12:25 Dyrcona Perl code like this always looks "wrong" to me, even when it is in my own code: substr($_, 26, 1) = 'i';
12:44 mtcarlson joined #evergreen

Results for 2014-07-10

13:13 pinesol_green Launchpad bug 1302207 in Evergreen "Syndetics broken cover image retrieval" (affected: 2, heat: 14) [Medium,Confirmed] https://launchpad.net/bugs/1302207 - Assigned to Jeff Godin (jgodin)
13:13 bshum Dyrcona++ # thanks, I'll try that soon-ish
13:13 Dyrcona And for jeff, too, I guess. :)
13:17 Dyrcona I guess it doesn't really fix the problem of a number before the ISBN, but I've never actually seen that in a real MARC record, only after.
13:18 Dyrcona never mind. I'll stop dwelling on it. :)
13:23 jeff I think we spent enough time yesterday dwelling on it. :-)
13:24 Dyrcona Hehe. We did.

Results for 2014-07-07

12:01 Dyrcona ;)
12:01 Dyrcona We have equipment and misc as circ modifiers.
12:01 csharp I get very OCD about used stuff ;-)
12:02 Dyrcona We use marc information in our circ matchpoints, too.
12:02 Dyrcona I guess if you wash it real good before using it and taking it back....
12:03 Dyrcona We use the marc type for realia.
12:03 jboyer-home I can see it being a problem if you don’t use marc info. We might be able to use equipment here if we looked at the marc info in addition, but our equipment circ mod has very short default durations. A byproduct of all of the time we spent on circ scripts.
12:05 jboyer-home That isn’t the most sturdily constructed sentence, but I hope the meaning isn’t entirely lost. :/
12:09 Dyrcona Our members vary on the circulation duration for equipment, usually 1-2 or 7 days.
12:25 Dyrcona That proved to be very difficult when trying to update the existing copies/matchpoints.
12:26 * bshum only regrets trying to shove "movie" as a circ mod for folks when they all really, really wanted "dvd", "video", "bluray", etc.
12:27 hbrennan joined #evergreen
12:27 Dyrcona we do that with MARC.
12:27 bshum That still bothers some people, but we're slowly phasing out some of those distinctions over time.  :(
12:27 Dyrcona We recently fixed a bunch of DVD and Blu-ray records that said they were VHS and/or Laserdisc.
12:28 bshum Yeah, I'm pretty sure that's why we're not using MARC to define policy

Results for 2014-05-28

13:17 csharp @karma marc
13:17 pinesol_green csharp: Karma for "marc" has been increased 0 times and decreased 18 times for a total karma of -18.
13:17 csharp marc--
13:18 Dyrcona marc-- # for an even -20
13:21 bshum A handful (less than a dozen I'm sure) bibs didn't export because they were too large to be handled with USMARC I guess.
13:21 bshum So now I have to re-run it as MARCXML to see if it'll nab them this time around.
13:22 csharp yeah - that happens here too

Results for 2014-05-22

11:21 Dyrcona Ah, you're trying to create records via acquistions, it sounds like.
11:22 Dyrcona I don't really know much about acquisitions.
11:22 PSM that's right
11:22 Dyrcona You should use New MARC Record from the CAtaloging menu.
11:23 PSM I tried that, but was unable to type in the typing places, but I will try that again now
11:24 dbwells grabbing 0881
11:28 PSM <Dyrcona> I went to Cataloging, load, Create Record, I can click next to title where it gives me a space to type, but no entries can be done, same problem also when I try to go to add volumes. I noticed there is no new logs in the postgresql log file

Results for 2014-05-20

15:22 jeff hbrennan: i think you might be being affected by another bug which I need to give more attention to
15:22 Dyrcona Sorry for the typo of 220 for 020.
15:23 hbrennan I know enough MARC to figure that one out :)
15:23 * Dyrcona knows more MARC than is healthy.
15:23 hbrennan I have another un-tampered record that is showing the wrong cover
15:24 Dyrcona @marc 020
15:24 pinesol_green Dyrcona: The ISBN assigned to a monographic publication by designated agencies in each country participating in the program. The field may include terms of availability and canceled or invalid ISBNs. It may be repeated for multiple numbers associated with the item (e.g., ISBNs for the hard bound and paperback manifestations; ISBNs for a set as a whole and for the individual parts in the set). (1 more message)
15:24 hbrennan bleeeeeehhhh
15:24 bshum Bad cover matches are just annoying.  Mostly because Evergreen will keep the cached bad cover even if Syndetics does finally get their act together and fix errors on their end.

Results for 2014-05-19

15:07 csharp oh yeah - I was forgetting about parallel reingest
15:07 csharp Dyrcona++
15:08 Dyrcona Bmagic: If you do the ingest via a massive update of all your bib records, it will affect your system in negative ways.
15:09 Dyrcona By that I mean something like 'update biblio.record_entry set marc = marc...'
15:09 Dyrcona After setting the internal flags, etc.
15:09 Bmagic Dyrcona: I have changed my query to reflect your script's method. I like it better because it's less work for the DB as far as I can tell
15:09 Dyrcona Using my parallel ingest script is much safer in that you're only locking a handful of records at a time.

Results for 2014-05-09

10:25 dbs s/MARC must die/MARC binary must die/
10:26 csharp hmm - yeah - I'm creating USMARC files
10:28 Dyrcona csharp: Your guess is correct. How the other end handles those files is another question.
10:28 Dyrcona csharp: Anything using MARC::Record has no problem with them.
10:30 csharp my goal here is to chop my 1.7-million-record file into 90K chunks for OCLC upload
10:30 csharp I knew yaz-marcdump has that nice "split" feature, so I was using that
10:31 csharp I suspect OCLC's whatever-they-use will probably choke too, though

Results for 2014-05-07

09:08 Dyrcona The Joy of Software -- for certain definitions of joy.
09:12 csharp Dyrcona: does the new marc_export script output any information about records that are larger than 99999 bytes?  the old one just outputs "Record length of 223776 is larger than the MARC spec allows" (for example) from MARC::Record
09:12 csharp we're trying to identify the records that end up being too big when doing bibs + holdings
09:12 Dyrcona csharp: It might output to standard error. IIRC, MARC::Record does that.
09:13 csharp okay - I figured that was the case - thanks
09:13 bshum csharp: I think that was just a warning though, I thought it still attempted to output the record anyways.
09:13 Dyrcona I get a lot of messages about bad character conversions to standard error when I run it.
09:14 * bshum remembers seeing huge records go through somewhere, sometime.
09:14 Dyrcona bshum csharp: Last time that I looked into it, the record that is too big gets output with size set to maximum, 99999.
09:14 * bshum hates that the warning is the size, not the bib ID
09:15 Dyrcona I recently had fun with a vendor who calculated record size using characters, while the standard and MARC::Record count bytes.
09:15 Dyrcona characters <> bytes
09:16 Dyrcona bshum: I'm not sure the bib id can be reliably determined at the level where the error occurs.
09:16 Dyrcona I suppose marc_export could be modified to check for the error and alter the output.

Results for 2014-05-06

13:29 jeff cool -- appreciated, but no rush!
13:29 Dyrcona jeff: Something we did recently was to change a bunch of "laserdiscs" to DVD because until there was a DVD vr format and even after, many DVDs are cataloged as laserdisc.
13:29 jeff Dyrcona: nice. the change was made at a biblio.record_entry.marc level, or somewhere else?
13:30 Dyrcona jeff: Yep, in bre.marc.
13:30 jeff Dyrcona: and did you go through the trouble of using MARC::Record or did you use regexp_replace? :-)
13:30 Dyrcona MARC::Record
13:31 jeff__ joined #evergreen
13:31 jeff__ joined #evergreen
13:31 jeff Dyrcona++

Results for 2014-04-24

11:24 bshum Hmm I think it's the usual on same marc force reingest deal
11:26 Dyrcona bshum: But, I also run a query reingest metabib.record_attributes, mainly for deleted records, but it does them all to be safe.
11:28 Dyrcona bshum: Something like http://git.mvlcstaff.org/?p=jason/evergreen​_utilities.git;a=blob;f=scripts/pingest.pl;​h=2b43e9a45b20e10325217f86579002b5c0e14315;​hb=cc9a96dc734997946c8027d41c9252a545dc05a8 ?
11:28 Dyrcona I don't think you have to set the reingest on same marc if you use the above.
11:37 bshum Dyrcona: Cool!  I'll ponder that one and see what it does.  Thanks for sharing.
11:42 dbwells bshum: We've mostly kept it pretty simple and just generated batches of UPDATE commands (similar to the 2.6 example), then split them up and run them on multiple psql (or perl DBI) processes.
11:43 dbwells bshum: In our experience, as long as you don't use tranactions or try to do UPDATEs on ranges of IDs, we don't have any locking problems.
12:13 * pinesol_green fills a pint glass with Magic Hat Blind Faith, and sends it sliding down the bar to Dyrcona (http://beeradvocate.com/beer/profile/96/298/)
12:23 * Dyrcona is feeling lazy so I'll ask here.
12:23 tonyb_ohionet joined #evergreen
12:23 Dyrcona Is there a way to have MARC::Record accept a malformed record similar to MARC::Batch's strict_off option?
12:24 Dyrcona I know I can use an eval block to catch the error, but I actually want to delete the offending tag.
12:44 eeevil Dyrcona: I suspect it depends on the malformedness... do you know the issue?
12:44 eeevil or is it just "record fails. goodbye"
12:45 ldwhalen joined #evergreen
12:45 eeevil ah ... I wonder if yaz can read it? (you've probably attempted that...)
12:46 eeevil also, marcxml?
12:46 Dyrcona I am pulling the marc right out of our database.
12:47 Dyrcona Weird thing, with the eval block, $@ is not getting set.
12:48 Dyrcona I am using Perl 5.18 if that matters.
12:48 Dyrcona Yes, it is marcxml.
12:58 gmcharlt bshum: as you can see, I've established a "deprecation" tag as well
12:58 bshum gmcharlt++
12:59 jeff deprecation++ excision++
12:59 Dyrcona Interestingly, $MARC::Record::ERROR does not appear to get set as the documentation says it will: Use of uninitialized value $MARC::Record::ERROR in print at Src/egmisc/laserdisc_fix.pl line 39
13:00 jeff Dyrcona: i believe that's a difference between parsing with MARC::File::USMARC and MARC::File::XML
13:01 eeevil Dyrcona: gotcha ... your problem sounds familiar, but I can't find its like on LP
13:01 Dyrcona eeevil: It might be on CPAN's RT...
13:05 jeff Ideally they wouldn't get into biblio.record_entry.marc if they're malformed. I don't know if that's just imported or older record data. I haven't tested to see if you can sneak bad data in in current Evergreen.
13:10 hbrennan joined #evergreen
13:16 Dyrcona bshum++
13:25 Dyrcona On my MARC::Record error: I can print $@ to get the error message.
13:25 Dyrcona Just for those following along at home. :)
13:28 Bmagic Dyrcona: This has been something that I have been dealing with as well, I would be interested in seeing what you come up with
13:30 pastebot "Dyrcona" at 64.57.241.14 pasted "What I'm doing about my bad record(s) for now." (53 lines) at http://paste.evergreen-ils.org/10

Result pages: 1 2 3 4 5 6 7