Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Thursday, January 12th, 2012

< Wednesday, January 11th, 2012Raw Log FileFriday, January 13th, 2012 >
#TimeNickMessage
#01:19:11tfaile has quit IRC
#03:36:24Callender has quit IRC
#05:54:05gmcharlt has quit IRC
#05:54:11gmcharlt has joined #evergreen
#06:21:47EgUser has joined #evergreen
#06:23:10EgUserCould anyone here help with a Marc display problem on Staff Client?
#06:35:44bshum has quit IRC
#06:36:04EgUser has quit IRC
#06:51:32bshum has joined #evergreen
#06:51:33tfaile has joined #evergreen
#07:11:17EgUser has joined #evergreen
#07:51:23mrpeters-islEgUser: just ask, and someone will answer if they can
#07:52:45plux has joined #evergreen
#07:53:08EgUserThanks - I have systems setup for testing and although the imported MARC records looks fine, I can't get certain fields to display
#07:53:17EgUsere.g 245 and 650
#07:53:23plux has quit IRC
#07:53:45plux has joined #evergreen
#07:53:46EgUserThey should up on the list screen but when I click on the title and get directed to the summary screen only some fields show
#07:54:01EgUserI have edited the correct XML as per the WIKI but they still won't show
#07:54:10EgUserhas anyone got any ideas where to start?
#07:54:32plux has quit IRC
#07:54:48plux has joined #evergreen
#07:57:33plux has quit IRC
#07:57:54plux has joined #evergreen
#08:08:23akilsdonk has joined #evergreen
#08:21:16collum has joined #evergreen
#08:23:38Dyrcona has joined #evergreen
#08:28:12kmlussier has joined #evergreen
#08:32:03mrpeters-islEgUser: Can you clarify where in the staff client you're expecting to see this? A screenshot maybe?
#08:32:33_bott_ has quit IRC
#08:32:38mrpeters-islim thinking of so many places you could be talking about
#08:33:34_bott_ has joined #evergreen
#08:34:08EgUserYeah, no problem. It will take me a few minutes to get screen shot
#08:54:49EgUserA really strange thing.....here is the image first
#08:54:50EgUserhttp://imagebin.org/193218
#08:55:24EgUserHowever, it seems to be working, but it took about 1 hour to work.
#08:55:39mrpeters-isloh, so you're wondernig why the author is blank?
#08:55:49adbowling-isl has joined #evergreen
#08:55:52EgUserI edited the result_detail.xml file but no data appeared
#08:56:11mrpeters-islhmm you shouldnt have to be touching any of that stuff
#08:56:11EgUserI refreshed, tried everything, then went to lunch and now the data is there
#08:56:24EgUserI thought so too
#08:56:32EgUserIt's a system I inherited
#08:56:38EgUserit is back on 2.05
#08:57:04mrpeters-islso, this screenshot is out of date? your problem is solved now?
#08:57:37EgUserKind of but it has raised a lot more questions! Firstly, is the author blank as its an authority? If so, how can I add it...
#08:57:59mrpeters-islim not a good person to answer that...not a cataloger :(
#08:58:03EgUsersecondly, is there some delay in display/indexing update that would account for the changes not reflecting straight away?
#08:58:10mrpeters-islmight help if you pasted the record for people to look at though
#08:58:20EgUserThe actual MARC record?
#08:59:18mrpeters-islyes
#08:59:38mrpeters-isluse paste.lisp.org though
#08:59:57DyrconaEgUser: just hit the MARC Record on that screen you pasted and paste a screen shot or copy and paste to another paste service.
#09:00:11DyrconaMARC Record link.
#09:01:26EgUserEh....I will pass this time, and slap myself in the face! There is no author on this record! So that is solved. I suppose I need to figure out why my changes took so long to reflect
#09:01:49DyrconaEgUser: How did you change/load the record?
#09:02:53EgUserI didn't change the marc record at all, that stayed the same. The problem was the Title was showing blank, for all records, so I edited the rdetail_summary.xml page and added it there....
#09:03:08EgUserbut nothing happened, for a long time. Then suddenly it started to work
#09:03:28DyrconaEgUser: Browser or client cache, most likely.
#09:04:28EgUserIt is on the client. Strange that the new field labels I added appeared straight away though, although blank. Regardless, I can keep going trying to get my head around Evergreen!
#09:05:13mrpeters-islhow did you import the record? batch loader? migration tools?
#09:06:07EgUserI used the migration_tools
#09:06:22mrpeters-isl wonders if the ingest was slow to create metabib.real_full_rec and stuff?
#09:07:45mrpeters-isli just wonder if metabib.author_field_entrya nd its friends were not populated when you first did the search
#09:07:49dbs has joined #evergreen
#09:07:49dbs has joined #evergreen
#09:10:08tsbereeeevil++
#09:18:54Meliss has joined #evergreen
#09:21:04dbsyay, we made it 1.5 weeks before hitting 100% Apache CPU usage after bumping max_stanza_size in ejabberd up to 4,000,000
#09:21:06alynn26 has joined #evergreen
#09:21:53bshum4 million? o.O
#09:22:23dbsyep
#09:23:00dbsour suspicion for years is that we have some bibs with thousands of copies attached that seem to trigger an apache death spiral
#09:23:13bshumSounds ominous.
#09:23:25dbs(migrated circulating serials that predate current serials support)
#09:23:25bshumI think some of our stub records are like that.
#09:23:28bshumOr magazines
#09:23:40bshumYeah, sounds evil.
#09:24:29Dyrconadbs: we have some records with huge numbers of copies. so far, we've noticed they don't display in holdings maintenance, cause they push the messages over the ejabberd max size.
#09:24:31dbs pleads weakly again for integrated RELEASE NOTES for simultaneous documentation of features/bug fixes like "placing holds on age-protected items"
#09:25:15berickdbs: is there consensus on where the release_notes file should live?
#09:25:28Dyrcona jokes: Documentation is for sissies. :)
#09:25:49dbsberick: tsbere expressed some reservations in IRC about the current branch (having the release notes filename in README)
#09:26:15dbsbut as far as I know there are no other proposals or branches being put forth, and meanwhile the release notes lag and lag
#09:27:46dbs wondering whether readme & release notes & Makefile.install* would fall into a class of commits that can go without review - assuming that a Fedora person who wants to commit fixes for Fedora prereqs / instructions is unlikely to get someone to actually test those changes
#09:28:35dbssimilarly, worst-case scenario for getting readme / release notes wrong is typos or incorrect info, versus functionality breaking for code changes
#09:28:53dbs(okay, worst case scenario for readme is wiping somebody's server but let's hope we don't go there)
#09:30:33Callender has joined #evergreen
#09:31:02berick+1 to non-review commits of readme & release notes. we should make it easy to bear fruit w/ doc writing
#09:31:58Dyrcona+1 to non-review of readme and release notes
#09:32:14Dyrcona-1 to non-review of Makfile.install.
#09:32:36tsbere+1 to non-review commits to docs in general in the code repos
#09:32:37DyrconaI'd like people to at least eyeball any changes that I make, since I am known to make typos.
#09:32:40dbsDyrcona: great. who the hell is going to review Fedora changes
#09:33:03Dyrconadbs: I'd be happy to at least check them for Make syntax erros.
#09:33:12Dyrconadoh.... see what I mean. :)
#09:33:14tsberedbs: When I attempted to look at some of your fedora changes my main goal was "make sure the package names look correct". Then I broke my ability to run perl tests and never signed off on that.....
#09:33:45dbsThat's a pretty low bar. Could we automate that test?
#09:34:50dbse.g. eeevil's change for pgsql 9.1 looked fine, but in practice was totally broken. and my change for APT_BACKPORT_TOOL was great for squeeze, but broke ubuntu
#09:35:11tsbereSo split them by platform
#09:35:15dbsMakefile.install schism - yep
#09:35:25jenny has joined #evergreen
#09:35:36tsbere"confirmed by X to work on platform Y" works for me so long as the same file isn't used for platform Z too ;)
#09:35:37DyrconaI could be persuaded to vote for non-review of Makefile.install changes if we split the file(s) up by platform.
#09:36:08dbswe can add FreeBSD then too !
#09:36:44tsbere thinks that "non-review" should be "didn't test on that platform" compared to "didn't even make sure there are no syntax errors" so long as the person submitting the changes claims they worked and you honestly don't have the platform in question to test on
#09:37:27dbstsbere: again, computers are way better at detecting syntax errors than humans are. Surely a test for that would be straightforward
#09:37:48tsberedbs: Yes, but should be run by the reviewer *anyway*, even if the author says they did ;)
#09:38:10dbstsbere: we should be running "make check" before any commit and any review, too, right?
#09:38:31dbsand our dead testing server should be telling us the status, too
#09:39:02tsbere varies on running "make check" due to some things not being testable by it, prefers making sure the system actually *runs* and the affected portions still work
#09:39:54dbstsbere: that's *great* but sometimes the affected portions *aren't* obvious
#09:39:57tsbereI *am*, however, willing to push for "when messing with the main SQL files one should drop their test DB and re-load from scratch before sign-off"
#09:40:04tsbere<_<
#09:40:17dbssounds good to me
#09:40:59alynn26 has left #evergreen
#09:42:37dbshmm, 14M rows in auditor.asset_call_number_history, time to trim some of those heavily reingested ##URI## entries (buh bye, 3M rows)
#09:43:09tsbere is also freakishly paranoid about his own code, not even committing it more than half the time until it installs and functions on a full DB reload ... which has bitten him at least twice when he did a git clean without committing
#09:46:42dbs is pretty paranoid, but does commit locally regularly because he is also paranoid about losing work
#09:46:55Dyrcona used to not commit code at least until it was run on his dev machine, but now commits on his workstation and pulls to his dev machine for implementation testing. I've started using rebase before pushing to working more often.
#09:49:54dbs pushes stuff to Conifer repo to test on our testing server, and/or pulls from working branches
#09:59:12berick will not be dropping any test DB's :) but will gladly load altered files into a bare DB.
#09:59:32berickat least, not until concerto has a bit of everything
#10:00:50tsbere blows his test db out at least one day a week at this point, and on those days does so at least 5-10 times
#10:01:19tsbereberick: I disagree with concerto having "a bit of everything", BTW. I think users should be loaded from their own file, for example ;)
#10:01:36bericktsbere: sorry, concerto and friends
#10:02:13dbs agrees with tsbere on that one - but concerto could stand to have a few more corner cases (like a title with non-filing indicators and "L'" beginning, for example, or more titles that line up with OpenLibrary...)
#10:03:14dbsgo little autovacuum go, recover from 36 hours of continuous updates to asset.call_number
#10:03:30tsbereBTW, for fun, a windows shell "YMD" output that works for those that have M/D/Y output (because good luck making this work globally without more complicated scripting): %date:~-4,4%%date:~-10,2%%date:~-7,2%
#10:04:11dbsheh, that reminds me of the hatred directed my way for the switch to M/D/Y date formatting in the staff client
#10:05:13tsbere is outputing filenames with the YMD chunk in them on the server, and for those that want to automate grabbing them figured he should provide a "this is how you tell a windows shell to spit that out" tip
#10:05:21dbs looks hopefully at format.date OUS
#10:05:49tsbereNote that I would *prefer* to tell the entire staff client "dates look like YYYY-MM-DD" but our librarians would hate me. <_<
#10:06:25EgUser has quit IRC
#10:09:03sylvarI ought to start a branch that uses icons like http://ragefac.es/106 instead of the standard warning/error icons
#10:09:56DyrconaCheckout, y u no work?!!
#10:10:25mrpeters-islyes!
#10:10:29bshumsylvar: +1
#10:18:15alynn26 has joined #evergreen
#10:21:40dbsformat.date++
#10:21:50dbsworks pretty well
#10:38:11tecoripa has joined #evergreen
#10:38:56dbsbuh bye, 1.4M asset.call_number deleted ##URI## rows. you and your triggers and rules can't stop me. bwahahaha
#10:41:15tsbereheh
#10:54:43Dyrconayou know your vm's disk is thrashing when it has been 4 minutes since you typed git pull and nothing has changed in the terminal window.
#10:54:57dbs hopes this will speed up the reingest process for the next 200K bibs with modified located URIs. sigh.
#10:56:39tecoripa has left #evergreen
#11:00:33jenny1 has joined #evergreen
#11:02:02jenny has quit IRC
#11:03:51plux has quit IRC
#11:04:55graced has joined #evergreen
#11:17:32tspindler has joined #evergreen
#11:19:15youdonotexist has joined #evergreen
#11:39:26bshumHmm
#11:39:49bshumSo we're getting an interesting error when trying to view marc for new records that are to be imported via z39.50
#11:39:54bshumhttp://pastie.org/3172541
#11:40:06bshumNot sure what the story is yet, but I guess folks are concerned about it.
#11:40:24tsbereThat looks annoying
#11:40:25bshumWe don't use it often, so it may have just been missed under the radar.
#11:40:36bshumAlternatively, it might be a quirk in our 2.0 system
#11:40:43bshumI know that it's different in 2.1 or was it 2.2+?
#11:40:44DyrconaAre you using any patches, extra branches? You could be missing something.
#11:41:28bshumDyrcona: I'll have to double check on that, since we hand patch everything right now. Have to keep working on our git skills :(
#11:42:35bshumI don't believe we have anything special related to that interface though
#11:43:47matt_carlson has joined #evergreen
#11:45:12bshumThe last thing that looks to have been changed there was something with search fields.
#11:45:30bshumGranted, I think this is the first time I've ever been asked to test importing from OCLC
#11:45:36bshumUsing the login credentials, etc.
#11:45:43bshumSo I've never tested the interface in this way before
#11:49:15bshumf.my_init() gets called in z3950.js on line 140, it seems.
#11:49:49bshumLooks the same way in the rel_2_0 branch
#11:49:59bshumSo doesn't look too much like we changed anything there recently
#11:52:10dzeiger has joined #evergreen
#11:52:32tsbere forgot he wanted to build on https://bugs.launchpad.net/evergreen/+bug/876517 alongside all the hold stuff on his next major project....but with only one branch to build on he can just use that as his base branch anyway
#11:52:33pinesol_greenLaunchpad bug 876517 in Evergreen "Circ Modifier Limits are too limiting" (affected: 1, heat: 6) [Wishlist,New]
#12:09:46bshum"f.my_init" only appears once and it's in that z3950.js file
#12:16:00bshumThis makes me wonder if it works for others out there.
#12:16:17bshumSigh
#12:16:24tsbere has no clue, can ask catalogers if they ever import that way (if they are around today....I didn't notice yet >_>)
#12:17:10bshumI suppose it's different for you guys though, tsbere.
#12:17:17bshumSince you have the newer z39.50 stuffs
#12:17:41bshumStill, doesn't hurt to ask :P
#12:17:58dbs has left #evergreen
#12:18:00bshumMy thought is whether the view marc would even work on a record that hasn't been imported yet
#12:18:13bshumBesides the fact that the functions seem oddly broken
#12:18:13tsberebshum: Well, I am told we do use it, and we don't see errors. So master is likely working. <_<
#12:32:11dzeiger has quit IRC
#12:32:52tsberebshum: Decided to take a closer look at your issue. F is the marc_frame. It looks like it should have marc_view.html loaded into it (it is an iframe) which contains a my_init function.....either that or it should be marc_view.xul which also has a my_init. Thus should be a function either way. Maybe something blocked the file from loading?
#12:34:19tsbere also notes that both my_inits should be called by the onload handlers, and thus has no clue why the z3950.js file needs to call it too
#12:35:32bshumtsbere: That sounds bad, I wonder what would cause it to fail to load.
#12:35:54tsberebshum: your server. Check the logs?
#12:36:09bshumtsbere: The logs don't record the incident at all, it seems.
#12:36:40tsberebshum: apache access log entries for marc_view.blah?
#12:37:04phasefxI think my_init gets called because the frame content gets re-used, not reloaded.. so more like reinit
#12:37:24bshumAha
#12:37:32bshumtsbere: XMLENT XML Parse Error
#12:39:00bshumtsbere: something like this- http://pastie.org/3173440
#12:39:04tsberebshum: Well then, I think you have your answer as to what the base problem is. Now you need specifics. Like what XMLENT is broken. >_>
#12:40:57tsberebshum: I don't see why that file should be parsed that way, actually. You have something doing parsing for all .html files that is non-standard or something?
#12:41:15tsbere(or some other difference in it from stock, or a corrupt file, etc....)
#12:41:52tsbere doesn't think that file has changed from rel_2_0 to master
#12:44:35bshumtsbere: Our version of marc_view.html looks exactly the same as the one in master. Except for the location for constants.js which includes our stamped version
#12:44:52bshumtsbere: It's always possible that something else is different though, I suppose.
#12:44:53matt_carlson has quit IRC
#12:45:21bshumUnless it's something in apache you mean that's parsing badly?
#12:45:25tsberebshum: I was thinking "does your eg_vhost or similar apache config differ for .html files"
#12:46:35bshumtsbere: I'll check our eg_vhost file, perhaps something in there that's too old or too new.
#12:46:54bshumtsbere: We've been carrying it forward since our 1.6 days, but maybe didn't change something that should have been
#12:50:04bshumtsbere: Are you referring to this block? http://pastie.org/3173503
#12:50:22bshumIf so, ours reflects what's currently in the sample eg_vhost file that ships with Evergreen's examples
#12:51:57matt_carlson has joined #evergreen
#12:52:35tsberebshum: Huh. <_<
#12:52:42tsbere should try requesting that locally, perhaps
#12:53:07tsbereNope, loads fine here.
#12:53:28tsberebshum: What is your version stamp? Standard rel_2_0_blah type stuff?
#12:53:51bshumtsbere: Yeah, we've kept ours at rel_2_0_6, but it's really like 2.0.10+
#12:57:27Dyrconabshum: then your clients could be out of sync with the server and still "working."
#12:57:37Dyrconabhsum: that's likely the source of your problem.
#12:58:05bshumDyrcona: Possibly, but I'm testing it with the latest client builds based on our server version behind the scenes.
#12:58:25bshumDyrcona: Yes, I know our stamp process sucks :P
#12:59:13phasefxhey, you're only a symlink away from changing the process :)
#12:59:29bshumYeah, I thought about doing that next time
#12:59:35bshumBut you know, people hate change and all that :P
#13:00:00bshumIdeally I think we're changing it up whenever we do the next actual upgrade.
#13:00:11bshumI can figure this out then I guess
#13:00:44bshum-= THIS MESSAGE NOT LOGGED =-
#13:01:17Dyrconabshum: we often force the upgrades by deleting the older directories as well after making the symlink.
#13:01:59Dyrconabshum: we use something like 2_1_1mvlc_N for our version number where N is an integer that goes up by 1 each time.
#13:02:41tsbereDyrcona: bshum doesn't have automatic updates yet, to my knowledge, and thus can't do that. :(
#13:02:50tsberebshum: Upgrade to 2.1+ to get automatic updates. <_<
#13:03:20Dyrconatrue, but it would force them download new clients.
#13:03:28bshumtsbere: Dyrcona: Yeah, yeah, 2.1+ ftw
#13:03:38Dyrconamaster FTW!
#13:04:09DyrconaI'm going to get you guys converted, yet. ;)
#13:21:35matt_carlson has quit IRC
#13:21:50matt_carlson has joined #evergreen
#13:25:34tspindlerI was wondering if anyone would know why we would have null values in the "label sortkey" of the asset.call_number table. We did a test load and our call numbers have been given the "Other" classification and then I ran a query with regex statemetns to identify dewey and lc and change the class accordingly
#13:26:02tspindlerI'm not sure if the sortkey was loaded blank or my script query would have done something
#13:26:33tspindlerhere is the dewey check UPDATE asset.call_number SET label_class=2 WHERE label ~* '[0-9]{3}.*';
#13:26:33kmlussier has quit IRC
#13:28:31jenny1 has quit IRC
#13:29:06Dyrconatspindler: they were likely loaded blank, but without knowing more I can only guess.
#13:29:39tspindleryeah, i don't see any triggers that would cause them to be blank from my query
#13:30:34tspindlerthe funny thing is, i can't even enter data into them with a query such as "update asset.call_number set label_sortkey='123' where id= 143223
#13:31:12Dyrconawhat happens?
#13:31:13tspindlersue is not sure why they would have loaded blank
#13:31:14jenny has joined #evergreen
#13:31:37tspindlerwhen i run the above query i get 1 record updated then look at the record and nothing is changed
#13:32:32tsberetspindler: asset.label_normalizer is called on all updates to asset.call_number. It force-sets label_sortkey on every update.
#13:32:36Dyrconalabel sort_key is generated from the label.
#13:32:50Dyrconawhat's the label on that record look like.
#13:34:15tspindlerthere is "955.054" and "V Auth 173Se2" are a couple
#13:35:04tsberetspindler: the label_normalizer function looks at the asset.call_number_class based on new.label_class for a normalizer function to call. If class isn't listed you will get an empty sort key....
#13:35:08Dyrconasounds like triggers were off when the acns were loaded.
#13:35:21Dyrconaor that.... ;)
#13:35:30tsbereDyrcona: To me it sounds like they have no normalizer function in asset.call_number_class, and thus get a null sortkey by default. :P
#13:35:59tsberetspindler: What happens if you "update asset.call_number set label_class = 1 where id = 143223" ?
#13:36:01tspindlertsbere: so if they were loaded with the "other" call number the label_normalizer wouldn't trigger, only triggers for lc and dewey?
#13:36:13Dyrcona has blocked out the migration and doesn't remember if he had to deal with the class, etc., at that time.
#13:36:49Dyrconatspindler: If "other" has a normalizer, that one will run.
#13:37:53tsbere sees no default "Other" for call number class, just "Generic", "Dewey", and "Library of Congress" entries
#13:37:59Dyrcona only has 3 classes in his database: Generic, Dewey, and LC. Each has a normalizer defined.
#13:40:24tspindlerdrycona: we also only have 3 ,
#13:40:41tspindlertsbere: i'm trying a couple different queries to see something and will post in a minute
#13:41:13tsberetspindler: Set your cat.default_classification_scheme OU setting to "1" as a default, if you don't have it set to 1, 2, or 3, then run an update on all null label_class call numbers?
#13:41:43gmcharlt has quit IRC
#13:41:44gmcharlt has joined #evergreen
#13:45:54b_bonner has left #evergreen
#13:46:49bshumtsbere: I figured it out.
#13:46:58kmlussier has joined #evergreen
#13:47:02bshumIt's related to our new use of mod_deflate it seems
#13:47:17bshumWhen I turn back off that apache module, marc_view works happily.
#13:47:24bshumBut with it on, it dies horrendously.
#13:47:45tsberebshum: I bet it is compressing it *before* the xml validation/parsing happens, then
#13:47:48tspindlertsbere: setting to 1 updated sortkey, it might be as jason said, I'm guessing that there are separate dewey and lc triggers that are off
#13:48:15gmcharltbshum: hmm - initial thing I would suggest, then, is keeping the mod_deflate entries in eg_vhost.conf active for IDL2js
#13:48:19Dyrconatspindler: sounds more like you didn't have a default defined.
#13:48:21gmcharltas that is a big win
#13:48:24tsberetspindler: There is *one* trigger. that trigger checks the label_class integer (or, if null, the OU setting I mentioned) to figure out what call number class to check the function name of. Then it calls that function.
#13:48:31gmcharltselectively comment out other references
#13:49:30tspindlertsbere: then I'm not sure why the lc and dewey sortkey creations aren't updating
#13:50:10tsberetspindler: What are the label_class values for those?
#13:51:11bshumgmcharlt: So other than the ones for /idl2js, comment out the rest is what you suggest?
#13:51:22bshumgmcharlt: We'll give that a whirl then. Thanks.
#13:52:32matt_carlson has quit IRC
#13:53:21bshumgmcharlt: Oh fun times
#13:53:23gmcharltbshum: correct - commenting out *all* of the rest is probably a little more aggressive than is necessary -- I encourage you to do some further tweaking on a test system -- but like I said, for the specific issue you had, IDL2js will be the big win
#13:53:29bshumjamesrf reported this problem in https://bugs.launchpad.net/evergreen/+bug/652343
#13:53:30pinesol_greenLaunchpad bug 652343 in Evergreen "possible bug in r17593" (affected: 1, heat: 0) [Undecided,Confirmed]
#13:54:12jeffi nominate that bug for a new title :-)
#13:54:20bshumIndeed.
#13:54:25jeffjamesrf++ reporting the bug, regardless of title :-)
#13:54:28tspindlertsbere: 1-Generic 2-Dewey 3-Library of Congress (LC) , if that is what you mean, I checked org_unit setting for default classification and I can't change it, no box
#13:54:53tspindlertsbere: the default value is blanking (running EG 2.2 alpha
#13:54:59tsberetspindler: "no box"?
#13:55:34tspindlertsbere: in the ui, there is no box to enter a default classification scheme
#13:56:05gmcharlt accepts jeff's nomination and changes the title of the bug
#13:56:58tspindlertsbere: can post a screenshot but forgot where a good place is for that
#13:59:52tspindlertsbere: see http://screencast.com/t/M8cuPiYu5O
#14:00:07tsberehuh
#14:00:17tsbereSomething is busted, apparently.
#14:01:20tsberetspindler: insert into actor.org_unit_setting(org_unit, name, value) VALUES (1, 'cat.default_classification_scheme', '1')
#14:01:21tspindlertsbere: i need to go through it but there is at least one other library setting i stumbled on that has the same issue, default patron identification
#14:01:22tsbere<_<
#14:04:05tspindlertsbere: client locked up on me but ran your query to insert org setting and it made the difference, ran query to update call number to dewey and sortkey populated
#14:04:26tspindlertsbere: i can report as a potential bug for 2.2 alpha?
#14:04:33bshumgmcharlt: On cursory glance, looks like mod_deflate only gets used in those blocks for /opac //opac /js and /idl2js
#14:04:47bshumgmcharlt: I'll try commenting out the other three for now :P
#14:05:04tsberetspindler: Once that query runs you should be able to update the call numbers with null label_class values to get them to have sortkeys too, without changing their label_class values (or just update the label_class values as appropriate, whatever)
#14:05:20tsberetspindler: *you* decide what is worthy of you reporting a bug. Just try and keep enough info around. :P
#14:05:53tspindlertsbere: sometimes I'm just not sure if its a bug or our install ;)
#14:17:11bshumgmcharlt: Commenting out those lines didn't solve the problem at all, unfortunately. Commenting out the ones for idl2js along with it, didn't help either. Disabling mod_deflate entirely seems to be the only way for us at the moment.
#14:17:26bshumgmcharlt: No middle ground it seems with that :(
#14:18:32gmcharltbshum: there might be yet
#14:19:02gmcharltcheck /etc/apache2/mods-{enabled,available}/deflate.conf
#14:20:19bshumOkay
#14:20:49bshumWhat should I look for there?
#14:21:17gmcharltis it doing something like "AddOutputFilterByType DEFLATE text/html text/plain text/xml" ?
#14:21:17tsberebshum: The default is bad. Makes all html/xml/other files go through mod_deflate. :(
#14:21:29gmcharltexactly
#14:21:30bshumYeah, it does include that line, on 3
#14:22:07gmcharlttry applying your +1 keyboard of commenting out to that, then, and enabling the module again
#14:23:42tsberegmcharlt: A thought, in that regard. What if we add "RemoveOutputFilter" statements in the proper places in the default config?
#14:24:14tsbere isn't sure if that removes those added with the "ByType" command, hasn't tested
#14:24:36gmcharlttsbere: something like that is probably better in the slightly longer term, yes
#14:25:34bshumgmcharlt: So, commented that line in the deflate.conf, disabled, re-enabled the mod. Then took out all the commenting I did in eg_vhost.conf and all is still well with the world.
#14:25:42bshumgmcharlt: Marc_view is happy now
#14:25:55tsberehmmm
#14:26:14tsbere thinks about how to best "fix" this, has ideas
#14:26:33bshumI'll make that modification to our production bricks to get folks back on track for now.
#14:26:45bshumtsbere: We'll be happy to help test any of your ideas :)
#14:27:15tsberebshum: I should enable mod_deflate for testing. >_>
#14:27:37bshum tries to figure out a nice way of juggling the bricks to fix things...
#14:31:14tsbere broke things, that is a good first step, right?
#14:31:27bshumHeh
#14:37:45tsbereOk, I broke them less. But marc view is busted. <_<
#14:44:56Dyrcona discovers that reading code is not as much fun as writing it.
#14:52:12tsberebshum / gmcharlt : AddOutputFilterBytype is deprecated and no longer recommended for use.....and *impossible* to undo the effects of in any way I can find once used. There is no corresponding "Remove" variant. mod_filter *might* be able to override it with the filterchain directive, I think it was, but would need to be enabled as well.
#14:53:58bshumtsbere: Hmm, found a bug ticket that says it was "un-deprecated"
#14:53:59tsbereOn a different note, adding IfModule blocks for mod_deflate.c wherever we use XMLENT to include an AddOutputFilter directive like "AddOutputFilter INCLUDES;XMLENT;DEFLATE .ext" doesn't break anything (because we force deflate to happen last)
#14:54:14tsberebshum: I was reading the docs for.... 2.1 apparently?
#14:54:51tsbere thinks that something that cannot be overridden when needed should not only not be used globally, but should never be installed as a default config option for any module
#14:56:33tsberenote that my above ;DEFLATE stuff was *after* I disabled the "ByType" variants, for the record.
#15:00:38tsberebshum: They un-deprecated it when they made it a mod_filter command, it seems. Which means it likely plays nice with the FilterChain directive, which would allow for overriding it then.
#15:01:08youdonotexist has quit IRC
#15:04:23bshumHmm
#15:04:28matt_carlson has joined #evergreen
#15:15:13dzeiger has joined #evergreen
#15:22:37tsberebshum: Only solution I have that doesn't rely on changes to make that directive go to mod_filter and/or require that mod_deflate's config be edited from the ubuntu default (bad ubuntu/debian, BAD!) is to use SetEnv no-gzip on anything with an XMLENT output filter attached.
#15:22:47tsberegmcharlt: ^
#15:25:10gmcharlttsbere: well, that's a significant improvement over no compression at all
#15:25:17gmcharltthanks for running through this
#15:26:00tsbere can make up a branch to try and catch all of those cases, if desired, for the stock master eg_vhost config
#15:27:09gmcharlt will be happy to test such a branch
#15:29:52youdonotexist has joined #evergreen
#15:39:52tsberegmcharlt: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/xmlent_hates_deflate
#15:41:03tspindler has quit IRC
#15:43:24tsberebshum: You may want to look at that branch too ;)
#15:43:35bshumtsbere: Happy to test it out.
#15:43:59bshumtsbere: I can try it on our test server to see how it behaves.
#15:57:39collum has quit IRC
#15:59:00matt_carlson has quit IRC
#16:01:25dzeiger has quit IRC
#16:07:54dzeiger has joined #evergreen
#16:08:10matt_carlson has joined #evergreen
#16:10:09bshumtsbere: Inserting those changes seem to be going fine so far.
#16:10:26bshumFor our 2.0 test server
#16:12:17akilsdonk has quit IRC
#16:13:22kmlussier has left #evergreen
#16:15:43bshumAt least as far as using marc_view goes
#16:15:56bshumNot sure what else to test yet.
#16:21:50bjwebb has joined #evergreen
#16:21:51bjwebb has joined #evergreen
#16:25:36matt_carlson has quit IRC
#16:29:18tsberebshum: The opac, for one, I think.
#16:48:22dbs has joined #evergreen
#16:48:55bshumtsbere: So far so good then. The OPAC checks out and so does looking at view marc in the staff client
#16:49:07dbs shocked he apparently said something intelligent about mod_deflate once upon a time; not shocked to see that he had to go back and forth on it for a while first (typical)
#16:49:59bshumdbs: Was amused with http://open-ils.org/dokuwiki/doku.php?id=troubleshooting:problems_with_the_catalog (the other reference I found about mod_deflate, you did in 2008)
#16:50:38dbsaha
#16:51:50tsbereShould I add my branch to that ticket that was referenced and flag it as pullrequest? :P
#16:54:39bshum+1, sounds reasonable to me.
#16:54:44dbs predicts the future: 2012-01-10T13:51:26 <dbs> yeah, IIRC mod_deflate did horrible things to HTTPS and/or XMLENT with the old default configs, I think that was sorted a while ago though
#16:55:15dbstsbere++
#16:57:48dzeiger has quit IRC
#17:01:17jeffdavisIs anyone here using the ApplyPatronPenalty a/t reactor? I can't see how to make it work.
#17:02:32bshumjeffdavis: Just went to read about that reactor, did you setup the necessary environment variables?
#17:02:46bshumjeffdavis: The perl file notes that "user" and "context_org" need to be assigned.
#17:03:18jeffdavisI tried doing so but I suspect I am doin it rong.
#17:04:40jeffdavisWent into Event Environment and added one with field_path = usr and label = user, another with field_path = circ_lib and label = context_org.
#17:06:24jeffdavisBut the reactor complains that $user and $context_org are undefined in that case (I added some logging for local testing purposes).
#17:06:50jeffdavisNo dice with anyother combinations I could think of.
#17:08:58bshumjeffdavis: Hmm, I guess we're not using that reactor yet, so I don't have any examples on hand to play with. Maybe someone else here will have some suggestions on what to try.
#17:14:25senatorjeffdavis: what's the value of the hook column of the event definition where you're using the ApplyPatronPenalty reactor?
#17:23:57Dyrcona has quit IRC
#17:31:11jenny has quit IRC
#17:35:31Elizabeth_ has joined #evergreen
#17:41:39Elizabeth_ has quit IRC
#17:43:21jenny has joined #evergreen
#17:44:47jeffdavissenator: sorry for delay, we had an all-hands-on-deck situation.
#17:45:02jeffdavisThe event def uses the 'checkout.due' hook so circ is the core type.
#17:45:11jenny has quit IRC
#17:47:19senatorjeffdavis: no problem
#17:50:46dbs has quit IRC
#17:53:09senatorjeffdavis: and group_field is null on the action_trigger.event_defintion row in question? i'm probably not suggesting anything you haven't already checked. sorry :-/
#17:53:31senatorperhaps whoever's already using ApplyPatronPenalty can share their configuration
#17:53:54senator is out for now
#17:57:01jeffdavisyep, group_field is null. I appreciate the suggestions.
#18:23:13tsbere has quit IRC
#18:32:37dzeiger has joined #evergreen
#18:44:17tsbere has joined #evergreen
#18:46:27b_bonner has joined #evergreen
#18:59:59Callender has quit IRC
#19:06:57Callender has joined #evergreen
#19:30:45tater-laptop has joined #evergreen
#19:34:05Callender has quit IRC
#19:36:58Callender has joined #evergreen
#19:43:59Callender has quit IRC
#19:46:12Callender has joined #evergreen
#19:53:28dzeiger1 has joined #evergreen
#19:56:39eeevil_ has joined #evergreen
#19:58:03kivilaht3o has joined #evergreen
#20:00:49graced has quit IRC
#20:03:41dzeiger has quit IRC
#20:03:41eeevil has quit IRC
#20:03:41kivilaht1o has quit IRC
#20:41:53bjwebb has quit IRC
#20:59:52tater-laptop has quit IRC
#21:00:01tater-laptop has joined #evergreen
#22:13:02Callender has quit IRC
#22:15:14youdonotexist has quit IRC
#22:16:38eeevil_ is now known as eeevil
#22:26:12Callender has joined #evergreen
#22:37:42dzeiger has joined #evergreen
#22:37:54dzeiger has left #evergreen
#22:41:05dzeiger1 has quit IRC
#23:19:02youdonotexist has joined #evergreen
#23:57:40tater-laptop has quit IRC
< Wednesday, January 11th, 2012Raw Log FileFriday, January 13th, 2012 >