Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Tuesday, March 22nd, 2011

< Monday, March 21st, 2011Raw Log FileWednesday, March 23rd, 2011 >
#TimeNickMessage
#00:10:39KingNightWolf has quit IRC
#00:28:14KingNightWolf has joined #evergreen
#01:00:34KingNightWolf has quit IRC
#01:36:56pmplett has quit IRC
#02:00:21mayanks43 has joined #evergreen
#03:50:08AbhijitKane has joined #evergreen
#04:00:59drake01 has joined #evergreen
#04:05:22drake01 has quit IRC
#04:06:02drake01 has joined #evergreen
#04:07:29drake01 is now known as drake-
#04:07:34drake- is now known as drake_
#04:09:26drake_ has quit IRC
#04:21:49drake01 has joined #evergreen
#04:24:29drake01 has quit IRC
#04:26:22AbhijitKane has quit IRC
#04:27:27drake01 has joined #evergreen
#04:28:18drake01 has joined #evergreen
#04:29:06drake01 has joined #evergreen
#04:34:08mayanks43 has quit IRC
#04:37:57drake01 has joined #evergreen
#04:38:28drake01 has joined #evergreen
#04:40:51drake01 has quit IRC
#04:49:25Jbergy has joined #evergreen
#04:52:10drake01 has joined #evergreen
#04:53:19drake01__ has joined #evergreen
#04:54:01drake01 has quit IRC
#04:54:14AbhijitKane has joined #evergreen
#04:54:36drake01 has joined #evergreen
#04:56:21drake01__ has joined #evergreen
#04:56:22drake01 has quit IRC
#04:56:26drake01__ has quit IRC
#04:57:17drake01 has joined #evergreen
#04:59:05drake01 has joined #evergreen
#04:59:57drake01 has joined #evergreen
#05:01:30drake01 is now known as drake_
#05:04:04drake_ is now known as drake01_
#05:06:06drake01 has joined #evergreen
#05:07:06drake01 has quit IRC
#05:07:06drake01_ has quit IRC
#05:07:48drake01 has joined #evergreen
#05:08:12drake01 is now known as drake01_
#05:12:05drake01 has joined #evergreen
#05:13:01AbhijitKane has quit IRC
#05:14:18drake01__ has joined #evergreen
#05:16:10drake01_ has quit IRC
#05:16:10drake01 has quit IRC
#05:16:10drake01__ has quit IRC
#05:16:29drake01 has joined #evergreen
#05:18:35drake01__ has joined #evergreen
#05:29:34drake01__ has quit IRC
#05:29:34drake01 has quit IRC
#05:29:57drake01 has joined #evergreen
#05:42:09drake01 has quit IRC
#05:42:32drake01 has joined #evergreen
#05:46:03drake01 has quit IRC
#05:46:16drake01 has joined #evergreen
#06:02:44drake01 has quit IRC
#06:02:50drake01__ has joined #evergreen
#06:02:58drake01__ is now known as drake01
#06:12:55Jbergy has quit IRC
#06:21:41mayanks43 has joined #evergreen
#06:27:32drake01 has quit IRC
#06:27:55drake01 has joined #evergreen
#06:28:33drake01 has joined #evergreen
#06:36:48drake01 has quit IRC
#07:02:33mtisi has quit IRC
#07:03:11rickd_ has joined #evergreen
#07:21:49bshum has quit IRC
#07:27:42AbhijitKane has joined #evergreen
#07:38:58csharp@later tell dbs The Ubuntu 10.04 buildslave is all go, but the 8.04 buildslave failed when trying to install pyxmpp. I'm assuming this is a missing dependency... I'll try my best to troubleshoot, but may not get to it immediately ;-)
#07:38:58pinesol`csharp: The operation succeeded.
#07:56:43collum has joined #evergreen
#08:01:07AbhijitKane has quit IRC
#08:14:39AbhijitKane has joined #evergreen
#08:21:40isl-rjacksom has joined #evergreen
#08:26:19mayanks43 has quit IRC
#08:36:54KingNightWolf has joined #evergreen
#08:40:14mtisi has joined #evergreen
#08:42:39StephenGWills has joined #evergreen
#08:43:15jennam has quit IRC
#08:56:04dbs has joined #evergreen
#08:56:04dbs has joined #evergreen
#08:59:25sfortin has joined #evergreen
#09:04:39AbhijitKane has quit IRC
#09:05:06AbhijitKane has joined #evergreen
#09:06:15kmlussier has joined #evergreen
#09:07:44AbhijitKane has quit IRC
#09:08:35jasonb_ has joined #evergreen
#09:08:55jasonb_mrpeters: You called?
#09:10:16bshum has joined #evergreen
#09:13:54mrpeters-isljason - yeah
#09:15:19mrpeters-islguys - any thoughts on this error http://paste.lisp.org/display/120769 "message":"stat_cat is undefined", upon check in? the item(s) in question don't have any copy stat cat's associated...
#09:16:05mrpeters-islappears, at this time, to only impact check in - item statuses, etc. are able to be displayed ok
#09:16:51dbsmy thought is: "we need test cases for common operations in both in-db and scripted circ mode to catch this stuff before it goes live"
#09:17:04jasonb_Yes.
#09:18:15mrpeters-isldbs: don't disagree there - i'm, happy to donate our circ scripts
#09:18:18jasonb_Does xulrunner support external scripting? (I don't know a whole lot about it's capabilities) Just having a test srfsh script would catch some things, but possibly not everything.
#09:19:05mrpeters-islalso soundsl ike our grace day isn't working :(
#09:19:16mrpeters-islso i think our legacy scripts may be really borked
#09:19:46dbsjasonb_: yes, there are frameworks for exercising xulrunner - mozilla has automated tests via mozmill for example
#09:21:36csharp works on test cases for 1.6.1.7
#09:22:00bshumlegacy circ scripts, boo... :(
#09:22:21csharpwe're going live on 1.6 with legacy scripts, for continuity's sake
#09:22:34csharp hopes that works
#09:23:06mrpeters-islwe didn't have any problems there schapr
#09:23:10mrpeters-isl*csharp
#09:23:18tsberemrpeters-isl: grace day? As in grace period? As in the thing we recently found was borked at checkin?
#09:23:21csharpmrpeters-isl: good!
#09:24:00mrpeters-isltsbere: item checked in yesterday, 25 cent fine was charged - library expects no fine since we give 1 grace day
#09:24:08mrpeters-islif it's not back at the end of the second dya, then we charge for both days
#09:24:52tsberemrpeters-isl: What version you running currently?
#09:25:58mrpeters-islESI just upgraded us to 2.0.4
#09:26:01mrpeters-isljust came online this morning
#09:28:03tsbereThat should have the fine generator for daily grace period fix.
#09:28:43mrpeters-islleed: any thoughts on that?
#09:28:57tsbereThough I don't know if it works for backdating
#09:34:09mrpeters-islok - we'll get ESI involved
#09:35:13dbwellsmrpeters-isl: if you were on a version before 2.0.4 when you checked in the item yesterday, then yes, it was broken. The fix is only in the aborted 2.0.3 and 2.0.4.
#09:37:00lisppastedbwells pasted "QueryParser,pm, honor active flag" at http://paste.lisp.org/display/120771
#09:38:51mrpeters-islwe weren't
#09:39:00mrpeters-islthis item was checked in via offline mode just recently
#09:39:59dbwellseeevil: just pasted a small bug fix for QueryParser.pm to get it to honor the 'active' flag in search.relevance_adjustment. I think it is straightforward, but wanted to give you chance for feedback on it before I commit.
#09:42:05dbwellsmrpeters-isl: alright, thanks. We just came up on 2.0.4 on Saturday, so I'll be hearing about this soon if the fix didn't work as intended.
#09:42:47mrpeters-isl10-4
#09:42:52jenny has joined #evergreen
#09:49:44jasonb_ is now known as jasonb_AFK
#09:52:39gmcharltmrpeters-isl: by the way, the code that is throwing the error you're seeing is dealing with user stat cats, not copy stat cats
#09:56:50mrpeters-islgmcharlt: interesting i was thinking a check-in wouldn't touch user stat cat
#09:58:51dbsgmcharlt: I'd be interested in knowing how you sorted that out; JSAN always feels like it's in the way.
#09:59:40dbsmrpeters-isl: perhaps for printing hold slips
#09:59:41gmcharltmrpeters-isl: the code in question is gathering patron stat cats for printing on the hold shelf slip
#10:00:28mrpeters-islah right
#10:00:31gmcharltdbs: I keyed on the checkin_callback string; the line numbers in the trace actually refer to circ/util.js
#10:00:53dbsgmcharlt: yeah, that was how I arrived there too
#10:01:27adbowling-isl has joined #evergreen
#10:02:21mrpeters-islmaybe the %hold_for_msg% macro is the case?
#10:02:29mrpeters-isli don't see any stat cat info in the reciept
#10:03:54tsberemrpeters-isl: It collects it even if it never uses it
#10:04:08tsbereBecause technically it does a replace on %var% regardless
#10:04:16tsbereEven if %var% never appears
#10:07:05mrpeters-isl10-4
#10:09:47jennam has joined #evergreen
#10:09:55jennam has quit IRC
#10:09:55jennam has joined #evergreen
#10:17:47mrpeters-islshouldn't ln -s /openils/var/web/opac/skin/default /openils/var/web/opac/skin/craftsman be sufficent to send all requests to the craftsman skin back to the default?
#10:18:05gmcharltdbs: so it just looks like it's a matter of figuring out how to fix the incorrect filenames in the stack trace
#10:22:11eeevilmrpeters-isl: it should be, but client-side caching may cause issues
#10:24:32jenny has quit IRC
#10:24:59jasonb_AFK has quit IRC
#10:26:33eeevildbwells: looks good to me
#10:29:29mrpeters-isleeevil: yeah, seems to be a 403 denial...not worth screwnig with right now
#10:29:46mrpeters-islmaybe apache isn't following symlinks and i don't want to bother with it - we warned people it'd no longer be available
#10:29:47eeevilmrpeters-isl: ahh.. follow symlinks on?
#10:30:04jenny has joined #evergreen
#10:30:09mrpeters-isl^^ not sure - don't want to restart apache on 5 servers with all of the other stuff we have brewing
#10:34:16mrpeters-isl<Directory /openils/var/web> Options FollowSymLinks should do it, right?
#10:34:25eeevilmrpeters-isl: understood ... fwiw, I am having to forcibly clear my cache to get everything happy in some cases
#10:34:35mrpeters-islok
#10:34:47eeevilhrm... not certain that you won't need more specific Dir ...
#10:35:30mrpeters-islhmm
#10:36:25atheosmrpeters-isl, just drop an index file into /openils/var/web/opac/skin/craftsman that says "update your links dummy!"
#10:36:37mrpeters-islhaha
#10:36:48atheosor something more professional
#10:37:07mrpeters-islby the time i get to it, everyone will have figured it out haha
#10:37:35mrpeters-islcould probably make index.xml redirect too
#10:38:17jennam has quit IRC
#10:43:16eeevilmrpeters-isl: might be easiest to rewrite the url
#10:43:49eeevilsomething like (.+)/craftsman/(.+) $1/default/$2
#10:44:10jennam has joined #evergreen
#10:44:24jennam has joined #evergreen
#10:45:01dbwellsSince migrating to 2.0 on Saturday, we have discovered a pretty significant bottleneck in the 2.0 search plan. This might be better list fodder, but I thought I would throw it out here first for initial reactions. Basically, the penalty for running naco_normalize() over the .value column can be very severe for lengthy records.
#10:45:08adbowling-isl has quit IRC
#10:45:41dbwellsIn the default config, naco_normalize() runs over .value for the 'word_order' bump.
#10:46:51eeevildbwells: might want to check that search results are qualitatively ok without the rel bumps
#10:47:01dbwellsIn an actual case in our catalog, a keyword search for 'united states' took 19 seconds with naco_normalize() removed, and 3:17 with the normalize in place.
#10:47:31dbsdbwells: yay for digging through search performance!
#10:48:43mrpeters-isl"Also, she has to scroll to the side to get to 'more actions'. Is this new version formatted to wide screen monitors?" -- really? yeah, we just decided to make everyone buy new screens...
#10:48:55mrpeters-isl is sorry, needed to vent
#10:49:24dbwellsI haven't been able to do any real qualitative comparisons, but at this point we don't really have a choice but to leave the 'word_order' bump off.
#10:49:24eeevildbwells: 2.1/trunk includes a change to use rank_cd, which removes the need for rel adjustments for the most part, which might be enough to correct any regression in ordering caused by removing the rel adjustments
#10:49:31phasefxmore testing greatly appreciated before production use :)
#10:50:07dbwellseeevil: thank you for the information. I was going to ask if any testing had been done with rank vs rank_cd.
#10:50:08mrpeters-islphasefx: you know how that goes...
#10:50:23mrpeters-islwe've had a test server up for people since beta 1 - no one used it, apparently
#10:50:26phasefxmrpeters-isl: sadly, I do
#10:50:39bshum sympathizes with mrpeters-isl
#10:50:54phasefxbut the community is getting bigger, we'll catch more of these sooner as time goes on
#10:51:04mrpeters-islagreed!
#10:51:18mrpeters-islif it's valid (doesn't appear so here, though) i'll file a bug
#10:51:19eeevildbwells: rank_cd used to be much slower than rank. it's less so now, and faster than rank+rel_adj. also, 2.1/trunk supports QP modifiers to set the algo(s) used
#10:51:32mrpeters-isli don't have all that big of a screen and i'm not seeing the same thing - maybe it's a font setting pushing things around
#10:52:06eeevilmrpeters-isl: set the res to 640x480 and use 22pt monospace fonts ... ;)
#10:53:36bshumScreen size does make a difference in certain administrative interfaces.
#10:53:42dbsphasefx: and/or given sample sets of data and automated tests, we can see when response time for the same search with the same data goes from 20 seconds to 3 minutes
#10:53:49bshumAnd in Item Status for the alternate view
#10:54:12dbsbshum: for sure - and for columns that are scoped to be as wide as the longest entry in a drop-down list, etc
#10:54:30bshumdbs: Oh sure, bring *that* one back up...
#10:54:58bshumOn the plus side, it gave me the leverage I needed to explain why I thought certain copy locations were named too lengthy.
#10:55:44eeevilas a side note, there are probably optimizations that can be applied to many of the plperl SPs, particularly in the area of regexp ... they've grown large and complicated, so time spent there would be worth-while, IMO, if someone wanted to add eyes to them
#10:56:11mrpeters-islyikes
#10:56:14mrpeters-isl19621
#10:56:14mrpeters-islThis is what I DID:
#10:56:14mrpeters-islWe lost the cursor during check out.
#10:56:25phasefxdbs: I'm all for that. Maybe folks can collectively fund some fulltime QA if we make enough of a case for it
#10:56:41mrpeters-islwhat does that even mean?
#10:56:44dbsphasefx: GSoC will fund test case development as well
#10:56:50tsbereSide note for people with pre-2.1 and post-2.1 clients in the future: A good indicator of "they are still running the old staff client" is "They still have an 'About this client' button". Have run into that today.
#10:57:35dbsdbwells: how did you determine that naco_normalize() was a bottleneck - just reading the code and trying variations with and without? or were you able to break down the search and have it report how long each section was taking?
#10:57:37phasefx crosses fingers for GSoC
#10:59:07mrpeters-islahaha oh good god that "nuclear siren" just scared the crap out of me
#11:00:52phasefxwe used to have some cowbell
#11:01:02phasefxand a scream
#11:01:09mrpeters-isli usually don't have headphoens in, it spooked me
#11:02:46bshummrpeters-isl: Hmm, what about in holdings maintenance, I'm seeing that sometimes if the staff client isn't maximized, that interface can render strangely cutting off the right side of the screen. There's a scrollbar along the bottom, of course
#11:03:03dbwellsdbs: yeah, nothing high-tech, once I had the slow query isolated, I just tried a few hunches until I boiled it down.
#11:03:22mrpeters-islbshum: just ahd someone tell me they couldnt find that button - i wonder if that's it
#11:03:27mrpeters-islmaybe they're not scrolling
#11:03:33dbsdbwells: okay, cool. I always hope that there's a magic time-saving technique to adopt :)
#11:03:37bshumYeah, it wasn't immediately obvious to my eyes
#11:03:39dbsdbwells++
#11:04:27mrpeters-isli dont know though....i'm making my window small and actions for this record always stays right on there
#11:04:37bshumFor this record, sure
#11:04:45bshumFor the sub display though
#11:05:03bshumThere's two "Actions for this..." in that interface
#11:06:15bshumYeah, the "Actions for the selected rows" button, that's part of the holdings maintenance area
#11:06:18bshumAnd that
#11:06:28bshumseems to be a separate piece from the record portion
#11:08:04bshumThat, and the columns of holdings maintenance seem to prefer a set width, and that's why it doesn't always show up, unless you scroll right to find it.
#11:09:05bshumI'll ask some others here to test that behavior.
#11:09:21bshumTo see what it looks like on a Windows machine, could just be my own laptop :)
#11:09:49csharpwhere would the courier codes live in the /openils tree - does anyone know?
#11:10:29bshumcsharp: Isn't that a library setting now? Or wait, scripted...
#11:10:57csharpbshum: well, I'm in 1.4, but maybe they are in the DB
#11:11:00csharp looks
#11:12:54csharparg - no luck
#11:13:14bshumAh, no
#11:13:23bshumThey weren't added as a library setting till like... I want to say 1.6.1
#11:13:32bshumCause we didn't see that in our first 1.6.0
#11:13:34b_bonner has joined #evergreen
#11:13:55csharpbshum: they were added for PINES in late 2009 I think
#11:14:00csharpmaybe early 2010
#11:14:09csharpso that would be post-1.6.0
#11:14:25bshummrpeters-isl: Tested that smaller screen stuff with a non-maximized staff client on a windows machine and observed similar behavior with holdings maintenance.
#11:14:54dbsphasefx: those tests for object.ilsevent look a bit redundant, as (foo != null) and (foo != 0) also mean (foo !== '')
#11:15:04bshummrpeters-isl: As a fun side note, apparently if you shrink your staff client view smaller than the width of the button bar, it adds another scroll bar to the bottom of the whole shebang to scroll farther to the right to see your buttons.
#11:15:31bshummrpeters-isl: Oh right, you guys don't actively use buttons right?
#11:15:32dbsphasefx: maybe you want "if (object.ilsevent === '')" ?
#11:16:03dbs(and !== for your other operators)
#11:16:21bshumcsharp: Hmm, then I'm not too sure on that one.
#11:16:28phasefxdbs: we may want to not have such events in the first place. senator is poking at that angle
#11:17:37dbssure, that's an option. I'm trying to avoid the type-coercing operator confusion angle :)
#11:18:29phasefxyeah. I still remember when things changed from being 0 to '0'
#11:18:39mrpeters-isldont think so bshum
#11:18:40phasefxby whatever JSON conversions where happening
#11:19:17phasefxdbs: lots of tests littered about that could be changed.. stuff trying Number() this, etc.
#11:19:56bshumcsharp: http://ur1.ca/3mmqn
#11:20:28bshumcsharp: Am I thinking of the wrong thing?
#11:22:04csharpbshum: that's it - I found it
#11:22:07csharpbshum: thanks
#11:22:38dbsheh, I seen senator pointed out the same thing as me :0
#11:22:49AbhijitKane has joined #evergreen
#11:24:38senatorover here in the silo i share with phasefx. heh my bad.
#11:25:11senatorso i'm working under the theory that nothing should be returning OpenILS::Event objects that look like that anyway (with ilsevent set to '')
#11:25:16senatorsilly question:
#11:25:53senatorhow do i duplicate the situation that led to this and give a patron a "circ and renew" block?
#11:26:11senatordoes that just result from situations like max fines, or is it something else (set manually for a patron)?
#11:28:27AbhijitKane has quit IRC
#11:28:38sergey_ has joined #evergreen
#11:31:17senatorah found it out (patron -> messages -> apply standing penalty/message)
#11:33:29dbwellsI didn't track the changes too closely as they happened, but I am wondering what we gained by storing the metabib.*_field_entry.value in a non-normalized form. That used to be normalized in 1.6, right?
#11:41:19dbsIn theory, the index_vector should be doing the heavy lifting on normalization for us
#11:42:46jcpl-jasonb has joined #evergreen
#11:45:26Meliss has joined #evergreen
#11:50:11tsbereSo, apparently cloned rows (at least by dojo) aren't getting the required attribute. :(
#11:50:27tsbereSpecifically in patron registration context
#11:53:13tsbereLooks to be a simple "add three lines to register.js" fix, though.
#12:01:53tsberephasefx/eeevil: My "clonesuggested" branch (on git://git.mvlcstaff.org/tsbere/ILS repo) has a 3 line fix for stat cats and surveys (surveys part untested) to make them actually show up when in "suggested" mode on the patron registration screen. Care to take a look?
#12:06:04AbhijitKane has joined #evergreen
#12:08:51gmcharltdbs: do any easy bugfixes or tiny enhancements come to mind that involve Dojo?
#12:09:23gmcharltI'm realizing that next time we do GSoC, we should also set up a EG-janitor's page or something for microprojects for applicants to work on during the applicaiton period
#12:09:49dbsgmcharlt: rewrite the "Add a new bookbag" dialog from the IE-soul-crushing native JS dialog to a Dojo dialog
#12:10:09gmcharltdbs++
#12:10:14dbsgmcharlt: hell, we should have that EG-janitor's page (or just bugs tagged as such?) all the time
#12:10:30moodaepoDo we need to run reingest after upgrading from 2.0.3 to 2.0.4? We did need to do this when upgrading to 2.0.3 since there were index def changes.
#12:10:32tsberegmcharlt: I do believe there is a "make autofieldwidget cache the format.date setting for when used multiple times on the same page". Preferably in a generic way that supports other such settings?
#12:10:45mrpeters-islany documentation on the new "floating" feature in the copy editor?
#12:10:53mrpeters-islor just a quickie explanation of what it is/does
#12:13:09bshumPeople have explained that floating items don't necessarily return "home" but stay at wherever they're checked in.
#12:13:24bshumI haven't really gotten the full story on how that works with consortia though
#12:13:40mrpeters-islok, so if something was transited out, instead of going home after returned it just stays at the library that returned it?
#12:13:53mrpeters-islyikes - i need to set up a way to keep that OFF and don't let anyone turn it on by accident
#12:13:57mrpeters-islis there a global setting
#12:13:57bshumI think that's how it works in theory. Never practiced it.
#12:15:26mrpeters-isl is really afraid of someone turning that on, then complaining that the item never came home...
#12:15:45moodaepobshum: I presume you have upgraded your 2.0.3 to 2.0.4 do you know if reingest is really required? I'd like to take that out of the upgrade notes if we don't need to do that step (quite time consuming).
#12:15:56bshummoodaepo: Unfortunately you presume incorrectly :S
#12:16:32moodaepoHah hey you have more important things to take care of so no worries!
#12:16:33bshumWe're still hanging out at 2.0.1 db (more or less with some minor replaced functions)
#12:17:08bshumUpgrading and maintaining our web/xul changes is turning into a crazy nightmare.
#12:17:20bshumWe're looking to learn version control approaches for that.
#12:18:00tsberebshum: I recommend git in that case. Really easy to move changes across branches.
#12:18:01mrpeters-islgit
#12:18:08mrpeters-isl^^
#12:18:17bshummrpeters-isl: Floating is a field on the copy itself, I think. You can always hide that from the item editor screen.
#12:18:31bshummrpeters-isl: That would prevent someone from creating an item with floating = true
#12:18:33mrpeters-islalways end up hand patching, but at least we have record of what to change
#12:18:41mrpeters-islthat'd be server side xul then?
#12:18:46bshumYes.
#12:18:55bshumWe didn't remove that field from ours, but we might yet.
#12:19:00mrpeters-islhmm will wait for a potentially better solution
#12:19:08mrpeters-islbut that might be our best option
#12:19:14bshumIt's the most immediate.
#12:19:19mrpeters-isla little weary about doing surgery on something i don't know a lot about
#12:19:22bshumI don't see any library settings or global to control that behavior.
#12:19:25dbsWe really should adopt Fossil instead of git. Why distribute only code, when you could also distribute your wiki and bug tracking system all at once?
#12:19:27mrpeters-islyeah i need to get rid of it before someone finds it and decides to play
#12:20:21dbsmrpeters-isl: or run a SQL script that periodically sets floating back to false for all items where floating is true
#12:20:30mrpeters-islthat was my initial thought
#12:20:43mrpeters-islbut i like bshum's idea of removing it...otu of sight out of mind
#12:21:04bshumThat was always our opinion on taking care of fields we didn't want our librarians worrying about.
#12:22:18mrpeters-islbshum: still snowed in? got some time to work with me on this since we may both need it?
#12:22:46mrpeters-islstarted in copy_editor.xul, but nothing about "float" that i can see
#12:23:07phasefxmrpeters-isl: use the dom inspector, find out the 'id' given to the element you want to hide (and try using the dom inspector to add/remove styles until you know exactly what you want). Then use custom.css to hide the widget based on the id
#12:24:55phasefxsadly, the id's in that interface are based on localized strings, so this method isn't robust
#12:25:17phasefxgroupbox_Floating? is probably what you want to hide
#12:25:35mrpeters-islshould we not go the css route then?
#12:25:47mrpeters-isli dont think we're using any translations here...ive not seen anyone doing so
#12:26:05phasefxit'll work until you have someone switch to a french locale :)
#12:26:10mrpeters-islhehe
#12:26:16jcpl-jasonbIf you wanted to be particularly tricky, you could just change both the True and False selections to only ever return false.
#12:26:38mrpeters-islhaha now jason, you know that would just make people ask why they can't make it true :)
#12:26:49phasefxmrpeters-isl: long term, we should rework that interface to use better id's (based on the IDL)
#12:26:55jcpl-jasonbHandwaving and permissions, of c ourse.
#12:27:01mrpeters-islheh
#12:27:08gmcharltbut on the whole, I recommend using custom.css when possible; the fewer changes you have to make to the underlying xul templates, the easier it is to upgrade
#12:27:34mrpeters-islexample of this anywhere?
#12:28:24mrpeters-islassuming we want to touch /openils/common/var/web/xul/rel_2_0_4/server/skin/cat_custom.css ?
#12:28:29phasefxuse server/skin/cat_custom.css, and inside there.. ah, I'm not up on my CSS selectors. something for id, maybe #groupbox_Floating? { display: none }
#12:28:30atheoswell, something changes with our gateway API moving to 2.0.4 , anyone have a guess as to why this won't return anything? https://208.119.1.2/osrf-gateway-v1?method=open-ils.actor.user.transactions.history.have_balance&service=open-ils.actor&param="removed"&param="4"
#12:28:36atheoschanges/changed
#12:30:42phasefxmrpeters-isl: and it's still just a kludge; if folks were deadset on mayhem, they could hack their clients, hack exported/imported item attribute templates, etc. We'd probably want some server-side setting to control that feature long-term, if there isn't already one (I don't know)
#12:31:32bshummrpeters-isl: phasefx's approach is much more elegant than ours, we hacked the file directly.
#12:31:49phasefxbut, for the most part, I say trust your staff not to go to such lengths to wreak havoc :-) once you've hidden it in the UI
#12:31:49mrpeters-islok - ill try and play around with the css
#12:33:31mrpeters-islno dice on the #groupbox_Floating? { display: none } in cat_custom.css -- unless it requires an apache reload or something to see the custom css
#12:34:17phasefxlook up CSS selectors, find out what the actual CSS should be for selecting on id
#12:34:57phasefxit may be that question marks aren't valid for use in id's with CSS
#12:35:31mrpeters-islThe following ID selector matches the H1 element whose ID attribute has the value "chapter1": h1#chapter1 { text-align: center }
#12:35:41mrpeters-islseems like yours would have worked then
#12:41:33tsbereLooks like ? isn't valid in a css name?
#12:42:11mrpeters-islcrap
#12:42:45mrpeters-islso that groupbox should probably renamed to groupbox_Floating
#12:45:51senator[id^=groupbox_Floating] { display: none; }
#12:45:58senatoryou'd probably get away with that
#12:46:17senatorit means, "id starts with groupbox_Floating"
#12:46:38senatorit could theoretically match additional dom elements you don't want to hide, but unlikely
#12:46:41phasefxmrpeters-isl: you could rename it in lang.dtd.. still better than editing xul files
#12:46:53phasefx likes senator's idea better
#12:47:30tsberePotential issue: If the parser isn't assigning the ID at all due to an invalid character?
#12:48:04mrpeters-islsenator: will try
#12:48:24dbsyeesh, i18n ids - there's a completely unintended consequence
#12:49:11mrpeters-islawesome that worked, thanks senator
#12:49:25bshumsenator++
#12:49:26senatorno prob
#12:49:57finnapz2 has joined #evergreen
#12:50:21bshumDoes the custom_cat.css file remain over upgrades? Or is that another thing we have to keep track of? It's just there to be "custom"
#12:51:22bshumNvm, that's a silly question, I think I reasoned it out in my own mind
#12:52:16phasefxtsbere: I don't think the id gets used for anything other as a hook for CSS
#12:52:49phasefxwasn't lang.dtd, but cat.properties, most like, so cat_custom.properties if that CSS hadn't worked
#12:59:02bshumAre there any adverse reactions that occur if we change hours of operation for a library to change them from being closed to open during certain parts of the year?
#12:59:25bshumAlternatively, we assume that we could also enter closed day entries for that, but that seemed like alot of dates to enter.
#12:59:29gmcharltdbs: I'll be using 'bitesize' as a tag for trivial bugs that useful for newbies to look at
#13:00:08jcpl-jasonb has quit IRC
#13:00:15dbsberick: am I right in thinking the csedit.py is the only place where we currently instantiate IDL definitions as Python objects? Trying to do some gateway requests and thought there would be something built into idl.py to generate to/from JSON list for a single IDL def
#13:00:35dbss/Python objects/Python class definitions/
#13:01:22jcpl-jasonb has joined #evergreen
#13:01:36dbsgmcharlt: excellent
#13:06:50brian_f has joined #evergreen
#13:08:11mrpeters-islany thoughts on how to "unclog" a hung offline processing? library reports its been stuck for a few hours...i can confirm
#13:12:02jcpl-jasonb has quit IRC
#13:13:57gmcharltmrpeters-isl: check to see if there's a offline.pl process still running
#13:15:33mrpeters-islnope :(
#13:16:10mrpeters-islchecked each brick and drone - none
#13:16:43mrpeters-islfiles in the pending directory for that org unit haven't been modified since about 10AM either
#13:17:10AbhijitKane has quit IRC
#13:18:31dbsberick: I guess, given the array of IDLField instances generated for a given IDLClass in idl.py, one could fairly easy create a method to convert properties to array positions using the .position property
#13:22:07dbsgmcharlt: http://ur1.ca/3mnsq may all be bitesize candidates; also note that 499499 is a dupe of your recently opened bug, but perhaps we can let the gsoc candidates determine that :)
#13:23:08gmcharltdbs: agreed, they're all good candidates, though we should probably apologize for tossing a lot of IE-related bugs their way ;)
#13:23:34dbs"Isn't that fixed by Google Chrome Frame?"
#13:24:17gmcharltdbs: as far as 499499 is concerned, oddly, I didn't run into a failure as described in the bug
#13:24:26berickdbs: i'm not following what your're asking, exactly. to_json will turn IDL-based objects into the correct array-based json object.
#13:24:35shopkins has joined #evergreen
#13:27:06mrpeters-islphasefx: another similar question - in the credit card payment xul - is tehre a way to make "process external payment" the only selectable option/
#13:27:18dbsberick: maybe I've been looking too hard and need to relax. I was expecting something along the lines of JavaScript's 'foo = new acn(); acn.label('1234'); gateway_request('service', 'method', arg1, arg2, acn);'
#13:27:19mrpeters-islwe do NOT want someone entering a credit card, thinking they're making payments
#13:28:35dbssounds like acn = oils.utils.idl.IDLParser.get_class('acn') / acn.label = '1234' / request('service', 'method', arg1, arg2, acn.to_json()) is the rough equivalent?
#13:30:17berickdbs: such a thing exists. sec..
#13:30:26dbsalso, acn may be returned from a previous gateway request rather than created wholecloth; presumably there's a way to parse the response to autovivify the acn instance rather than poking through the class hint manually
#13:30:33dbsberick: super
#13:31:31jennam has quit IRC
#13:32:09AbhijitKane has joined #evergreen
#13:33:34jcpl-jasonb has joined #evergreen
#13:38:23jcpl-jasonb has quit IRC
#13:38:29csharpso... what effect, if any, would commenting out the "main.menu.acq" entry in /build/chrome/content/main/menu_frame_overlay.xul have on staff client performance?
#13:39:37csharpAcquisitions is a touchy subject in PINES and we think suppressing the "Preview" menu (1.6.1.7/8) will be politically desirable ;-)
#13:39:54dbsah, hmm - osrf.net_obj appears to be critical
#13:40:13lisppasteberick pasted "python dbs" at http://paste.lisp.org/display/120780
#13:40:15dbs was expecting all of the OO stuff to be over in Evergreen land
#13:40:45gmcharltcsharp: would be no effect on staff client performance
#13:40:49dbsheh, nice timing berick - thanks!
#13:41:45csharpgmcharlt: thanks gmcharlt - that's good news!
#13:42:02berickdbs: I had probs w/ that last echo command, but i'm not sure why
#13:42:03csharpof course that means we have to package our own SC, but we can live with that
#13:42:19dbsgmcharlt: cutting out the rendering time for that menu might save microseconds over the course of a year!
#13:42:26csharpdbs: heh
#13:42:44berickit should in theory work, and i'm pretty sure constrictor is testing reading encoded json objs from the network, but I could be wrong
#13:43:00gmcharltdbs: indeed. I'll await the check for $0.02 for all of the staff time saved!
#13:43:40gmcharltthat is, unless csharp and I have to thumb wrestle for it
#13:43:48dbsberick: yeah, i was using constrictor as a rough guide for putting together a sample script that has a nice balance between abstraction and it_just_works
#13:43:50csharpgmcharlt: you're on!
#13:45:02dbsberick: trying to help artunit and gfawcett get away from the hardcoded array indexes in the likes of http://svn.open-ils.org/trac/ILS-Contrib/changeset/1272
#13:46:06dbsdamn, totally glazed over the osrf.net_obj.register_hint() call inside idl.py - that would have helped, dbs
#13:46:09berickyeah, that's long-term pain for sure
#13:46:50sergey_ has quit IRC
#13:49:22phasefxAbhijitKane: how are you attempting to check things out with subversion?
#13:49:47dbsgmcharlt: fwiw, that dialog bug might have been an IE6-only issue. bad dbs for not specifying what version he was testing with in the bug report
#13:50:13AbhijitKaneim using TortoiseSVN, I'm getting a "server failed to respond in time" error
#13:50:20gmcharltdbs: or some variation on IE's "security" settings
#13:50:44dbsgmcharlt: yep, that's quite possible too
#13:51:54phasefxAbhijitKane: haven't used TortoiseSVN in a long time; is it trying to check out everything? You may want to restrict it to trunk
#13:52:27mrpeters-islAbhijitKane: i get that often, yo just have to keep "checking out" until it finishes
#13:53:07dbsalternatively, install a Linux distro and run from the command line
#13:54:13phasefx stopped using tortoiseSVN when building the client in cygwin started depending on autotools. May be possible, but I'm pain-adverse :)
#13:55:03mrpeters-isl so using the dom inspector in trying to get the credit card payment default to "process externally" and i can see that the dropdown is "menulist id = where process" -- but i can't seem to find where to remove the "process through evergreen" option
#13:55:15AbhijitKane<phasefx>: I'm just trying to checkout trunk
#13:55:37mrpeters-islthis is bill_cc_info.xul - btw
#13:57:24mrpeters-islcan this be accomplished with the same id hiding?
#13:57:35phasefxmrpeters-isl: it seems like that those values might be supplied by the database?
#13:58:23phasefxthere's no id on the menuitems (keep digging into the menulist, and you'll see a menupopup with menuitems), but you _could_ select on the value attributes
#13:58:50mrpeters-islah yeah i see the value 1 and 2
#13:59:09phasefxAbhijitKane: let us know if mrpeters-isl's advice on just repeating the process doesn't work. Alternately, you may need to switch tools, or ask the tortoiseSVN community what's up
#14:02:36phasefxmrpeters-isl: so it's not db-supplied, but hardcoded in the xul. should still be selectable by CSS, but more care will be needed. value is a common attribute, and 2 a common value, so you don't want to affect other parts of the client. You may want to specify id="where_process" and then subselect on descendants with value=2
#14:03:12phasefx needs to get away from IRC for a while *waves*
#14:03:25mrpeters-islyeah, this is a bit out of my expertise
#14:03:25mrpeters-islcrap
#14:03:50mrpeters-islwe've got to get rid of this credit card stuff...cant have people entering CC payments, but we need people to be able to record external payments like they could in 1.6
#14:04:22phasefxcould edit the xul as a stop-gap, come up with something more upgrade friendly later
#14:04:50mrpeters-islnot sure i'm seeing where to take it out there, even
#14:06:18mrpeters-isljust removing the menu item enough?
#14:06:25mrpeters-isl <menuitem label="&staff.patron.bill_cc_info.process_int.label;" value="1"/>
#14:09:26lisppasteberick pasted "working python for dbs" at http://paste.lisp.org/display/120783
#14:09:57berickdbs: my original test was using the legacy gateway.. so json parsing failed (as it should)
#14:10:04gmcharltberick: there should be a newline in the middle of the last line, I assume?
#14:10:23berickgmcharlt: yes indeed
#14:10:25berickthanks
#14:10:25dbsthanks berick
#14:12:16AbhijitKane has quit IRC
#14:17:35suho has joined #evergreen
#14:33:00suhohi dbs
#14:33:14dbshi suho
#14:33:38suhoafter bit of trouble I was able to download the image :)
#14:33:49parsr has joined #evergreen
#14:34:57suhoI'm following this guide line
#14:34:59suhohttp://evergreen-ils.org/~denials/README-Evergreen_trunk_2011_03_19_Squeeze
#14:35:35dbsOkay - did you see my message on the mailing list about the image filename?
#14:36:07suhoyes that was very helpful
#14:36:30suhoI was able to load the image and start that
#14:37:15suhonow i have also done with the "Starting Evergreen" section in the read me
#14:38:08suhoI was also able to successfully start the evergreen desktop client
#14:39:06suhobut when I enter "localhost" to the server host name I'm getting a ..
#14:40:18suho443 : uses an invalid security certificate .. error
#14:41:21gmcharltsuho: try using the add SSL exception button in the staff client
#14:41:56suho:)
#14:42:40suhohow did I miss that !
#14:42:50suhogmcharlt, thanks
#14:43:09gmcharltno problem
#14:43:15KingNightWolf has quit IRC
#14:51:16dbssuho: you have fresh eyes, those are valuable to us
#14:51:29dbsI'll try to remember to update the README accordingly
#14:52:06audiodevelop has joined #evergreen
#14:55:52nehiljain__ has joined #evergreen
#14:57:09nehiljain__ has quit IRC
#14:57:16jenny has quit IRC
#15:05:24suhodbs, great
#15:05:50suhoalso in the read me it states ,
#15:05:52suhoxulrunner-1.9 xul/staff_client/build/application.ini
#15:06:07adbowling-isl has joined #evergreen
#15:06:21suhobut the xulrunner in the image is xulrunner-1.9.1
#15:06:58dbssuho: ah, right on - will fix that too! I'm so used to typing "xul<TAB>" that I don't even see the numbers anymore
#15:07:14phasefxand for the dev vm, probably want 1.9.2, if it's available
#15:08:04phasefxof course, the client Makefile itself can grab that
#15:10:03audiodevelop has left #evergreen
#15:10:40dbsphasefx: I'm just using what's there
#15:11:33phasefxas long as it's not 1.8, can't really complain
#15:16:12LBA has quit IRC
#15:17:41LBA has joined #evergreen
#15:18:06tsberephasefx: I dunno. I think we need to say "as long as it is 1.9 series" as 2.0 isn't 1.8, but is likely to not work at all.
#15:18:24phasefxtsbere: true that
#15:23:29pmplett has joined #evergreen
#15:25:17adbowling-isl has quit IRC
#15:25:39shopkins has quit IRC
#15:25:39brian_f has quit IRC
#15:26:23isl-rjacksom has quit IRC
#15:28:54pmplett has quit IRC
#15:29:15pmplett has joined #evergreen
#15:34:31dbsD'oh. I hate it when I'm testing something and beating my head against a wall due to an error I can't fathom, only to find out that it's a nonsensical error and I should have tried testing on a stable version first
#15:42:34rickd_ has quit IRC
#15:42:56rickd_ has joined #evergreen
#15:45:41bshumDoes anyone know offhand what the selfcheck interface URL would be in 2.0?
#15:45:55bshumThere's a new one I remember, but I can't recall the specific path
#15:47:48sfortin has quit IRC
#15:55:04dbsshould be defined in the apache examples
#15:57:34mrpeters-islhostname/eg/circ/selfcheck/main
#15:58:46bshumdbs, mrpeters-isl: Ah, okay, thanks guys!
#15:59:33dbsberick: fwiw, http://svn.open-ils.org/trac/ILS-Contrib/changeset/1274 seems like a reasonable sample - the one thing I couldn't figure out was how to access fleshed fields (near bottom of script). but I've skipped lunch so far today and need some nourishment
#15:59:51Meliss has quit IRC
#16:04:18AaronZ-PLSIn 1.6.0.8 reports, what sets the order of the report output folders? I have seen EG sort them by most recently edited at the top, most recently edited at the bottom and alphebetically, but cannot figure out what makes it tick
#16:06:14dbsAaronZ-PLS: without looking, it might not be sorted at all - which would leave the order to the whims of the database
#16:06:33AaronZ-PLSLovely
#16:06:54collum has quit IRC
#16:06:55dbscsharp++ # your work on ubuntu 10.04 buildslave has paid dividends sir, thanks for that
#16:07:53dbwellsHello again folks. Just ran into a problem which is a bit over my head and could use some ideas. We have a utility script which runs nightly and does some cstore queries.
#16:08:10dbwellsUnfortunately, one of the queries is failing, but I can't figure out why.
#16:08:56dbwellsI am trying to select a particular set of around 30,000 ISSNs from metabib.full_rec.
#16:09:41dbwellsIf I put a limit of 20,000 on the query, it returns in around 20 seconds. If I raise the limit to 25,000 it never returns (well, at least tested up to a 10 minute timeout).
#16:10:29AaronZ-PLSdbs: They go from being sorted in aplhabetical/id order to latest updated last when I share them
#16:10:34dbwellsThis same query worked fine on EG 1.6.1.7 and OSRF 1.2.
#16:10:50dbwellsI should say this same code.
#16:11:43dbsAaronZ-PLS: Yeah, there's no order by attribute in open-ils.reporter.folder.visible.retrieve method - would make a good bitesize bug
#16:13:21dbsdbwells: can you capture the statement from the postgresql logs and EXPLAIN it with and without the LIMIT?
#16:13:37dbsjust to see if it's the query planner picking a bad plan
#16:14:12berickdbs: re:fleshing, you'll need to use the field name.. barcode_copy.copy_location().name()
#16:14:34berickor is it location().. /me checks idl
#16:14:43dbsoh, man, I'm an idiot
#16:15:13berickyeah, .location()
#16:15:19dbsgiven that I was shooting myself in the foot in _exactly_ the same way with plain old barcode_copy.acn() instead of barcode_copy.call_number() before
#16:15:26dbs hangs head in shame
#16:16:17dbwellsdbs: If I run the same query with no limit at all directly in the DB, no problem, finishes in less than a second :(
#16:16:43jeffdbwells: the same query that cstore is generating?
#16:17:11berick encourages dbs to keep poking the python
#16:17:51dbwellsjeff: I'll double check, but AFAIK, yes
#16:18:03lisppastedbs pasted "bad entries in IDL?" at http://paste.lisp.org/display/120788
#16:18:46berickdbs: s/bad/known less-than-full IDL linkages/
#16:18:52bericknot hurting anything per se
#16:19:02berickthe python code will just let you know about it
#16:19:10berickwould be good to repair in time
#16:19:51berickit used to croak, but I had to put a stop to that ;)
#16:21:36dbsokay, thanks
#16:25:47dbwellsdbs: jeff: verified that I am using the exact query as generated by cstore. As I said before, it only takes about a second to run, it isn't anything fancy.
#16:26:05dbwellsVery puzzled by this :(
#16:27:15dbsresponse size maybe?
#16:33:07dbwellsJust tried it on a different test server. Same configuration, just less RAM. Now my results are: limit 5000 -> function returns in about 3 seconds, limit 6000 -> does not return.
#16:39:19parsr has quit IRC
#16:39:51lisppastedbwells pasted "Simple test program, does not finish when too many results returned" at http://paste.lisp.org/display/120790
#16:41:44brian_f has joined #evergreen
#16:46:27dbwellsIf anyone out there is willing to try the test program I pasted, you can also change the where line to "'where' => { 'tag' => '245', '+bre' => {'deleted' => 0}, '+acp' => {'opac_visible' => 1} }" and get it to die with even few results. On my machine, with 3GB of ram, it dies between 2,000 and 3,000. Seems to be some memory related hard limit to the size.
#16:47:01mayanks43 has joined #evergreen
#16:47:05dbwellsdbs: when you say 'response size', is there some specific value I can change or check?
#16:47:52gmcharltthe XMPP message size limit, methinks
#16:50:30kmlussier has quit IRC
#16:53:51dbwellswell, finally found some relevant error messages, I think. I'll try to search around for them and see what I find.
#17:10:50dbwellsOk, it turns out that I was hitting the 'max_stanza_size' for ejabberd. Two things still concern me. First, I had it set at the recommended '2000000', and this used to work under the previous OpenSRF/Evergreen. Second, it silently fails and hangs the program until it times out.
#17:11:36dbwellsWell, silent other than logging the error. The Perl script doesn't seem to know what happened.
#17:12:35dbsNice detective work! That is a bit concerning. You're sure you didn't miss a zero in there?
#17:12:47dbsWhat version of OpenSRF, btw?
#17:16:11dbsIt's particularly bizarre given that you invoked the streaming method, in theory that should avoid any size issues. But in 1.6 there was a change that allowed multiple requests per XMPP message, maybe that had an unanticipated side effect?
#17:17:06bshum has quit IRC
#17:17:49dbs really heads for food, finally
#17:17:52dbwellsI am using '.atomic', so that makes it non-streaming, right?
#17:18:14jeffright
#17:18:16dbsoh yeah
#17:18:31dbsdon't do that :)
#17:18:33dbwellsChanging that seems like a reasonable solution. Just wish I knew why it stopped working.
#17:19:16jeffwait, if you were hitting a max stanza limit, why were your results different on different machines?
#17:19:27jeffdid you find something that explains that also?
#17:19:46dbwellsjeff: yeah, that was my mistake, I did have missing '0' on the test machine :)
#17:19:54jeffgot it.
#17:35:22b_bonner has left #evergreen
#17:37:41finnapz2 has quit IRC
#17:40:57mayanks431 has joined #evergreen
#17:43:14mayanks43 has quit IRC
#17:45:40dbwellsFor posterity, it was "working" on OSRF1.2/EG1.6.1.7, but maybe 'atomic' transactions were different enough in that environment.
#17:45:52dbwellsAlso, streaming of course works fine.
#17:53:28phasefxbigger objects?
#17:53:49phasefxmaking for bigger aggregate
#18:07:44dbwellsno, the script and all data are the same. The learner in me would love to find out why, but it will probably go into the cold case file at this point.
#18:08:24dbwellsthanks, everyone, for the input
#18:10:41tsbereCould it be an encoding issue? UTF can take more space than ascii.
#18:12:48gdunbar has quit IRC
#18:13:09suho has quit IRC
#18:26:12suho has joined #evergreen
#19:06:00mayanks431 has quit IRC
#19:15:58mayanks43 has joined #evergreen
#19:16:26mrpeters has joined #evergreen
#19:16:31mrpeterseeevil: ping?
#19:34:53suho has quit IRC
#19:37:24LBA1 has joined #evergreen
#19:37:53LBA has quit IRC
#19:42:58rickd_ has quit IRC
#20:43:33brian_f has quit IRC
#20:49:29pmplett has quit IRC
#21:05:12StephenGWills has left #evergreen
#21:52:59mrpeters-isl_ has joined #evergreen
#21:53:11mrpeters-isl_hey all, any ESI folks lurking? leed? eevil?
#21:53:36pmplett has joined #evergreen
#22:23:48mayanks43 has left #evergreen
#22:34:51brian_f has joined #evergreen
#22:42:17phasefxmrpeters-isl_: I lurk
#22:43:09phasefxdbs++ # trunk vm README.html. I assume asciidoc? For the network connection bit, may want to make sure they shutdown Evergreen if started before issuing reboot
#22:43:30dbsphasefx: asciidoc, of course :)
#22:43:44dbsI need to put this stuff into a repository somewhere
#22:45:26Aki has joined #evergreen
#23:00:23mayanks43 has joined #evergreen
#23:12:02Aki has quit IRC
#23:30:22dbs has quit IRC
#23:47:20Jbergy has joined #evergreen
< Monday, March 21st, 2011Raw Log FileWednesday, March 23rd, 2011 >