IRC log for #koha, 2014-11-13

All times shown according to UTC.

Time S Nick Message
00:00 mtompset The whole CPL/MPL/whatever branch code expectation drives me nuts!
00:02 tcohen i hate I cannot choose the language for SQL files unless i created the translations
00:03 mtompset Okay, I'm confused, tcohen.
00:03 mtompset If I apply just my patch, I don't get any errors in my testing.
00:03 mtompset Do you have holds?
00:03 mtompset Because I don't think I do.
00:05 tcohen you don't see warnings with your patch?
00:06 mtompset No.
00:06 mtompset I'm testing Ubuntu 12.04 LTS.
00:06 mtompset What were you running under?
00:06 jenkins_koha Yippee, build fixed!
00:06 wahanui o/ '`'`'`'`'`'`'`'`'`
00:06 jenkins_koha Project Koha_Master_U12_MariaDB build #160: FIXED in 1 hr 0 min: http://jenkins.koha-community.[…]_U12_MariaDB/160/
00:08 mtompset I'll attempt my Debian VM.
00:08 tcohen Perl 5.18 (14.04)
00:08 mtompset I just did a fresh 14.04 Koha install the other night, I'll try it there too.
00:09 mtompset Interesting Debian has warnings.
00:10 mtompset And that fixes them. :)
00:10 tcohen mtompset: http://snag.gy/j2NmP.jpg
00:13 mtompset Yes, only on Debian, not 12.04 LTS. :)
00:14 mtompset Debian Wheezy.
00:14 wahanui debian wheezy is supposed to be released 4th/5th of may. does that have any consequences for koha?
00:25 mtompset tcohen: is the item type ever null within Koha?
00:40 mtompset tcohen: I signed it off.
00:46 dtweed joined #koha
00:52 dtweed Can any Dev's tell me if the field borrowers.debarred is used for anything any more?
00:53 eythian a quick look grep through the code indicates it's referenced in quite a few places
00:54 dtweed I've been tracing it for a couple of hours, and it looks like the table borrower_debarments is used instead since about 3.14
00:54 wizzyrea that was a reasonably recent change, yeah.
00:55 wizzyrea I think it's still there to accommodate legacy data
00:55 wizzyrea the first question?
00:55 wahanui "What are you trying to do?" or "What is the goal?"
00:55 dtweed I seem to be getting performace issues at check in for patrons who have a date in that field, and was trying to ficure out why.
00:56 wizzyrea ah yeah that's a bug
00:57 eythian that's right, there's some ludicrous date comparison loop thing, iirc
00:57 wizzyrea http://bugs.koha-community.org[…]_bug.cgi?id=11846
00:57 huginn Bug 11846: major, P5 - low, ---, fridolyn.somers, Pushed to Stable , Correct database update for debarments with 9999-12-31
00:57 wizzyrea but that's not exactly it - there's another
00:57 eythian @query debarred
00:57 huginn eythian: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4363 enhancement, P5 - low, ---, colin.campbell, NEW , Support the patron internet resources field in Sip2
00:57 huginn eythian: Bug http://bugs.koha-community.org[…]_bug.cgi?id=13025 minor, P5 - low, ---, koha-bugs, NEW , Software error: Undefined subroutine &C4::Circulation::HasOverdues called at /home/koha/kohaclone/C4/Circulation.pm line 1925
00:57 huginn eythian: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6775 enhancement, P5 - low, ---, shinoy.m, NEW , Add option to use authorized values as reasons for restrictions
00:57 huginn eythian: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=3777 trivial, P5 - low, ---, gmcharlt, REOPENED , Field Sizes Inconsistent
00:58 huginn eythian: Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8007 enhancement, P5 - low, ---, jonathan.druart, Needs Signoff , Discharge management
00:58 eythian none of those it seems
00:59 dtweed hmmm.. I couldn't find anyone that seemed to fit, but also, it appeared there was talk about have that field switched back to a boolean anyways.
01:00 wizzyrea well it's a moot point now really, as that isn't handled there that I know of.
01:00 wizzyrea I do recall we had a report of this exact thing tho
01:00 dtweed you don't happen to know where the 'ludicrous date comparison loop thing..'  is?
01:01 eythian no, it was ages since I last saw it, my memory might be wrong too
01:02 dtweed thanks anyways.  I'll find it eventually.
01:02 wizzyrea yeah, it was that first one that fixed it
01:02 wizzyrea bug 11846
01:02 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=11846 major, P5 - low, ---, fridolyn.somers, Pushed to Stable , Correct database update for debarments with 9999-12-31
01:03 wizzyrea UPDATE borrower_debarments SET expiration = NULL WHERE expiration = '9999-12-31'
01:03 wizzyrea might check your borrower_debarments table for that ludicrous date.
01:06 dtweed That bug fix doesn't address the checkin issues, just how the debarments are copied in to the new table.
01:06 wizzyrea oh check in - sorry I misunderstood
01:06 dtweed np
01:06 wizzyrea yeah that's a new one I think.
01:06 wizzyrea what version are you on?
01:07 dtweed 3.16 (
01:09 dtweed I was just trying to figure out where in the checkin process borrowers.debarred was looked at (and why).
01:09 dtweed I noticed that if I just change the date from the 9999... to any other date I didn't experience the issue at check in.
01:10 wizzyrea yeah, close dates work ok
01:10 wizzyrea http://bugs.koha-community.org[…]_bug.cgi?id=13226 seems kind of similar, but would be for 3.18
01:10 huginn Bug 13226: major, P5 - low, ---, jonathan.druart, Signed Off , Significant slowdown of checkins with fix for notices ignoring the dateformat preference
01:12 dtweed The root of that problem if probably the same, just a different symptom
01:12 dtweed Thanks for the info anyways.  I'll just keep looking through the perl and see what I can find.
01:13 dcook joined #koha
01:13 dtweed UCq85yg2
01:13 wizzyrea ^.^
01:13 dcook ?
01:13 wizzyrea better change that. ;)
01:13 tcohen me too
01:13 dtweed oops
01:14 wizzyrea rangi: can you strike that from the log when you have a minute ^.^ thanks
01:14 rangi yep, id still change it right now
01:14 wizzyrea ^^
01:15 wizzyrea thanks rangi
01:15 dtweed changed.
01:15 wizzyrea supergood
01:15 dtweed thanks, this is what happens when you have too many keyboards
01:16 tcohen rangi: is it possible to restart jenkins?
01:16 tcohen from the UI?
01:16 rangi yep
01:16 tcohen looks like the debian 6 node is stuck
01:16 tcohen but no symptoms
01:16 tcohen it happened to debian 7 until you reloaded it on upgrade
01:17 tcohen jenkins bug
01:18 rangi i have to upgrade a bunch of plugins and it needs an upgrade in general
01:18 rangi so ill do all that
01:18 tcohen rangi++
01:22 jenkins_koha joined #koha
01:26 jenkins_koha joined #koha
01:33 rangi tcohen: http://jenkins.koha-community.org/computer/
01:33 rangi something up with ubuntu mariadb's clock?
01:49 tcohen oh, tz
01:49 tcohen will check
02:36 irma_ joined #koha
02:49 tcohen night #koha
02:56 Phlunk3 long shot, but we have a school who want to use wheelers e-books in conjunction with Koha, the wheelers team told us they have some clients already using koha and I would love to hear from you if you have been involved with such a project.
03:01 eythian Phlunk3: we have a couple using it.
03:01 eythian It's pretty simple, iirc
03:01 eythian they just authenticate against koha using SIP2
03:09 wizzyrea yeah, nbd really
03:10 wizzyrea Even uses the default terminators and such.
03:13 Phlunk3 cool, thought as much. Will have to have a look at sip setup on that server. thank you.
03:14 eythian dcook: there's no need to pass null as it'll just work anyway
03:15 eythian Phlunk3: if you have packages installed, start with sudo koha-sip-enable
03:15 dcook eythian: If you have it set up to auto-update
03:16 eythian dcook: which you'd do on creation in the schema :)
03:16 dcook Actually, I can't get it to update even using a null with DBIC
03:16 dcook eythian: Ideally, yeah :D
03:16 dcook I don't think DBIC handles nulls so well..
03:16 eythian that surprises me
03:16 dcook Oh wait, I'm probably an idiot
03:16 dcook which shouldn't surprise anyone :p
03:17 dcook Apparently I'm not as smart as the script..
03:17 dcook Ok, it does work sending a null :p
03:20 alvet joined #koha
03:24 dcook I'm curious as to what we'll decide as I'm looking at making two new tables and both have a timestamp column :p
03:36 dcook Actually, I think I might just make 'created' and 'updated' columns...
03:36 dcook But if I do that without a decision, then it just adds to the diversity of ways that we do things..
03:37 eythian quietly add to the coding guidelines :)
03:37 dcook hehe
03:37 eythian imo, an auto-updating created/updated is the best approach as it requires minimal/no code changes
03:39 dcook Agreed
03:40 dcook I wonder what sort of support Postgres has for it... not that we support Postgres anyway
03:40 eythian I'd say we burn that bridge when we get to it
03:40 eythian you can do it with functions in postgres anyway
03:40 eythian (if you can't do it directly)
03:42 dcook hehe
03:42 dcook Yeah, I figure it's that same thing with optimization, yeah?
03:42 dcook There's been a few times now where having a timestamp column has been frustrating
03:42 dcook When really what you needed to know was when the row was created and last updated
03:42 dcook I think reserves might be an example of this... or possibly issues
03:43 dcook Actually... they both have timestamps with no context...
03:43 dcook And other datetime columns that actually have meaning
03:44 dcook I suppose going with 'created/updated' could require a fair number of changes actually...
03:44 eythian that's part of why I was saying "timestamp" is a terrible name as you don't know what it is.
03:44 dcook We would need to make sure we're not using timestamp for anything
03:44 dcook Yeah, I totally get that now
03:45 eythian as for postgres, there's a development philosophy called "YAGNI" (you ain't gonna need it) which suggests that if it's not something you need now, don't waste time implementing it.
03:46 eythian if you need it later, do it then. If you never need it, then don't. And don't carry round technical debt for something you don't need right now.
03:46 dcook I certainly see the merit of that
03:46 dcook But what about if you're too shortsighted when designing a system
03:46 dcook And you design your way into a corner which requires a rewrite to do something that should've been done right in the beginning?
03:46 eythian then you refactor
03:46 dcook Fair enough
03:47 dcook I suppose YAGNI still applies at the start.. and if you miss something... that has more to do with requirements gathering than anything
03:49 dcook As I look over the db... it looks like `timestamp` is the same as `updated`
03:49 dcook And that we use more specific names for `created` like `reservedate` and `issuedate`
03:49 eythian yep. You still should design in a way that allows extensibility where reasonable, but don't spend time on things you're not needing at the moment.
03:50 eythian well, I sorta see created and updated as database-level things
03:51 eythian they're like metadata for the row, rather than things like issuedate which are data.
03:51 eythian also, issuedate etc should be datetime not timestamp probably
03:51 dcook It may very well be datetime
03:52 dcook Not sure
03:52 dcook Yeah, I was thinking about it as metadata for a row as well rather than data, but... *shrug*
03:52 eythian yeah,it's more you can't do the auto stuff with datetime, but datetime can go past the unixpocalyse.
03:52 dcook That's not too far away, isn't it?
03:53 dcook Hmm double negative..
03:53 dcook It's close, yeah?
03:53 eythian 2038
03:53 dcook Reasonably close
03:54 dcook I recall checking our systems a while back..
03:54 * eythian is trying to get the elasticsearch/catmandu stuff to work on ubuntu LTS. This is going to be hard.
03:55 dcook Why's that?
03:55 eythian libmoo-perl depends on libmodule-runtime-perl (>= 0.014); however:
03:55 eythian Version of libmodule-runtime-perl on system is 0.013-1.
03:55 eythian lots of that sort of thing
03:55 dcook Ugh :(
03:56 dcook Good luck with that :)
03:56 eythian I'm tempted to be lazy and cpan it all, but that's Bad
03:56 dcook Probably
03:56 wajasu i just got docker package builds working. about to see if they install.  so i can do some ubuntu signoff tests
03:56 eythian oh interesting
03:56 wahanui i think interesting is sometimes good and sometimes bad
03:56 dcook I really need to play with docker one of these days...
03:57 * eythian needs to...
03:57 eythian yeah, that
03:57 wahanui somebody said yeah, that was cool - a way to enhance the OPAC without bloating Koha...
03:57 eythian I've used it a little, but I don't really understand it yet
03:57 dcook Yeah, I listened to one presentation at SLUG, but that's about it
03:57 dcook I hope future baby likes to sleep, so we can chill out together while daddy plays on the computer
03:58 dcook Of course, I'll babywear so that they start their love of computers from a young age :p
03:58 wajasu should be able to put elasticsearch in its own container and use as a component
03:59 wajasu if you are running wheezy 64bit, you can install the linux kernel backport and docker works.
03:59 wajasu no pbuilder.
04:00 dcook Ahh, right, that's why I've been putting it off
04:00 dcook I'd have to use the backport. I think I was thinking of switching to Ubuntu as there was already support going back to...
04:00 dcook I can't remember how far back, but it was advertised at least
04:02 wajasu i have apt-cacher-ng as an apt proxy/cache and now i can have my container builds dselect and pull from it wihtout hitting net.  good for laptop hackfest work.
04:02 dcook In other news: http://www.sbs.com.au/comedy/a[…]-russian-warships
04:02 dcook The sad thing is that the satire articles sound so similar to the non-satire...
04:03 eythian dcook: http://youtu.be/RXZAfYrMYko http://youtu.be/WgvuF-72YCc
04:04 * dcook facepalm
04:04 wahanui http://buikitty.files.wordpres[…]120202-094434.jpg
04:07 wajasu i was struggling getting wheezy pkg builds to find some othe "special" pkgs in the koha squeeze-dev repo, but i might just dget them individually wihtout adding squeeze to my sources.list
04:08 eythian it should just work
04:08 eythian assuming you have the sources added
04:08 eythian if you don't then it won't
04:08 eythian but you can install koha-perl-deps
04:09 wajasu i'll add the squeeze ones this time.
04:10 eythian if it's for dev, then use squeeze-dev
04:12 wajasu ok. just trying to save time for signoffs.
04:13 eythian I put all packages into all sections, but koha-perl-deps will be the most current in squeeze-dev
04:19 mtompset Have a great day, #koha.
04:20 eythian arg this sodding module has XS
04:20 eythian I don't have a crosscompiler set up :/
04:21 eythian Maybe I'll put it into debian and let them do the hard work
04:23 dcook :D
04:23 irma_ joined #koha
04:26 eythian oh, they've already started to package it!
04:26 eythian that's good
04:31 eythian have you guys heard about the Baader-Meinhof Phenomenon? It's like it's been talked about everywhere lately.
04:32 jcamins lol
04:32 dcook I'm trying to think of a good response but I have nothing
04:33 eythian why don't I have a 64-bit build machine? This is annoying.
04:33 BobB http://www.sbs.com.au/comedy/a[…]-russian-warships
04:33 jcamins eythian: you don't have a 64-bit build machine?
04:33 eythian no, I'm using a VM I set up ages ago as 32 bit for some stupid reason
04:34 eythian ah hah
04:34 * eythian finally finds the debian .deb files
04:34 * eythian steals
04:35 eythian that didn't work :(
04:36 eythian libmarpa-r2-perl depends on perl (>= 5.20.0-4); however:
04:36 eythian Version of perl on system is 5.18.2-2ubuntu1.
04:36 eythian that's a bit of a brick wall
04:36 dcook BobB: Did you see me post that link above? :p
04:37 dcook What depends on Perl > 5.20? :S
04:37 eythian Marpa::R2
04:37 eythian which is a parser thingy
04:37 dcook :S
04:37 BobB oh, well done dcook
04:37 dcook Isn't 5.20 the latest version?
04:37 dcook BobB: I'm just glad we both found it post worthy :p
04:38 eythian yep
04:38 BobB what a farce: we are a joke
04:38 dcook It is a joke though
04:38 dcook "The Backburner is Australia's most trusted news source. It is quite obviously satire and shouldn't be taken seriously."
04:39 dcook I was a bit surprised to see SBS posting "comedy" though...
04:39 BobB no dcook Australian government policy is the joke
04:39 BobB the backburner and other's just convey to us the extent of it
04:40 dcook Yeah, that's pretty true
04:40 dcook I suppose I should watch what I say on logged channels though of course :p
04:41 dcook As an immigrant, I have encountered some really baffling stuff
04:41 eythian I haven't speaken to an Australian who disagrees
04:41 dcook ^
04:41 eythian in fact, most of them go on at great length about it
04:41 eythian dcook: no, they're just normal Australian things
04:41 dcook I almost wrote "dcook:" hehe
04:41 eythian I mean, "doonas", "thongs", ...
04:42 eythian "eskys"
04:42 dcook eythian: I suppose you're not talking to the rich people, the poor people, or the rural people
04:42 eythian it's all weird all the time over there
04:42 dcook eythian: You mean kiwis don't use those words?
04:42 eythian dcook: yeah
04:42 eythian no we don't
04:42 dcook O_O
04:42 eythian we use the normal words
04:42 dcook Good to hear :)
04:42 * dcook still refuses to say doona or esky
04:42 eythian "duvets", "jandels", "chilly bins"
04:43 eythian *jandals
04:43 dcook I'm willing to say "thongs" as that's just old fashioned in Canada
04:43 dcook jandels? chilly bins?
04:43 eythian yeah, the normal words
04:43 dcook err jandals*
04:43 dcook hehe
04:43 dcook I do like it better than thong
04:43 dcook chilly bin also seems accurate
04:44 dcook while I think esky was a brand?
04:44 eythian so was chilly bin, I think
04:44 dcook Hmm, still is I think
04:44 dcook I guess we used a brand name too. What was it...
04:44 dcook Haven't heard it since I was a kid
04:44 dcook We mostly call them "coolers"
04:44 dcook There used to be a word you'd hear in the country though
04:45 dcook I think Saskatchewan still has dibs on "bunny hug"
04:45 eythian that sounds terrifying
04:45 dcook When you say it like that, I wish I could draw...
04:45 dcook It's just a pull over hoodie
04:46 eythian like, one without a zip?
04:46 dcook Yep
04:46 dcook Hooded sweatshirt with a pocket in front
04:47 eythian ah yep
04:47 dcook Sometimes called a kangaroo jacket in Saskatchewan as well I think
04:47 dcook Or maybe others call it that?
04:47 eythian I'd assume that was one made out of kangaroo leather
04:47 eythian (a jacket, that is)
04:47 dcook That would be more logical
04:47 dcook The internet suggests both
04:48 dcook All right... running the OAI client for its first full run. Let's see how much I can break this thing..
04:50 eythian > sudo dpkg --force-depends -i libmarpa-r2-perl_2.086000~dfsg-3+b1_amd64.deb
04:50 eythian solved!
04:50 eythian (by cheating)
04:51 eythian if it doesn't explode, I'll consider that a success
04:51 dcook Mine exploded almost immediately
04:51 dcook That's what I get for making so many changes
04:52 dcook Mmm looks good this time..
04:53 dcook Hmm, lookin' good
04:56 dcook And this is when dcook realizes that he hasn't built the UI for configuring target OAI servers yet...
04:56 dcook Mostly built it last year though... can probably reuse the code
04:56 dcook DBIC actually does make this way easier
04:57 dcook And once you've figured out its funky syntax, it makes a fair bit of sense
04:57 eythian yeah
04:58 eythian I have a project I'm working on of my own and I wish I used that.
04:58 eythian I did everything else right (I like to think) but not that
04:58 dcook that?
04:58 wahanui hmmm... that is the intended behavior?
04:58 eythian now I get annoyed when I need to extend my schema and have to write SQL joins.
04:58 eythian that == not use DBIC
04:58 dcook Mmm
04:58 eythian well, the second one
04:58 wahanui the second one is pulling it from
04:59 eythian the first one is just == DBIC
04:59 eythian it made sense in my head
04:59 dcook I think it makes sense when I read it again
05:00 dcook I suppose I'll leave `timestamp` for now... just so it's consistent
05:01 eythian but what's it going to mean?
05:01 dcook last updated :p
05:02 dcook Mmm, but it would be nice to have added and updated...
05:02 dcook Especially since the main harvest table gets populated by one job, then processed by another job
05:03 eythian then do it
05:03 eythian wahanui: standards
05:03 wahanui the great thing about standards is that there are so many to choose from!
05:03 dcook lol
05:17 dcook What is you say about .pl scripts, eythian?
05:17 dcook That they should be super short?
05:18 eythian I think so, yeah. Business logic should be modules.
05:18 eythian display/output logic can be in the .pl or the .tt (in regular cases.)
05:18 dcook I think my importer.pl is about 32 lines
05:18 dcook That includes the licence
05:18 eythian sounds ideal :)
05:18 eythian print it and frame it
05:18 dcook haha
05:18 dcook I think I could make it shorter but then that feels like taking it a bit overboard..
05:19 eythian yeah, keep it clear is the primary thing
05:19 dcook Yeah, in this case the .pl is pretty much just retrieving the required rows from the DB (via DBIC) and then processing them (via the .pm I made)
05:19 dcook I think it's obvious what it's doing
05:20 dcook For heavy lifting, a person can look at the module
05:21 eythian I'd probably have the DBIC stuff in the module too, but that's really just being picky
05:21 dcook I was thinking a bit about that
05:21 eythian (and may not suit your case)
05:21 dcook It probably could work
05:22 dcook It makes for a super short script, but it is pretty basic what it needs to do
05:22 dcook Iterate through the records, transform the XML via XSLT, and either add the record to Koha or update an existing record
05:23 dcook Hmm, I suppose I should be thinking about how to make this testable...
05:23 dcook / I should've been writing my test as I went
05:24 eythian I hate doing that. It works best, but it makes the development feels so slow, even though it's faster in the end.
05:25 dcook Those feels
05:25 eythian yay, my USB SDR should arrive tomorrow. That'll give me something to play with in the weekend.
05:26 dcook USB SDR?
05:26 eythian http://en.wikipedia.org/wiki/S[…]are-defined_radio <-- in my case, a cheap USB wideband radio receiver to work with GNU Radio
05:29 dcook Oooo, that sounds like a fun weekend
05:29 dcook Hmm, I don't have anything scheduled for my weekend.
05:29 dcook That can only mean... I forgot to write down my schedule.
05:30 eythian https://www.kiwicon.org/site_media/sdr.nfo <-- I have that in about a month to learn more about it
05:30 eythian (I managed to get into the free course)
05:31 dcook O_O
05:31 pug joined #koha
05:32 dcook Very jealous
05:32 dcook I really hope my children are really into technology
05:32 eythian you should come to kiwicon
05:32 eythian https://kiwicon.org/ <-- I've probably posted this here already
05:32 dcook I'm trying to recall the dates..
05:32 dcook December something?
05:33 dcook 11 and 12
05:33 wahanui 23
05:33 eythian yeah
05:33 dcook I think we're due for another scan around then so that's probably a no go
05:34 dcook hehe
05:34 dcook "Welcome to Kiwicon 8 where - just like computer security - its always 1989!"
05:34 eythian ah well
05:34 dcook One of these days...
05:34 dcook I know I always say that, but one of these days it'll actually be true and I will come over :p
05:34 eythian yeah, they always ahve an entertaining site
05:35 dcook Down to 23 lines
05:36 eythian if you get it to zero, excluding comments, you've won ;)
05:37 dcook lol
05:37 dcook I feel like I could get it down to 22...
05:37 dcook So only 3 lines of actual code :p
05:37 dcook It's currently 4
05:39 dcook I feel like "Koha::OAI::Importer->new()->import_records();" might be cheating
05:39 eythian heh
05:40 dcook Worked though..
05:41 eythian that's what counts
05:41 dcook I thought doing things the right way or the best way was what counted the most though :p
05:42 eythian foolish consistency is the hobgoblin of little minds ;)
05:45 dcook Seems like chaining methods is something that has been talked about a little bit at least
05:45 eythian oh yeah, typically it's fine
05:46 eythian a few years ago java had a thing about doing it to make semantic sense where you'd chain a whole lot of things together
05:46 dcook Yeah, it seems really common in a few languages
05:46 dcook Now that I think about it, I suppose I've done it a few times...
05:46 dcook Actually, possibly even in the other script..
05:47 dcook Yep, I totes do
05:47 dcook $record->metadata->dom->toString
05:47 eythian http://bazaar.launchpad.net/~e[…]ngs/Bindings.java <--  like those bind lines there
05:48 pastebot "dcook" at 127.0.0.1 pasted "Koha's shortest cronjob?" (22 lines) at http://paste.koha-community.org/285
05:48 eythian needs more POD ;)
05:49 dcook hehe
05:49 dcook I didn't know we put POD in .pl :O
05:49 dcook I guess we do in the cronjobs..
05:49 eythian I don't think there's a reason not to, but it'd be good to have something that says what calling this is going to achieve
05:49 dcook Agreed
05:50 dcook And probably some requirements for it doing anything
05:50 dcook Mmm, might have it print out something as well
05:50 eythian hrm, I was going to leave now I have Catmandu installing, but then Sisters of Mercy came on.
05:50 dcook At the moment it's very uninformative
05:50 dcook Stay?
05:50 dcook Dang, I was sure wahanui would have something for that
05:50 dcook What's the line..
05:51 eythian "Stay a while. Stay forever!" ?
05:51 dcook "Please stay a while. And I promise I won't keep you long. I'll keep you forever"
05:51 eythian it shouldn't output by default, but having a verbose option would be good.
05:51 dcook ooo, good one
05:51 eythian a suitable thing to pass to the constructor
05:52 dcook After all, if it's outputting by default, people will just be dumping it out to dev/null anyway
05:52 dcook Yeah?
05:52 eythian perhaps have a look at bug 12952 too
05:52 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=12952 enhancement, P5 - low, ---, srdjan, Needs Signoff , Log koha actions to syslog too
05:53 eythian that way you could log to syslog which would be nice, or console if there's a command line option.
05:53 eythian or something like that.
05:53 eythian well, cronjobs get emailed to the admin
05:53 eythian that's annoying if it's noise.
05:53 eythian it's how I'd do it, so the object knows it should be verbose and outputs things it's supposed to.
05:53 dcook I suppose a person could add multiple verbosity options
05:54 eythian if you like, though I'd just go for quiet and not quiet.
05:54 dcook And have the minimal verbosity just for warnings/errors
05:54 eythian they should always log if they're likely to be important
05:54 dcook Ideally, the db should record all the important info
05:54 dcook Except maybe...
05:55 dcook When the matching goes awry
05:55 eythian well, errors or weird data or something should log to syslog
05:55 dcook Then it just reports that there was an error
05:55 eythian or even just stderr
05:55 dcook warns go to stderr, yeah?
05:55 eythian jup
05:56 dcook Hmm, so nothing is using syslog at the moment?
05:56 dcook Wait..
05:56 eythian only the SIP stuff, which totally vomits
05:56 dcook Never mind that
05:56 dcook Yeah?
05:57 eythian it's super noisy
05:57 dcook Is SIP the only thing that uses C4::Log::logaction?
05:57 eythian no, it's for logging to the database
05:57 eythian I think
05:57 eythian i.e. action_log
05:57 dcook Well this bug adds syslog into that
05:57 eythian yeah
05:57 dcook So if you have syslog set up in your koha-conf.xml, it'll go to both?
05:58 eythian so log monitoring stuff can collect stats better.
05:58 eythian I think so
05:58 dcook I would really love better logging
05:59 dcook Hmm, any good examples regarding sending the verbosity flag to the constructor?
05:59 cait joined #koha
05:59 dcook I suppose if a person makes an accessor it'll be nicer than $self->{verbose}
06:00 dcook I wonder how many OAI servers actually use UTC...
06:01 eythian have a look at how class::accessor does it
06:01 * eythian departs
06:01 eythian later
06:01 dcook ta
06:04 dcook Yeah... I don't think Koha necessarily handles time right...
06:04 dcook For the OAI server
06:10 dcook blarg
06:11 * cait waves
06:11 dcook yo cait
06:11 * dcook really should leave now
06:12 cait heh
06:13 * dcook debates trying to fix oai.pl or just going with the consistent error...
06:14 dcook Probably the consistent error...
06:14 dcook As I'll be harvesting from Koha into Koha
06:14 dcook And fixing one will just cause unexpected results
06:14 dcook And there is no guarantee the fix will go out to all the Kohas I need to harvest from...:S
06:14 dcook Oh well. That's why it's 5:15pm
06:14 dcook Have a good day, cait :)
06:21 cait have a nice evening :)
06:29 Rebaz joined #koha
06:34 Rebaz Hello guys ,
06:36 Rebaz I am a new user of Koha , recently we have installed koha system in the library , and we have inserted more than 10000 books , now I want to print all the books with their DC ,
06:36 Rebaz any help will be appreciated please
06:43 qu-bit joined #koha
06:53 laurence joined #koha
07:23 qu-bit joined #koha
07:28 marcelr joined #koha
07:28 marcelr hi #koha
07:33 reiveune joined #koha
07:33 reiveune hello
07:33 wahanui hola, reiveune
07:49 marcelr hi reiveune
07:50 reiveune bonjour marcelr magnuse
07:52 qu-bit joined #koha
07:53 qu-bit joined #koha
07:56 alex_a joined #koha
07:56 alex_a bonjour
07:56 wahanui hola, alex_a
08:22 paul_p joined #koha
08:42 cait joined #koha
08:42 cait morning #koha
09:01 marcelr hi cait
09:05 cait hi marcelr :)
09:28 paul_p hi #koha
09:28 paul_p magnuse around ?
09:30 ashimema morning #koha
09:31 cait hi paul_p and ashimema
09:34 marcelr hi paul_p ashimema
10:35 bigbrovar joined #koha
10:44 bigbrovar @wunder abuja
10:44 huginn bigbrovar: An error has occurred and has been logged. Please contact this bot's administrator for more information.
10:44 bigbrovar :-i
11:37 reiveune1 joined #koha
11:37 paul_p_ joined #koha
12:07 drojf joined #koha
12:07 drojf hi #koha
12:45 cait hi drojf and khall
12:45 khall hi!
12:47 drojf hi! :)
12:47 NateC joined #koha
12:51 tcohen joined #koha
12:53 tcohen joined #koha
12:54 meliss joined #koha
13:01 oleonard joined #koha
13:04 oleonard Hi #koha
13:05 cait hi oleonard :)
13:05 * cait is happy because at home waits a new kitchen!
13:05 cait ... only I have to work a bit longer
13:06 kmlussier joined #koha
13:06 oleonard Did you get a visit from the kitchen fairy cait?
13:08 cait something like that :)
13:09 cait i had a very minimalistic kitchen in the last years - it's a huge upgrade in features :)
13:09 cait real oven!
13:09 cait freezer!
13:11 oleonard Real oven + freezer = Freezer cookies!
13:14 phasefx joined #koha
13:17 cait that's a thing?
13:18 oleonard Yup. Cookie dough you can freeze, slice, and bake.
13:18 oleonard Good for making just enough cookies for an emergency cookie fix.
13:19 cait :)
13:19 cait sounds good!
13:19 cait I got a little 'elk' yesterday to make ginger bread cookies
13:23 collum joined #koha
13:25 tcohen morning #koha
13:25 khall mornin tcohen!
13:27 cait morning tcohen
13:41 nengard joined #koha
13:48 carmenh joined #koha
13:51 bigbrovar joined #koha
13:52 ztajoli joined #koha
14:04 oleonard Joubu: Bug 13242 should be tested on top of the patch for Bug 13226?
14:04 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=13242 normal, P5 - low, ---, jonathan.druart, Needs Signoff , Slow checkin for patrons restricted indefinitely
14:04 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=13226 major, P5 - low, ---, jonathan.druart, Signed Off , Significant slowdown of checkins with fix for notices ignoring the dateformat preference
14:07 Oak joined #koha
14:08 Joubu oleonard: as you want
14:08 * Oak waves
14:09 Joubu rangi: around?
14:10 oleonard Too early for rangi Joubu
14:12 Joubu tcohen: Did you see my comment on bug 11634 before you pushed the last patch?
14:12 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=11634 enhancement, P5 - low, ---, kyle, Pushed to Master , Allow renewal of item with unfilled holds if other available items can fill those holds
14:12 maryj joined #koha
14:12 tcohen Joubu: no i didn't
14:20 mveron joined #koha
14:20 oleonard Joubu are you ready for a new checkin problem? :|
14:20 mveron Hi #koha
14:21 oleonard Checking in an item which triggers a suspension in days takes around 50 seconds in my test system
14:21 cait Joubu: 12 hours now to nz - for you ... 11 or 13?
14:22 Joubu oleonard: shoot
14:23 oleonard Specifically: Checkin in an item which triggers a suspension in days from the account of an indefinitely restricted patron
14:23 mveron Are acronyms widely used in Koha? - The acronym tag splits up sentences making it very difficult to have a correct translation, e.g. for opac-auth.tt
14:27 cma joined #koha
14:27 tcohen gmcharlt++ # patron privacy wrangler
14:32 cait left #koha
14:33 Joubu oleonard: Does the problem still exists with bug 13242?
14:33 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=13242 normal, P5 - low, ---, jonathan.druart, Needs Signoff , Slow checkin for patrons restricted indefinitely
14:34 Joubu oleonard: The problem should be fixed globally with this patch
14:34 Joubu the problem == trying to parse "9999-12-31" to generate a DateTime object
14:36 oleonard I will double-check Joubu
14:37 oleonard Yes, the problem with suspension in days still happens with the patch for 13242 applied.
14:40 carmenh joined #koha
14:41 jenkins_koha Starting build #4 for job Koha Docs 3.16.x (previous build: SUCCESS)
14:41 jenkins_koha Project Koha Docs 3.16.x build #4: SUCCESS in 1 min 20 sec: http://jenkins.koha-community.[…]0Docs%203.16.x/4/
14:41 jenkins_koha Nicole C. Engard: add id for barcodeattribute
14:41 Joubu oleonard: could you open a new bug report please?
14:42 oleonard Yes. Sorry to be the bearer of bad news.
14:49 jenkins_koha Starting build #87 for job Koha_Docs_3.14.x (previous build: SUCCESS)
14:49 jenkins_koha Project Koha_Docs_3.14.x build #87: SUCCESS in 14 sec: http://jenkins.koha-community.[…]a_Docs_3.14.x/87/
14:49 jenkins_koha Nicole C. Engard: add id for barcodeattribute
15:11 jenkins_koha Project Koha_Docs build #574: FAILURE in 10 min: http://jenkins.koha-community.[…]ob/Koha_Docs/574/
15:25 jenkins_koha Project Koha_Docs build #575: STILL FAILING in 10 min: http://jenkins.koha-community.[…]ob/Koha_Docs/575/
15:28 Joubu oleonard: I don't manage to reproduce it...
15:40 jenkins_koha Project Koha_Docs build #576: STILL FAILING in 10 min: http://jenkins.koha-community.[…]ob/Koha_Docs/576/
15:55 jenkins_koha Project Koha_Docs build #577: STILL FAILING in 10 min: http://jenkins.koha-community.[…]ob/Koha_Docs/577/
15:57 tgoat joined #koha
16:10 jenkins_koha Project Koha_Docs build #578: STILL FAILING in 10 min: http://jenkins.koha-community.[…]ob/Koha_Docs/578/
16:18 reiveune1 bye
16:18 reiveune1 left #koha
16:24 jenkins_koha Starting build #579 for job Koha_Docs (previous build: STILL FAILING -- last SUCCESS #573 1 day 21 hr ago)
16:24 jenkins_koha Yippee, build fixed!
16:24 wahanui o/ '`'`'`'`'`'`'`'`'`
16:24 jenkins_koha Project Koha_Docs build #579: FIXED in 8 min 43 sec: http://jenkins.koha-community.[…]ob/Koha_Docs/579/
16:24 jenkins_koha * Nicole C. Engard: add id for barcodeattribute
16:24 jenkins_koha * Nicole C. Engard:  remove OpacShowLibrariesPulldownMobile
16:24 jenkins_koha * Nicole C. Engard: remove OpacMainUserBlockMobile
16:24 jenkins_koha * Nicole C. Engard: remove OPACMobileUserCSS
16:24 jenkins_koha * Nicole C. Engard: remove prog and ccsr from opacthemes
16:24 jenkins_koha * Nicole C. Engard: remove other theme images
16:24 jenkins_koha * Nicole C. Engard: update path to opac.css
16:24 jenkins_koha * Nicole C. Engard: fix typo
16:24 jenkins_koha * Nicole C. Engard: update path to xslt with bootstrap
16:24 jenkins_koha * Nicole C. Engard: remove prog from cms appendix
16:24 jenkins_koha * Nicole C. Engard: remove reference to ccsr in stylesheet pref
16:24 jenkins_koha * Nicole C. Engard: remove mobile opac section that talked about ccsr
16:24 jenkins_koha * Nicole C. Engard: remove ccsr mobile opac section
16:24 jenkins_koha * Nicole C. Engard: add RentalFeesCheckoutConfirmation
16:29 kmlussier joined #koha
17:15 cait joined #koha
17:18 carmenh joined #koha
17:19 cait new kitchen!
17:22 carmenh joined #koha
17:23 * oleonard laments that no one does any QA anymore now that cait spends all her time in the kitchen
17:24 cait hehe
17:24 cait i did my share this year.. not it's time for cookies
17:24 carmenh joined #koha
17:26 oleonard You certainly did cait!
17:26 oleonard cait++
17:26 cait heh
17:26 cait i will do more
17:27 cait at the moment i am scared to break something in the new kitchen
17:30 oleonard I had a friend who turned on her newly-installed oven only to find out shortly after that there had still been packing material inside.
17:31 cait waah!
17:38 laurence left #koha
17:38 tcohen hi
17:42 * cait waves
17:43 tcohen hi cait
17:43 tcohen o/
17:47 rocio joined #koha
18:14 wnickc joined #koha
18:31 barton I have a partner who says that they are no longer able to look up patrons by userid on checkout, after upgrade to 3.16. I wasn't aware that this was ever possible, but they're adamant that something's broken.
18:32 barton was this formerly possible at the standard search bar?
18:33 cait hm
18:33 cait on checkout?
18:33 cait not sure really
18:33 barton right.
18:34 tcohen barton: don't think so
18:35 tcohen maybe it was a coincidence
18:35 barton nod.
18:35 barton it doesn't smell right to me either.
18:35 oleonard It doesn't work for me when I check out 3.14.x
18:35 barton oleonard++
18:40 oleonard I'll see your username login and raise you one, "Patrons after the upgrade have the 'gonenoaddress' flag set when it wasn't set before"
18:40 oleonard I can't imagine how that could be true, but that's what people are telling me
18:41 cait huh
18:41 cait that sounds weird
18:41 barton which table is that in?
18:41 cait borrowers
18:41 wahanui rumour has it borrowers is InnoDB in oleonard's test system, FWIW
18:41 cait gonenoaddress or similar
18:43 barton would chainging a borrower's card number cause problems?
18:45 cait oleonard: around?
18:45 wnickc their card wouldn't work anymore :)
18:46 oleonard cait: Yes
18:46 cait HEA - Render community koha statistic usages
18:46 cait could we rephrase that a bit for the release notes?
18:47 barton wnickc -- true, but they seem hellbent on checking patrons out by userid, and they don't want to change those ... *something* has to give.
18:47 wnickc copy userid to sort1 or sort2, i think those are searchable now?
18:47 barton cait: how about "Report" rather than "Render"?
18:47 oleonard cait: Are you updating bug titles for that purpose?
18:48 cait trying yes :)
18:49 barton wnickc -- search on the patron screen works fine by userid. are you saying that you can check out items using sort1 or sort2?
18:51 wnickc oh, it might only be on patron search, sorry barton
18:52 barton no problem wnickc -- I'm trying to nail this down as much as I can, just to avoid further communication issues with the partner.
18:53 oleonard Hea - Report Koha community usage statistics? Hea - Report Koha library usage statistics?
18:54 * barton prefers the latter.
18:59 tcohen later #koha
19:01 cait oleonard: feel free to fix any mistakes you see!
19:13 cait HEA - Report usage statistics to Koha community?
19:14 oleonard Is anyone aware of a problem for UNIMARC users with the OPAC's "show plain" MARC view?
19:14 * oleonard is asking at the wrong time of day probably
19:14 cait hm
19:14 cait there was a patch recently
19:14 cait but not sure if it was for staff/opac and if it got pushed
19:15 wnickc joined #koha
19:18 oleonard Maybe you're thinking of Bug 13225 cait
19:18 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=13225 normal, P5 - low, ---, frederic, Pushed to Master , Z39.50 result Card View doesn't work for UNIMARC
19:18 cait oh <wa
19:18 cait oh yes
19:21 cait oleonard: would the title above work bit better?
19:21 cait HEA - Report usage statistics to Koha community?
19:22 oleonard That sounds good to me
19:45 Phlunk3 joined #koha
19:47 kathryn joined #koha
19:57 oleonard Bye folks
20:10 barton wnickc: talljoy just pointed me in a direction that makes your idea of using altid usable in circ: make the borrower attribute 'searchable'.
20:13 wnickc ahh, I knew there was an answer barton
20:13 wnickc thanks for sharing
20:21 kmlussier left #koha
20:58 wizzyrea oleonard++ for reiterating the need for civility and compassion on the mailing list.
20:58 cait y
21:12 tcohen joined #koha
21:18 jenkins_koha Starting build #580 for job Koha_Docs (previous build: FIXED)
21:18 jenkins_koha Project Koha_Docs build #580: SUCCESS in 2 min 33 sec: http://jenkins.koha-community.[…]ob/Koha_Docs/580/
21:18 jenkins_koha * Nicole C. Engard: add batch delete tool
21:18 jenkins_koha * Nicole C. Engard: add new permission for batch record delete
21:18 jenkins_koha * Nicole C. Engard: remove yuipath
21:18 jenkins_koha * Nicole C. Engard: add Advanced Search Options prefs
21:18 jenkins_koha * Nicole C. Engard: add new max suspension and auto renew to circ rules
21:18 jenkins_koha * Nicole C. Engard: add new autorenew cron
21:18 jenkins_koha * Nicole C. Engard: add note about renew cron to circ rules
21:24 tcohen hi
21:24 wahanui hello, tcohen
21:25 wizzyrea hi tcohen
21:26 cait hi tcohen :)
21:28 tcohen is there a source for CC licences logos?
21:28 cait hm?
21:29 tcohen there are some audio tracks
21:29 tcohen on some video
21:30 tcohen that need to be attributed
21:30 cait ah
21:30 cait i think there is a website that helps you pick the license
21:30 cait and also offers a logo
21:30 tcohen yes, but only a small resolution
21:32 wizzyrea https://wiki.creativecommons.org/Marking/Users
21:32 wizzyrea does this help at all?
21:32 jenkins_koha Starting build #581 for job Koha_Docs (previous build: SUCCESS)
21:32 jenkins_koha Project Koha_Docs build #581: SUCCESS in 1 min 29 sec: http://jenkins.koha-community.[…]ob/Koha_Docs/581/
21:32 jenkins_koha * Nicole C. Engard: add AcqEnableFiles
21:32 jenkins_koha * Nicole C. Engard: add invoice file attaching
21:32 cait z39.50?
21:32 wahanui somebody said z39.50 was the ANSI standard of the beast.
21:32 wizzyrea snerk
21:32 cait z39.50?
21:32 wahanui z39.50 is probably the ANSI standard of the beast.
21:32 cait z39.50?
21:32 wahanui i guess z39.50 is the ANSI standard of the beast.
21:32 cait ok... i will look in the logs
21:32 wizzyrea lol
21:32 cait logs?
21:32 wahanui i think logs is http://irc.koha-community.org/koha/
21:32 wizzyrea z39.50?
21:32 wahanui z39.50 is the ANSI standard of the beast.
21:33 tcohen thanks wizzyrea
21:33 tcohen you earned a reward: http://snag.gy/LZiyq.jpg
21:33 wizzyrea https://wiki.creativecommons.o[…]in_specific_media specifically that
21:33 cait http://wiki.koha-community.org[…]en_Z39.50_Sources
21:33 cait i have no idea why i never can find that
21:33 wizzyrea \o/
21:35 nengard lots of manual progress today
21:35 nengard i might actually get it all done before the release!!
21:36 wizzyrea wahoo!
21:36 cait :)
21:37 mveron nengard ++
21:37 cait hmthe vokal one is not working for me
21:38 bag nengard++
21:38 cait ... and neither does sekls?
21:39 bag hmmm cait vokal works for me
21:39 cait weird
21:39 bag what port are you trying?
21:39 cait 9999
21:39 bag hmm cait try 9998 real quick for me
21:40 bag does it just time out?  or do you get a different message?
21:40 cait ah
21:40 cait looking better :)
21:40 tcohen nengard++
21:41 tcohen byeeeee
21:41 bag yeah i think that is supposed to be port 9998 (usually that's the standard one that we use)
21:41 cait ok, just figured out i was looking at sekls
21:41 cait but t works now
21:41 bag oh heh
21:42 cait 9998
21:42 cait :)
21:44 wnickc VOKAL's is 9999, at least it works for me
21:46 wnickc and BU doesn't appear to be on Koha to my eye
21:46 cait i think i had a space in front of the url :(
21:46 cait from copying it out from the wiki
21:46 cait bag++ wnickc++
21:47 cait testing bug 6681
21:47 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6681 major, P2, ---, simith.doliveira, Signed Off , When importing a biblio record via Z39.50, authority links and items also get imported
21:47 cait and it works nicely :)
21:47 eythian hi
21:48 nengard hi
21:50 cait @later tell tcohen can you take a look at bug 13223 if we can waive the need for unit tests there?
21:50 huginn cait: The operation succeeded.
21:54 nengard left #koha
21:55 carmenh joined #koha
22:07 cait @later tell tcohen I tried writing some for 13223 - can you check?
22:07 huginn cait: The operation succeeded.
22:09 carmenh joined #koha
22:24 mveron Good night / daytime #koha
22:25 * dcook keeps meaning to learn UNIMARC
22:25 dcook Oh... I was reading scrollback
22:25 dcook oops
23:01 kmlussier joined #koha
23:15 kmlussier left #koha
23:25 wizzyrea thing that needs doing: the website FAQ needs updating
23:25 wizzyrea for 1. new FAQ's
23:25 wizzyrea 2. eliminating outdated FAQ's
23:25 wizzyrea 3. getting it consistent with best practice.
23:29 wizzyrea http://koha-community.org/faqs/cookies-koha-use/ < also we should link to this from the opac footer, as a start towards a cookie policy statement.
23:32 rangi hmm true
23:32 wizzyrea http://koha-community.org/faqs[…]ndex-start-again/ this one probably highlights a bug, that there isn't a packages way to do this (or is there?)
23:34 wizzyrea hm I feel we should have a faq that is for packages, and a faq for not-packages
23:34 wizzyrea (i'm noting these just for the log, not that I expect anyone else to do them)
23:34 wizzyrea (help is nice though)
23:34 chrisvella94__ joined #koha
23:47 dcook Hmm...I'm wondering if I'm reading the wrong DBIC docs..
23:48 dcook Hmm maybe not...
23:48 * dcook would love to know why this update isn't working
23:48 dcook $result->last_modified(\'NOW()')->update();
23:48 dcook # OR
23:48 dcook $result->update({ last_modified => \'NOW()' });
23:48 dcook The first won't work, but the second will...
23:52 dcook Hmm, I guess this is what perl -d is for again..
23:56 papa joined #koha

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary