Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Tuesday, April 10th, 2012

< Monday, April 9th, 2012Raw Log FileWednesday, April 11th, 2012 >
#TimeNickMessage
#00:04:50artunit has quit IRC
#00:10:21artunit has joined #evergreen
#00:33:04artunit has quit IRC
#00:40:28artunit has joined #evergreen
#00:44:01hopkinsju has quit IRC
#00:45:28bradl has quit IRC
#00:45:53csharp has quit IRC
#00:46:18bradl has joined #evergreen
#00:46:51csharp has joined #evergreen
#00:46:58timhome has quit IRC
#01:08:41artunit has quit IRC
#01:10:27artunit has joined #evergreen
#01:33:42artunit has quit IRC
#01:38:56Gentlecat has joined #evergreen
#01:39:15v1k1n has left #evergreen
#01:40:37artunit has joined #evergreen
#02:04:24artunit has quit IRC
#02:10:38artunit has joined #evergreen
#02:34:19artunit has quit IRC
#02:40:56artunit has joined #evergreen
#02:42:53Elene_ has joined #evergreen
#03:03:29artunit has quit IRC
#03:10:54artunit has joined #evergreen
#03:18:47Elene_dear all, I have found out why barcodes are not displayed in OPAC. It seems to be a localization issue. When I view the title from Georgian (ka-GE) interface,
#03:18:59Elene_and click on barcode, it does not display it
#03:18:59Elene_http://isi.evergreencatalog.com/opac/ka-GE/skin/tsu/xml/rdetail.xml?r=1402
#03:19:21Elene_but when I do the same from English (en-US) interface, or any other language interface available, the barcode shows fine:
#03:19:25Elene_http://isi.evergreencatalog.com/opac/en-US/skin/tsu/xml/rdetail.xml?r=1402
#03:34:15artunit has quit IRC
#03:41:16artunit has joined #evergreen
#04:04:38artunit has quit IRC
#04:05:26Elene_ has quit IRC
#04:11:23artunit has joined #evergreen
#04:33:31artunit has quit IRC
#04:41:42artunit has joined #evergreen
#04:43:18Elene_ has joined #evergreen
#04:44:40Gentlecat has quit IRC
#04:51:19Gentlecat has joined #evergreen
#05:03:26artunit has quit IRC
#05:11:49artunit has joined #evergreen
#05:29:11Elene_ has quit IRC
#05:33:37artunit has quit IRC
#05:42:18artunit has joined #evergreen
#06:03:38artunit has quit IRC
#06:12:03artunit has joined #evergreen
#06:33:38artunit has quit IRC
#06:44:05artunit has joined #evergreen
#07:04:54artunit has quit IRC
#07:13:33artunit has joined #evergreen
#07:34:30artunit has quit IRC
#07:43:20artunit has joined #evergreen
#07:51:09hopkinsju has joined #evergreen
#07:53:35collum has joined #evergreen
#07:59:17kmlussier has joined #evergreen
#08:03:29hopkinsju has quit IRC
#08:04:19artunit has quit IRC
#08:13:18artunit has joined #evergreen
#08:18:44akilsdonk has joined #evergreen
#08:28:38timlaptop has joined #evergreen
#08:34:19artunit has quit IRC
#08:38:36bshum has quit IRC
#08:41:28stefen has joined #evergreen
#08:42:27stefenI want to search book via “open-ils.search.z3950.search_class” method . I want to know how to create search-hash for second parameter of the same method. Please provide me with some useful and easy solution. your all effort will be appreciable.
#08:43:15artunit has joined #evergreen
#08:46:49Dyrcona has joined #evergreen
#08:55:30stefenI want to search book via “open-ils.search.z3950.search_class” method . I want to know how to create search-hash for second parameter of the same method. Please provide me with some useful and easy solution. your all effort will be appreciable.
#09:05:03artunit has quit IRC
#09:09:37Meliss has joined #evergreen
#09:10:06bshum has joined #evergreen
#09:10:40hopkinsju has joined #evergreen
#09:13:34artunit has joined #evergreen
#09:27:37mrpeters-islis beta2 ready to rock?
#09:28:31tsbere built it, but doesn't go much further than making sure it extracts properly and such at this point >_>
#09:28:54mrpeters-isl installs
#09:30:15stefen??
#09:31:06mrpeters-islstefen: please be patient. not everyone is around right now. we all have real jobs, afterall :) Those come first.
#09:31:18mrpeters-islthe channel is logged, your question will be answered as soon as someone is able
#09:33:41denialsstefen: alternately, you could send an email to the open-ils-dev mailing list ("Technical Discussion" or "Developer's List"), with code snippets showing what you're currently trying, in what language, what version of Evergreen, etc.
#09:35:07artunit has quit IRC
#09:36:04mrpeters-islbeta2 install went just fine, tsbere
#09:36:25jenny1 has joined #evergreen
#09:37:30mrpeters-isltsbere++
#09:37:33fortin has joined #evergreen
#09:40:50bshum has quit IRC
#09:40:50bshum has joined #evergreen
#09:41:27adbowling-isl has joined #evergreen
#09:43:39stefencan anyone tell me how to pass second parameter for method "open-ils.search.z3950.search_class"?
#09:44:50kmlussier has quit IRC
#09:47:13tsberestefen: Not without a lot more information.
#09:48:38mrpeters-isl guesses ask once, allow time for people to answer didn't help
#09:49:43stefentsbere: it requires search hash.. i am working on Java and got some libraries from open-ils folder.
#09:50:10stefenbut not getting how to generate search hash
#09:54:52moodaepomrpeters-isl: Yup same here the beta2 upgrade from 2.1 went smoothly for me.
#09:55:06DyrconaJava is the red-headed stepchild of Evergreen. I suggest trying perl instead.
#09:56:39denialsJava's necessary if stefen's working on Android or some such thing, though. Also, berick has some bugs with Java fixes that could use some testing...
#10:01:40stefenyes.. we need to go with java.
#10:03:02stefennow i just want to know how to generate search-hash to pass as parameter to that method
#10:04:22DyrconaNever done it in Java. You probably need some kind of JSONObject, though.
#10:04:35berickstefen: if you're using the opensrf/evergreen Java libs, you just create a Map and pass it as a parameter to the method call
#10:04:59tsbere digs for opinions on http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/tsbere/supercat
#10:05:13artunit has joined #evergreen
#10:05:25kmlussier has joined #evergreen
#10:15:16stefenberick: so do i need to create Map manually for Search Hash ?
#10:21:17eeeviltsbere: I'm in favor of working code, even if it's cargo-cult, but I'm concerned about how one might get into a situation in mod_perl where child_init hasn't been run... thoughts on the cause of "For some reason one (or more) of our appsessions is missing..." ??
#10:22:36tsbereeeevil: The one test I was able to get to happen in my dev machine with some custom test code spit out data that indicated all three AppSessions were undefined and several other globals set in child_init were not populated. Which either means child_init wasn't called, or something went wrong and things moved on anyway. :/
#10:23:02berickeeevil: tsbere: i think child_init will only run once per process
#10:23:10berickso if you have 5 mod_perl handles...
#10:23:13bericker, handlers
#10:23:29berickchild_init for only one of them will run (my current theory)
#10:23:56berickstefen: yes, you have to create the map manually
#10:24:56eeevilberick: it should run once per module per process, no?
#10:25:00tsbereeeevil / berick: I am mostly running on assumptions at this point either way, as the problem is very hard to trigger intentionally.
#10:25:18tsberebut others are seeing it (the marc edit fixme bug)
#10:26:12berickeeevil: that was always my assumption and hope, but it has proved not to be true in many cases
#10:27:17stefen has quit IRC
#10:28:15Callender_ has joined #evergreen
#10:28:26tsbere notes he didn't pullrequest that branch yet due to not being sure if it should even be done that way <_<
#10:28:52tsbereIt just seemed like the simplest solution. "child init isn't being called reliably? Check for obvious signs of it being called and if they aren't there call it"
#10:30:30bericktsbere: your solution is consistent w/ mine in other modules. i usually just check a $child_init_ran boolean, though, instead of testing for evidence it ran, but meh
#10:31:27tsbereberick: Given that the errors are a direct result of one of those three values being undefined, and that I still am not sure if the problem is them not being set reliably compared to, say, something making them *go away later*...........
#10:31:33Callender has quit IRC
#10:31:37Callender_ is now known as Callender
#10:32:52bericksure
#10:34:27tsbere won't object to someone slapping a pullrequest on https://bugs.launchpad.net/evergreen/+bug/974638 for that branch either way
#10:34:27pinesol_greenLaunchpad bug 974638 in Evergreen "EG 2.2 beta1's client MARC edit view gives syntax error" (affected: 3, heat: 14) [Undecided,New]
#10:57:29yboston has joined #evergreen
#11:29:54jamesrf has quit IRC
#11:58:56luisb has joined #evergreen
#11:59:49bshumFor fun reference, we're starting to suspect that bug 976870 is related to an inability to apply partial payments to selected billings.
#11:59:49pinesol_greenLaunchpad bug 976870 in Evergreen "2.2 beta1: Can't select individual bills on patron record for payment" (affected: 1, heat: 6) [Medium,Confirmed] https://launchpad.net/bugs/976870
#12:03:05jamesrf has joined #evergreen
#12:13:22kmlussier_ has joined #evergreen
#12:14:17kmlussier has quit IRC
#12:40:26Meliss has quit IRC
#12:42:30hopkinsju has quit IRC
#12:44:16kmlussier_ has quit IRC
#12:44:46kmlussier has joined #evergreen
#12:53:15hopkinsju has joined #evergreen
#13:13:17bshumphasefx++ # checking/unchecking billings works and so does paying for selected billings only.
#13:20:33phasefxtsbere++ # same fix, I just got it in first
#13:21:39elene_ has joined #evergreen
#13:23:19fortin has quit IRC
#13:27:22elene_ has quit IRC
#13:34:26tsbere apparently ran into phasefx when pushing a fix
#13:34:29tsbere<_<
#13:34:49phasefxoof :)
#13:35:02tsbereI got 2.2, you got master. <_<
#13:35:16tsbere thought he screwed up his master branch when it said it wasn't a fast forward though
#13:36:37phasefxI was scratching my head till I went to the web interface and saw your sign-off
#13:36:43tsbereheh
#13:36:56tsbereI'll let you update launchpad ;)
#13:36:58phasefxdidn't show up in my rel_2_2 branch, and said I was uptodate
#13:37:02phasefxha
#13:37:20bshumphasefx: We'll test the xul sorting fix later tomorrow. Don't want to disrupt people using Evergreen today.
#13:37:51tsberebshum: I'll test it RIGHT NOW! Because I believe I reported it.
#13:38:01bshumtsbere++ :D
#13:40:33Dyrcona will load that fix on his development server as soon as the database reload finishes.
#13:40:54Dyrconabetcha tsbere tests and commits it before then, though.
#13:41:38tsbereI just pushed it. <_<
#13:46:40pranjal710 has joined #evergreen
#13:53:36Meliss has joined #evergreen
#14:04:47denialsDyrcona: do you have bug 975577 in your testing sights?
#14:04:47pinesol_greenLaunchpad bug 975577 in Evergreen "Preferred library should affect search scope for located URIs" (affected: 1, heat: 6) [Undecided,New] https://launchpad.net/bugs/975577
#14:05:39Dyrconadenials: Yes, I do.
#14:05:54Dyrconastill waiting on a database restore to finish.
#14:12:50denialsDyrcona: supah!
#14:14:27mtcarlson has joined #evergreen
#14:14:36pranjal710 has quit IRC
#14:15:29danielr has joined #evergreen
#14:16:21sal_ has joined #evergreen
#14:21:12denialshey gitadmins, could you guys hook Evergreen-DocBook.git up to automatically push to https://gitorious.org/evergreen-documentation/evergreen-documentation ?
#14:21:43sal__ has joined #evergreen
#14:21:55tsbereTelling it to? Easy
#14:22:07tsbereBut gitorious needs to allow the key. Will it?
#14:22:30denialstsbere: yeah, evergreen-developers is the same group for the evergreen core repo on gitorious
#14:22:33denialsso it should
#14:24:11denialsalso, maybe set up an evergreen-documentation.git mirror at https://github.com/evergreen-library-system too? (/me suggests "evergreen-documentation.git" to avoid the increasingly misleading "DocBook" part of Evergreen-DocBook.git)
#14:24:36sal_ has quit IRC
#14:24:38pranjal710 has joined #evergreen
#14:24:48denialsthen we'll have Evergreen, OpenSRF, SIPServer, and the docs all mirrored in one nice place on github
#14:24:57sal_ has joined #evergreen
#14:25:06berick sets up the evergreen-msword mirror
#14:25:28denials thinks... crap... maybe gitorious evergreen-documentation should go to http://gitorious.org/evergreen-library-system/evergreen-documentation instead
#14:25:51sal__ has quit IRC
#14:25:56tsberedenials: Make up your mind! :P
#14:26:50denialstsbere: if you don't mind... let's bring the gitorious repos together. I'll create the repo, one sec
#14:28:32denialsokay. https://gitorious.org/evergreen-library-system/evergreen-documentation exists
#14:28:41denialsand evergreen-developers have all powers there
#14:28:43tsbere noticed and already started a push ;)
#14:29:24denialstsbere is speedy
#14:29:36denialshttps://gitorious.org/evergreen-documentation is dead
#14:31:12denialsor dying, at least
#14:36:28DyrconaGuess I won't try joining the project on gitorious, then.
#14:39:00tsberedenials: Push complete!
#14:39:11tsbereand it should auto-update when others push to the repo
#14:39:16denialsDyrcona: join at https://gitorious.org/evergreen-library-system instead
#14:40:32denialsI'm a librarian. Rather than having separate "evergreen-library-system" and "evergreen-documentation" projects with one repo per project, the "evergreen-library-system" project now contains both repos
#14:40:36denialstsbere++
#14:41:27fortin has joined #evergreen
#14:46:13jenny1 has quit IRC
#14:47:38dbs has joined #evergreen
#14:47:38dbs has joined #evergreen
#14:47:47jenny1 has joined #evergreen
#14:48:05senatorfor display purposes, are asset.call_number_{prefix,suffix}.label meant to be directly concatenated with asset.call_number.label, or with intervening spaces ?
#14:48:40dbs would assume with intervening spaces
#14:49:10senatorthanks
#14:50:00dbs"JFROWLINGANNEX" isn't too appealing
#14:50:25senator wasn't sure what kind of data people put in there ('JF' or 'JF ') basically
#14:50:35tsbereor JF/ or JF- etc?
#14:50:51danielr has quit IRC
#14:57:29phasefxfwiw, the spine label editor trims leading and trailing spaces if they're there
#14:58:56phasefxand then if displaying all the parts together, separates them with spaces
#14:59:13dbsThat fits with every library I've worked in (a grand total of 3) - they would snap if they were forced to enter spaces. The system should be smart enough to know that you want spaces! :)
#14:59:55dbsalternately, we could require "\n" to get line feeds in spine labels...
#14:59:58phasefxyet they're very space picky in MARC
#15:00:21tsbereMARC is picky. In general.
#15:01:14phasefx- and / shouldn't be data, IMO. If they want to use those as separators, we add a feature for it
#15:01:14tsbereDifferent note, vr formats in marc......we only store one. Records can validly have a half dozen. Any thoughts on how we might deal with that?
#15:01:58tsbere is specifically thinking "we only store one for matching circ/hold rules" but wouldn't be shocked if other areas use that extracted value
#15:08:21adbowling-isl has quit IRC
#15:17:31sal_ has quit IRC
#15:18:46pranjal710 has quit IRC
#15:28:34jenny1 has quit IRC
#15:39:24mtcarlson has quit IRC
#15:43:18mrpeters-islanyone ever had a chance to look at https://bugs.launchpad.net/evergreen/+bug/844850 or did we decide not to put the ESI canned reports into Evergreen by default?
#15:43:18pinesol_greenLaunchpad bug 844850 in Evergreen "Adding Equinox Sample Reports to Master" (affected: 1, heat: 8) [Wishlist,New]
#15:44:12tsberemrpeters-isl: I think we found that some of them don't seem to work correctly.
#15:44:20danielr has joined #evergreen
#15:44:24mrpeters-islah, thats a good reason then!
#15:44:43mrpeters-isljust jogged my memory about them when i went to write a report from scratch in master
#15:44:45tsbereI could be wrong. Been a while.
#15:44:49sal has joined #evergreen
#15:45:15sal is now known as Guest93194
#15:45:17mrpeters-islno worries
#15:45:56moodaepo_ has joined #evergreen
#15:46:52moodaepo_ is now known as moodaepo_home
#15:47:42moodaepo_home is now known as moodaepo_
#15:55:29collum has quit IRC
#15:57:38mrpeters-islanyone familiar with MARC coded value maps? I've identified the problem with https://bugs.launchpad.net/evergreen/+bug/845096 but I'm not sure about the best approach for fixing it sicne everyone's table may be a bit different.
#15:57:38pinesol_greenLaunchpad bug 845096 in Evergreen "Cannot create new coded value maps in staff client" (affected: 1, heat: 6) [Medium,Confirmed]
#15:59:33dbsmrpeters-isl: I suspect SETVAL hasn't been called on the sequence associated with the pkey for config.coded_value_map
#15:59:40Meliss has quit IRC
#15:59:55mrpeters-isli'm having trouble finding the code that creates that sequence
#16:00:00dbsindeed, last_value for coded_value_map_id_seq is 1
#16:00:09mrpeters-isli've been looking for references to coded_value_map_id_seq
#16:00:32dbsSELECT * FROM config.coded_value_map_id_seq ;
#16:00:45mrpeters-isloh, i know that. i mean the .sql that creates it.
#16:01:17dbsA sequence object is created automatically every time you create a SEQUENCE column
#16:01:42mrpeters-islah, ok, so it happens when config.coded_value_map is created
#16:01:45dbs will whip up a fix
#16:01:54mrpeters-islcare if i give it a try?
#16:02:14dbsmrpeters-isl: you need to start crediting people who help you in IRC in your bug reports, or they're going to stop helping you
#16:02:54mrpeters-islhmm, ok, i thought we were all on the same team here
#16:03:37mrpeters-islim not out to steal credit from anyone, i identified the problem myself, just thought i should try to fix it
#16:03:51dbsWe are. But I was miffed by your previous bug report about "tspindler and I..."
#16:04:36moodaepo_communication++ #even if it's about being miffed
#16:04:54mrpeters-islyou're right, im sorry
#16:06:18mrpeters-islall fixed, sorry.
#16:06:35dbsIt's cool. Sorry, I'm too thin-skinned these days
#16:06:46mrpeters-islI'm pretty thin skinned too, its fine
#16:07:07dbsanyway - there's a number of other examples in 950.sql where SETVAL is called on a sequence after a table is loaded up with values
#16:07:15mrpeters-isli just want to fix the things im capable of fixign
#16:07:18dbsShould be a one-liner to fix it up - have at it!
#16:07:23dbsfer sure
#16:07:30jenny has joined #evergreen
#16:07:56mrpeters-isldoes this need an upgrade script? people probably want to fix this, if its broken in their system, right?
#16:09:25mrpeters-islthe safest upgrade proof way is just SELECT SETVAL('config.coded_value_map_id_seq'::TEXT, (SELECT max(id) FROM config.coded_value_map)); right?
#16:09:27dbsI would lean towards "no" because there hasn't been an official release yet
#16:09:42mrpeters-islah, ok this is new to 2.2 then?
#16:10:03mrpeters-isloh, no i guess not -- Kathy says 2.1 originally
#16:11:14dbsoh. hrm. Yeah, I guess an upgrade script in that case.
#16:12:41dbsaugh. typo: "opac.org_unit.non_inheritied_visibility"
#16:14:11Guest93194 has quit IRC
#16:14:14gmcharltthe worst kind of inheritance
#16:15:06mrpeters-islok, user/mrpeters-isl/coded_value_map_id_seq_fix is up
#16:16:38mrpeters-isloops, fixed typo in comment with force push
#16:18:37Gentlecat has quit IRC
#16:20:21akilsdonk has quit IRC
#16:25:26kmlussier has left #evergreen
#16:56:03mtcarlson has joined #evergreen
#17:00:08mtcarlson has quit IRC
#17:01:26mtcarlson has joined #evergreen
#17:16:43fortin has quit IRC
#17:17:47danielr has quit IRC
#17:26:03Dyrconahmm... github /.'d?
#17:27:08dbsseems to be working for me
#17:27:18Dyrconaweird. works from my laptop, but not my desktop.
#17:29:40Dyrcona has quit IRC
#17:31:27jenny has quit IRC
#18:00:48sal_ has joined #evergreen
#18:06:53hopkinsju has quit IRC
#18:13:49dbs has quit IRC
#18:29:21overflow has joined #evergreen
#18:31:59overflow has joined #evergreen
#18:32:28overflowhi
#18:34:48overflowI was sent proposol in shortest
#18:35:46overflowI will be write in comment
#18:36:54overflowI will determine timeline and iteration
#18:38:21sal_ has quit IRC
#18:40:57overflow has quit IRC
#19:04:16wlayton has joined #evergreen
#19:52:02mtcarlson has quit IRC
#20:00:01finnx has joined #evergreen
#21:25:51moodaepo_ has quit IRC
#21:39:40wlaytondoes anyone still use the old patron editor anymore? (xul/staff_client/server/patron/ue.xhtml)
#21:42:35jeffwe are but a single data point, but no.
#21:43:02tsbereWe never did. Migrated after it was no longer the default.
#21:43:05jeffi wouldn't be surprised to find that it was no longer entirely functional, but i'll admit i haven't tried to use it after the point at which it was no longer the default.
#21:44:05phasefxwhen was the switch, EG 1.6?
#21:45:55tsberebetter question is "why is it still there at all?" <_<
#21:46:05jeff1.6 had ue.xhtml, i believe. 2.1 had the new editor. we skipped 2.0
#21:46:20wlaytonI'm noodling around, removing the old jscalendar code and replacing it with dijit.form.DateTextBox, which (IMHO) looks bit better. Noticed that ue.xhtml still uses it, then wondered if ue.xhtml should now be removed.
#21:46:58phasefxI recall at least one library editing their constants.js to go back to the old editor, but I don't remember who or if they're still doing that
#21:47:33tsbereWell, I could argue that they are less and less likely to find it *works* as time goes on, since I don't think any devs are maintaining it.
#21:47:53phasefxshould be considered deprecated, and ripe for removal, IMO, but we could ask the wider community
#22:12:13wlayton has quit IRC
#22:14:17jeffwriting one sql query to give monthly circ including non-cat circ with include/excludes for circ lib, date range, patron profile group, and non-cat type.
#22:14:31jeffoh, and "same period one year ago"
#22:15:01jefflooking like a union self-joined with a union.
#22:15:04tsbereI have "mondo SQL query embedded in a perl script" type stuff. But there are catches to circ.
#22:18:59tsberejeff: You can have fun with case statements and count: http://paste.lisp.org/display/123089
#22:18:59jeffright now i have a self-join of two queries with a bunch of duplicated WHERE criteria like circ_lib. i wonder if i should consider moving that around so that the criteria is not duplicated.
#22:20:57jefftsbere: in that example, BASE has the count as of some cutoff date between start_date and end_date, and TO_DATE has the count for everything in that range?
#22:22:27tsberejeff: Yea. Perl changes out some of the values depending on if it is "month with year to date, weekly with month to date, daily with week to date" type stuff
#22:23:14tsbereThe script makes excel files with piles of information like checkout counts, checkin counts, holds information, etc
#22:23:46tsberejeff: If you want I can pastebin the frontend of the script so you can see what the variables would look like
#22:24:35tsberejeff: Or, if you want, I can dump the entire script somewhere.
#22:28:57jeffi'd be interested, either way. i'm doing lots with reporting stuff this month.
#22:29:31jeffexcuse the formatting, but this is one of my attempts at "circ by month and this month last year for comparison": https://gist.github.com/a10836576825dc6688e9
#22:32:36jeffadded my circ by date including noncat to that same gist
#22:35:12jeffheh. github sql syntax hilighting says "what in the world are these jasperreports placeholders!?"
#22:46:46hopkinsju has joined #evergreen
#22:54:58luisb has quit IRC
#23:04:25finnx has quit IRC
#23:13:59Gentlecat has joined #evergreen
< Monday, April 9th, 2012Raw Log FileWednesday, April 11th, 2012 >