IRC log for #koha, 2012-09-03

All times shown according to UTC.

Time S Nick Message
00:53 mtompset joined #koha
00:53 mtompset Greetings, #koha.
01:20 mtompset koha-run-backups?! Cool. I didn't know it existed until I was trying to delete koha. :)
01:25 mtj mtompset, sounds like you might have discovered the koha packages :)
01:26 mtompset Yes. I have done all three types of installs.
01:26 mtompset I'm just trying to clean up instructions.
01:26 mtompset And want to redo it from a semi-pristine state, so I'm reading files that I'm deleting. :)
01:39 rangi[…]e_Debian_packages
01:44 mtompset Thanks, rangi.
01:57 mtompset joined #koha
01:57 mtompset Greetings again, #koha.
01:58 mtompset Found two minor errors. Now to ponder solutions.
01:58 rangi wb mtompset
01:58 mtompset home, koha administration, keyword to marc mapping, check error log.
01:59 rangi by errors you mean warns right?
01:59 mtompset yes, they don't affect functionality.
01:59 rangi well no there is a quite a different thing
02:00 rangi we run our scripts with use warnings
02:00 rangi this means harmless things will show up as warnings in the logs, unitialized variables etc
02:00 mtompset [Mon Sep 03 09:48:30 2012] [error] [client] [Mon Sep  3 09:48:30 2012] Use of uninitialized value $op in string eq at /usr/share/koha/intranet/cg​i-bin/admin/
02:00 rangi they are not errors, just perl warning
02:00 rangi yeah thats a warn
02:01 rangi you can silence them if you want, for a wanting your logs empty, but they are not errors, just warnings
02:01 mtompset [Mon Sep 03 09:44:00 2012] [error] [client] [Mon Sep  3 09:44:00 2012] Use of uninitialized value in numeric eq (==) at /usr/share/koha/intranet/cgi-​bin/admin/ line 284.
02:01 rangi yep another warn
02:02 rangi apache of course doesn't know the diff, if it's in stderr it ends up in the error log
02:02 mtompset yes, but it seems strange that a value would be uninitialized or the logic not handle it.
02:02 rangi the logic does handle it
02:03 rangi its obviously not going to be ==
02:03 mtompset when I say handle, I mean no warning generated.
02:03 mtompset in addition to properly processing.
02:03 mtompset there isn't a processing logic problem.
02:04 mtompset that's why "Warning" is an applicable label.
02:04 rangi there is a warning, you want it silenced i get it, its not an error though
02:04 mtompset I said "minor".
02:04 rangi i said warning, not error
02:04 mtompset I choose a poor word, since your definition of error excludes warnings.
02:04 rangi they are 2 different things in perl
02:05 rangi its not my definition, i just choose to use it because it's for the language we are using
02:06 mtompset and I chose my word based on colloquial use aside from programming language.
02:07 mtompset Which points out that I should be more careful with my use of the word error.
02:18 mtompset a simple "|| q{}" prevents one warning. :)
02:19 rangi yep, most of those will be that
02:19 rangi or if ($var && $var == 2)
02:20 mtompset but sometimes you have to figure out why the code in the if is triggered.
02:20 mtompset which reminds me... I got back to looking at bug 8175 again.
02:20 huginn Bug[…]w_bug.cgi?id=8175 normal, P5 - low, ---, gmcharlt, Needs Signoff , items.materials check logs error or displays incorrectly in
02:21 mtompset Provided a better explanation and reasoning for my code change. Hopefully it makes sense. :)
02:22 rangi bug 8712
02:22 huginn Bug[…]w_bug.cgi?id=8712 enhancement, P5 - low, ---, oleonard, NEW , We should use WAI-ARIA guidelines to help with accessibility -OMNIBUS bug
02:23 rangi i have one of the accessibility people here at work looking into that
02:25 mtompset That looks like a huge template scouring ahead.
02:32 rangi its not that bad, we had a blind user working on the opac already, this is just adding some extra stuff to some of the tags
02:37 rangi staff side on the other hand, lots to do there
02:42 mtj mtompset++ , nice work on 8175 :)
02:42 mtompset Thanks, mtj.
02:42 mtj i like the /\S/ thing..
02:43 mtompset It was the only way I could easily think of something visibly printable.
02:43 mtj its a good one for coding around 'display' stuff
02:43 mtj yep, thats it  ;)
03:25 thd-away joined #koha
03:31 mtompset Sometimes reading code is such a pain. Goes back to reading
03:33 mtompset Oh you have to be kidding me! The and is in the wrong order?!
04:01 mtompset Yes, that was it.
04:09 mtompset Next annoyance is that tag gets sorted when subfields are listed.
04:23 cait joined #koha
04:38 mtompset Greetings, cait.
04:38 cait hi mtompset
04:39 mtompset I had a productive morning. Squashed a couple of annoying warnings. How are you?
04:39 cait sleepy
04:39 mtompset As long as it wasn't caused by dreams of MARC structures, you're fine. ;)
04:40 cait ah no
04:40 cait only a long weekend
04:40 mtompset Grab your favorite form of caffeine, and try to wake up. AH! So today is like a Monday for you. :)
04:41 * mtompset passes cait some chocolate. :)
04:41 cait monday morning chocolate breakfast? why not.
04:44 mtompset Is there ever a bad time for chocolate?
04:44 cait hmm
04:45 cait that's a hard question
04:45 mtompset I thought it was easy and rhetorical. ;)
04:45 mtompset Though, I will accept: "If I step on a scale and see I have gained 10 kilos."
04:57 mtompset Hmmm... I decided to visit[…]ha-mailing-lists/
04:57 mtompset Scroll down: "Error: Feed has a error or is not valid" -- oops! That's not good.
05:00 cait hm didn't happen for me
05:04 rangi Can anyone remember what uni the Filipino guy was from?
05:05 mtompset What Filipino guy?
05:05 cait hm no
05:06 rangi Ah well never mind
05:06 mtompset Someone at KohaCon 2012?
05:06 rangi No on irc
05:07 mtompset I'm in the Philippines, but I don't think you mean me. :)
05:08 rangi Nope was at a university
05:09 mtompset nepter?
05:10 rangi No idea
05:10 rangi Not important now
05:13 mtompset You did say "apparently the director of the nat lib of the philippines is here, stopped by yesterday" on 2011-10-30. But I'll stop hunting now. ;)
05:15 mtompset Silly me I scrolled down...
05:16 mtompset qiqo(qo)... 2008-02-22... University of the Philippines.
05:16 mtompset Didn't say which branch though.
05:18 mtompset
05:26 * magnuse waves
05:27 WaqarAzeem joined #koha
05:30 mtompset Greetings, magnuse.
05:30 mtompset Greetings, WaqarAzeem
05:30 magnuse hiya mtompset
05:30 magnuse @wunder boo
05:30 huginn magnuse: The current temperature in Bodo, Norway is 11.0°C (7:20 AM CEST on September 03, 2012). Conditions: Mostly Cloudy. Humidity: 88%. Dew Point: 9.0°C. Pressure: 29.68 in 1005 hPa (Steady).
05:30 mtompset @wunder MNL
05:30 huginn mtompset: The current temperature in Loyola Heights, Quezon City, Philippines is 27.6°C (1:15 PM PHT on September 03, 2012). Conditions: Mostly Cloudy. Humidity: 88%. Dew Point: 26.0°C. Pressure: 29.77 in 1008 hPa (Falling).
05:31 magnuse you win! :-)
05:31 * magnuse wanders off to find breakfast
05:32 mtompset No wonder I don't feel like doing anything. This humidity is crazy.
05:55 * cait waves at magnuse
06:02 Mahroos joined #koha
06:02 Mahroos Hi
06:03 Mahroos Is anybody her
06:03 Mahroos ?
06:03 Mahroos Can you help me
06:03 Mahroos ?
06:03 cait hi Mahroos - ask your question, if someone around know it, they will answer
06:04 Mahroos thank you for fast response
06:04 Mahroos my q
06:04 Mahroos is
06:05 Mahroos I have installed all the components of koha on opensuse 11.4 but when I run make test command I got no response ?
06:05 cait hm
06:06 cait why did you install koha
06:06 cait it's very old
06:06 cait really old in fact
06:06 cait you shouldn't be using that if you do a fresh installatoin now
06:06 Mahroos do you mean 3.8
06:07 cait yes, that is the stable release
06:07 cait although you could also use 3.6.x
06:07 cait which is still in maintenane
06:07 cait was a stable release, but there were a lot of bug fixes and new features since then
06:07 cait are you starting fresh or are you already using Koha or have to migrate data?
06:08 Mahroos it actually fresh
06:08 cait I think I would use 3.8.x then
06:08 cait or 3.6, but nothing older than that
06:08 cait it's bit hard to tell why make test would do nothing - and I have no experience with opensuse
06:08 cait most people here are using debian or ubuntu
06:09 cait those distros make it very easy to install Koha
06:09 cait packages?
06:09 wahanui packages is probably at
06:09 cait there are debian packages for Koha
06:09 cait I think maybe you should try reinstalling a omre current version of Koha
06:09 cait as instructions for installation I woudl recommend using the files that come with Koha
06:10 cait they are labelled INSTALL.*
06:10 Mahroos actually i have used them
06:10 mtompset mahroos, are you Dennis Njuguna on the mailing list?
06:11 Mahroos no that is my name
06:11 Mahroos Mahroos Ali from Yemen
06:11 mtompset Just checking.
06:12 Mahroos it is ok
06:12 mtompset Because it seems like a few people are starting to trickle in trying openSUSE.
06:12 mtompset But the fact is there is far more ability to assist if you use a Debian-based operating system.
06:13 Mahroos opensuse is the one which is recommanded in our org
06:13 mtompset Ah. Organizational requirements.
06:13 mtompset I understand.
06:13 Mahroos yah
06:14 cait how did you choose
06:14 mtompset That comes with the live CD.
06:14 Mahroos we are non-profit org to instance the Universities  in our country
06:14 mtompset Those are the instructions in the wiki.
06:14 mtompset We don't really have people supporting openSuse.
06:15 mtompset I just went to the opensuse website... 12.2 is coming out in 2 days.
06:15 Mahroos yah exactly
06:15 mtompset What version of OpenSuse are you using?
06:15 Mahroos 11.4
06:15 mtompset The most current is the most likely to succeed.
06:16 mtompset And given that you are not a debian-based OS, you can ONLY do a tarball install.
06:16 Mahroos actually I had success story with koha on opensuse 11.4
06:17 cait but you really shouldn't use that version of Koha
06:17 cait it had lots of bugs
06:28 logbot joined #koha
06:28 Topic for #koha is now  Welcome to #koha this channel is for discussion of the Koha project and software The Next General Meeting is 5 September 18 UTC
06:28 wahanui mtompset: I forgot like what
06:28 mtompset Mahroos: use Debian or Ubuntu.
06:28 mtompset Those are the two operating systems used by most.
06:28 Mahroos yes
06:29 Mahroos done
06:29 Mahroos i will do that
06:29 mtompset And then use...
06:29 mtompset packages?
06:29 wahanui i think packages is at
06:29 mtompset It says Debian. It will work for Ubuntu too.
06:30 mbalmer joined #koha
06:30 mtompset developers! developers! developers! -- Hi, mbalmer. ;)
06:31 cait @wunder Konstanz
06:31 huginn cait: The current temperature in Taegerwilen, Taegerwilen, Germany is 14.7°C (8:25 AM CEST on September 03, 2012). Conditions: Mostly Cloudy. Humidity: 93%. Dew Point: 14.0°C. Pressure: 30.18 in 1022 hPa (Steady).
06:32 mbalmer mtompset, ahh, that joke…. do you realize that microsofts ballmer has two 'l's while I have only one?
06:32 mtompset I know, but you still make me think of it. :)
06:37 alex_a joined #koha
06:37 alex_a hello
06:37 mtompset bonjour!
06:39 stuartyeates joined #koha
06:41 magnuse hm, i'm still seeing the behaviour described in bug 8251 on 3.8.4
06:41 huginn Bug[…]w_bug.cgi?id=8251 critical, P1 - high, ---, koha, Pushed to Master , Patrons are systematically debarred at checkin
06:45 magnuse oops, that's weird. now it happened on a customer installation but not on the demo installation, running on the same package install...
06:47 julian_m joined #koha
06:49 laurence joined #koha
06:51 mveron joined #koha
06:53 reiveune joined #koha
06:53 reiveune hello
06:54 magnuse bonjour reiveune
06:58 chris_n joined #koha
06:59 asaurat joined #koha
07:07 mveron Good morming #koha
07:07 mveron morning... (should put my glasses)
07:11 magnuse anyone else seeing Patrons are systematically debarred at checkin on 3.8.4?
07:17 kf joined #koha
07:18 mtompset Don't have a 3.8.4 to check, sorry.
07:18 mtompset Greetings, mveron
07:19 mveron Hi mtompset
07:19 magnuse kia ora kf!
07:20 kf hi magnuse :)
07:20 magnuse kf: do you have customers on 3.8.4?
07:20 mtompset Greetings, kf.
07:21 kf no, we are on 3.6.3 currently I think
07:22 magnuse pft :-)
07:28 * mtompset gives kf a high-five.
07:28 mtompset So are we! :)
07:28 magnuse laggards :-)
07:29 kf pf
07:29 magnuse now i can't even save "circulation and fine rules"
07:29 magnuse is it monday today?
07:30 kf it is monday.
07:30 magnuse ah...
07:30 kf magnuse: what do the logs say?
07:31 kf if you can't save somethng often a database problem in my experience
07:31 magnuse good question
07:31 paul_p joined #koha
07:32 kf good morning paul_p
07:32 paul_p good morning #koha
07:32 magnuse kia ora paul_p
07:32 magnuse hm, lots of uninitialized values in
07:33 kf I think that's not new - sadly
07:34 kf hm
07:34 kf installed Koha using the packages for master
07:34 kf and it's still complaining about a lot of missing packages
07:36 magnuse kf: mandatory or optional packages?
07:37 kf makefile doesn't tell
07:37 kf y
07:37 drojf good morning #koha
07:39 magnuse huh - the installation that does *not* debarr on return has lots of DBD::mysql::db errors in the log...
07:40 kf huh?
07:40 drojf reading the log… so 3.6.x is going to be koha's windows XP that people use forever instead of upgrading to the new version? :P
07:40 kf nah, I don't think so
07:41 slef that was 2.2.9
07:42 drojf oh i forgot good old 2.2.9 on windows :)
07:42 slef nevere mind on windows
07:42 slef there were lots of 2.2 installations for ages after 3.0 was released
07:43 slef and the upgrade to 3.0 seems to have been so painful that quite a few libraries seem to have gone "never again" and I'm still upgrading libraries from 3.0 this summer
07:43 drojf :(
07:44 slef but then, I flamed a lot over 2.9/3.0's mistakes already, so I'll not repeat now. 3.2->4->6->8 is far better
07:44 slef and 2->4 had quite a lot of ways it could have gone badly, detaching items
07:45 slef damn it... fan fault here, rebooting, ttyl
07:46 slef hmmm... it stopped when I threatened a reboot ;)
07:46 drojf lol
07:46 slef sentient workstations!
07:47 slef it's like they KNOW when it's Monday morning or Friday afternoon
07:47 sophie_m joined #koha
08:01 * paul_p enter "pushing patches" mode..
08:02 * mtompset cheers paul_p on.
08:03 pastebot "magnuse" at pasted "patron getting debarred on checkin" (89 lines) at
08:03 * magnuse cheers paul_p on too
08:06 laurence joined #koha
08:09 mveron Hi again #koha
08:09 mveron and paul_p ++
08:09 mveron drojf:When will your library be online?
08:10 drojf mveron: imported data is checked this week, we#ll see how that goes
08:10 mtompset what version of koha, drojf?
08:11 drojf 3.8.3 at the moment. will probably be the latest 3.8.x plus some local patches when we actually anounce it
08:12 mveron drojf: Ich drücke dir die Daumen ( ~ good luck)
08:12 drojf danke :)
08:13 kf :(
08:13 kf bug 7430
08:13 huginn Bug[…]w_bug.cgi?id=7430 normal, P3, ---, jcamins, RESOLVED WONTFIX, ModZebra should not be in C4::Biblio
08:13 kf drojf: and good luck
08:14 magnuse yeah, sounds like jcamins got tired of rebasing
08:14 kf and it was passed qa.
08:14 drojf kf: thanks :)
08:14 kf improvement discussed to death.
08:14 kf so now we get no improvement at all.
08:15 rangi kaizen
08:15 kf yeah
08:15 kf I am with you rangi
08:15 rangi we should do more of that, perfect is the enemy of good enough
08:16 * kf nods
08:16 magnuse kaizen is Japanese for "improvement", or "change for the better"
08:17 rangi yep, small continuous improvement
08:17 * magnuse is a strong believer in that
08:17 rangi
08:18 rangi magnuse: hmm that seems like something is up with circ rules, we have people using 3.8.4 and havent bumped into that yet
08:19 magnuse yeah, i'm starting to think it's a data thing
08:19 slef 5 whys!
08:20 magnuse they have Suspension in days set to 7, but patrons are debarred until 18/03/2013 - which seems like a very long time...
08:22 kf how overdue are the items?
08:24 magnuse not at all, i issue and then return, and the patron is debarred
08:24 kf hm
08:24 kf thought that got fixed
08:24 kf there was a bug in bugzilla
08:25 magnuse bug 8251
08:25 huginn Bug[…]w_bug.cgi?id=8251 critical, P1 - high, ---, koha, Pushed to Master , Patrons are systematically debarred at checkin
08:26 rangi yep it was pushed before 3.8.4 so should be there
08:27 magnuse rangi: did you just push the followup on that bug?
08:28 rangi the one for bug 8486 was pushed too
08:28 huginn Bug[…]w_bug.cgi?id=8486 blocker, P5 - low, ---, colin.campbell, Pushed to Master , Critical error in Koha::Calendar::days_between calculation
08:28 magnuse Chris Cormack 2012-07-18 08:28:12 UTC "So far, none of the 3 patches are in 3.8.x"[…]g.cgi?id=8251#c28
08:28 huginn Bug 8251: critical, P1 - high, ---, koha, Pushed to Master , Patrons are systematically debarred at checkin
08:29 magnuse so with the patches from 8486, only the followup from 8251 was needed?
08:32 rangi thats what i thought, but you could try that first 8251 patch
08:33 julian_m_ joined #koha
08:34 laurence1 joined #koha
08:34 reiveune1 joined #koha
08:36 magnuse nah, the first 8251 patch looks like it will not apply any longer, because of the first patch for 8486
08:42 slef rangi: any thoughts on my foreign key problem?[…]2-08-31#i_1063330
08:44 rangi looks like you have a row that references a borrower that has been deleted
08:44 slef oh whoops
08:44 slef wrong error :)
08:45 slef[…]2-08-31#i_1063664
08:45 slef that's the vexing one
08:45 slef sorry for wasting an eyeball
08:45 rangi hmm nope, havent seen that one
08:46 rangi there is only one entry for it eh?
08:46 slef dang
08:46 slef for 16?
08:47 rangi yeah
08:47 slef think so - just checking... the hoops I have to jump to get on the VPN from mobile internet are a bit icky
08:48 slef yeah, only one row
08:48 slef | bit | flag    | flagdesc                              | defaulton |
08:48 slef +-----+---------+------------------​---------------------+-----------+
08:48 slef |  16 | reports | Allow to access to the reports module |         0 |
08:48 rangi hmm then nope
08:48 slef looked banilla to me to
08:48 slef vanilla
08:49 slef just can't do the INSERT :-/
08:50 slef don't really see why it wants to "add or update a child row"
08:50 slef show grants;
08:50 slef ww
08:51 alex_a joined #koha
08:55 slef nope not that :-/
09:02 mveron paul_p:I have a shy question: What happens to bug 7621 (Age restriction)? It is a very important enhancement we really need in Switzerland. Would be very grateful to see it pushed :-)
09:02 huginn Bug[…]w_bug.cgi?id=7621 enhancement, P1 - high, ---, veron, Signed Off , Circulation: Match age restriction of title with borrower's age without using categories
09:03 paul_p mveron = what happens is just that I have 3 weeks of bugs to push (80 patches), and there are also 80 waiting for QA ;-) )
09:03 paul_p mveron = my pile is something like 40 now, and I hope I'll have finished on wed
09:07 mveron paul_p: That's a huge amount of work and I really appreciate what you do for Koha.  Hope anyway that the age restriction gets through...  :-)
09:09 kf paul_p: lots of rebasing work has gone into it - poor mveron
09:11 kf I know it happens, but I can undertsand him asking :)
09:19 mib_lyvuwn joined #koha
09:22 magnuse rangi: avoiding "Suspension in days" in the circulation and fine rules seems to eliminate the debar problem. do your customers use "Suspension in days"?
09:22 rangi no
09:23 magnuse ah hah...
09:23 kf neither do ours
09:23 chris_n` joined #koha
09:23 magnuse neither did mine, or so i thought until i checked... :-)
09:23 kf hm true
09:26 drojf i'm really glad that we do not have much circulation and don't have fines
09:30 magnuse hehe, that does save some headaches :-)
09:30 cjh mib_lyvuwn: if you have a koha question then the place to ask it is in here.
09:39 mib_lyvuwn anybody have experience regarding "sending sms from koha"
09:42 rangi not me
09:49 * magnuse neither
09:53 * mveron ...has th head away
09:59 mib_lyvuwn anybody have experience regarding "sending sms from koha"
10:00 kf mib_lyvuwn: sorry no
10:00 kf better try the mailing lists
10:03 drojf mib_lyvuwn: please don't send private messages to random people. it does not lead to a faster answer and is considered impolite by many people. ask in the channel, if somebody knows an answer s/he will tell you.
10:03 drojf i have no experience with sending sms from koha, sorry
10:05 hdl joined #koha
10:05 hdl hi all
10:05 rangi hi hdl
10:05 hdl kf around ?
10:05 kf yes
10:05 hdl rangi: do you know of any library which uses Match Check rules quite intensively ?
10:06 rangi nope
10:06 hdl That is have more than one match check rules in Matching rules ?
10:06 rangi nope
10:07 hdl what is the "community" position about C4::Matcher ?
10:07 hdl Is it to be deprecated by Koha::Indexer ?
10:07 hdl Or will it be supported for some while ?
10:07 kf I don't think this has been discussed yet
10:07 kf and the Koha:: things are still not settled
10:08 magnuse sounds like something jcamins_away might have an opinion on
10:08 kf yeah, but bit early for him
10:09 magnuse yup
10:09 * magnuse goes hunting for lunch
10:09 hdl ok.
10:10 eythian joined #koha
10:10 kf yay eythian
10:10 kf um.
10:10 kf good morning :)
10:17 eythian hi
10:17 wahanui bonjour, eythian
10:17 eythian wifi being crap, not sure how long I'll remain online
10:17 eythian a pox on crappy consumer routers!
10:17 kf you could have stayed here... but no...
10:17 kf ;)
10:17 * mtompset laughs, "Greetings again, #koha."
10:20 drojf eythian: left konstanz?
10:21 eythian yep
10:22 drojf where are you now?
10:25 mtompset somewhere with crappy consumer routers. ;)
10:26 mtompset Was it something I said? :(
10:27 eythian Oosterhout
10:34 drojf joined #koha
10:38 mtompset Welcome back, drojf. eythian said, "Oosterhout"
10:39 drojf ok i'll have some "crappy consumer routers" too
10:39 drojf thanks mtompset, just looked at the log :)
10:39 Ahmad joined #koha
10:39 mtompset I was trying to save you reading the IRC log. ;)
10:39 drojf i'll do next time :)
10:42 hdl nice beer in OosterHout btw
10:44 drojf nice beer in nl? i suppose that does not mean "heineken"?
10:56 * mtompset grins.
10:57 mtompset A beer sampling skill, drojf?
10:58 laurence1 left #koha
10:59 mtompset Here goes another koha-common install attempt.
10:59 mtompset Practice makes perfect. :)
11:01 hdl drojf: nope. Abbaye beer from Oosterhout.
11:01 hdl And it tastes really good.
11:02 eythian joined #koha
11:03 huginn New commit(s) kohagit: Merge remote-tracking branch 'origin/new/bug_8332' <[…]b5239200ad5063ed8> / Bug 8332 follow-up: make strings translatable <[…]1108cd8c5531376e2> / Bug 8332: Add relationships to auth_finder for authority links <
11:03 eythian fingers crossed it'll remain stable now
11:05 drojf hdl: sounds great
11:06 drojf mtompset: do you use that as a kind of meditation by now? ;)
11:06 WaqarAzeem joined #koha
11:07 eythian drojf: do you mean that there's nice beer made here, or a good place to find it?
11:07 * mtompset chuckles. Not quite.
11:08 eythian I've found "Cafe de beurs" which has a very good selection
11:08 eythian no wait
11:08 eythian I meant to address that to hdl
11:10 jenkins_koha Starting build #809 for job Koha_master (previous build: STILL UNSTABLE -- last SUCCESS #773 2 mo 0 days ago)
11:23 kf gah, now I missed droifj
11:24 kf and I had a berlin question for him
11:28 eythian I'm sure he'll be back
11:30 jcamins Good morning, #koha.
11:35 magnuse kia ora jcamins!
11:38 mbalmer joined #koha
11:39 mtompset Greetings, jcamins.
11:41 mtompset eythian: looks like it is still unstable. :(
11:41 eythian mtompset: no, I've not been disconnected for a while now
11:42 mtompset I meant the jenkins build.
11:42 mtompset sorry for the cross-talk.
11:42 kf hi jcamins
11:42 gaetan_B joined #koha
12:02 mtompset Dumb question/thought... why isn't in the koha-common packages?
12:03 jcamins mtompset: because it isn't needed.
12:03 jcamins The packages install all the requirements.
12:03 jcamins *dependencies
12:04 mtompset I know... I suppose I'm feeling paranoid enough to check. ;)
12:08 gaetan_B joined #koha
12:15 jcamins Is there any way to get the number of substitutions performed by s//?
12:15 eythian jcamins: you  mean s///g?
12:17 jcamins eythian: you're right, that was poorly phrased.
12:17 jcamins I want to know whether a s/// did 0 or 1 substitutions.
12:17 jcamins (i.e. whether it did anything or not)
12:18 eythian that's a good question.
12:18 eythian wait
12:18 eythian yes
12:18 eythian I think it returns the number of substitutions
12:19 eythian (or false if none)
12:20 jenkins_koha Project Koha_master build #809: STILL UNSTABLE in 1 hr 9 min: http://jenkins.koha-community.[…]/Koha_master/809/
12:20 jenkins_koha * jcamins: Bug 8525: highlight matches on OPAC detail page
12:20 jenkins_koha * jonathan.druart: Bug 8525: Followup Don't reset the hz scrollbar to the top
12:20 jenkins_koha * 5p4m: Bug 8492 [ENH] Restrict OpacSuppression to IP adresses outside of an IP range
12:20 jenkins_koha * paul.poulain: Bug 8492 follow-up DBRev number
12:20 huginn Bug[…]w_bug.cgi?id=8525 enhancement, P5 - low, ---, jcamins, Pushed to Master , Highlight matches on details page
12:20 jenkins_koha * jcamins: Bug 8207 follow-up: correct typo in authority types
12:20 jenkins_koha * jcamins: Bug 8207 follow-up: correct typo in authority types
12:20 jenkins_koha * jcamins: Bug 8332: Add relationships to auth_finder for authority links
12:20 jenkins_koha * jcamins: Bug 8332 follow-up: make strings translatable
12:20 huginn Bug[…]w_bug.cgi?id=8492 enhancement, P5 - low, ---, mirko, Pushed to Master , Restrict OpacSuppression to IP adresses outside of an IP range
12:20 huginn Bug[…]w_bug.cgi?id=8207 enhancement, P5 - low, ---, jcamins, Pushed to Master , Modify authority type frameworks to allow see also fields to link to thesauri
12:20 huginn Bug[…]w_bug.cgi?id=8332 enhancement, P5 - low, ---, jcamins, Pushed to Master , Add relationships to auth_finder for authority links
12:20 eythian jcamins: up above jenkins_koha
12:21 jcamins eythian: Ah, thanks.
12:22 eythian test it of course, but I think it's the case
12:24 janPasi hi #koha
12:25 jcamins I'm blanking on whether this is a valid Perl idiom: foreach my ($index, $label) (%indexes) {
12:25 jcamins Help?
12:25 wahanui i heard Help was at if no-one here can help.
12:25 jcamins Oh, I remember.
12:25 jcamins = each (%indexes)
12:27 jcamins Thanks.
12:28 eythian you're welcome.
12:31 janPasi hey, how come doesn't apt-get upgrage upgrade the koha to the latest version?
12:31 jcamins janPasi: you didn't do an apt-get update on the repo?
12:34 janPasi jcamins: yep i did
12:34 janPasi it's in my /etc/apt/sources.list
12:34 jcamins janPasi: in that case, I'm stumped. ;)
12:34 jcamins What version are you on?
12:34 janPasi 3.6
12:34 janPasi i would like to upgrade it to 3.8
12:34 janPasi deb squeeze main
12:35 janPasi this is the line in sources.list
12:35 jcamins That looks right to me.
12:35 jcamins And you ran apt-get update?
12:35 janPasi yep
12:35 jcamins What happens when you do apt-get upgrade?
12:35 janPasi also the koha repository is listed with apt-get update
12:36 eythian I would expect it to go from 3.6 to 3.8, but I've never actually tested that
12:36 jcamins Does it say anything about koha-common being held back?
12:36 jcamins Nor have I. I use oldstable.
12:36 janPasi Hit squeeze Release.gpg
12:36 janPasi Ign squeeze/main Translation-en
12:36 janPasi Ign squeeze/main Translation-en_US
12:36 janPasi Ign squeeze/main Translation-en_US.UTF-8
12:36 janPasi Hit squeeze Release
12:36 janPasi Ign squeeze/main amd64 Packages
12:36 janPasi Ign squeeze/main amd64 Packages
12:36 janPasi Hit squeeze/main amd64 Packages
12:37 jcamins Right, that's the update.
12:37 janPasi that's what it says
12:37 janPasi yeah
12:37 jcamins I want to know what the upgrade says.
12:37 drojf joined #koha
12:37 janPasi upgrade seems to want to upgrade everything but koha packages
12:37 jcamins Use to share that.
12:37 janPasi au
12:37 janPasi ah
12:37 janPasi upgrade says koha-common is "kept back"
12:38 janPasi why is this?
12:38 jcamins I don't know.
12:38 eythian perhaps try a dist-upgrade, might be the new dependencies.
12:38 jcamins As we just said, neither eythian nor I have ever had the nerve to upgrade to 3.8.
12:39 jcamins That makes sense.
12:39 eythian oh, I run some 3.8, I just haven't done an upgrade to it from the community repos yet
12:39 janPasi
12:39 janPasi here's the paste
12:39 jcamins Yeah, try apt-get dist-upgrade
12:39 drojf yes dist-upgrade should solve that, i had that before
12:40 janPasi but you wouldn't recomment upgrading to 3.8 from 3.6?
12:40 jcamins janPasi: I am very conservative. Many people are running 3.8 without any problems.
12:40 eythian > under no circumstances are currently installed packages removed, or
12:40 eythian packages not already installed retrieved and installed.
12:40 eythian that'll be why
12:40 eythian there are new deps in 3.8
12:41 eythian janPasi: 3.8 has got a lot better lately I think, it had problems initially.
12:41 janPasi yeah, that's what i've heard
12:42 mveron joined #koha
12:43 * jcamins is recommending 3.8 for new installs at this point, but there are still some minor issues with upgrades from 3.6.x.
12:44 janPasi hmm, so it might be a good idea to wait a bit
12:44 eythian mveron: g'day
12:45 janPasi or build a test-system and test the upgrade with that
12:45 mveron hi eythian
12:45 jcamins That's the better option.
12:45 janPasi before upgrading the production system
12:45 jcamins Yes.
12:45 jcamins Test_systems++
12:46 eythian <-- I think we should get osslabs to take this down
12:46 janPasi ok, thank you :)
12:47 jcamins eythian: agreed.
12:48 jcamins To be honest, I don't think that livecds are a good idea. They are out of date the moment they're released.
12:48 eythian yeah
12:48 mtompset Let me guess, in response to the person on the mailing list?
12:48 eythian though kyle's one apparently allows upgrading via git
12:48 mtompset The only thing livecds are good for are installing an OS.
12:49 jcamins eythian: yeah, but it means that you have to know how git works.
12:50 eythian yeah
12:51 mtompset By the way you can rate it negatively without logging in. ;)
12:51 mtompset People who are prone to use livecd's also would fear a large negative rating. ;)
12:55 eythian the guy in the list doesn't seem to be the best at noticing things like that, given his latest attempt is with one that is still way outdated.
12:56 paul_p joined #koha
12:56 * jcamins does not like people asking for help off-list.
12:57 kf jcamins++ eythian++
12:58 hdl joined #koha
12:59 samuel joined #koha
12:59 samuel hello everybody
13:00 Joubu joined #koha
13:00 Joubu hi #koha
13:02 jcamins Nnnnnngggg.
13:02 jcamins What was the last thing I said?
13:02 jcamins Oh, yeah.
13:02 drojf lol
13:02 jcamins It was "I do not like people asking for help off-list."
13:03 jcamins Hello samuel and Joubu.
13:03 eythian On the plus side, I didn't get an email :)
13:03 tcohen joined #koha
13:03 mtompset[…]?source=directory
13:03 drojf i'd like to add "off-channel" to that for the irc
13:03 samuel question: i've made successfully an import in koha but there's something i don't understand. Most of results are good but for some others i've this "No answer". What does it mean?
13:03 mtompset Another project to attempt to kill.
13:04 jcamins samuel: what are you doing?
13:05 mtompset to express it another way: what steps are you taking to do what you are doing?
13:05 tcohen morning #koha!
13:05 mveron Many thanks to Mason James for QA-ing the age restriction :-)
13:06 jcamins Hola.
13:06 tcohen bgkriegel has just completed the spanish translation!
13:06 jcamins Woohoo!
13:06 jcamins bgkriegel++
13:07 drojf i'd like to add that i think live-cds are bad. they raise the hope one could maintain a professional library system without any knowledge of the system itself and all things underlying. how could that possibly turn out ok?
13:07 mtompset drojf: That's what it should be. But that is NEVER what it is.
13:08 eythian drojf: yes
13:15 mtompset Oh... That's strange...
13:15 mtompset Is mysql-server not in the packages?
13:16 jcamins mtompset: it's not a requirement on the same system as Koha.
13:17 mtompset And that's why it says to sudo apt-get it.
13:17 mtompset Okay.
13:23 eythian yep
13:28 mtompset okay... bizarre situation...
13:28 hdl joined #koha
13:28 mtompset I attempted to clear out everything koha.
13:28 mtompset removed mysql
13:28 mtompset removed apache
13:28 mtompset removed a whack load of libraries including koha-common.
13:29 mtompset Then... I attempted to reinstall koha-common.
13:29 * eythian always wonders why people think that is likely to do anything useful
13:29 mtompset because you should be able to uninstall and reinstall it
13:30 eythian ok, yes, I would expect that to cause it to mostly come back as it was.
13:30 mtompset well, I did rm's of /var/lib/koha and anything else that looked koha too.
13:30 francharb joined #koha
13:31 mtompset So, I am expecting koha-create... to run smoothly.
13:31 mtompset but it tells me a user already existed.
13:31 eythian you probably didn't remove the user that koha-create created
13:31 mtompset but I go into mysql and there is no such user.
13:31 jcamins It's the system user.
13:31 mtompset oh... the home directories?
13:31 eythian no, the system user
13:31 jcamins If you want to remove a Koha instance, use koha-remove.
13:32 jcamins If you don't use koha-remove, you'll leave bits and pieces all the heck over the place.
13:32 mtompset oh, it's an entry in /etc/passwd./
13:32 eythian user userdel to remove it.
13:32 eythian don't go editing the passwd file
13:32 mtompset no, I wont.
13:32 eythian *use userdel...
13:32 mtompset okay... userdel.
13:33 eythian or maybe it's deluser
13:33 eythian I can never remember
13:33 francharb joined #koha
13:33 mtompset it's userdel... okay... I think I'm back on track for a reinstall.
13:34 mtompset great... back on track.
13:35 tcohen i know there'no position available for QA'ing ubuntu-related documentation, but, I'd like to volunteer
13:35 Oak joined #koha
13:36 eythian tcohen: perhaps add the position to the wiki and mention it on the list, if you're keen
13:36 eythian I don't think anyone would object.
13:37 Oak Ahoy me hearties
13:37 Oak magnuse
13:37 Oak Guten tag kf
13:37 kf hi Oak
13:38 jcamins Woohoo! I successfully generated breadcrumbs using a hash.
13:38 eythian eh?
13:39 jcamins eythian: right now we hardcode the breadcrumbs on every page.
13:39 jcamins Duplicating the div, etc.
13:39 jcamins I find that inelegant.
13:39 eythian yep
13:39 pastebot "jcamins" at pasted "I find this more elegant" (6 lines) at
13:39 mtompset tcohen: Sadly, you signed off. You can't QA.
13:40 mtompset Oh... roles... never mind.
13:40 eythian jcamins: ahhh. I read "hash" as "something like SHA1" and was confused.
13:40 kf and qa can only be done by the elected qa team :)
13:40 eythian for documentation?
13:40 mtompset Greetings, Oak  and tcohen .
13:41 jcamins eythian: for documentation included in the distribution, yes.
13:41 kf jcamins: I don't like it I am afraid
13:41 kf translations.
13:41 wahanui translations are always committed on the stable branches
13:41 mtompset Okay... so, can someone explain why I have my OPAC page coming up for my staff client now?
13:41 kf we would have to teach the translation scripts to parse those labels first, at the moment it only speaks html
13:41 jcamins kf: ooh, good point.
13:41 jcamins Darn.
13:41 * jcamins goes back to hardcoding.
13:42 eythian do we not have a way to translate perl within templates?
13:42 jcamins eythian: we don't have a way to translate Perl at all.
13:42 eythian we could implement something like the JS _("string") thing there I'd expect
13:43 jcamins Someone else could, but this is definitely not something I'll be spending time on.
13:43 jcamins So far no one has expressed an interest in paying to make breadcrumbs consistent. ;)
13:44 kf eythian: we could teach the scripts - but I won't go there - too scary.
13:44 Oak hello mtompset :)
13:45 tcohen mtompset: maybe i'll continue signing patches then
13:46 mtompset I really hate reverse proxies.
13:47 mtompset Okay... so, can someone explain why I have my OPAC page coming up for my staff client now?
13:47 mtompset I know how to rewrite the apache rules to get it to work, but its ugly and not default.
13:49 jcamins mtompset: you have your DNS set up incorrectly.
13:49 eythian or your virtual host setup
13:49 eythian well, more likely DNS if this is a fresh install
13:49 mtompset If I change the rewrite rules I can get it to work.
13:49 mtompset I don't know why I have to do that.
13:49 eythian you don't have to change rewrite rules
13:50 eythian I wonder if you have the wrong ServerName set
13:50 eythian apache will hit the first virtual host it finds if there's nothing that matches, that's what's happening to you
13:50 eythian (most likely)
13:51 mtompset But the virtual server name matches.
13:52 mtompset The weird thing is... apache logs the WRONG name.
13:52 mtompset if I change the the two rewrite files in /etc/...
13:52 eythian what are you talking about when you say rewrite files?
13:52 mtompset to have the correct name hardcoded before the $1.
13:53 eythian I think you may be doing things the Hard Way somewhere
13:53 jcamins Also the Wrong Way.
13:53 eythian I'd give dollars to doughnuts that apache is logging what it's seeing
13:53 mtompset Correct... which is why I'm asking what the wrong why.
13:53 mtompset what the right way is.
13:54 mtompset apache-shared-intranet.conf?
13:54 eythian what are you asking?
13:54 eythian with that question mark and filename.
13:55 jcamins There is absolutely no reason you should be editing that file.
13:55 mtompset RewriteRule (.+) $1?%1%2 [N,R,NE]
13:55 mtompset RewriteRule ^/bib/([^\/]*)/?$ /cgi-bin/koha/detail\.pl?bib=$1 [PT]
13:55 mtompset RewriteRule ^/isbn/([^\/]*)/?$ /search?q=isbn:$1 [PT]
13:55 mtompset RewriteRule ^/issn/([^\/]*)/?$ /search?q=issn:$1 [PT]
13:55 mtompset -- it is the apache-shared-intranet.conf file that has these line which I add hardcoded site names to.
13:55 jcamins Do not edit those.
13:56 jcamins Don't.
13:56 mtompset I know I 'm not supposed to.
13:56 jcamins Once you change that, you've broken any future package installations.
13:56 mtompset So the question is... how can I get it to work with the reverse proxy?
13:57 jcamins Fix the reverse proxy.
13:57 mtompset I'm asking for permission now.
13:57 eythian presumably the reverse proxy is still sending through a Host: header
13:57 jcamins Tell it not to rewrite the Host: header.
13:57 eythian and that Host: header is different between the opac and the staff client
13:58 eythian if so, all you need to do is put that in as a ServerName or ServerAlias
13:58 eythian if, however, it's changing it so they can't be distinguished, then your reverse proxy is buggered.
14:00 mtompset but if I hard code it... it logs correctly.
14:00 mtompset So the reverse proxy is only HALF busted.
14:04 eythian I think you're not setting up your virtual hosting with your reverse proxy in mind. That would cause what you're seeing, but I don't know how or why you'd change rewrite rules to change this.
14:04 mtompset by changing the intranet file I said, and putting the sitename hardcoded.
14:05 mtompset Because the other oddity we are doing is switching from https to http.
14:05 mtompset https to the reverse proxy and http to the koha vm.
14:05 eythian that shouldn't make a difference really
14:07 kf meh.
14:08 kf does someone know if serials search is broken in 3.8.4?
14:08 kf or has someone an installation and can do a quick test for me maybe?
14:08 kf oh
14:08 julian_m__ joined #koha
14:09 kf never mind... this is 3.6.3
14:09 kf but it's broken
14:09 jcamins kf: serial search from where?
14:09 kf in this installation... why? *thinks*
14:10 kf top search in the serial module
14:10 kf this is actually quite weird
14:10 kf it works in another 3.6.3 installation
14:10 reiveune joined #koha
14:10 jcamins It works in 3.6.7+. One of my clients just started using serials.
14:10 jcamins Loves it.
14:10 kf nice to hear that :)
14:10 kf hope they wil too
14:11 kf but seriously
14:11 kf this is weird
14:11 kf it works in 2 other installations
14:11 kf only not in this one
14:11 mtompset diff -r? ;)
14:11 kf no access to the server
14:11 kf and it sounds like a bad idea
14:11 kf I would try the error logs first
14:12 mtompset Are you sure they are all 3.6.3?
14:12 kf yes
14:12 mtompset What steps are you taking?
14:12 mtompset I have a 3.6.3 :)
14:13 kf I tried a search in serials that worked in catalog
14:13 kf oooh
14:13 kf never mind.
14:13 kf it's me, the dumb user.
14:13 kf it only finds records with subscriptiosn, of course
14:13 * kf hides somewhere
14:16 sophie_m joined #koha
14:17 mtompset It's okay.
14:17 mtompset Have some chocolate.
14:17 * mtompset hands kf some chocolate.
14:18 kf heh thx
14:20 eythian anyone seen something in 3.8 where you can't re-order people in a routing list?
14:22 kf brr
14:22 kf @wunder Konstanz
14:22 huginn kf: The current temperature in Konstanz, Germany is 20.0°C (4:00 PM CEST on September 03, 2012). Conditions: Overcast. Humidity: 61%. Dew Point: 14.0°C. Pressure: 30.09 in 1019 hPa (Falling).
14:22 eythian @wunder oosterhout
14:22 kf eythian: yes, in my presentation during the workshop
14:22 huginn eythian: The current temperature in MeteOosterhout, Oosterhout Nb, Netherlands is 25.4°C (4:19 PM CEST on September 03, 2012). Conditions: Partly Cloudy. Humidity: 50%. Dew Point: 14.0°C. Pressure: 30.24 in 1024 hPa (Steady).
14:22 eythian kf: ah right :)
14:22 kf eythian: you stole the warm weather!
14:22 eythian looks like I did
14:23 gaetan_B joined #koha
14:29 eythian kf: bug 8716
14:29 huginn Bug[…]w_bug.cgi?id=8716 normal, P4, ---, koha-bugs, NEW , Reordering of routing list entries doesn't work
14:34 Oak @wunder Islamabad
14:34 huginn Oak: The current temperature in Islamabad, Pakistan is 28.0°C (7:00 PM PKT on September 03, 2012). Conditions: Haze. Humidity: 79%. Dew Point: 24.0°C. Pressure: 29.62 in 1003 hPa (Rising).
14:35 wajasu joined #koha
14:38 mtompset Does this mean he's hot, hot, hot?
14:38 mtompset Slow reply, bad joke.
14:38 mtompset I need to get to bed.
14:38 Oak :)
14:39 mtompset Have a good day (24 hour period) everyone. :)
14:39 Oak mtompset, you are a good addition to #koha family.
14:39 Oak i have started to notice when you are not around... and feel good when you join :)
14:40 mtompset Thanks, Oak. I appreciate that. :)
14:40 Oak :) you are welcome. have a good sleep.
14:40 * mtompset dances his way out listening to (Feelin' hot, hot, hot)
15:03 reiveune bye
15:03 reiveune left #koha
15:04 laurence joined #koha
15:08 kf bye #koha
15:08 tcohen bye kf
15:09 kf left #koha
15:11 mveron bye #koha
15:20 Joubu bye
15:21 Joubu left #koha
15:25 asaurat left #koha
15:39 logbot joined #koha
15:39 Topic for #koha is now  Welcome to #koha this channel is for discussion of the Koha project and software The Next General Meeting is 5 September 18 UTC
16:13 sophie_m left #koha
16:40 huginn New commit(s) kohagit: Bug 7368: fixed subsribe typo <[…]ed0ea2c1a401d84f0> / Merge remote-tracking branch 'origin/new/bug_8440' <[…]bcce2c7210bd8d40a> / Bug 8440: Dates does not appear in suggestions management <[…]ommitdiff;h=4cf4b
16:40 jenkins_koha Starting build #810 for job Koha_master (previous build: STILL UNSTABLE -- last SUCCESS #773 2 mo 1 day ago)
16:46 paul_p joined #koha
16:46 cait joined #koha
16:46 paul_p hello back (not aware xchat was closed...)
16:48 laurence left #koha
16:52 * cait waves
16:57 eythian hi cait
16:57 cait hi eythian
16:57 eythian I'm sitting outside and working because it's not a bad day here.
16:57 cait this is weird again
16:58 cait I got used to you being in the next room :)
16:58 eythian heh
16:58 cait it's cold and grey here :(
16:58 cait and I have to study it law...
17:00 eythian I have to study LDAP, I suspect that may be worse...
17:01 cait hm
17:01 cait not sure, it sounds nicer
17:03 cait I also finished the koha installation in the new ubuntu vm - and it#s even slower than it was on the old computer in debian
17:04 paul_p Hi eythian how are things in DE ?
17:04 cait paul_p: he is gone :(
17:04 paul_p hey, seems you're in NL (at least connected from nl ;-) )
17:04 eythian cait: madness
17:04 eythian paul_p: yeah, in nl now
17:04 cait eythian: about the vm? yeah.
17:05 paul_p eythian = how long will you stay here ? when do you fly back ?
17:05 eythian paul_p: I'm here for a bit under three more weeks, I fly out on the 20th
17:05 * paul_p still has 33 patches passed QA to push ... almost 30 today !
17:06 eythian sounds like the good kind of busy :)
17:06 paul_p tomorrow, i've a meeting all the day. I hope to have finished for the next IRC meeting !
17:06 eythian that sounds like the less good kind of busy
17:06 paul_p OK, time for dinner for me. See you later !
17:07 cait bye paul_p
17:07 eythian bye!
17:12 eythian slides?
17:12 wahanui slides is kf has written her slides.
17:14 cait heh
17:14 cait eythian: I will send you the link as soon as the slides are online
17:14 eythian OK :)
17:15 eythian wahanui: pilze is mushrooms
17:15 wahanui OK, eythian.
17:17 cait hehe
17:18 cait zwiebeln is onions
17:18 cait zwiebeln?
17:18 wahanui zwiebeln is onions
17:19 jcamins_away Okay... does anyone know how to make a variable visible from outside a class?
17:19 eythian So I tied a zwiebel to by belt. Which was the style at the time.
17:19 cait lol
17:20 eythian jcamins: can you be more specific?
17:20 eythian Is it a package variable, or an object variable>
17:20 eythian ?
17:20 jcamins Package variable.
17:20 eythian You should be able to use the fully qualified name, shouldn't you?
17:20 eythian (also, should you really be doing that?)
17:21 jcamins eythian: I have a variable -- well, constant -- called $NAME in the Koha::SuggestionEngine::Plugin::ExplodedTerm that I want to access from outside the class.
17:21 eythian And calling it Koha::...Term::variable_name doesn't work?
17:21 eythian I would have expected it to.
17:21 jcamins No.
17:22 jcamins And I thought it did.
17:22 eythian perhaps it needs to be declared with 'our' rather than 'my'
17:22 * jcamins has an idea.
17:22 jcamins Nope. I had my, switched to our, thought it worked, and am now finding that it's not working again.
17:23 eythian oh.
17:23 jcamins Well, again for the first time- I thought it worked on a different project.
17:23 * jcamins just tried my with no luck.
17:24 jcamins Wait, wait, wait.
17:24 jcamins I see the problem.
17:24 jcamins $plugin::NAME evaluates to plugin::NAME
17:25 jcamins Now... how do I do that successfully?
17:25 * jcamins considers just changing it to sub NAME.
17:25 eythian it shouldn't, it should evaluate to the content of #plugin
17:26 eythian $plugin rather
17:26 eythian followed by ::NAME
17:28 jcamins Actually, mystery solved.
17:28 jcamins The packages aren't being loaded.
17:28 eythian heh
17:28 eythian that would certainly do it
17:34 cait :)
17:34 jcamins I've decided the sub is better, even though it offends me.
17:35 jcamins I can't figure out what I did differently, but it resolutely refuses to work this time.
17:35 eythian hmm, it should work, so far as I understand things.
17:35 jcamins It has to do with the name of the class being in a variable.
17:37 jcamins Ooh, maybe I can add the subroutine to the base class.
17:37 * jcamins tries.
17:37 * cait sends chocolate
17:37 libsysguy joined #koha
17:39 tcohen template_name => "authorities/authorities.tmpl" is sure wrong, isn't?
17:39 jcamins And.. no. Doesn't work.
17:39 jcamins tcohen: what's wrong with it?
17:39 tcohen the tmpl
17:39 tcohen part?
17:39 jcamins Ah.
17:40 tcohen and not tt
17:40 jcamins That's translated to tt.
17:40 tcohen oh
17:40 jcamins You can change it to tt if you'd like.
17:40 eythian yeah, it's a hack from the tmpl->tt conversion
17:49 jenkins_koha Project Koha_master build #810: STILL UNSTABLE in 1 hr 8 min: http://jenkins.koha-community.[…]/Koha_master/810/
17:49 jenkins_koha * ruth: Bug 8012: default values for defaultSortField/defaultSortOrder NULL on install
17:49 jenkins_koha * fridolyn.somers: Bug 8586: Small bug in die if no mapping in framework for biblioitems.biblioitemnumber
17:49 jenkins_koha * oleonard: Bug 3374 - Display patron attributes in the same format as other patron data
17:49 jenkins_koha * robin: Bug 8391: prevent error when viewing circ history with bad dates
17:49 jenkins_koha * mtompset: Bug 4064 - Uninitialized variable errors in Merely optimized two if statements, already fixed in master.
17:49 jenkins_koha * ruth: Bug 8569: Paying for lost item overwrites nonpublic notes.
17:49 huginn Bug[…]w_bug.cgi?id=8012 trivial, P5 - low, ---, ruth, Pushed to Master , defaultSortOrder and OPACdefaultSortOrder are set to "ascending" on install
17:49 jenkins_koha * Bug 7805 Followup for perlcritic messages
17:49 huginn Bug[…]w_bug.cgi?id=8586 normal, P5 - low, ---, fridolyn.somers, Pushed to Stable , Small bug in die if no mapping in framework for biblioitems.biblioitemnumber
17:49 jenkins_koha * oleonard: Bug 6494 - opacmysummaryhtml on reading history
17:49 jenkins_koha * matthias.meusburger: Bug 7412: Pre-filling items in cataloguing
17:49 jenkins_koha * paul.poulain: Bug 7412 follow-up
17:49 jenkins_koha * paul.poulain: Bug 7412 follow-up
17:49 huginn Bug[…]w_bug.cgi?id=3374 enhancement, P5 - low, ---, oleonard, Pushed to Master , Display patron attributes in the same format as other patron data
17:49 jenkins_koha * adrien.saurat: Bug 7241: fix for the CIRC logs -> itemnumber stored correctly
17:49 jenkins_koha * paul.poulain: Revert "Bug 7241: fix for the CIRC logs -> itemnumber stored correctly"
17:49 huginn Bug[…]w_bug.cgi?id=8391 normal, P5 - low, ---, kyle.m.hall, Pushed to Master , Cannot view reading record through staff client
17:49 jenkins_koha * julian.maurice: Bug 7168: Add basket group search field in
17:49 jenkins_koha * fridolyn.somers: Bug 8440: Dates does not appear in suggestions management
17:49 huginn Bug[…]w_bug.cgi?id=4064 normal, P5 - low, ---, mtompset, Pushed to Master , Uninitialized variable errors in
17:49 jenkins_koha * kathryn: Bug 7368: fixed subsribe typo
17:49 huginn Bug[…]w_bug.cgi?id=8569 minor, P5 - low, ---, ruth, Pushed to Master , Paying for a lost item overwrites nonpublic notes
17:49 huginn Bug[…]w_bug.cgi?id=7805 enhancement, P5 - low, ---,, Pushed to Master , Exposing the new list permissions in opac and staff
17:49 huginn Bug[…]w_bug.cgi?id=6494 enhancement, P5 - low, ---, oleonard, Pushed to Master , opacmysummaryhtml on reading history
17:49 huginn Bug[…]w_bug.cgi?id=7412 enhancement, P3, ---, matthias.meusburger, Pushed to Master , Pre-filling items in cataloguing
17:49 huginn Bug[…]w_bug.cgi?id=7241 normal, P5 - low, ---, adrien.saurat, Failed QA , circulation action logs record biblionumber instead of item number
17:49 huginn Bug[…]w_bug.cgi?id=7168 enhancement, P5 - low, ---, julian.maurice, Pushed to Master , Search orders by basket group name
17:49 huginn Bug[…]w_bug.cgi?id=8440 minor, P5 - low, ---, fridolyn.somers, Pushed to Stable , Dates does not appear in suggestions management
17:49 huginn Bug[…]w_bug.cgi?id=7368 trivial, P5 - low, ---,, ASSIGNED , General staff client typo omnibus
18:13 tcohen jcamins, I attached a new patch against bug 8520
18:13 huginn Bug[…]w_bug.cgi?id=8520 critical, P5 - low, ---, jcamins, Needs Signoff , Authorities display incorrectly in staff results
18:14 jcamins tcohen: I saw.
18:14 jcamins I will test it and sign off.
18:14 tcohen i searched for 'authorized' through the code to find more cases
18:14 jcamins Good idea!
18:15 tcohen and didn't find more
18:15 tcohen but will try again just in case
18:33 mbalmer joined #koha
19:12 libsysguy joined #koha
19:18 mbalmer joined #koha
19:18 libsysguy when is the voting for 3.12 roles?
19:19 paul_p joined #koha
19:19 cait libsysguy: I think the meeting after this week - we didn't announce we would vote
19:19 cait libsysguy: I added it to the agenda that we have to set a date for voting
19:20 libsysguy ahh ok
19:21 libsysguy thanks cait
19:21 libsysguy I guess there aren't any positions so far that require voting
19:22 libsysguy looks like we are still missing a QAM though
19:22 cait yeah
19:22 libsysguy and a meeting leader
19:25 rangi Morning peeps
19:26 MrPeeper whatever that means
19:28 cait morning rangi :)
19:40 jcamins rangi: I have a puzzle for you. I am working on the suggestion engine plugin for bug 8211.
19:40 huginn Bug[…]w_bug.cgi?id=8211 enhancement, P5 - low, ---, jcamins, Needs Signoff , Add "subject (broader)," "subject (narrower)," and "subject (related)" options for search
19:41 magnuse jcamins++
19:41 jcamins The suggestion engine does not really use the templates at all.
19:41 rangi Right
19:41 jcamins So how the heck do I make "X and broader terms" translatable?
19:41 jcamins (X, of course, will beh user's search)
19:42 rangi You'll have to put them in something that is translatable
19:42 cait jcamins: templates
19:42 wahanui templates are written in Template::Toolkit.
19:42 cait preferrably
19:43 jcamins Right, how do I do that *without* turning the suggestion engine into the black hole of despair that breaking encapsulation invariably causes?
19:43 cait hm
19:43 cait include file?
19:44 cait not sure htat was the right answer
19:45 jcamins I guess... run the text through a template for translation, then return that?
19:46 jcamins I guess I just have to use the HTMLToText plugin.
19:47 rangi Why?
19:48 rangi Why put html in the template?
19:48 cait hm
19:48 jcamins Because we can't translate non-HTML templates.
19:48 cait html in the perl file?
19:48 cait and what is it you want to tranlate?
19:48 jcamins No, we can't translate Perl files.
19:48 cait and how does it work?
19:48 jcamins I don't need any HTML at all.
19:48 cait yes, I thought rangi meant that
19:48 cait I am confused by now
19:48 jcamins I am generating JSON.
19:48 cait can you tell how it works now? so we can make useful suggestions? :)
19:48 rangi No you don't just a .tt
19:49 jcamins With the following text: "X and broader headings."
19:49 halcyonCorsair joined #koha
19:49 jcamins Right now, it just returns "X and broader headings."
19:49 rangi Without html in it
19:50 rangi It should translate any .tt
19:50 jcamins Oh, I see. The problem with the cart was the line breaks.
19:50 rangi Yep
19:50 magnuse jcamins: why not make JavaScript add "and broader headings"?
19:51 rangi And you can enforce those
19:51 magnuse and use the _() trick
19:51 rangi With tt comments
19:51 cait hm fallback without js might be nice
19:51 jcamins magnuse: then I'd have to add javascript.
19:51 cait like the other plugin
19:51 jcamins And have a template.
19:51 jcamins The suggestion plugins do not have any user interface of their own.
19:52 cait hm
19:52 jcamins I'l just run it through a template.
19:52 cait you got to get the text in a tt file somehow
19:52 cait or a js
19:52 rangi I think a simple .tt with the text in it
19:52 cait there are no more options
19:52 jcamins Load TT directly.
19:53 rangi You lose the picking the right language then
19:53 magnuse what is consuming the json? not js?
19:53 jcamins magnuse: Perl.
19:54 jcamins Well, sometimes js, sometimes Perl.
19:54 rangi Are you 100% sure a tt file with text and no html won't be translated cos I'm not
19:54 magnuse ah, sounds interesting :-)
19:54 jcamins rangi: no, not at all sure.
19:54 jcamins rangi: can I use C4::Template without it printing to stdout?
19:54 rangi Of course
19:55 * jcamins never had reason to try before.
19:55 rangi The print line in the scripts is what prints
19:55 rangi Nothing in the module does
19:55 magnuse good plan :-)
19:57 rangi There are even subs in to do correct headers
19:57 jcamins I'm using those, I think.
20:08 cait it gets translated - but it will look different
20:09 cait the problem with cart was that it required the line breaks
20:09 jcamins cait: it doesn't get displayed at all in the rendered form.
20:10 jcamins Or do you mean that the text won't show up the same in pootle?
20:11 cait if you have line breaks in the file
20:11 cait hey will be gone
20:11 cait in the translated templates
20:14 rangi the trick for that is
20:14 rangi use tt comments
20:14 rangi some stuuf
20:14 rangi [%# comment %]
20:14 rangi some stuff
20:14 rangi will preserve the line space im pretty sure
20:14 jcamins I have the opposite problem.
20:15 jcamins I need to make sure there is *no* whitespace.
20:15 rangi [% -%]
20:15 jcamins But I can do that with TT too.
20:15 rangi yep
20:15 jcamins Okay, I think I now have a clear enough picture of this. Where should the template go?
20:17 rangi somewhere under prog/en
20:17 rangi but it can be anywhere after that
20:17 jcamins No strong opinion?
20:18 kathryn joined #koha
20:18 jcamins prog/en/... guess I can't use util...
20:19 rangi text?
20:19 wahanui it has been said that text is pretty damn huge
20:19 jcamins Excellent!
20:19 jcamins Thanks.
20:24 rangi lol i think we should move that zebra biblios 3.8 thread thing to devel, with all the different pieces of advice, it's turning into a pile of conflicting madness for people to read :)
20:24 jcamins It sure is.
20:31 jcamins You did such a good on that puzzle, I have another one for you:
20:31 rangi heh
20:31 jcamins I want to have a sortable list of suggestion plugins, that people can enable or disable at will.
20:31 eythian joined #koha
20:32 jcamins I can use sortable to great effect here.
20:32 cait hi eythian
20:32 jcamins But how should I store this configuration in the database?
20:32 cait well... include was the wrong answer, I am not trying again :)
20:33 jcamins Hehe.
20:33 jcamins There's no saying your next answer won't be right.
20:33 jcamins :)
20:33 cait xml :P
20:34 jcamins Of course, there's nothing to say it won't be wrong, either. :P
20:34 cait pf.
20:34 cait hehe
20:35 cait now rangi can help you find the real solution
20:36 rangi heh
20:36 rangi does it serialise?
20:36 rangi whatever you store, will only be used by perl eh? it doesnt need to be human usable?
20:36 jcamins Well, I guess it'd be easy enough to just serialize the hash with Data::Dumper.
20:37 rangi or storable
20:37 wahanui somebody said storable was yellow and Graphics::Magick
20:37 jcamins Or storable.
20:37 wahanui storable is probably yellow and Graphics::Magick
20:37 rangi its already a dependency so no harm using it
20:37 jcamins I was thinking I needed a yellow module.
20:38 rangi heh
20:39 jcamins But does this mean that settings will be lost if someone upgrades their perl version?
20:39 rangi hmmm
20:39 rangi not sure
20:40 jcamins Looks like storable won't stick things in the database.
20:57 jcamins Should I create a new table just for this, or something a bit more general-purpose?
21:00 rangi hmm not sure
21:10 jenkins_koha Starting build #152 for job Koha_3.8.x (previous build: SUCCESS)
21:28 ibeardsl1e slightly off topic, but trying to make sure this reaches as many NZ devs as possible ..
21:28 cjh ibeardslee: ty
21:40 halcyonCorsair can anyone confirm for me, the ubuntu packages for:
21:40 halcyonCorsair rangi: ?
21:41 rangi looking now
21:42 rangi ah they aren't in ubuntu proper yet i dont think, i think eythian has submitted them up into debian so they will get there soon, but you can use
21:42 rangi http://debian.koha-community.o[…]a/pool/main/libt/
21:42 rangi etc
21:43 rangi actually Template::Plugin::HtmlToText
21:43 halcyonCorsair libtext-unaccent-perl, libdatetime-format-mysql-perl, and ?
21:43 rangi should be the only one not in ubuntu, the other 2 should be
21:43 rangi libtemplate-plugin-htmltotext-perl
21:43 wahanui well, libtemplate-plugin-htmltotext-perl is the exception, but it still hasn't been accepted to 3.6.x.
21:43 halcyonCorsair rangi: btw, http://lists.koha-community.or[…]-July/037783.html mentions an INSTALL.ubuntu.12.04 but I don't see it in git anywhere obvious
21:44 rangi http://debian.koha-community.o[…]-htmltotext-perl/ grab it from here, if it is int in ubuntu yet
21:44 wajasu anyone checked out[…]/carton-talk.html   (in japenses, but it might help with easier package dependecy management. (local perl iib, ...
21:44 rangi halcyonCorsair: im not sure if the patch has been pushed yet
21:44 halcyonCorsair ah right
21:45 halcyonCorsair rangi: in favour of htmltotext via package rather than cpan, yes?
21:45 rangi yep
21:45 rangi bug 8489
21:45 huginn Bug[…]w_bug.cgi?id=8489 enhancement, P5 - low, ---, gmcharlt, Pushed to Stable , Revised, renamed ubuntu package files, tweaked 12.04 package file, copied 12.04 package file to ubuntu.packages
21:46 rangi and bug 8478
21:46 huginn Bug[…]w_bug.cgi?id=8478 enhancement, P5 - low, ---, tomascohen, Passed QA , Update Ubuntu related files
22:09 halcyonCorsair rangi: is there keyserver I can get the key from?
22:10 rangi wget -O- | sudo apt-key add -
22:10 rangi will get it for ya
22:12 rangi i think it might be eythians key lemme check
22:12 rangi yep it is
22:16 rangi A99CEB6D  im pretty sure
22:17 halcyonCorsair rangi: I'm doing it via chef, so it's easier if I get it via a keyserver....but the default one seems to do the trick
22:18 halcyonCorsair rangi: koha is GPLv2, yes?
22:18 jenkins_koha Project Koha_3.8.x build #152: SUCCESS in 1 hr 8 min: http://jenkins.koha-community.[…]b/Koha_3.8.x/152/
22:18 jenkins_koha * ruth: Bug 8012: default values for defaultSortField/defaultSortOrder NULL on install
22:19 jenkins_koha * ruth: Bug 8569: Paying for lost item overwrites nonpublic notes.
22:19 rangi or later
22:19 huginn Bug[…]w_bug.cgi?id=8012 trivial, P5 - low, ---, ruth, Pushed to Stable , defaultSortOrder and OPACdefaultSortOrder are set to "ascending" on install
22:19 huginn Bug[…]w_bug.cgi?id=8569 minor, P5 - low, ---, ruth, Pushed to Stable , Paying for a lost item overwrites nonpublic notes
22:19 jenkins_koha Starting build #153 for job Koha_3.8.x (previous build: SUCCESS)
22:19 rangi it has the or later clause
22:19 halcyonCorsair right
22:22 jcamins halcyonCorsair: if you wanted to share your Koha recipes, I'm sure people would be grateful. :)
22:22 halcyonCorsair jcamins: once I get it to a usable state, I'll be happy to
22:25 jcamins halcyonCorsair++
22:30 halcyonCorsair oops...this vm only has 384m of ram allocated...installing mysql now won't end well
22:35 rangi you can get it running in about 256 but its a tight squeeze
22:35 rangi (koha that is)
22:38 jcamins Yeah... don't try that with Evergreen.
22:40 halcyonCorsair jcamins: what distro, etc do you use?
22:40 halcyonCorsair rangi: any idea re: percentages of install base on debian based vs fedora or whatever?
22:41 jcamins halcyonCorsair: Debian.
22:41 jcamins One person uses Fedora.
22:42 jcamins Other than that, I think everyone uses Debian or Ubuntu.
22:43 rangi hmm lots of installs on fedora, all the libraries in the philiplines are fedora
22:43 rangi but only 1 developer i think
22:44 rangi it's hard to know
22:50 wajasu i'm still thinking about testing. functional/integration.  is there something set up that allows me to write a test against a "test" database?  Or are we just using some Mocking api?
22:52 rangi both
22:53 rangi you can right tests that work against the db with all the sample data installed
22:53 rangi or you can use DBD::Mock
22:53 wajasu is there an example test that you know of that does work against the DB?
22:54 wajasu are those the db_dependent ones/
22:55 rangi yes
22:55 wajasu ok.
22:56 wajasu if i write tests, for esitsing code, how should i submit them?  enhancement?  low pri?
22:59 Irma joined #koha
23:01 rangi there is a bug just for that
23:01 rangi bug 5327
23:01 huginn Bug[…]w_bug.cgi?id=5327 major, P3, ---,, Signed Off , Unit tests required for all C4 modules
23:01 rangi just attach them to that one, its the never closing bug :)
23:01 wajasu ok
23:23 papa joined #koha
23:24 jcamins_away Unless your test is overly ambitious, in which case create a new bug, so that bug 5327 isn't drowned in discussion.
23:25 huginn Bug[…]w_bug.cgi?id=5327 major, P3, ---,, Signed Off , Unit tests required for all C4 modules
23:27 jenkins_koha Project Koha_3.8.x build #153: SUCCESS in 1 hr 7 min: http://jenkins.koha-community.[…]b/Koha_3.8.x/153/
23:27 jenkins_koha kathryn: Bug 7368: fixed subsribe typo
23:27 huginn Bug[…]w_bug.cgi?id=7368 trivial, P5 - low, ---,, ASSIGNED , General staff client typo omnibus
23:28 rangi hmm 5 fails on master now
23:29 * rangi looks i think some are db issues
23:31 wajasu did that create_db / clean_db ever work?
23:31 rangi it did, but don't use it
23:31 rangi it no longer does
23:32 wajasu do we want to fix it?
23:33 rangi i don't
23:33 wajasu do we have any "transactional" code?    begin trans, do work; rollback; ?
23:33 cjh heh
23:33 mtj hmm, whats the script called wajasu ?
23:33 mtj and, hi #koha! :)
23:34 wajasu i was going to write some tests for and letters,, etc   but would like to go all the way to the db and verify what goes in, comes out.
23:35 wajasu persistence/repo tests.
23:35 jenkins_koha Starting build #811 for job Koha_master (previous build: STILL UNSTABLE -- last SUCCESS #773 2 mo 1 day ago)
23:43 jenkins_koha joined #koha

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