Open Source Integrated Library System

Evergreen on IRC

#evergreen Logs for Tuesday, March 20th, 2012

< Monday, March 19th, 2012Raw Log FileWednesday, March 21st, 2012 >
#TimeNickMessage
#00:49:12jeffdavis has joined #evergreen
#01:14:47maheshwar has joined #evergreen
#01:44:31denialsso tired
#04:30:23kivilahtiome too
#04:58:10thethomaseffect has joined #evergreen
#06:17:41kivilahtio has quit IRC
#07:27:08claudiu has joined #evergreen
#07:27:19claudiu has left #evergreen
#07:59:27fortin has joined #evergreen
#08:07:23akilsdonk has joined #evergreen
#08:27:43Dyrcona has joined #evergreen
#08:30:36AaronZ-PLS has joined #evergreen
#08:31:08jeff has quit IRC
#08:38:28bwicksall has quit IRC
#08:42:18avinash has joined #evergreen
#08:43:11avinashhi, i anyone can help me regarding virtualbox
#08:43:57avinashhi,can anyone help me regarding virtualbox ?? please reply
#08:51:00avinashhelp
#08:54:59dbwellsavinash: I am no expert, but I have used it a handful of times. Can you be more specific about the problem you are having? What have you tried so far?
#08:55:59avinashi am hosting opensolaris as guest os on ubuntu host os
#08:56:26avinashi want to access shared folder from guest os
#08:56:38jeff has joined #evergreen
#08:56:38avinashbut its showing error
#08:57:51avinashdbwells: can u tell me how to access shared folder from opensolaris
#08:59:18Dyrconaavinash: I suggest you try a more appropriate forum to ask your questions: one dedicated to virtual box for instance.
#09:00:13DyrconaAlso note that Evergreen is not supported on opensolaris at the moment, so unless you intend to the work to make it work on opensolaris, I'd advise you find a different os to install it on.
#09:00:43dbwellsavinash: Sorry, I have zero experience with opensolaris. I also agree with both of Dyrcona's suggestions.
#09:00:56bwicksall has joined #evergreen
#09:01:04avinashk thanx
#09:01:46avinashdbwells: i send u some apk files on your gmail have u checked them.
#09:01:59berick kicks launchpad
#09:02:27avinashdbwells: please provide me next step on android development
#09:02:38tsbereberick: That just isn't right. You need to find a bat or other blunt instrument. Otherwise you might hurt your foot. :P
#09:02:57bericktsbere: so true
#09:03:12Dyrcona prefers shotguns.
#09:04:58hopkinsju has joined #evergreen
#09:05:43dbwellsavinash: I have looked at them briefly and will try to reply via email later today. As for the Evergreen-Android GSoC project, we haven't even reached the student application period yet, so it is premature to get too specific. Your next step is to work up and application and proposal for consideration.
#09:06:03umashankar has joined #evergreen
#09:07:27avinashi am new at gsoc can u tell me how to make proposal for consideration
#09:07:34Meliss has joined #evergreen
#09:08:58dbwellsavinash: I would start here: http://www.google-melange.com/gsoc/document/show/gsoc_program/google/gsoc2012/faqs
#09:09:46Gentlecat has quit IRC
#09:10:13avinashk thanx dbwells sir
#09:10:14denialsavinash: That should lead to http://en.flossmanuals.net/GSoCStudentGuide/ as well, which is targeted at students new to GSoC
#09:29:20kmlussier has joined #evergreen
#09:35:22umashankar has quit IRC
#09:36:35umashankar has joined #evergreen
#09:38:36jenny2 has joined #evergreen
#09:41:19tspindler has joined #evergreen
#09:49:26fortin has quit IRC
#10:10:06gmcharlt has quit IRC
#10:13:05denials wonders if anyone will dare to try out today's unapi changes
#10:13:40kmlussier raises her hand
#10:13:55bshumDare? Dare?
#10:13:56bshum:)
#10:13:59denialskmlussier: You're a trooper
#10:14:30kmlussierdenials: Wasn't sure you really wanted me to raise my hand. ;-)
#10:14:44csharpif I wanted to set up a two-tiered setup for Evergreen, ideally System -> Branch, would that work? or is the Consortium level required?
#10:15:01avinash has quit IRC
#10:15:37denialscsharp: I think there has to be a depth = 0, no matter what it's called
#10:15:44tsbere isn't sure if kmlussier gets to raise her hand unless Dyrcona is on board ;)
#10:15:52csharpdenials: okay - that works for me
#10:16:03tsberecsharp: Make the system depth 0, and branch depth 1?
#10:16:11csharptsbere: yeah
#10:16:15denials hums "The Long and Winding Road" for poor kmlussier
#10:16:27kmlussierI believe Dyrcona has already loaded it. And many thanks to Dyrcona for providing me with a test environment.
#10:16:37csharpdepth 0 can be considered a "Consortium" as long as I can have a branch just under it
#10:16:55denialsDyrcona++ kmlussier++
#10:17:07csharpPINES is 3-tiered, so this is a new approach for me
#10:17:17jeffit's a matter of defining your org unit types in terms of "can have users" "can have volumes", etc.
#10:17:59bshumcsharp: Hmm, 2-tier? What's new?
#10:18:02tsberecsharp: I have in the past had test setups with a *single* org unit defined. As in "We have....a branch."
#10:18:17csharpokay - that's good to know
#10:18:37csharpjeff: okay - I wasn't thinking about that - thanks for the tip
#10:18:41tsberecsharp: Don't forget to update permission depths on permission groups, though.
#10:18:51csharptsbere: just thought of that too ;-)
#10:19:12tsbere forgot that at first on his "we have a branch" test and wondered why nothing worked for staff
#10:19:36csharpon a related note, what is the best way to delete org units from the example tree?
#10:19:50jefflevel dictates type, so if you have a stock three-layer and you want to add "just a branch" under the consortium, that's not going to work unless the "branch" is really a "system" in the eyes of evergreen, and then you'd have to let all systems have users and volumes at the system level, and... not recommended, I'd think.
#10:20:10csharpjeff: good though
#10:20:17csharpthought
#10:20:29fortin has joined #evergreen
#10:21:36tsberejeff: I disagree with "level dictates type". If you can find an example where the system actually pays attention to depths other than 0 and treats them specially, though, I might be willing to change my mind. And default permission depths don't count ;)
#10:21:44csharpdojo--
#10:22:41jefftsbere: sounds like i'm wrong. oops!
#10:24:01tsberejeff: For the record, MVLC has a "System Level branch" in our "Central Site" location. We called it an "office", granted, but it is depth 1 directly under the consortia entry and works like a branch otherwise.
#10:26:43jeffactor.org_unit_type has a depth column, but what you're saying is that it (in practice) seems to matter not?
#10:26:43Dyrconajeff: my only grumble with it is that permission drop downs often show "Office" instead of System or vice versa, but it's minor when you realize what is happening.
#10:27:04jeffor am I misunderstanding the function of the depth column there?
#10:27:35denialscsharp: you mean dojo2008?
#10:30:37Rohit has joined #evergreen
#10:30:40tsberejeff: The depth column is more of a shortcut, as far as I can tell, for determining where an org unit is in the tree. AKA, it should always be the org unit type's parent depth + 1.
#10:30:46Rohit is now known as rohit12
#10:31:44tsberejeff: And yes, a number of parts of the system use that number. Other parts of the system ignore it. I favor ignoring it, but I may eventually make it automatically update itself if it isn't already. <_<
#10:32:03jefftsbere: so, in your example, you didn't put a "Branch" that was depth 2 elsewhere at depth 1 in the tree, but you made another type at depth 1 called Office and set can have vols/users on that?
#10:32:29tsberejeff: Yes. I have also moved the default system/branch entries under a new entry and updated depths accordingly.
#10:32:30jeffso you have two types at depth 1, Office and System?
#10:32:36jeffah.
#10:32:43jeffso, no to my last question?
#10:32:58denialswe have two types at depth 1
#10:33:25denials(IIRC, actually... been so long since we set that up...)
#10:33:26tsbereour "Central Site" is of a type that is at depth 1 alongside system. We called that type "office" but it is otherwise identical in configuration to the default "Branch".
#10:33:46denials heads offline for a bit
#10:34:27tsberejeff: Similar to the default sublibrary/bookmobile at depth 3. They share a depth, doesn't mean they are equivalent to one another or have any special rules based on the depth value. ;)
#10:34:54jefftsbere: got it. thanks for pointing out the stock example. i had overlooked it. :-)
#10:35:19rohit12 has quit IRC
#10:39:46graced has joined #evergreen
#10:46:43tsberejeff: For the record, I believe that there *is* a magic depth value other than 0 (which is more of a "has no parent" really) - I recall mention of there being a max depth before some things stopped looking at the system properly.
#10:47:57dbwells has quit IRC
#10:49:23jefff=at-d and f=at-s -- the "a" is LDR/06, the d and s are the "Form of item" in the 008 (usually but not always position 23)... Is the t also referencing the LDR/06 (type = Manuscript), or something else?
#10:49:42jeffis the dash a separator between "marc type" and "item form"?
#10:49:49jeffguess i should look at the code
#10:51:07jeffyep.
#10:51:44jeffopac takes that and breaks it out to "item_type":["a","t"],"item_form":["s"]
#11:05:35tspindleri'm looking at the acquisitions documentation for distribution formula, in the 2.0 documentation it says "Ignore the Skip Count field. It has no purpose in 2.0." does anyone know if this still does nothing in 2.1 or later?
#11:08:52jeff"Ignore this field. Nobody alive knows what it does, but it must always be set to the fixed value of 'fraggle'."
#11:09:06jefftspindler: sorry, I don't have a helpful answer for you.
#11:10:14tspindlerjeff: thanks, I guess i could try and test it to see if it does anything, just more work than I wanted to put into it
#11:13:03collum has joined #evergreen
#11:34:52tspindlerjeff: tested it and still does nothing in 2.1 and I'm assuming it still does nothing in 2.2 and I'm assuming no developer has looked at it (not import to us either)
#11:41:58jeffbah. no cover art for the isbn in the 020, but if you grab the isbn-looking string from the 856$u and try that... cover art!
#11:46:06denialsjeff: 856, ind2=2, $q = image/jpeg?
#11:46:09denials laughs at self
#11:47:22jeffdenials: you joke, but all of our OverDrive orders come with metadata that includes cover image urls. This is not the first time I've thought about making better use of them, rather than trying to rely on the general AC cover art source.
#11:47:52ebyoverdrive--
#11:50:24tsbere is tempted to change that to just a "vendors--" <_<
#11:52:13ebywondering if anyone has seen open-ils.auth fail to load with oils_auth.so: undefined symbol: osrfAppSessionGetIngress
#11:52:31ebywas compiling from trunk but may switch to tag or do another pull if not
#11:53:06Dyrconaeby: Nope. Never seen that, and I'm always compiling from master.
#11:53:25ebyk, i'll do another pull. was a march 12
#11:53:33jeffeby: ensure that you have recent-enough OpenSRF -- the ingress stuff was recently added.
#11:53:54jeffeby: sounds like your Evergreen is new enough to have it, and your OpenSRF not.
#11:53:58Dyrconaeby: Yeah, I was going to recommend what jeff just said. Get OpenSRF master and build that first.
#11:54:09ebyah i think i used the latest tar of opensrf
#11:54:19ebyi'll use the git for that too
#11:54:21ebythanks all
#11:54:26jeffif doing 2.2-ish, there's no yet released version of OpenSRF that supports it.
#11:54:42Dyrcona2.1 alpha 1, I think....
#11:55:06jefffor various definitions of "released", i suppose. :-)
#11:55:11denialsmebbe we should cut OpenSRF 2.1.0 RC1 when EG 2.2 goes beta 1
#11:55:18denialsstay one step ahead
#11:55:33Dyrconadenials++
#11:55:39Dyrcona+1 to that.
#11:57:57luisb has joined #evergreen
#11:59:53tsbereWhat, we aren't going to release Beta1 of OpenSRF alongside Beta1 of 2.2? :P
#12:05:41mrpeters-isli dont know when it happened, but THANK YOU to whoever made the permission profile selection in patron registration have different colors for groups that can't have users!!
#12:06:21bshumVaguely familiar
#12:06:26bshumI think it was berick or tsbere
#12:06:43DyrconaI think we should release a 2.1.2 and 2.0.12 (or is it .11?).
#12:06:58denialsDyrcona++ # I thought about that after the last meeting
#12:07:00bshumIt's .11
#12:07:07bshumOr supposed to be anyways
#12:07:10tsberemrpeters-isl: I think it also says "that is invalid" if you select one of the bad ones. And I think that might have been me. <_<
#12:07:19mtcarlson has joined #evergreen
#12:07:21bshumYeah it was tsbere
#12:07:41bshumI remember bugging you about it during the time when you were redoing the patron registration page I think
#12:08:05tsbereOr was mine the "make ORG UNITS that can't have users invalid".......
#12:08:11mrpeters-islhmm, for me it just came up blank when clicking
#12:08:22bshumMaybe that's the one
#12:08:23mrpeters-islbut still, fantastic
#12:08:25bshumSo many
#12:09:23denials wonders if tsbere will be author of the year for 2012 according to http://git.evergreen-ils.org/gitstats/Evergreen/authors.html
#12:09:27mrpeters-isl wishes we could upgrade...so much great stuff coming
#12:09:53denialsknock that cocky berick off his perch :)
#12:10:04tsberemrpeters-isl: Looks like the profile group was berick. I did the "you can't select bad OUs" bit.
#12:10:23mrpeters-islcool, berick++
#12:11:35denialsgitstats needs to be able to find an updated git repo, methinks :)
#12:12:05Dyrconadenials: yeah, it looks a bit out of date.
#12:12:27tsbereIt gets confused when old commits are in place. What is the date on the last commit? <_<
#12:12:42mrpeters-isldenials with a pretty massive number of lines (1372103)
#12:13:05mrpeters-island thats just under the dbs name!
#12:14:46tsbereSupposedly it updated without obvious errors this morning?
#12:15:24denialsmrpeters-isl: those are mostly i18n updates, artificial inflation
#12:15:49denialstsbere: yeah, it's running "fine", it just doesn't seem to have updated the git repo since 2011-11
#12:16:04maheshwar_ has joined #evergreen
#12:16:13csharpdenials++ # 1 million+ lines of i18n updates ;-)
#12:16:30tsberedenials: Which is interesting since it is reading the master copies?
#12:16:46mrpeters-islthe file count is fun
#12:17:10denialstsbere: I have no idea what it's doing on git.evergreen-ils.org :)
#12:17:54tsbereSome of the files haven't been touched since November. <_<
#12:18:27mrpeters-islwe also have some night owls! almost 20% of the commits occur betwen 8PM and 7AM
#12:19:41kmlussier has quit IRC
#12:20:47tsbereOk, I tweaked the cron jobs and ran things manually. Lets see if *that* makes things happier. <_<
#12:21:51mrpeters-isl has quit IRC
#12:22:11DyrconaI am changing a bunch of bugs from in progress to new because it is my understanding that some devs filter out in progress bugs when looking for things that need testing.
#12:25:26gaiz has joined #evergreen
#12:29:19eeevilpushing a pile of small fixes
#12:29:27gmcharlt has joined #evergreen
#12:32:31Dyrconaeeevil++
#12:33:05eeeviljust tiny fixes and ones already signed off by testers
#12:33:20Dyrconayep. some have been sitting for a while.
#12:33:29Dyrconamostly "in progress." :)
#12:34:28dbwells has joined #evergreen
#12:39:02Dyrcona thinks tsbere is going to need to rebase the new xulrunner branch.
#12:39:39tsbere knows he is going to need to rebase the new xulrunner branch, but is waiting to see for how many things ;)
#12:39:47Dyrconaheh
#12:59:08tspindler has quit IRC
#13:01:55Michele_ has joined #evergreen
#13:03:17gaiz has quit IRC
#13:04:12Michele_ has quit IRC
#13:10:08umashankar has quit IRC
#13:17:24maheshwar_ has quit IRC
#13:22:11eeevilbshum: have you had a chance to look at https://bugs.launchpad.net/evergreen/+bug/949466 again?
#13:22:11pinesol_greenLaunchpad bug 949466 in Evergreen "TPAC: Improvement to serials display (under the "issues held" label)" (affected: 3, heat: 16) [High,New] - Assigned to Dan Wells (dbw2)
#13:22:50bshumeeevil: Not quite yet. Our master build includes unapi changes from denials that conflicted with senator's patch
#13:23:41DyrconaI had problems merging that branch earlier, but didn't try the updated version today, fwiw.
#13:25:23jeffdbwells, others: anyone aware of any foot cannons that could lead a user to open-ils.serial.reset_items across a large number of items resulting in a few dozen open-ils.cstore.direct.serial.unit.delete and the expected results of "where did these serial units go?" :-)
#13:28:11dbwellsjeff: any who tread into serials must wear leaden boots, that much is a given. I can't think of any way to accidentally reset a bunch of items, but yes, if you empty a unit of all of its items, the unit is deleted.
#13:30:51mrpeters-isl has joined #evergreen
#13:31:32jefftempted to install a long-running Morae instance on some workstations. Cataloging Flight Recorder. ;-)
#13:31:54artunit has quit IRC
#13:36:23mrpeters-islDyrcona: what was wrong with https://bugs.launchpad.net/evergreen/+bug/867465?
#13:36:23pinesol_greenLaunchpad bug 867465 in Evergreen "Default Shelving Location and Circ Modifier Do Not Work" (affected: 1, heat: 6) [Low,New]
#13:37:37mtcarlson has quit IRC
#13:38:17eeevilgrabbing 0686
#13:40:23swills_ has joined #evergreen
#13:44:23dbwellsjeff: I just spent a few minutes trying to confuse the "Items" interface and found a bug related to selection. It's a little hard to explain, and I am not sure if it caused your problem, but it may have. I will get it fixed. Thanks.
#13:46:47swills_in the retail, where does the Format (types_of_resource) come from? I have poster items showing up as Text and was hoping to batch correct them via sql?
#13:48:31tsbereeeevil++ on auditor boost goodness going in finally :D
#13:48:54tsbereswills_: Did you mean rdetail?
#13:49:13jeffdbwells: I'm looking at a call to reset_items where the search {"+sitem":{"id":null},"deleted":"f"},{"join":{"sitem":{"type":"left"}}} returned 182 items, thus unitize_items "cleaned up" all 182. :-)
#13:49:17swills_lol..gotta love auto correction
#13:49:19swills_yes
#13:49:54tsbereswills_: I assume from primarily the overall marc record type and possibly the item form fixed field information
#13:49:57tsbere isn't sure though
#13:50:45swills_i traced this back through code to the mods types_of_resource field but don't understand how the metabib::virtual_record is created. I think what i really need is the underlying MARC field/subfield that governs this?
#13:51:15denialsswills_: generally the leader
#13:52:24denialshttp://www.loc.gov/marc/bibliographic/bdleader.html - position 06 "Type of record"
#13:53:03denialspresumably you want to change an "a" to a "k"
#13:53:34fortin has quit IRC
#13:54:48denialsDyrcona++ # eyes on the double-classed ball
#13:55:53dbwellsjeff: ouch. Well, that is good info, probably enough for me to find the problem and safeguard against it.
#13:56:43Dyrconaautocowrecktion....
#13:59:22jeffdbwells: at this point, i'm still stumbling in the dark a bit with regard to the serial schema. somehow a number of serial.unit entries existed with (maybe?) no corresponding serial.item -- and unitize_items was the first thing to care.
#13:59:55jeffdbwells: please let me know if more detail would be helpful. i can probably get you what you need.
#14:05:08gmcharltencouraging
#14:05:29gmcharltheh - wrong window
#14:06:01jeff:-)
#14:17:43tsbere notes that the branch he wrote previously to deal with a different "we only see 10 holds" consequence conflicts with the one eeevil wrote
#14:17:48tsbere<_<
#14:17:59tsbereI suppose I could re-write mine on top of eeevil's
#14:21:40jeffwe went simple brute force, and just bumped it to 100.
#14:22:01jeffeffort_duplication--
#14:22:15jeff(bad on me for not creating a bug)
#14:22:34tsberejeff: So when 101 local holds won't fill due to age protection it still fails? :P
#14:22:44jeffyes.
#14:22:58jeffbut not local.
#14:23:06jeffbecause we were also using fifo. ;-)
#14:23:06tsbereYou using fifo?
#14:23:08tsbereahh
#14:23:09jeff nods
#14:23:26tsbereThus: So when the first 101 holds in the fifo list won't fill because of age protection it still fails? :P
#14:23:30jeffi think before master, the issue may be unique to fifo + ahp
#14:24:25tsbereI think the issue existed before master, and applies to non-fifo + ahp too
#14:24:33tsbereBecause we aren't fifo and we are seeing issues
#14:24:34tsbere<_<
#14:25:29tsbereWe mainly have it reported with "why can they renew that? THERE ARE HOLDS ON IT!" but I suspect it is also doing "transit home just to reshelve" instead of "transit home to fill holds" too.
#14:27:27dbwellsjeff: I am thinking your suspicion is correct. Serial items are contents, and units are containers, and they exist to (optionally) provide copy-type information (e.g. call numbers, barcodes, locations) to one or more items. If a unit doesn't have any items (i.e. contents), it is not serving its intended purpose and is not going to function correctly. Keeping all the serials layers in sync (and deciding the best places for bumper rails) is a
#14:27:27dbwellsn ongoing effort.
#14:28:07tsbere doesn't want to know what needs to be done when doing "no renewal when there are holds" at the item owning and circ library but renewing at a location that *doesn't* say that.....who's rule do you follow? >_>
#14:28:40Dyrconaconsortia--
#14:31:21jeffdbwells: that helps my understanding a bit. thanks. do you have a lead / suspicion as to what may have resulted in units-without-items, or would you appreciate more data?
#14:32:12viper11 has joined #evergreen
#14:43:12dbwellsjeff: well, my simplest and best guess would be that someone received the items into units (which created the units), then deleted the items (probably thinking they were "done" with them). Ideally we would be more clear (both in the interface and programmatically) that items and units are fused and not independant "things". We are getting there.
#14:47:03Meliss has quit IRC
#14:53:29jeffsometimes the obvious things...
#14:53:50jeff"hey, why do so few of these bibs have any value in the mvr isbn field?"
#14:53:50jeffgrep "^020 " ~/safari/yaz.txt | awk '{print $2}' | sort | uniq -c
#14:53:51jeff 1 $9
#14:53:51jeff14617 $a
#14:53:51jeff10863 $z
#14:53:53jeffthat's why.
#15:09:25thethomaseffect has quit IRC
#15:09:45fortin has joined #evergreen
#15:15:49jamesrfi just did an install from master, i set my prefix to /srv/openils for both OpenSRF and Evergreen, but it looks like it put ${prefix} instead of the actual prefix in O:U:CronScript.pm +62
#15:19:54tsberejamesrf: Cronscript.pm is created by the configure steps, I think.
#15:20:22tsbereAnd it appears to only have a @sysconfdir@ replace on that line?
#15:20:53tsbereperhaps the sysconfdir replace is getting bad data somewhere
#15:21:21jamesrfyeah it looks like it's getting ${prefix}/etc so it gets that part but the prefix part isn't getting replaced
#15:22:08jamesrflike it's getting literally what's in the Makefile: sysconfdir = ${prefix}/etc
#15:25:55dmagick_ has quit IRC
#15:28:02yohan has quit IRC
#15:28:26tsberejamesrf: Typo on the command line option causing the prefix var to not be set properly?
#15:30:20jamesrfwell everything got installed to the prefix, it's just that one file that is broken, i just used --prefix=/srv/openils, maybe quotes are needed for the perl?
#15:33:11Dyrconajamesrf: what did you use for --sysconfdir?
#15:33:33jamesrfi didn't specify one, i just wanted it to use the default
#15:34:06Dyrconamaybe that's what broke. try specifying it as --sysconfdir=/srv/openils/conf
#15:35:05jamesrfok i'm rebuilding with --sysconfdir=/srv/openils/etc
#15:35:31Dyrconaif that is the problem, then it is likely a bug in our configure/build system.
#15:35:56Dyrconai always specify --sysconfdir out of habit.
#15:36:12jamesrfright so do I, but you shouldn't have to
#15:36:27jamesrfyep that worked so it seems like the default value is broken
#15:38:05sal_ has joined #evergreen
#15:41:56jamesrfreported it as LP 960552
#15:41:56pinesol_greenLaunchpad bug 960552 in Evergreen "automake default sysconfdir broken" (affected: 1, heat: 6) [Undecided,New] https://launchpad.net/bugs/960552
#15:42:20Dyrconacool. I'll take a look.
#15:44:44berick wonders if the sole "CREATE FUNCTION" should be "CREATE OR REPLACE FUNCTION" in 0686.schema.auditor_boost.sql
#15:45:50tsbereberick: Possibly. <_< I wonder how I missed that one.
#15:45:57Neil___ has joined #evergreen
#15:46:33tsberejamesrf: I bet I know what is wrong with that prefix value. Cronscript is being treated like a Makefile, not as a final product, by configure, but then not treated as such by make install.
#15:47:12tsbereAKA, Configure is expecting it to be parsed such that the prefix value is substituted at runtime. :/
#15:47:19eeevilgrabbing 0687
#15:48:28kurgan_ has joined #evergreen
#15:55:31kurgan_ has quit IRC
#15:56:16DyrconaSolution: Change Cronscript.pm.in to a regular Cronscript.pm and run sed to do the substitution.
#15:56:53Dyrcona has an hour and a half to kill; will whip up a branch.
#15:59:04Florent_ has joined #evergreen
#16:01:31akilsdonk has quit IRC
#16:07:20Florent_Hi. I have some questions about GSoC, I don't know if someone is able to answer me? (I would know if dbwells is here -not afk- because I'm interested by one of his projects)
#16:07:24mrpeters-islany hints on how i can tie a message "mismatched tag at line 1, column 2140, byte 2140 at /usr/lib/perl5/XML/Parser.pm line 187" to a particular tag/subfield?
#16:07:58mrpeters-islrecord: http://evergreen.lib.in.us/opac/en-US/skin/default/xml/rdetail.xml?r=19260276
#16:08:26phasefx_Florent_: go ahead and ask your questions, someone may be able to chime in
#16:09:05dbwellsFlorent_: Let me guess, Android? We've been getting a lot of interest there.
#16:09:18Florent_Exactly...
#16:09:39Florent_I haven't many skills
#16:10:06Florent_So your project is interessant because Java is one of my programming language
#16:13:26dbwellsFlorent_: well, since I do not expect any applicants to be Evergreen experts, I am really hoping to find an Android expert, as expecting to learn both Evergreen and Android in one summer is unrealistic.
#16:14:11eeeviltsbere: so, f40b07363116b1133080f8d7d6d31c06d1d3c771 is a very slim race condition ... did you see that in practice, or just personal pedantry ;)
#16:15:06tsbereeeevil: We had complaints that "grace periods no longer work, AT ALL!" that I traced back to that. And it isn't slim. Backdate a checkin to the last day of a grace period.
#16:15:31tsbereThe backdate code says "ok, lets use the time information from the original circ" which will be the end of day for a multi-day checkout.....
#16:16:45dbwellsFlorent_: that said, enthusiam, demonstration of committment, and quality of application are also going to be factors in choosing a student. So I wouldn't say it isn't possible to be chosen, but you would be starting from an underdog position.
#16:17:54eeeviltsbere: ahh... of course. well, it's in
#16:20:39tsbereeeevil: Yay! That circ department head will be able to stop complaining.
#16:21:03tsberewell, eventually
#16:22:29Florent_ has quit IRC
#16:23:21adbowling-isl has joined #evergreen
#16:23:47denialsDyrcona / tsbere: Not sure that's the right solution for all of the *.in files
#16:24:30Dyrconadenials: A code file is currently being treated as a configuration file by autotools.
#16:24:58DyrconaThat is the root of the problem and why one *must* specify sysconfdir when configuring.
#16:25:18DyrconaNo sysconfdir, then you have a busted Cronscript.pm.
#16:25:32DyrconaWith a busted Cronscript.pm, no autogen.
#16:25:42DyrconaNo autogen, no working ILS.
#16:25:56DyrconaAt least, that's the chain of events, I've managed to recreate.
#16:26:33khoover has joined #evergreen
#16:26:55DyrconaSince a default sysconfdir depends on prefix being set, it looks like install is the right time to change the file.
#16:27:35DyrconaSince you could: ./configure --prefix=/blah ; make install prefix=/some/other/blah
#16:27:41denialsDyrcona: Based on your understanding, sure
#16:28:06viper11 has left #evergreen
#16:28:57DyrconaCall me old-fashioned, but someone ought to be able to do ./configure; make install and have a working system.
#16:29:36denialsDyrcona: Your assertion that autoconf is for Makefiles is questionable. And that's what the rest of your assertions rely on.
#16:29:49sal_ has quit IRC
#16:30:07denialsI agree that ./configure; make install should work, obviously. Please don't do that.
#16:30:30Dyrconadenials: Cronscript.pm is listed in configure.ac as a configuration file. Cronscript.pm.in is therefore being treated like a Makefile, more or less.
#16:30:39denials(i.e. please don't escalate this beyond a discussion, I'm trying not to be defensive)
#16:30:59denials"Autoconf is a tool for producing shell scripts that automatically configure software source
#16:31:02denialscode packages to adapt to many kinds of Posix-like systems.
#16:31:05denials"
#16:31:11Dyrconaok. I'll drop my branch and leave it to someone else then....
#16:31:13denialsFrom the autoconf manual. It's not just about Makefiles.
#16:31:24DyrconaNo shit, Sherlock!
#16:31:44denialsThanks, again. Escalation is unnecessary.
#16:33:47tsberedenials: I think the problem is that we are treating code files as build step files, and configure is thus doing the wrong thing. If automake/autoconf/whatever is to be used to replace that value in the code file then we need to tell it that it is a code file, and not a build step file.
#16:34:11tsbereAnd I don't know, personally, how to tell the system that.
#16:34:31tsbereThis is further complicated by the Build.PL steps included for building and installing the perl libraries.
#16:35:38DyrconaThe problem is, if you don't set sysconfdir at configure time, then you get a busted Cronscript.pm.
#16:36:51tsbereDyrcona: That is the symptom. It points us at a problem, but I think the problem is treating a code file as a build system file.
#16:38:28Dyrconasysconfdir needs to set at install time, since the variables it depends on can change at each step.
#16:38:40enhancin has joined #evergreen
#16:38:50DyrconaCronscript.pm therefore needs to be munged during the install step.
#16:38:56enhancinHas anyone come across a Makefile.install made for Ubuntu 11.04?
#16:39:19tsbereenhancin: We tend to support LTS releases only and recommend you stick with them.
#16:40:18DyrconaWe already sed a bunch of files elsewhere IANM.
#16:40:24enhancinAh, alright. So technically you'll just go from 10.04 LTS to 12.04 LTS?
#16:40:31enhancinthat's a good thing to know when I grab images :)
#16:40:47collum has quit IRC
#16:40:49Dyrconaenhancin: 12.04 is already supported in the master branch.
#16:41:13enhancinsweet, i was really puzzled at the lack of resources about 11.04 but I completely understand why now.
#16:41:17Dyrcona uses 12.04 on his development server.
#16:41:26enhancinthis is my dev server as well that I'm installing it on : )
#16:42:33jamesrfwith respect to Cronscript.pm.in, ideally I'd think maybe you shouldn't even have a path hardcoded in a perl module like that?
#16:43:56tsberejamesrf: I think it is a default more than anything, overridable by command line options
#16:44:05denialsjamesrf: pulling the value at runtime from `eg_config --sysconf` for example?
#16:50:08jamesrfso if that was the approach you'd need to pass everything in through Configure.pm to Cronscript.pm?
#16:51:19tsberejamesrf: If we switch to calling eg_config then Cronscript becomes a normal perl file and isn't treated specially. Otherwise we still need to munge it at some point.
#16:58:34Dyrconaeg_config --sysconfdir looks like the way to go.
#16:59:17Dyrcona makes heavy use of Cronscript.pm, fwiw.
#17:27:15Dyrcona has quit IRC
#17:37:49jamesrfDyrcona: when you use Cronscript do you pass in an osrf-config?
#17:38:39sal_ has joined #evergreen
#17:39:26jamesrfI've rewritten Configure.pm's methods that call Cronscript.pm to accept an opensrf_core.xml path and then pass that in from autogen.sh, getting it from eg_config
#17:39:38jamesrfalthough it seems moot because there's still a hardcoded value in Cronscript.pm no matter what
#17:40:02sal_Is there documentation for the staff client MARC import screens? (I've managed to export 10 MARC records from one EG instance, and would like to import them to another.) I managed to read in the file successfully ;-)
#17:41:41sal_Or have I imported them already? *confused
#17:42:58jamesrfsal_: sitka has some docs for Evergreen 2.0 here: http://docs.sitka.bclibraries.ca/Sitka/current/html/upload.html
#17:43:23sal_jamesrf: thanks. Apparently I *have* imported the MARC records!
#17:43:57sal_Need to document that too...
#17:45:09jenny2 has quit IRC
#17:59:27hopkinsju has quit IRC
#18:10:37fortin has quit IRC
#18:13:05avinash_ has joined #evergreen
#18:18:03avinash_hi, please help me in understanding the "Create Android client(s) for Evergreen" project.
#18:18:25avinash_I am comfortable with android
#18:23:17senatoravinash_: i believe the idea is to create anything useful to either libary patrons or library staff that interacts with evergreen from an android device. a good early step would be to become familiar with the basic functionality offered by evergreen
#18:24:23avinash_can u provide me some links
#18:25:19senatorhttp://evergreen-ils.org/ There you will find documentation, demo servers, and code which you can download, install, and test yourself
#18:25:53tsberejamesrf: I think you missed that Dyrcona left ten min before your question to him.
#18:32:28jamesrfmeh. yeah.
#18:32:49jamesrfsort of at the point in the afternoon where more coffee is required
#18:35:29avinash_senator: So android app should communicate to evergreen server
#18:35:45senatoravinash_: yes
#18:40:34avinash_senator: i got this http://testing.evergreen.lib.in.us/updates/manualupdate.html
#18:40:45avinash_is this what i need to installl
#18:42:07senatorthat is where you download a staff client to connect to the test server at testing.evergreen.lib.in.us. so yes.
#18:42:19senatoras for me, it's time for supper
#18:42:55avinash_its 4 am here
#18:44:44Gentlecat has joined #evergreen
#18:45:07avinash_from this http://testing.evergreen.lib.in.us/updates/manualupdate.html besides windows/linux di wee need to install other two too
#18:45:48avinash_do we nned to install other two
#18:46:12avinash_ has quit IRC
#18:47:29Gentlecat has quit IRC
#18:47:56Gentlecat has joined #evergreen
#19:34:14Neil___ has quit IRC
#19:51:16sal_ has quit IRC
#20:08:37finnx has joined #evergreen
#20:54:08khoover has left #evergreen
#21:12:11Gentlecat has quit IRC
#21:37:52swills_on the create/edit hold page, the place hold button does not appear to fire. I see nothing in any log server side. how does one debug the js in the staff client?
#21:58:20luisb has quit IRC
#23:10:09finnx has quit IRC
#23:19:07tecoripa has joined #evergreen
#23:19:57tecoripaI have a question about the DCO text that should be submitted with new code, patches:
#23:20:15tecoripawhere does that text live? should it be included in the commit messages?
#23:20:36tecoripaOr can I simply attach a signed copy as a file to the Launchpad ticket?
#23:20:46tecoripaI do sign all my commits already
#23:35:02denialstecoripa: if you sign off on your commit, you're asserting the DCo
#23:35:24denialsso you don't need to include it in a commit message or launchpad ticket
#23:36:29denials(from http://evergreen-ils.org/dokuwiki/doku.php?id=contributing "For all significant code contributions, please use git's sign-off feature to assert that the code you are submitting is in accordance with the Developer Certificate of Origin (DCO) 1.1")
#23:39:30tecoripadenials: OK, thanks. I was a bit confused by that and the text on the "Contributing" wiki page.
#23:41:14denialsThe contributing page is pretty long :/
#23:41:45denials glares at json_query
#23:43:41denialsswills_: Admin -> Developer -> JavaScript Console may be helpful (if I recall the menu names correctly)
#23:44:53swills_Received Data: [
#23:44:53swills_ {
#23:44:53swills_ "jsonquery":stares back,
#23:44:53swills_ "stares-at":"denials"
#23:44:54swills_ }
#23:44:54swills_]
#23:45:04swills_thanks, I'll try it.
#23:45:54swills_and thanks for not ping flood kicking me :)
#23:47:54tecoripa has left #evergreen
< Monday, March 19th, 2012Raw Log FileWednesday, March 21st, 2012 >