Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Tuesday, February 21st, 2012

< Monday, February 20th, 2012Raw Log FileWednesday, February 22nd, 2012 >
#TimeNickMessage
#00:02:13timhome has joined #evergreen
#01:22:02elene has joined #evergreen
#01:23:42elene has quit IRC
#01:44:21co_ajak_cewe_ngi has joined #evergreen
#01:44:21co_ajak_cewe_ngi has left #evergreen
#03:51:04_bott_ has quit IRC
#03:51:29_bott_ has joined #evergreen
#04:28:03luisb has quit IRC
#07:35:11wlayton has joined #evergreen
#07:58:55fortin has joined #evergreen
#07:59:12elene has joined #evergreen
#08:00:27magedshaker has joined #evergreen
#08:00:29magedshaker has left #evergreen
#08:05:19collum has joined #evergreen
#08:14:07akilsdonk has joined #evergreen
#08:18:11graced has joined #evergreen
#08:18:28kmlussier has joined #evergreen
#08:22:39Dyrcona has joined #evergreen
#08:23:51elenehi all, I just did a test installation of 2.1.1
#08:24:06_bott_ has left #evergreen
#08:24:26eleneeverything works fine, but I can not change Org Units from Staff Clients
#08:24:48eleneI go to Admin > Server Administration > Organizational Units
#08:24:58eleneand I get Internal Server Error
#08:25:06eleneThe server encountered an internal error or misconfiguration and was unable to complete your request.
#08:25:11eleneIs this something about Apache?
#08:25:22eleneStaff client seems to work fine, loading other pages with no issues
#08:28:37Dyrconaelene: probably not, but checking your apache error logs will give you a clue.
#08:29:23_bott_ has joined #evergreen
#08:30:45eleneThanks, Dyrcona. Do you happen to know where apache keeps its logs? :)
#08:30:57eleneI am on ubuntu 10.04
#08:31:25eleneor would you happen to know where I should look for answers?
#08:31:43Dyrconaelene: /var/log/apache2/
#08:32:26eleneThanks.
#08:32:28eleneThis is the URL that gets Internal Server Error https:/domain.com/conify/en-US/global/actor/org_unit.html
#08:32:41eleneCan this be a Perl think then?
#08:32:59Dyrconaelene: could be. could be a configuration problem all sorts of things.
#08:33:01eleneI remember back in 30s Int server errors were mostly for perl
#08:33:13eleneI see. but this is a fresh EG 2.1.1 install
#08:33:28Dyrconaelene: did you run autogen.sh?
#08:34:33Dyrconawithout that, though, you probably could not login.
#08:35:33eleneWhen I reboot server, I can not run autogen, I run into IS NOT CONNECTED TO THE NETWORK!!! error
#08:35:43elenewhen Updating fieldmapper
#08:35:57Dyrconaelene: the opensrf services don't automatically restart.
#08:36:12elenereally?
#08:36:13Dyrconayou should do osrf_ctl.sh -a start_all after a reboot.
#08:36:20eleneI see.
#08:36:26Dyrconayou should also osrf_ctl.sh -a stop_all before a reboot.
#08:36:36eleneso what I do is, i run osrf_ctl.sh -l -a stop_all and then osrf_ctl.sh -l -a start_all
#08:36:46eleneok i see
#08:36:54Shae has joined #evergreen
#08:36:58eleneso after that, autogen runs fine
#08:37:17eleneand I am able to log in to staff client
#08:37:26elenebut can not get to org units
#08:37:42eleneand i worked ok a couple of days ago when i did a fresh installation
#08:38:00Dyrconarestart apache: sudo /etc/init.d/apache2 restart
#08:38:28Dyrconayou should restart apache after restarting opensrf services.
#08:39:24csharpgood morning, all... in the action.hold_request table, what populates the "selection_ou" field?
#08:40:09csharpwe have an issue (that at first blush appears to be user error) where the pickup lib is not what the user intended/expected
#08:40:32eleneI see. Thanks. So, when server boots, I run osrf_ctl.sh -l -a start_all as opensrf and then reboot apache?
#08:40:42Dyrconaelene: yes.
#08:40:54eleneDyrcona: thanks :)
#08:41:04Dyrconayw. hope it helps solve your problem.
#08:41:06tsberecsharp: I think that is altered by boundaries
#08:41:53tsberecsharp: No, wait, the *depth* is altered by boundaries. The OU is probably defaulting to the request OU.
#08:43:04tsberecsharp: Now, the pickup_lib defaults to the *user's* home library in 2.1, not the staff's work OU. If staff aren't paying attention and expecting the pickup_lib to be where they are *standing*.....
#08:43:11eleneDyrcona: it solved my problem, thank you so much
#08:43:54csharptsbere: that sounds like a good clue - the specific example I'm looking at is a staff member
#08:48:34tsberecsharp: Also, thinking about it, I believe that 2.1 got the code that says "we let you see *every* OU for hold placement" work, instead of just the opac visible ones, when logged in as a staff member... thus you could end up with an OU patrons can't even *see* being used as a pickup library.
#08:48:56csharpyikes!
#08:49:12tsberecsharp: That was intentional. Our central site can't be seen. We still want to pickup holds here ;)
#08:49:29csharptsbere: makes sense
#08:49:52tsbereJust trying to give you the biggest picture I can for "how did X happen?" without even knowing 100% what X is ;)
#08:50:11csharpin our case, OPAC invisibility means "closed" (or in at least case, "never existed")
#08:50:36csharptsbere: thanks - I'm still trying to figure out X too ;-)
#08:54:05tsberecsharp: Given what little I know, though (bad pickup library on a hold) I am going to go for user error as the explanation. Thus, the answer for the staff member should probably be "Pay attention!"
#08:54:25csharpyeah - that's what it looks like. I'm asking for more examples
#08:54:44csharpgiven the fact that this is the first (or only) report, it must not be widespread
#08:54:58csharpI'm just trying to head off any other surprise problems ;-)
#09:06:27Meliss has joined #evergreen
#09:27:26kmlussier_ has joined #evergreen
#09:29:40jenny1 has joined #evergreen
#09:30:13kmlussier has quit IRC
#09:33:27fortin has quit IRC
#09:36:16denialsbshum / tsbere: I wonder if we should remove qstore as dead / unused code; no sense in having a larger code footprint than necessary
#09:36:30bshumdenials: +1
#09:36:35tsbere+1
#09:36:50tsbere-1 if doing so distracts us too much from getting useful and functional code in, though ;)
#09:37:43alynn26 has joined #evergreen
#09:38:48eeevil-1, it'd just come back later this year
#09:38:54berickdenials: it's not dead, it's (hopefully) going to be ...
#09:40:15tsbereeeevil / berick: Any thoughts on https://bugs.launchpad.net/evergreen/+bug/937789 ?
#09:40:15pinesol_greenLaunchpad bug 937789 in Evergreen "Deleting parts breaks hold interfaces" (affected: 1, heat: 6) [Medium,New]
#09:40:16berickdon't get me wrong, i love removing unused code ;)
#09:40:25eeevilnon-bib data browser, batch non-bib data update stuff
#09:42:42wlaytonhi all -- one very small suggestion for the OpenSRF README file...
#09:42:53wlaytons/Subversion/Git/
#09:43:28eeeviltsbere: commented
#09:49:07elene has quit IRC
#09:51:29denialswlayton: fire away
#09:53:18denialseeevil / berick: well, you guys are the only ones who have any idea of what the large block of unused mysterious code that has sat there for 1.5 years, what's another 6 months eh?
#09:53:49tsberedenials: wlayton's Subversion/Git thing *was* him firing away, I think. The README still says Subversion.
#09:54:59denialstsbere: ah, got it; too subtle
#09:55:12denials needs a 2x4 for the state of his brain these days
#09:57:00denialswlayton: pushed a fix to master
#09:58:56denialsalso pushed to rel_2_0
#09:59:19wlaytondenials: thanks -- didn't think it was worth a patch to change 2 words
#09:59:33wlayton(as in, me submitting a patch)
#10:00:01denialswlayton: or pushing a branch and getting author credits? Come on man, get your game on!
#10:00:04denials:)
#10:03:26tsberedenials: On the other hand, sometimes going through the "branch+launchpad bug" delays things by months ;)
#10:11:59sfortin has joined #evergreen
#10:13:26bshumReminder for those who haven't yet, please take a moment to fill out the doodle poll for scheduling the next developer meeting: http://www.doodle.com/hk6qmnss4x3vgwgb
#10:13:35bshumkmlussier++ # for helping to set that up
#10:13:50tsbere did a wonderful job of not limiting time choices at all
#10:14:02tsberealso, Doodle is under heavy load and not responding to all requests right now.
#10:14:05tsberedoodle--
#10:14:05bshum(oh of course, I just clicked on that link and it's not working)
#10:14:08bshumSigh
#10:14:21bshumWell, when it works, please take a moment to fill it out :)
#10:14:44kmlussier_bshum++ for the reminder. Worked for me this morning. :(
#10:16:04kmlussier_Worked when I took out the www - http://doodle.com/hk6qmnss4x3vgwgb
#10:16:37tsberekmlussier_: More like "just works now"
#10:16:48kmlussier_Spoke too soon - now it doesn't.
#10:17:11tsbereLooks like Tuesday is still the best option day of week wise, though. Tis the only day with a full column of green so far.
#10:17:36tsbereNo, wait, stupid browser display glitch. Monday has one too. >_>
#10:18:06berickkmlussier_++ bshum++
#10:18:27tsbere figured that out when he looked at the bottom and saw the bold numbers, one of which disagreed with the column above it until he highlighted everything
#10:31:03graced_ has joined #evergreen
#10:32:46graced has quit IRC
#10:32:52graced_ is now known as graced
#10:44:36shopkins has joined #evergreen
#10:48:43elene has joined #evergreen
#10:58:36graced_ has joined #evergreen
#11:00:13graced has quit IRC
#11:00:26graced_ is now known as graced
#11:44:46denialsDyrcona++ # bug wrangling
#11:48:16tsbere is considering pushing the updated upgrade script from bug 798255 with just his and Dyrcona's sign-offs.....and to a lesser extend the same thing for the circ limits branch from bug 876517
#11:48:16pinesol_greenLaunchpad bug 798255 in Evergreen master "archiving stat cats with aged circulation" (affected: 2, heat: 14) [Medium,In progress] https://launchpad.net/bugs/798255
#11:48:17pinesol_greenLaunchpad bug 876517 in Evergreen "Circ Modifier Limits are too limiting" (affected: 2, heat: 12) [Wishlist,In progress] https://launchpad.net/bugs/876517
#11:49:49Dyrcona is making a "list."
#11:50:07bshumAnd checking it twice?
#11:50:25Dyrconabshum: I'll send it to you so you can check it thrice. :)
#11:50:26denialsDyrcona: question though - for a number of the bugs you've changed them to "In Progress", which we had been using for "someone has claimed this bug and is actively working on testing and integrating it"
#11:50:59Dyrconadenials: That's pretty much the reason I changed to in progress, it looks like someone was or said they would do something with it.
#11:51:05denialsIt doesn't seem like that's the case for Bug 838296 for example
#11:51:05pinesol_greenLaunchpad bug 838296 in Evergreen "Seperate the MarkItemLost reactors from running with the rest of the daily triggers. " (affected: 1, heat: 6) [Undecided,In progress] https://launchpad.net/bugs/838296
#11:51:41Dyrconadenials: There's a git branch in the comments. That's another criteria that I used.
#11:51:46denials838296 isn't assigned to anybody, so it's "In Progress" with nobody responsible
#11:51:58DyrconaSeveral might be like that.
#11:52:22DyrconaI'm making a list of other bugs that need more attention to post to Google docs later.
#11:52:25denialsAh. See, I use "In progress" as "Don't bother looking at the bug, somebody else is handling it"
#11:52:43DyrconaAh.
#11:52:45denials(for the few minutes that I get to dedicate to such activities these days)
#11:53:45DyrconaI'm trying to pare down the list of "new/undecided" bugs, and thought if there's code attached or looks like someone is looking into it, mark it in progress.
#11:54:10DyrconaThe bug email did get you to look at it again, so that's half the battle. :)
#11:54:17denialsheh
#11:54:29Dyrcona"You" not necessarily being denials, specifically.
#11:54:54berick also reads in-progress as "hands off, I got this"
#11:55:15Dyrconaok. good to know.
#11:55:40Dyrconai'll change my use of in progress to match what appears to be the consensus.
#11:56:20denials wonders if dbwells has had a chance to ponder denials' comments on bug 885528
#11:56:20pinesol_greenLaunchpad bug 885528 in Evergreen "LDAP authentication needed, preferably via an extensible authentication model" (affected: 1, heat: 6) [Wishlist,In progress] https://launchpad.net/bugs/885528
#11:56:46DyrconaI am just trying to come up with a way for some of these older bugs to get some more attention. Perhaps we should put that on the agenda for the next dev meeting?
#12:03:23phasefx_ has quit IRC
#12:03:33phasefx_ has joined #evergreen
#12:04:22luisb has joined #evergreen
#12:05:11graced has quit IRC
#12:06:21dbwellsdenials: Thank you very much for doing some testing on that branch and fixing a few clear blunders. I'll reply something to that effect on the bug. The only change I didn't quite understand was why the $cache assignment line caused load problems for you and not for me, but I see no problem with the change and didn't look into it any further. Also, I am actually replying to bug 932540 right now.
#12:06:21pinesol_greenLaunchpad bug 932540 in Evergreen "Indexing multiple ISSNs in a single bib results in identifier|issn lookup failure" (affected: 1, heat: 6) [Undecided,New] https://launchpad.net/bugs/932540
#12:07:59denialsdbwells: In the context of an operating system, that $cache thing generally works, but I had introduced a similar issue before and berick found that it did occasionally trigger issues
#12:08:44dbwellsdenials: that is very good to know, thanks
#12:14:39bshumHmm, so I tried to modify the advanced search in tpac to show some more search filter options. And it worked, mostly. But then trying to retrieve a specific record result led us to internal server errors.
#12:15:10bshumDoes Tpac's record display include some sort of history or such that references search elements and my additional options are breaking that?
#12:15:38bshumBackground: I'm trying to add bib_level and lit_form as additional filter choices, since they were "missing"
#12:17:36denialsbshum: probably easier to show than to tell
#12:17:46bshumdenials: Good point :)
#12:17:55bshumLet me push the changes somewhere
#12:26:26Dyrcona shakes his head at bugs referencing 1.6.2.4.....
#12:26:40bshumdenials: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/bshum/tpac-advanced-search-filters
#12:26:45bshumThat's what I'm trying at the moment
#12:26:56bshumWhich seems to work so far as pulling in the desired data from the tables.
#12:27:40bshumBut I must be missing something else.
#12:37:48graced has joined #evergreen
#12:50:43berickbshum: what exactly is breaking?
#12:51:07bshumberick: When we try going into a specific record result, it goes to an apache internal server error message.
#12:51:24bshumberick: I'm checking our error log but it wasn't exactly very forthcoming on why it died
#12:51:56bshumThe only error that was logged when we last tried it looked like this: http://pastie.org/3404298
#12:53:00berickbshum: mind checking the apache error log?
#12:55:04bshumberick: Checking
#12:57:15bshumhttp://pastie.org/3428497 was the only thing in the ap_error.log from that day.
#12:58:33berickyeah, i've had problems with apache error logging and syslog
#12:58:38berickfor some reason, it does not log everything
#12:58:50senatorthat is not apache log content at all
#12:58:54berickwhen I kick it back to file logging, i start getting useful information again :(
#12:59:17berickyep, well, that too
#12:59:19senatorcould the apache logs be somewhere else due to misconfig?
#12:59:47bshumsenator: Certainly possible. I could try configuring the server back to standard logging for the time being.
#12:59:53bshumAnd try recreating our errors :)
#13:03:50wlayton has quit IRC
#13:08:59bshumAha
#13:10:29bshumberick/senator: http://pastie.org/3428587
#13:10:55bshumFrom the error.log for apache on that day
#13:11:34tsbereThat doesn't look like a JSPac issue, though
#13:12:10tsbereLooks like a backend issue....and I see a *lot* of that kind of error without getting internal server errors here.
#13:12:27tsbereThen again, I don't know how often I see them in the apache error logs
#13:13:03senatorbshum said tpac issue to start with, not jspac
#13:13:28bshumRight, it's a tpac problem, not jspac
#13:13:31tsbere thought bshum was on a version of evergreen that doesn't play nice with TPac
#13:13:36tsbere<_<
#13:13:44berickbshum: that error probably relates to the cstore error in your first paste. i suggest back-bracking in osrfsys to find the CALL that created the error
#13:13:46bshumWe're testing master installs
#13:13:56bshumAnd tweaking
#13:14:02tsbereahhh
#13:14:07berickit should be a json_query call with from:actor.org_unit_ancestor_setting
#13:15:13berickactually, hah
#13:15:27berickit's right there in your first paste
#13:16:19berickin the second line, ["1", ""] should just be a 1.. the org id is getting jacked up somehow
#13:17:20tsbereberick: I bet I know how, too
#13:17:22bshumHmm
#13:17:33tsbere...&loc=1&...loc=&...
#13:17:52tsbereMultiple instances is causing it to become an array in the backend
#13:18:09berickyeah, if called in array context, that would do it
#13:18:26tsbereand if called in a scalar context you may end up with a count, instead of the value
#13:18:51bericknot from cgi.param(). pretty sure it will return the first param value in scalar context
#13:19:10tsberedepends on if you stored it *then* used it or not, I guess
#13:20:18berickbut, yeah, check the URL for extra 'loc' params, bshum
#13:20:46bshumberick: Couldn't see them in the staff client (that's when we first noticed the issue), but I'll try it again in a browser
#13:21:14berickbshum: in the staff client, debug -> modify URL
#13:21:23berickmenu along the top-right of browser container
#13:21:31bshumAhh, sweet
#13:21:35bshumI'll remember that for next time
#13:23:48sal_ has joined #evergreen
#13:27:47elene has quit IRC
#13:32:00bshumHaha
#13:32:08bshumCourse now I can't replicate my error, whee :)
#13:37:22bshumAha
#13:37:25bshumThere we go
#13:37:50bshumberick: http://pastie.org/3428767
#13:37:56bshumThat's from just now
#13:38:15bshumDoesn't look like we have multiple loc anywhere
#13:39:47berickbshum: those are just broken template errors
#13:39:57bshumBoo :(
#13:43:49berickbshum: searchbar.tt2, missing a closing %]
#13:43:58bericknone_label=l('All Formats');<br>
#13:51:07sfortin has quit IRC
#13:57:02graced_ has joined #evergreen
#13:59:02graced has quit IRC
#14:00:40graced has joined #evergreen
#14:02:31shopkins has quit IRC
#14:03:04graced_ has quit IRC
#14:17:50jamesrf has quit IRC
#14:18:15jamesrf has joined #evergreen
#14:24:23bshumOkay
#14:24:37bshumyeah, it has loc=1;loc=;
#14:24:43bshumIn the URL for a broken page
#14:27:56bshumIt actually only seems to break when I move the search sort from the end of that table row to a different row instead.
#14:28:02bshumFrom limited testing
#14:28:08graced has quit IRC
#14:28:19bshumMight also just be coincidence
#14:34:37graced has joined #evergreen
#14:38:55tsbere is having trouble deciding how to code a new WWW module >_>
#14:46:32dandrinkard has joined #evergreen
#14:47:13dandrinkard has left #evergreen
#15:06:33kmlussier_ has left #evergreen
#15:19:01bshumberick: Found the source of the template error, it was user error on our end. Someone modified a file using windows and it included a bad return character
#15:21:39denialsWINDOWS?
#15:22:24bshum:(
#15:23:25Dyrcona<cr><lf>
#15:23:42DyrconaHey, Bill! Teletype machines are dead!
#15:24:01Dyrcona had to maintain teletype software in the '90s.
#15:26:37tsbereDyrcona: Bill hasn't been significantly involved for a while now. Steve, maybe? :P
#15:26:53DyrconaSteve never wrote any code.....
#15:26:55tsberebshum: You should *only* give people access to edit those files via SSH. :P
#15:27:07bshumtsbere: Heh
#15:27:10DyrconaActually, I blame the guy that they bought QDOS from.....
#15:27:17bshumWell, they're using WinSCP I think to talk to the server files
#15:27:27bshumBut sometimes they forget they shouldn't edit them using that program
#15:27:36tsberebshum: So disable SCP/SFTP for their accounts. :P
#15:27:40bshumHeh
#15:27:51berick would be surprised if that caused any problems, apart from vim barking at you
#15:28:23Dyrconayeah... both <cr> and <lf> should be treated as whitespace in XML.
#15:29:25Dyrconaunless the file got converted to UTF-16 or had one of the funky unicode line feeds, but even then....
#15:29:33tsbereDyrcona: But Template Toolkit Templates aren't XML
#15:29:45berickI bet this someone repaired the actual syntax error (from the log) and didn't fess up ;)
#15:29:51Dyrconaoh.
#15:30:04Dyrcona was thinking of marc templates for some reason.
#15:30:58csharpHi all - general troubleshooting question here...
#15:31:45csharpwe have a library that is unable to start their staff client because it crashes with a JavaScript exception as it's loading, and the Debug Output button does not function for them
#15:32:43csharpthe debug console doesn't add output at the time of the crash either
#15:33:08csharpso we're kind of flying blind... any other way we can generate debug output to work with?
#15:33:46csharp is not sure how helpful the actual Evergreen error is going to be but is trying all he can for the customer :-/
#15:33:57tsberecsharp: Might be a bad profile. Start with -P command line option?
#15:34:19csharptsbere: -P just creates a new blank profile?
#15:34:21tsbereIf it crashes *before* you get a profile selector then something is wrong, reinstall. Otherwise the profile has an issue, maybe the prefs.js file is correct.
#15:34:34tsberecsharp: -P causes the profile selector to show up.
#15:34:38csharpgot it
#15:34:45tsberecsharp: From there you can make a blank profile, delete the existing, etc...
#15:36:40mrpeters-isltsbere: do you know if the VM i shared last week ever made it up anywhere?
#15:37:07tsberemrpeters-isl: It made it to the downloads folder. Beyond that, no clue.
#15:37:14mrpeters-islyeah, 10-4 i figured as much
#15:37:23mrpeters-islbshum: any chance you can update the downloads page?
#15:37:37tsbere probably *could* update the website at this point, but isn't sure he *wants* to ;)
#15:37:54mrpeters-islno worries, just as long as someone will
#15:37:57bshummrpeters-isl: I could update the page, what's up?
#15:38:06mrpeters-isli put together a new developer VM
#15:38:35mrpeters-islbased on master as of....umm...sometime last week
#15:39:17bshumAh okay
#15:39:21bshumI'll try to update it momentarily.
#15:39:30mrpeters-islTo enable you to get hands-on with the code as quickly as possible, the developer virtual image available from http://evergreen-ils.org/downloads/vm/EvergreenMasterSqueeze.ova is current with OpenSRF and Evergreen Master as of 2012-02-10.
#15:39:36bshumOr if you'd like, you can submit a patch change on the website and I can apply it for you later.
#15:39:48tsberemrpeters-isl: Wasn't sure if you were going to give me a new copy with that nice automatic update script I handed ya tweaked and such
#15:42:04mrpeters-islah, i havent had the chance to test it
#15:42:24mrpeters-islbut i committed to at least getting this up so i want to make sure it gets on the site while it's still somewhat fresh
#15:42:48mrpeters-isldoes anyone still have a server with the auto-complete enabled that we coudl use to demo it Thursday at a meeting?
#15:45:53tsberemrpeters-isl: I think you can just update your master install
#15:46:48hopkinsju has joined #evergreen
#15:47:03mrpeters-islyeah, i can...but time is not on my side so i thought id see if anyone had it live still
#15:47:30tsbereI would point you at my dev machine if it weren't horrible on whether or not it is usable ;)
#15:48:01mrpeters-islno worries...ill just have to find some time to get ot it
#15:48:13mrpeters-islah, its in regular master now eh?
#15:48:17mrpeters-islthat simplifies things big time
#15:48:58tsberemrpeters-isl: Went in yesterday
#15:49:04mrpeters-isl<#
#15:49:07mrpeters-isl<3 senator
#15:49:39tsberemrpeters-isl: You need some reingesting though >_>
#15:49:47mrpeters-islno worries, i only have a few hundred bibs
#15:50:43tsberewas more of a "you can't just update the code and have it work" note ;)
#15:51:04mrpeters-islthanks
#15:51:09mrpeters-islyou know me too well ;)
#15:51:32csharpis is possible for the auth timeout problem to be affected by low bandwidth? I'm trying to troubleshoot the complaints from some (but not all) libraries about random timeouts
#15:51:34mrpeters-islis there any documentation for that?
#15:51:54mrpeters-islor shall i just dig back at the commits for autosuggest
#15:52:01hopkinsjuDidn't I see someone talking about running 2.2 alpha1 on Ubuntu 11.10?
#15:52:42eeevilmrpeters-isl: the last commit, iirc, has a nice overview, and there's a new README as well, IIRC
#15:53:17tsberecsharp: Once you are authed it shouldn't be a problem....login time, maybe, but not after the authtoken is there
#15:53:35tsberecsharp: Although......if your memcache is filling up to capacity and things are being force-purged?
#15:53:42eeevilmrpeters-isl: yeah: http://git.evergreen-ils.org/?p=Evergreen.git;a=commitdiff;h=17e6420adc000b8a344519e4288d0d0cf09ae18a and http://git.evergreen-ils.org/?p=Evergreen.git;a=blob_plain;f=docs/TechRef/AutoSuggest/README;hb=17e6420adc000b8a344519e4288d0d0cf09ae18a
#15:53:59csharptsbere: how would I be able to see that in memcache?
#15:54:25tsberecsharp: You know, I can never remember. I know you can telnet to the port to get status info with the right commands, though. Google? ;)
#15:54:34csharp;-)
#15:54:57eeevilcsharp: http://code.google.com/p/memcached/wiki/Tools
#15:55:11csharpeeevil: excellent!
#15:55:15eeevilso, google is the answer on multiple levels ;)
#15:55:20csharpheh
#15:56:04mrpeters-islthank you eeevil
#15:58:49tsberecsharp: Also, thinking about it, at one point we had some "in seconds" things set as something other than seconds. You might want to double check the inactivity timeout OU settings as well as the defaults in the xml configs.
#16:00:22Meliss has quit IRC
#16:00:30csharptsbere: cool - thanks
#16:00:41tsberecsharp: For us it was, for example, the password reset timeout. We set it to "24 hours" and it got interpreted as "24 seconds" if I recall...
#16:00:51csharpmemcache-top verifies that memcache is not the issue, btw
#16:01:02csharpgood to know
#16:04:46mrpeters-islok, i apologize but i'm not seeing the command needed to reingest for autosuggest
#16:07:08tsberemrpeters-isl: I think the easy solution is to "SELECT reingest_metabib_field_entries(id) FROM biblio.record_entry" but I could be wrong.
#16:07:24tsbereAdd "where delete = false" and similiar limits if desired
#16:07:44tsbereor deleted, rather
#16:07:45tsbere<_<
#16:08:23mrpeters-islhmm no function matches the given name
#16:08:43tsbereOh, right. Schema. Add "metabib."
#16:09:03mrpeters-islSELECT metabib.reingest_metabib_field_entries(id) FROM biblio.record_entry;
#16:09:07mrpeters-islyeah, thanks
#16:10:41tsbere is not looking forward to the update he is told to make that feature work on....
#16:11:15mrpeters-islworried about performance?
#16:12:20tsbereperformance of what, the autosuggest feature itself?
#16:13:04mrpeters-islyeah
#16:13:09tsbereNot really
#16:13:11mrpeters-isljust curious what you arent looking forward to
#16:13:21tsbereWe have 916475 non-deleted bibs right now. <_<
#16:13:32mrpeters-islah, yeah we've got you way covered :)
#16:13:48mrpeters-islbut i see what you mean
#16:13:48bshumThe reingest script from 1.6-2.0 might be useful
#16:13:57tsbereI think my estimates put the reingest at 6 hours or so?
#16:13:57bshumSince that breaks it up into smaller chunks.
#16:14:53bshumThough the final vacuums would suck.
#16:14:54tsbere was thinking that he might write up a better way to reingest just what is needed before then, though
#16:15:52akilsdonk has quit IRC
#16:16:28tsberebasically grab the "browse_field" IF block out type deal
#16:17:01tsbereOh, and search_field too, I guess?
#16:17:09collum has quit IRC
#16:17:11tsbere hasn't fully examined it yet
#16:17:40tsbereNo, the search field stuff is already there. Just the browse field.
#16:19:16tsbereFor an initial populate it looks really easy to speed up, actually.
#16:25:31bshummrpeters-isl: For your virtual image, did you follow the same README style that denials had used previously? (users/passwords, etc.?) Or do you have your own accompanying documentation on how to use the virtual image?
#16:26:18bshumSeems better to update both links on the downloads page appropriately.
#16:40:23tsberemrpeters-isl: http://pastebin.com/gHf9cKf1 maybe?
#16:40:41tsbere pokes senator about http://pastebin.com/gHf9cKf1 too
#16:45:22senatortsbere: ok, almost didn't see your addition of 'where browse_field',
#16:45:57senatorand i would think you'd want to add DELETE FROM metabib.browse_entry_def_map WHERE source = bib_id; inside your outermost for loop to make it more reusable
#16:46:22senatorand i don't vouch that this is production-safe, but i would think it's certainly likely enough to work to try on a test system
#16:47:27tsberesenator: I wasn't intending for "reusable" - regular reingest operations should otherwise take care of it, right?
#16:48:18tsbere was intentionally avoiding deletes of data that should realistically *not be there* right after the update scripts that create the new tables and such were run
#16:48:35senatori suppose. i'm not considering all the circumstances where one may still want to avoid full reingest
#16:48:36tsbereand searches for data that might be, etc and so forth
#16:50:56tsberesenator: For that I would likely go for a modified reingest function that actually takes optional non-bibid parameters. Like an array of field entry ids that are used as a limiter if set and "skip_facets", "skip_browse", "skip_search" bools that default to false.
#16:51:38tsbereCreate new, drop existing. New one can then handle the calls for the existing one because only the bib_id is required, everything else can be skipped type deal.
#16:52:22senatorthat would doubtless prove a very handy tool for some
#16:53:32Dyrcona aliases osrf_clt.sh to osrf_ctl.sh :)
#16:53:48tsbereI think I have an exot alias ;)
#16:53:54wlayton has joined #evergreen
#16:55:08tsberesenator: And now I am piecing together how to modify the function as I stated. >_>
#17:04:20Shae has quit IRC
#17:08:33tsberesenator: Not 100% sure how to best deal with "just these field entries" - But I have "skip these parts" seemingly working: http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/enhance_reingest
#17:08:46tsbere did minimal testing, though
#17:12:43senatortsbere: nice. instead of dropping the old metabib.reingest_metabib_field_entry() function, wouldn't it be easier to keep it and have it simply call the newer version with false for the new parameters?
#17:12:53senatoroh
#17:13:02senatorn/m. i guess you have default false on the function args
#17:13:07senatorwhich i didn't know you could do
#17:17:11tsberesenator: I like doing this kind of thing with defaults rather than helper functions. <_<
#17:27:49Dyrcona has quit IRC
#17:44:37jenny1 has quit IRC
#18:10:38hopkinsju has quit IRC
#18:15:16sal_ has quit IRC
#18:32:12edoceo has joined #evergreen
#18:35:59graced has quit IRC
#18:41:35graced has joined #evergreen
#18:45:02hopkinsju has joined #evergreen
#19:31:43hopkinsju has quit IRC
#19:32:53wlayton has quit IRC
#20:11:42graced has quit IRC
#22:07:44tsbere_ has joined #evergreen
#22:08:47tsbere has quit IRC
#22:16:52luisb has quit IRC
#22:34:15tsbere_ is now known as tsbere
#23:03:13tsbere_ has joined #evergreen
#23:04:39finnx has quit IRC
#23:04:52tsbere has quit IRC
#23:32:57hopkinsju has joined #evergreen
< Monday, February 20th, 2012Raw Log FileWednesday, February 22nd, 2012 >