Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Sunday, January 8th, 2012

< Saturday, January 7th, 2012Raw Log FileMonday, January 9th, 2012 >
#TimeNickMessage
#01:18:34enhancintrying to get this script working, turn a list of ISBNs into MARCXML records, I got the LoC working but I'm getting an error in the OCLC part of it. Here is what I got so far http://pastebin.com/FmL1Zqxt
#01:18:56enhancinwith the correct username and password it gives ZOOM error 10005 "Init rejected" from diag-set 'ZOOM'
#01:30:04jeffdavisdumb question: what happens if you leave out username and password altogether?
#01:32:13jeffdavissame error, at least here
#01:33:47enhancinyeah same error
#01:33:47enhancinhmm
#01:39:30enhancinapparently on OCLC's website they only support usmarc so maybe change that...still the same error, it has to do with authentication. i'm trying it with and without dashes...I'm starting to wonder if it needs to be encrypted at all
#01:43:10jeffdavisare you sure ZOOM::Connection->new() supports username and password params?
#01:44:06jeffdavisor can you try doing create() and connect() as separate steps?
#01:46:19enhancinhttp://www.indexdata.com/yaz/doc/zoom.html#zoom-connections i've been trying to read from this documentation. The anchor that I linked you to has Table 3.1 right below it
#01:46:29enhancinthat has the stuff it supports...i guess it's user but that still doesn't seem to work
#01:47:29enhancinI could try putting it on the Option function
#01:47:35enhancinbut I think Connection supports options
#01:48:28jeffdavisyeah I was looking at different documentation that didn't mention it
#01:48:52enhancintook me a few googlings to find that one
#01:48:59enhancini've been at this for...most of the day I guess
#01:49:29enhancinnot super familiar with perl, but very much so with php and c++ so it's not too bad.
#01:52:25enhancinhttp://zoom.z3950.org/bind/perl/ here is the example of how they bind it to perl
#01:52:38enhancinthe first doc is the bare...source
#01:53:47enhancinhttp://search.cpan.org/~mirk/Net-Z3950-ZOOM/lib/ZOOM.pod and here is the cpan docs for it
#01:57:00jeffdavisyou tried not md5_hex'ing the pw?
#01:57:15enhancinyeah. i think i've found something in that cpan doc in the Options area
#01:57:19enhancini'm modifying the script
#01:57:33jeffdavis(sorry that I don't have any actually useful suggestions :/ )
#02:00:20enhancinyou're okay! i'm just excited that i'm finding things. maybe it could be a useful migration tool...
#02:06:36enhancinyargh...i set the options ahead of time and it still rejected init
#02:44:11wjr has quit IRC
#02:45:26wjr has joined #evergreen
#03:24:45enhancinhttp://pastebin.com/e1E4JURj here is the new version
#03:25:02enhancinit only worked with LoC, but it catches the error when the record doesn't exist and passes it
#03:43:33enhancinis there a way to modify the MARC record and add in a Location/volume/copy so we don't have to go do that?
#03:43:46enhancin(i'm not a librarian so I don't know if they can do a batch holding maintenence)
#04:00:17enhancinno automatic way to create a volume and item with an entry? =/
#04:03:27youdonotexist has quit IRC
#04:06:49enhancini hope someone finds that useful.
#04:06:53enhancin has quit IRC
#05:37:05natschil_ has joined #evergreen
#05:50:49natschil_ has quit IRC
#05:52:00natschil has joined #evergreen
#05:52:24natschil has joined #evergreen
#08:30:07_bott_ has quit IRC
#08:30:42_bott_ has joined #evergreen
#09:14:02dbs has joined #evergreen
#09:26:41Dyrcona has joined #evergreen
#11:00:14rsinger has quit IRC
#11:03:29rsinger has joined #evergreen
#11:09:05rsinger has left #evergreen
#11:36:42enhancin has joined #evergreen
#11:38:52enhancinSo, when I am trying to run a marc2bre.pl on a marc file I get a "TCN is already in use, using TCN (s93) derived from System ID." however I only go up to 92 in my database
#11:42:39enhancinI've tried changing the number and they're all in use it says.
#12:19:46enhancineg-server# /openils/bin/marc2bre.pl --used_tcn_file used_tcns MarcTest2.marc \ \ !!! TCN is already in use, using TCN (s93) derived from System ID.
#13:05:20agJohn has quit IRC
#13:08:26Amos_ has joined #evergreen
#13:10:23Amos_hi all. i'm doing a study looking at the role of consortia management in supporting OSS projects. could you please tell me where i could get info on the role played by PINES in the Evergreen project?
#13:14:31dbsAmos_: maybe http://www.georgialibraries.org/gpls/call_list.php - "PINES Governance" ?
#13:19:04Amos_I guess that should help since I can mail some of the folks listed there. I'd be even more grateful if you'd have another OSS example besides Evergreen. Thanks so much and bye for now.
#13:45:26youdonotexist has joined #evergreen
#13:51:18enhancinI'm having an issue with the marc_cleanup script found in migration-tools that ht documentation talks about...I've tried running it with different options and all of them say 0 in; 0 dumped
#14:55:32enhancin_ has joined #evergreen
#15:23:03enhancin_ has quit IRC
#15:34:12fredericd has left #evergreen
#15:36:05enhancin_ has joined #evergreen
#15:45:11enhancin_on the marc_cleanup the subroutine buildrecord , while defining $l = <MARC> causes it to become undefined
#15:45:25enhancin_which then causes it to return and end the program, doing nothing...
#15:45:40Amos_ has quit IRC
#16:07:54natschil has quit IRC
#16:36:16enhancin_ has quit IRC
#16:36:39enhancin has quit IRC
#18:05:53enhancin has joined #evergreen
#18:06:16enhancinI'm having a hard time figuring out which MARC entry is the holdings entry?
#18:08:18enhancinis there an easy way to tell? i've been googling for some docs but i'm not sure
#18:57:24enhancinbarcode? I can figure out the barcode on existing ones but I don't see it in the MARC record...the evergreen documentation is telling me to use extract holdings but i can't even figure out how to make it work, it can't ever find anything
#19:16:19dbsenhancin: i think you may be able to check the MARC Batch Import/Export "Import Item Attributes" and build something based on that - probably a different set of APIs if you go that route, though
#19:28:47edoceo has quit IRC
#19:38:19enhancindbs: i've been going through Migrating Bibliographic Records Using the ESI Migration Tools in chapter 20 on the docs
#19:38:33dbsenhancin: oh, I know nothing about the ESI tools
#19:38:42enhancindarn
#19:39:27enhancinmy biggest question is about marc records relaly
#19:39:28enhancinreally
#19:41:05enhancindbs: do you know if I do a batch MARC import if I can do an automatic item add? that's what I need to do..I have one but it doesn't really have a location, at least I can't really tell what the location is
#19:51:18enhancinit is complaining that it has no 903 record...burd I don't see that in any of the existing entries...i've been trying to refernece them to other entries and not getting anything really
#19:54:38dbsenhancin: yeah, that's the idea of the MARC Batch Import/Export, and I would imagine the ESI tools too. it's common to encode holdings info in a 9xx field, with owning lib in one subfield, copy location in another, call number in another, and barcode in another, yada yada
#19:55:12enhancinright...the barcodes of the other ones seem to just be like 110 171 (of a couple I grabbed randomly)
#19:55:25enhancin110 and 171 are separate sorry
#20:06:12enhancinhow about a way to batch edit holdings maintenence....? =/
#20:06:16enhancini just need a solution today...
#20:15:06enhancinwould it be the index number of the owning lib or the short name?
#20:20:58enhancindbs: sorry to bug you i'm just having a hard time identifying which one is being used for holdings...
#20:21:24enhancinal the 9xx ones seem to not really indicate anything about what library it's in and whatnot
#20:39:12enhancinHmm, do you think I could just add them all and then use something like http://docs.evergreen-ils.org/2.1/html/migratingbibrecordcopies.html to add copies?
#20:41:16enhancinsomehow manually create the holdings...
#20:41:19enhanciner with a script...
#20:46:47dbsenhancin: sorry, putting the kids to bed
#20:46:55enhancinyou're okay..i need to take a break sometime
#20:46:57dbshttp://docs.evergreen-ils.org/2.1/html/migratingbibrecordcopies.html is basically how we migrated our holdings
#20:47:25enhancincould I just increment the barcode or does the barcode have to be something special?
#20:49:58dbsthe barcode normally matches whatever has been stuck on the book
#20:50:14dbsbut if you're just making up barcodes and call numbers... one sec
#20:51:10enhancinit looks like the call numbers kind of get generated by the author's name
#20:51:27dbshttp://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/tests/datasets/concerto.sql;h=68cafb1901a6ff0715b12249d5e8cce22023924e;hb=refs/heads/master gives an example of creating call numbers and copies (and more)
#20:52:26enhancinhmmmm alright. going to have to read this through
#20:53:38enhancinI guess I could just write a script that goes through the MARC file and makes a staging table for holdings
#20:54:00enhancinthen use some pgsql magic like this
#20:58:35enhancinit appears that the barcode is just incrementing...(i'm the admin not the librarian..so I don't know what they want to do there..) the call number is just the first 4 of the author...but I'm not sure if that will cause issues if they share a call number
#21:10:55enhancinI need to take a break i'll think of something -.-...i've been working on this for so long
#21:31:09Dyrcona has quit IRC
#21:47:30youdonotexist has quit IRC
#23:26:10enhancinIf anyone has ever done a migration from an MSSQL ILS...I could use some pointers, i'm mostly just trying to pull MARC records from a Z3950 script and then do some holdings magic through postgresql, but i'm having a hard time with the database entries..each book has multiple rows in it and i'm not sure what ILS it came from before
< Saturday, January 7th, 2012Raw Log FileMonday, January 9th, 2012 >