Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Wednesday, January 12th, 2011

< Tuesday, January 11th, 2011Raw Log FileThursday, January 13th, 2011 >
#TimeNickMessage
#00:04:45tsbere has quit IRC
#00:04:59tsbere has joined #evergreen
#00:10:23bshum has quit IRC
#02:30:11tpham has quit IRC
#03:17:42dave-esi-away has quit IRC
#03:18:00Callender has quit IRC
#05:51:15rickd_ has quit IRC
#06:42:56rickd_ has joined #evergreen
#06:45:33rickd_ has quit IRC
#06:49:00alxp has joined #evergreen
#07:33:41rickd_ has joined #evergreen
#07:52:34Dyrcona has joined #evergreen
#07:55:50ebyr has joined #evergreen
#08:44:07kmlussier has joined #evergreen
#08:44:10rsoulliere has joined #evergreen
#08:46:51Melissa1 has joined #evergreen
#08:48:57r123 has joined #evergreen
#08:51:23bshum has joined #evergreen
#09:12:22Melissa1 has left #evergreen
#09:15:52Melissa2 has joined #evergreen
#09:20:47Dyrcona has quit IRC
#09:21:06Dyrcona has joined #evergreen
#09:24:48Melissa1 has joined #evergreen
#09:24:54atza hole in the specs? but that's unpossible!
#09:26:38Melissa2 has quit IRC
#09:26:41dbs has joined #evergreen
#09:31:18kmlussier_ has joined #evergreen
#09:33:02kmlussier has quit IRC
#09:33:16kmlussier_ is now known as kmlussier
#09:38:58dbs@later tell agJohn Just backported the 1.6.1-2.0 upgrade fixes for custom indexes from trunk into the rel_2_0 branch - please give it a shot and report back! bshum that goes for you too :)
#09:38:58pinesoldbs: The operation succeeded.
#09:43:33jenny has joined #evergreen
#09:52:30bshumdbs: Awesome! Going to give it a whirl right after I get a reloaded DB on our test server.
#09:52:50dbwellssenator: From what I have read, the 1st week of a month is the first one with a Thursday. Based on that definition, it is correct to skip 12/19, not 12/26. If you want it to skip the 4th Monday, I think you should specify 1204mo in this case.
#09:54:45dbwellsAs for counting weeks backwards, I also am not aware of what qualifies as the 'last' week.
#09:55:38dbstime-- # see also timezones--
#09:55:41Guest56504 has quit IRC
#09:58:32dbs@later jamesrf Maybe need to do something like store everything in the database in UTC based on the circ_lib's timezone (assuming an OU setting for that) and pass the UTC around to various clients to format to their localized form?
#09:58:32pinesoldbs: Error: The "Later" plugin is loaded, but there is no command named "jamesrf" in it. Try "list Later" to see the commands in the "Later" plugin.
#09:58:38dbs@later tell jamesrf Maybe need to do something like store everything in the database in UTC based on the circ_lib's timezone (assuming an OU setting for that) and pass the UTC around to various clients to format to their localized form?
#09:58:38pinesoldbs: The operation succeeded.
#09:59:04senatordbwells: while i didn't find anything to read about mfhd that says the counted weeks must have a thursday (although the DateTime module for perl does), being about to specify 1204mo does provide a workaround, so pending a quick test that our mfhd date code does the right thing on thursday, i'll revert my commit to trunk
#09:59:18senators/being about/being able/
#10:00:12dbsPerhaps add an explicit test to MFHD::Date for that case to document our interpretation, too?
#10:03:38senatorhm k yeah the code the way it was does work based on thursday counting forward, and based on whatever the last day of the month being tested is when going backward (99,98,97)
#10:03:46ebyr has quit IRC
#10:04:16bshumdbs: Ran the new 1.6.1-2.0 upgrade with our 1.6.1 that has a custom index in it and it ran through without any errors breaking it.
#10:04:17senatordbs: tests, humbug! no i'm kidding. sure i'll add a test
#10:04:19dbs amused by "0599tu Last Tuesday in May"
#10:04:30dbsbshum++ # thanks
#10:04:45bshumdbs: So it's just adding 100 to the custom ID right?
#10:04:50bshumLike if ours was 17, it's now 117
#10:05:04dbsbshum: yep - and adjusting all of the references to that ID
#10:05:14bshumFancy!
#10:05:16bshumdbs++
#10:05:23senatordbwells: so if we document that we work by counting thursdays for going forward, that's fine by me. but would you agree we should also county by thursdays when going backward?
#10:05:37dbsbshum: and then setting the sequence value to MAX(id) + 1 or 100, whichever is greater, so that new custom indexes go in the right place
#10:06:40dbwellssenator: in your example it skipped 11/14 when counting backwards, so isn't that already using the Thursday idea?
#10:06:49bshumdbs: Ahh, neat!
#10:07:17dbs reads 1204mo as "4th monday in december" - not sure how thursday comes into play
#10:07:31senatorit's acutally using wednesday, and only because 11/30 happens to be a wednesday that year
#10:07:44senatorif you change the start holding to start on a wednesday
#10:07:48senatorthen you get:
#10:08:45senatorhmmm
#10:08:50senatoryeah:
#10:09:08senator2,9,16,30
#10:09:19senatorwith 1198 as the chron code
#10:10:06senatorif we were assuming the count-by-thursdays rule, we'd expect 2,9,23,30, no?
#10:10:27ebyr has joined #evergreen
#10:10:35senatordbs: the thursday talk comes from what dbwells said at 9:52 about what should be done in the case with no weekday specified
#10:11:20dbssenator: ah - thus the hole in the spec; I was just working through your commit log example
#10:12:43senatorright yeah sorry about all the extra $'s, but anyway the chron codes there are 1198 and 1204, no specific day specified, so day of the week is only known by the date of the example holding (863)
#10:12:49dbsare there examples in http://www.loc.gov/marc/holdings/hd853855.html including a $y for weekly patterns that don't specify the weekday? Perhaps that's an implicit requirement.
#10:12:57dbwellssenator: from what I can tell, the backwards week counting seems to be broken by any definition. Just to get things straight, you are proposing that 1199 will be the last week in November with a Thursday in it?
#10:14:01senatordbwells: if 1201 is to mean the first week in december with a thursday in it, doesn't it make sense that 1199 would mean the last week in nov with a thursday in it? that only seems consistent.
#10:15:22kmlussier_ has joined #evergreen
#10:15:22kmlussier has quit IRC
#10:15:23kmlussier_ is now known as kmlussier
#10:15:29dbso coded $y weekly patterns, that is.
#10:15:47dbsdbwells: where did you find the reference to "if no weekday is provided for a weekly pattern, assume thursday"?
#10:16:34dbs"Questions on coding patterns or establishing new ones should be addressed to the Network Development and MARC Standards Office, Library of Congress, Washington, D.C. 20540-4402 (Email: ndmso@loc.gov)."
#10:18:25dbwellsdbs: like senator, I found that definition in the Perl DateTime module, which claims it is "based on the ICU definition of week of month, and correlates to the ISO8601 week of year definition"
#10:18:40dbsdbwells: oh, so that has no correspondence to the MFHD specs
#10:19:19dbwellsdbs: right, I can't find it clearly defined anywhere in the MFHD documents.
#10:19:22jeffunless the MFHD specs reference ISO8601 or the ICU definition?
#10:19:42jeff breaks own fingers in an attempt to avoid MFHD
#10:21:38senatorgmcharlt volunteered to forward the question onto someone like that last night. i'm hopefully assuming that he has some faster means than snail mail
#10:22:08dbwellsI am not sure if basing a pattern off weeks of the month without specific days is ever terribly sensible. Not that a publisher wouldn't try!
#10:23:21senatorright. it is part of the spec though, and i'm pretty sure it appears in actual records, so i just want our support for it to be at least consistent if no firm definition of "correct" can be had
#10:23:46dbsdbwells: I was going to ask if it would be possible to raise a warning to say "No weekday is supplied, we're going to assume XXX until told otherwise."
#10:23:56senatorthe caption/pattern wizard that allows relatively easy building of 85x tags ...
#10:24:01senatordoesn't yet handle $y
#10:24:26senatori was thinking of extending it to handle $y, and that seems like a good place to me to let the user know we assume thursday, or whatever we do
#10:25:23dbs looks briefly at z39.71, gouges eyes out
#10:26:33Administrator_ has joined #evergreen
#10:26:50Administrator_ is now known as sfortin
#10:27:22senatorin other words, just to recap since understandings have evolved since this conversation started, i'm proposing reverting my commit to trunk from last night, and instead introducing a new patch that leaves forward counting (1201) alone, but changes backward counting (1198) to be thursday-based
#10:28:13senatorUI work in the caption/pattern wizard is a separate thing and won't go into rel_2_0 until post-release anyway, so it's only the 1201/1198 stuff that i'm talking about for the immediate term.
#10:29:05dbwellssenator: I actually think your change was certainly a more natural interpretation. But since we can already handle it by specifying the day-of-week, I think the Thursday-based idea is the best we have to go on.
#10:31:12dbwellssenator: so, in our current example case, if you chose to omit 1201, then Nov. 28 would be the actual issue omitted? (as I said, not exactly natural!)
#10:31:54atzneed to develop a religion w/ a thrusday sabbath...
#10:32:00atz*thursday
#10:32:27dbwellsand if you mean Dec. 5, you would need to omit 1201mo.
#10:33:37senatordbwells: for our current example (now for wednesday issues, my commit reverted) 1201 actually winds up omitting nothing
#10:33:41senatorbecause of bounds checking
#10:34:07senatorthere's some code in there that makes sure 1201 will only apply to a date that's actually in december
#10:34:46senatorcertainly not super intuitive, but again consistent enough to be labeled ?
#10:34:59dbwellsright, but shouldn't it omit 11/28, strictly speaking? Or is that crazy?
#10:35:28senatormaybe we should actually wait for word from marc world headquarters
#10:35:32dbwells:)
#10:36:01dbwells hopes to not encounter such patterns in real life
#10:36:39rjackson-isl has joined #evergreen
#10:37:24ChanServ changes topic to "Welcome to the #Evergreen library system channel! | We are publicly logged. | Large pastes at http://paste.lisp.org/new/evergreen"
#10:38:08rjackson-islGood morning Evergreen community
#10:38:38rjackson-islI have an issue with DOB column in the actor.usr table not displaying correctly in 1.6.0.0
#10:38:56phasebb has joined #evergreen
#10:39:04rjackson-islwas instructed to set up a trigger and function to change hour to 12 to allow correct display in staff client
#10:39:36rjackson-islthis doesn't work for pre-existing actor.usr entries that did not have a dob and are subsequently updated to have one
#10:40:18rjackson-islrule checks if NEW.dob != OLD.dob
#10:40:23rjackson-islany thoughts?
#10:45:12moodaeporjackson-isl: Not that I have an answer but where did you get the instruction to change the hour?
#10:46:59dbsdbwells: I suspect 1201 omitting 11/28 would be an unpleasant surprise
#10:48:00dbsrjackson-isl: maybe if you paste the trigger and function to paste.lisp.org so we don't have to guess?
#10:48:26dbwellsdbs: unfortunately, the alternative is that no issues are omitted, which is also at least a surprise.
#10:50:50dbsdbwells: sure is. at the very least, if we can't surface this in the UI, I think we need to generate an explicit log message that says "weekly pattern X doesn't specify a day and you might be surprised by the results"
#10:52:37dbwellssenator: dbs: while a part of me still wants to support this esoteric idea, and rely on specificity to clear up the confusion, I am becoming more convinced that senator's changes will probably be the best bet (and I'll put my money there as far what the standards guys have to say as well).
#10:53:39rjackson-isldbs: her is the trigger http://pastie.org/1452732
#10:53:48senatorheh, ok, well i reverted my commit for now in the spirit of leaving things the way they were until we get something more solid to go on
#10:53:57senatorcould always recommit if that's the way we want to go
#10:54:06senator will ping gmcharlt about his contact later
#10:54:48rsoulliereHi, Could or should the DIG use this channel for a DIG meeting if we book ahead -- use the official calendar?
#10:55:17mrpeters-isl thinks maybe an #evergreen-doc channel could be useful?
#10:55:32Dyrconarjacksion-isl: null fails all = or != comparisons.
#10:55:37mrpeters-islor even #evergreen-mtg
#10:55:43dbsrsoulliere: I say just go ahead and use the #evergreen channel
#10:55:55dbsthat way it gets logged automatically
#10:56:09Dyrconarjackson-isl: the trigger probably also needs a check for "NEW.dob is not null".
#10:56:34dbsand we don't need to set up separate searches, etc just for meeting logs
#10:56:43Dyrconarjackson-isl: null != null return false.
#10:56:44dbsDyrcona++
#10:57:20rjackson-islDyrcona: thanks!
#10:57:34Dyrconarjackson-isl: you're welcome.
#10:58:31dbwellssenator: After all, if we are considering a weekly, and the world revolves around that publication, then weeks don't start until it is published
#10:59:01senatoryeah, that would make sense
#10:59:54dbwellssenator: sorry, just restating the obvious, really :)
#11:00:09dbsrjackson-isl: add this line first: IF OLD.dob IS NULL THEN NEW.dob := NEW.dob + interval '12 hour'; END IF;
#11:00:20dbs(right after the BEGIN)
#11:00:39bshumdbs: berick: I got a preliminary list of program topics from afterl, you guys were wondering about that right?
#11:00:50dbsbshum: would be great if that could be shared
#11:01:03berickbshum: indeed
#11:01:23rjackson-isldbs++
#11:02:45dbs(if NEW.dob IS NULL, then NULL + '12 hours' still equals NULL, so a check on NEW.dob NULLness isn't explicitly needed)
#11:03:17senatordbwells: no prob
#11:03:52rjackson-isldbs: That makes sense :-) now off to test and implement
#11:04:04phasefxrjackson-isl: may also want to use date_trunc. something like NEW.dob = date_trunc('day',NEW.dob) + interval '12 hour';
#11:04:48phasefxwhich resets the hour to 0 before you add 12
#11:04:49rjackson-islphasefx: Sorry for the question but what will this get me?
#11:05:01phasefxmaybe nothing depending on the data
#11:05:04dbsphasefx: would be good for correctness, but I'm assuming the staff client passes in +00:00:00
#11:05:18dbs(or something like that)
#11:05:29rjackson-islphasefx: thanks - that will help as some dobs have hour other than 0 (about 10%)
#11:05:30phasefxright, could be overkill, but just occurred to me
#11:08:47rsoulliereAny guidelines on dates or times for the DIG meetings if we use the channel...? other than not conflict with other meetings taking place on this channel of course.
#11:10:06phasefxrsoulliere: I say aim for the convenience of the DIGgers. If we ever get too crowded here, we can address that when it happens
#11:10:41rsoulliereOK, thanks.
#11:10:56dbsrsoulliere: right - if the DIG meeting doesn't conflict with another meeting on http://evergreen-ils.org/calendar then it should be okay to use this channel
#11:11:07ebyr is now known as eby
#11:11:08eby has joined #evergreen
#11:11:10dbs(and the DIG meeting will go on http://evergreen-ils.org/calendar right?) :)
#11:11:17rsoulliereYes,
#11:11:49rsoullieredbs: We might even have a set schedule perhaps...
#11:12:02dbsbtw: DIG++
#11:12:32rsoulliereWe are going to try to follow the developer meeting model -- with action items and everything. :-)
#11:17:57dbs reads the translation process for Bugzilla: http://www.bugzilla.org/docs/localizer.html "Once you've got a copy of the templates, start translating the English in them. It should be obvious what to translate and what not to translate."
#11:18:02finnapz has left #evergreen
#11:19:36dbs(still trying to find a good solution for Template::Toolkit i18n... the Bugzilla model seems translator unfriendly)
#11:20:18eby has quit IRC
#11:21:34finnapz has joined #evergreen
#11:22:21phasefxmaybe a harmless tag in a template to designate an identifier for the text that follows?
#11:23:01dbshttp://mail.template-toolkit.org/pipermail/templates/2008-July/010293.html seems to be the right approach - lets us still use PO files
#11:24:18dbsIt's going to run into problems with stuff like "<div>You are <strong>not</strong> allowed to do <span style="foo">X</span>.</div>" though, I think.
#11:24:39jenny has quit IRC
#11:25:08dbseeevil is busy driving from Atlanta to San Diego
#11:25:51dbswe should have ponied up for a driver + 3g mobile hotspot for him so he could code in the back seat
#11:26:03bericks/from/to/ s/to/from/
#11:26:44jeffdbs: i came across this old article, but the listings all appear broken -- http://www.drdobbs.com/web-development/184415992
#11:27:55dbsberick: geez, why would he want to go back to Atlanta? :)
#11:28:58berickfurreal
#11:29:07dbsjeff: thanks!
#11:30:46jeffalas, a quick glance indicates that the techniques didn't make it into their book.
#11:31:09dbsthe i18n as a roll-your-own afterthought to TT2 makes me long for something more like genshi (http://genshi.edgewall.org/)
#11:32:02jeffwell, berick HAS been doing all that work on the python opensrf bits... ;-)
#11:35:50phasefxwow, I like that (genshi examples, tag/id when you need to, handles nested markup cleanly)
#11:36:41phasefx<p i18n:msg="name"><i>Please</i> visit <b>the site <a href="${site.url}">${site.name}</a></b>for help.</p> => [1:Please] visit [2:the site [3:%(name)s]] for help.
#11:37:50phasefxmmm.. i18n:choose, i18n:singular, i18n:plural
#11:41:34dbs peeks at jinja w/ http://jinja.pocoo.org/extensions/#i18n-extension for an option that doesn't require strict XML templates
#11:43:36mrpeters-islhave a server reporting a Internal Server Error when attempting to use vandelay...likely a permissions issue, but not sure where to look for the vandelay binaries? perhaps a different name on the binaries than "vandelay"?
#11:44:52dbsvandelay binaries?
#11:45:03phasefxmrpeters-isl: apache error logs will likely show you the files (and more info on the error)
#11:45:17mrpeters-islwell, maybe not...but i'm betting a permissions issue on something relating to vandelay
#11:45:23dbsmrpeters-isl: like /openils/var/web/templates/default/vandelay/ ?
#11:46:24mrpeters-islphasefx: right
#11:46:52jenny has joined #evergreen
#11:49:05mrpeters-islwhat makes it really fun is there appears to be no apache logs for this one server...how lovely
#11:51:19mrpeters-islsyslog-ng.conf IP fail :(
#11:51:19brian_f has joined #evergreen
#11:53:29mrpeters-islthoughts on these?
#11:53:30mrpeters-islap_error.log:2011-01-12 11:51:07 192.168.80.21 osrf_json_gw: [error] [client 192.168.80.230] File does not exist: /openils/var/web/xul/rel_1_6_0_0/server/main/OpenILS, referer: http://192.168.80.21/xul/rel_1_6_0_0/server/
#11:53:30mrpeters-islap_error.log:2011-01-12 11:51:07 192.168.80.21 osrf_http_translator: [error] [client 192.168.80.230] File does not exist: /openils/var/web/xul/rel_1_6_0_0/server/main/util, referer: http://192.168.80.21/xul/rel_1_6_0_0/server/
#11:53:30mrpeters-islap_error.log:2011-01-12 11:51:07 192.168.80.21 osrf_json_gw: [error] [client 192.168.80.230] File does not exist: /openils/var/web/xul/rel_1_6_0_0/server/main/util, referer: http://192.168.80.21/xul/rel_1_6_0_0/server/
#11:53:30mrpeters-islap_error.log:2011-01-12 11:51:07 192.168.80.21 osrf_json_gw: [error] [client 192.168.80.230] File does not exist: /openils/var/web/xul/rel_1_6_0_0/server/main/util, referer: http://192.168.80.21/xul/rel_1_6_0_0/server/
#11:56:04mrpeters-islother than vandelay.css I don't see anything related
#11:56:10phasefxmaybe normal 404's coming from JSAN initialization?
#11:59:36b_bonner has joined #evergreen
#12:11:30youdonotexist has joined #evergreen
#12:18:37dbs muses that when IE 10 is produced, EG will suddenly start applying nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 applied to IE 10 clients
#12:22:23gmcharltsenator: dbs: my contact is somebody who's been active in serials and MARBI for years; I'll let you know if I hear from her
#12:26:03jamesrf has joined #evergreen
#12:26:34alxp has quit IRC
#12:27:15senatorgmcharlt: neat, thanks
#12:28:22atzdbs: assuming they don't call it IE X
#12:28:57senator giggles at that
#12:29:02dbsatz: good point! hopefully they'll call it 9+1
#12:29:36dbsgmcharlt: I'm suspicious; are you sure your contact is not insane?
#12:30:39gmcharltdbs: heh. on the other hand, would you seriously argue that sanity is a required attribute for anybody who has anything to do with library automation?
#12:30:58dbsgmcharlt: touché
#12:31:02gmcharlt(and why are the walls in this IRC channel so plush?)
#12:46:00moodaepo_ has joined #evergreen
#12:47:41rjackson-isl has quit IRC
#12:47:54moodaepo_ has quit IRC
#12:58:02dbshrm. reingest-1.6-2.0.sql is unhappy with XPath on our test server - http://paste.lisp.org/display/118573
#13:00:44gmcharltdbs: check to make sure that the namespace prefixes in the xpath match the config.xml_transform values
#13:01:08dbsgmcharlt: right-o, will do. thanks
#13:01:09gmcharltunlike 1.6, 2.0 requires that the ns prefixes actually be consistent
#13:03:13dbsahh. name = marcxml, prefix = marc is probably the problem
#13:05:29dbs is tempted to throw in a regex for s/\/marcxml:/\/marc:/g into the custom index fixer-upper for config.metabib_field.xpath
#13:05:36dbsmany thanks, gmcharlt
#13:12:45dbsannotated http://paste.lisp.org/display/118573 with my solution
#13:24:59artunit has quit IRC
#13:49:47jenny1 has joined #evergreen
#13:50:01jenny1 has left #evergreen
#13:51:50jenny has quit IRC
#13:59:33rsoulliereHi, We installed a new 3M SmartChute but are getting a SIP related error when trying to checkin an item.
#13:59:46rsoulliere Item config script [ARRAY(0x2650f60) : circ/circ_item_config.js] failed to run: Error: ReferenceError: js2JSON is not defined at line 0: (null)
#14:00:14rsoulliereI've seen this error before in the logs of this list. Does this ring any bells?
#14:01:37phasefxcoming from a logging statement maybe?
#14:02:57rsoullierethe checkin is also not completed..
#14:03:39jeffoh hey, i think i just solved our auto-lost and forgive on checkin BUT DON'T BREAK mmpbbt and DON'T OWE A REFUND
#14:06:46finnapz1 has joined #evergreen
#14:07:10finnapz1 has left #evergreen
#14:07:25finnapz has quit IRC
#14:08:06finnapz has joined #evergreen
#14:31:43Melissa1 has quit IRC
#14:37:50Melissa1 has joined #evergreen
#14:42:02AaronZ has joined #evergreen
#14:43:26jamesrf has quit IRC
#14:44:46mrpeters-islrsoulliere: http://www.mail-archive.com/open-ils-general@list.georgialibraries.org/msg00380.html perhaps?
#14:45:33mrpeters-islseems to be identical, except for the array portion
#14:48:14AaronZReports question: Is there a way to create a report listing all Title Records for which all Item and Volume Records have been deleted? I can get all Title Records which do not have any Item or Volume Records attatched, but it seems that deleted items are still attatched to the Title Record
#14:49:47mrpeters-islAaronZ: by title record do you mean a reporter.materialized_simple_record row?
#14:50:14mrpeters-islaka Simple Record Extract > Title (Proper) IIRC...
#14:51:22mrpeters-islor by "title" are you referring to a biblio.record_entry row
#14:51:44mrpeters-islaka bib record
#14:52:30AaronZmrpeters-isl:I am referring to the bib record that the volume and copy records are attatched to
#14:52:48mrpeters-islok. so you want to find all biblio.record_entry rows that don't have an associated call number
#14:53:05AaronZYes
#14:53:25mrpeters-islwell, if you have access to the SQL database you could do this quicker
#14:54:17mrpeters-islyou could do something like SELECT * FROM asset.call_number WHERE record NOT IN (SELECT id FROM biblio.record_entry); and dump it to csv
#14:54:34mrpeters-islrather - SELECT * FROM asset.call_number WHERE record NOT IN (SELECT id FROM biblio.record_entry WHERE deleted='t');
#14:54:44mrpeters-islthat'd get you all of the call number's linked to deleted bibs
#14:54:54AaronZI have access to the SQL database, but for repeatibility, I would prefer to setup a report that can be scheduled to run monthly
#14:55:09mrpeters-islyou could then take it a bit further and get asset.copy rows
#14:55:32mrpeters-islok. let me open up the reports module and think about this a second. i've just gotten better at using SQL to get the info i need than reporter :)
#14:55:42mrpeters-islthe theory, i think is the same though
#14:56:33AaronZThis is to do a batch delete for OCLC. We want to have them remove the titles that we no longer have holdings for from their listing for our system
#14:57:00mrpeters-islsure
#14:57:29mrpeters-islso, we want to use the Item source, id say
#14:57:54mrpeters-islmaybe use barcode, call number label, owning library, bib id as displayed fields
#14:58:03mrpeters-islmaybe even copy id
#14:58:36mrpeters-island then a filter on Item > Bib Record > Call Number/Volume > Is Deleted?
#14:59:18mrpeters-island probably an Is Deleted filter on Item = false
#14:59:22eby has joined #evergreen
#15:03:03mrpeters-isli just ran that on my system and got seemingly good results
#15:03:19mrpeters-isl wonders if there is a way to export this template via SQL to send to you
#15:06:14mrpeters-islAaronZ: any luck?
#15:06:22AaronZIs that returning the item records (ie: a list of items that have been deleted), or the bib records (ie: a list of bib records which no longer have any items attatched to them)?
#15:07:05AaronZI got: ERROR: table name "19a58c77dfa7418c489d7591bce37fc6" specified more than once at /openils/bin/clark-kent.pl line 219.
#15:07:14mrpeters-islAaronZ: it lists Copy ID (asset.copy.id), barcode (asset.copy.barcode), call number label (asset.call_number.label), and Owning Lib (asset.copy.owning_lib)
#15:07:50mrpeters-islIIRC, tables get aliased with an MD5 string (i think?) so perhaps you have the same filter in there twice or something?
#15:08:14AaronZLooks like I specified the call number twice
#15:08:19mrpeters-islthere you go!
#15:08:29mrpeters-islalso, if you wanted to have the bib id's, just add that as a displayed field
#15:08:44mrpeters-islItem > Call Number > Bib Record > Record ID
#15:08:59mrpeters-islbut barcode and copy id are probably most useful for OCLC to remove your holdings
#15:10:02AaronZI dont really need the copy info (call number or barcode), I just need the bib info (record ID,
#15:10:12mrpeters-islok so just add/remove what you do and don't need
#15:10:14AaronZand TCN
#15:10:16mrpeters-island you should be on your way
#15:11:12mrpeters-islTCN should be in Item > Call Number > Bib Record > Simple Record Extracts > TCN Value
#15:12:36AaronZok
#15:12:40AaronZI will try that
#15:13:16mrpeters-islgood luck
#15:21:44AaronZmrpeters-isl: It appears to be returning all copy level records that have had a copy deleted. Is there a way to modify this to only return title level (aka bib) records where ALL of the copies have been deleted?
#15:23:48mrpeters-islhmm
#15:24:22mrpeters-islyou probably don't need a copy level filter
#15:24:36mrpeters-isljust a Bib Record - Is Deleted = True
#15:25:10bshumAssuming that their system is configured to auto-delete bibs with no active volumes/items, right? But that's default behavior last I checked.
#15:25:26mrpeters-islnot sure on that bshum
#15:25:33AaronZAs I understand it, we only have bib level holdings listed in OCLC/Worldcat (ie: that the Pioneer Library System owns a copy of book x, not that Library y in the Pioneer Library System owns book x), so we ONLY want to remove the bibs where none of our libraries own a copy anymore
#15:26:04bshummrpeters-isl: Well, I was just saying that because our system didn't automatically delete bibs at first, so our targets against bibs with deleted = true yielded no results for awhile.
#15:26:14bshumOne hopes they don't suffer our fate.
#15:26:21mrpeters-islwell, but if a bib is deleted then in reality the items may as well be too...because they're not going to show up except by a direct barcode search in the staff client...IIRC
#15:26:29dbsSounds like a COUNT() on copy where copy IS NOT deleted, if you can manage that
#15:26:52dbs(and the result of that count needs to be 0)
#15:27:08mrpeters-islgood call dbs\
#15:27:13AaronZdbs: hmmmm that might work with one of my trial reports
#15:27:29dbsmrpeters-isl: we have lots of bibs with no copies that show up in search - ye olde 856 $9
#15:27:40mrpeters-islwell, they have trancendence set, righT?
#15:27:46dbsmrpeters-isl: no
#15:27:51mrpeters-islhmm
#15:28:11dbs$9 = shortname of library, avoids transcendence and provides scoping to that library scope
#15:28:27mrpeters-islinteresting. i didn't know of that feature!
#15:28:51mrpeters-isli just always set trancendence for bibs that are never going to have holdings, but that we want to appear for everyone
#15:30:10dbshttp://docs.evergreen-ils.org/1.6/draft/html/cataloguing.html doesn't document it, but should
#15:31:09dbsalthough it's mentioned in the release notes for 1.6.0.0 at http://docs.evergreen-ils.org/1.6/draft/html/releasenotes.html
#15:32:03mrpeters-islwell cool
#15:34:18gmcharlt prepares to drop CurrencyTextBox from AutoFieldWidget in favor of NumberTextBox
#15:34:40gmcharltCurrencyTextBox in Dojo 1.3 is just too broken if you need to enter negative amounts
#15:34:49gmcharltthoughts/objections?
#15:35:43dbsI say do it, and open a bug to switch it back once we can move to Dojo 1.5 or 1.6 or whatever
#15:36:52dbsthoughts / objection to my marking email_notify "false" in opensrf.xml.example for 2.0 for predues and holds? And to mark that whole section DEPRECATED in favour of action-trigger-based notification?
#15:40:17bshumdbs: By that whole section, you mean the email portion right?
#15:40:46dbsbshum: notifications/overdue and notifications/predue
#15:47:22bshumdbs: If overdues / predues are all action-trigger-based in 2.0, then that's pretty cool. I'm not the most familiar with that, I think we still use the print portions of that file in our 1.6.1
#15:51:27dbsbshum: email notifications can be all action-trigger based, but I can imagine the print use case living on in 2.0
#15:52:21gmcharltdbs: +1
#15:52:50bshumdbs: Oh I see how it's working now. (Had to examine the file)
#15:52:55bshum+1, let it burn
#15:53:41dbswent through the code-side of the 1.6.1->2.0 upgrade for our test instance with a copy of our production data today, so some of this is still nice and fresh :)
#15:57:16bshumOn a side note, I created a page http://evergreen-ils.org/dokuwiki/doku.php?id=eg11:proposals
#15:57:24bshumIt's temporary till they add it to the conference site
#15:57:30bshumBut has the pertinent info on there.
#15:59:57dbsbshum++
#16:00:36bshumSo, prepare and submit stuff!
#16:02:20dbsaha! Net::SSH2 is missing on our debian lenny system because it's not packaged on lenny
#16:03:43rsoullieremrpeters++ thanks for the lead re: my SIP error
#16:04:38brian_f has quit IRC
#16:05:19rsoullierefixed by adding <path>/openils/lib/javascript/</path> to oils_sip.xml
#16:06:07rsoullierewhich is where the the JSON_v1.js script is located.
#16:07:14rsoulliereShould I follow up with any bug reporting /patch submitting in launchpad?
#16:08:02rsoulliereOne other funny thing is that the 3M gui seems to be reporting a type of error at the SmartChute terminal
#16:08:23dbsrsoulliere: please do
#16:09:24rsoulliereHowever, Evergreen is checking in the item and changing the status.
#16:10:25rsoulliereI will also follow up with the 3M guy regarding this behaviour.
#16:10:42rsoullierethanks all. regards.
#16:10:47mrpeters-islyay!
#16:10:50rsoulliere has quit IRC
#16:11:07b_bonner has quit IRC
#16:12:39b_bonner has joined #evergreen
#16:27:40jenny1 has joined #evergreen
#16:28:45bshum has quit IRC
#16:42:14bshum has joined #evergreen
#16:51:40kmlussier has quit IRC
#17:03:40Melissa1 has quit IRC
#17:07:28mjg_ has joined #evergreen
#17:09:50mjg_ has left #evergreen
#17:20:59Dyrcona has quit IRC
#17:22:33AaronZ has quit IRC
#17:40:18sfortin has quit IRC
#17:42:47b_bonner has quit IRC
#17:53:26b_bonner has joined #evergreen
#17:56:41b_bonner has quit IRC
#18:03:07atheos_ has quit IRC
#18:04:51eby has quit IRC
#18:05:29phasebb has quit IRC
#18:06:14eby has joined #evergreen
#18:06:53jenny1 has left #evergreen
#18:07:35atheos_ has joined #evergreen
#18:35:00b_bonner has joined #evergreen
#19:29:44b_bonner has quit IRC
#19:31:46youdonotexist has quit IRC
#20:03:34corretico has joined #evergreen
#20:40:30atheos_ has quit IRC
#21:13:48youdonotexist has joined #evergreen
#22:04:00bshum has quit IRC
#22:59:43artunit has joined #evergreen
#23:36:37dbs has quit IRC
< Tuesday, January 11th, 2011Raw Log FileThursday, January 13th, 2011 >