IRC log for #koha, 2012-10-17

All times shown according to UTC.

Time S Nick Message
00:22 melia left #koha
00:27 * drojf could not resist ordering a raspberry pi with 512mb ram
00:27 rangi heh
00:32 srikanth joined #koha
00:50 stefan-l joined #koha
01:02 drojfx joined #koha
01:07 stefan-l joined #koha
01:24 stefan-l joined #koha
01:41 stefan-l joined #koha
01:53 stefan-l joined #koha
02:39 gmcharlt joined #koha
02:39 gmcharlt @quote random
02:39 huginn gmcharlt: Quote #180: "<magnuse> gmcharlt brought the bugs back, oh well..." (added by gmcharlt at 03:08 PM, January 12, 2012)
02:42 user00 joined #koha
02:47 user110 left #koha
02:50 eythian is it weird that in aqbooksellers, listprice and invoiceprice both are keyed to the "currency" table, but the "currency" field itself isn't?
02:52 rangi yes
04:06 stefan-l joined #koha
04:28 eythian the way vendor details are stored is wrong :(
04:28 eythian they include the ^M character, and if that's not there, they don't edit right.
04:29 eythian and in no circumstances do they display with correct linebreaks.
04:36 stefan-l joined #koha
05:11 Oak joined #koha
05:14 Shum joined #koha
05:14 Shum Hi everyone
05:15 Shum is there anyone ?
05:15 Oak probably
05:15 * Oak waves
05:16 Shum lol
05:16 Shum I need some help in KOHA
05:16 Shum to understand it
05:16 Oak ask?
05:16 wahanui Don't ask to ask, just ask.
05:17 Shum I want to implment it and I am not getting how it works
05:18 Shum and how should I start with , What features I can implment
05:19 rangi Manual?
05:19 wahanui Manual is at
05:24 WaqarAzeem joined #koha
05:28 Shum I havegone throught it But I am still unable to understand its implmentation
05:41 alex_a_ joined #koha
05:41 rangi Not sure what else to suggest then I am afraid
05:45 Shum :(
05:46 rangi Packages?
05:46 wahanui i guess Packages is at
05:50 alex_a joined #koha
05:55 Shum Can you tell me any LIVE example of KOHA implementation
05:55 Shum ?
05:58 cait joined #koha
06:01 * magnuse waves
06:02 rangi There are links to demo sites on the site
06:02 Shum I have seen them
06:02 Shum as well
06:02 rangi If you've seen everything then there's nothing more we can do
06:03 Shum Ok Thank you !
06:03 cait morning
06:03 cjh cait: good morning
06:03 magnuse kia ora cait!
06:05 mib_e5aaer joined #koha
06:06 mib_e5aaer Morning
06:06 alex_a_ joined #koha
06:06 cait :)
06:06 rangi Evening
06:06 wahanui somebody said Evening was better for me - but not too late
06:10 mib_e5aaer KOHa works in TAGS ?
06:10 mib_e5aaer Does KOHa works with tags ?
06:10 mib_e5aaer :)
06:11 Shum joined #koha
06:11 Shum Does KOHA work with tags language
06:11 Shum ?
06:12 rangi It works with ukranian language
06:13 rangi And you can tag things in the opac if you have that preference on
06:13 Shum ok
06:15 magnuse oslo public library does cool things with library metadata and rdf:[…]6/active-shelves/
06:20 alex_a joined #koha
06:21 laurence joined #koha
06:22 rangi Brb kids to bed
06:22 alex_a bonjour tout le monde
06:23 magnuse bonjour alex_a
06:30 Shum joined #koha
06:31 mtompset joined #koha
06:31 mtompset Greetings, #koha.
06:33 magnuse hiya mtompset
06:34 mtompset Greetings, magnuse.
06:34 magnuse @wunder boo
06:34 huginn magnuse: The current temperature in Bodo, Norway is 0.0°C (8:20 AM CEST on October 17, 2012). Conditions: Clear. Humidity: 69%. Dew Point: -5.0°C. Windchill: -6.0°C. Pressure: 29.65 in 1004 hPa (Steady).
06:42 reiveune joined #koha
06:43 reiveune hello
06:43 wahanui hola, reiveune
06:49 mtompset bonjour, reiveune. :)
06:49 reiveune salut mtompset :)
06:49 mtompset I was playing around in help today. It told me I couldn't edit the help.
06:50 sophie_m joined #koha
06:50 mtompset I felt quite sad. :( -- Of course, there are a couple ways to give permissions, and I was wondering what the suggested way of doing it is.
06:50 mtompset clearly giving writing permissions to everyone is just wrong.
06:51 mtompset I was thinking of changing the group for the help files, and giving write permissions to the group.
06:53 mtompset I was thinking perhaps of changing the ownership of the help files. No chmod needed.
07:11 julian_m joined #koha
07:26 Irma joined #koha
07:32 kf joined #koha
07:32 kf good morning #koha
07:33 rangi hi kf
07:33 kf evening rangi
07:47 francharb joined #koha
07:47 paul_p joined #koha
07:48 francharb hello
07:48 gerundio joined #koha
07:56 paul_p good morning #koha
07:58 kf hi paul_p
08:03 Herwig joined #koha
08:03 Herwig Morning all
08:04 kf hi Herwig
08:26 Herwig anny one here has seen the following before 12:20:07-17/10 zebraidx(18235) [fatal] Could not select database biblios errCode=109  zebra did run before but for some reason not annymore
08:36 kf Sorry, I am not sure where to start looking here
08:36 kf didit ever work? what version and kind of install did youdo?
08:37 mtompset Greetings, kf, rangi, francharb, paul_p, Herwig.
08:39 Herwig it runs on ubuntu and 3.8 koha it did work before ... i did do a batch import of data (maybe i did do that wrong still searching how and what)
08:42 Herwig this is what i got on the screan[…]oha/kohazebra.txt
08:43 kf 12:20:06-17/10 zebraidx(18233) [warn] zebra_lock_create fail fname=/var/lock/koha/ze                                   bradb/biblios/norm..LCK [Permission denied] 12:20:06-17/10 zebraidx(18233) [warn] zebra_lock_create fail fname=/var/lock/koha/ze                                   bradb/biblios/shadow..LCK [Permission denied]
08:43 kf you got a permission problem here
08:44 kf you should run the jobs for zebra with you koha user
08:44 kf and all zebra files should be owned by the koha user
08:44 Herwig aha
08:44 kf or you will get problems
08:44 Herwig :OP
08:44 kf so maybe that's the cause :)
08:53 Herwig oh its that ... thx ... 1 stepp closer to victory ... :) (a few steps to go but before i post more questions i gonna experiment some more :) thx already)
08:53 kf :)
08:54 kf happy I was able to help
08:57 mtompset Hmmm... permissions problems usually accompany a tarball installation. :(
08:59 magnuse kf++
09:00 gerundio left #koha
09:00 gerundio joined #koha
09:04 francharb 0/ mtate
09:04 francharb oups
09:04 francharb 0/ mtompset
09:04 francharb ;)
09:04 mtompset That's the problem when you start your nick with a popular two letter combination. ;)
09:11 gerundio hey, back in LDAP auth
09:11 gerundio does anyone have any idea why authentication via shell works
09:11 gerundio but on the opac form doesn't?
09:12 kf gerundio: what are you trying to do?
09:12 gerundio LDAP auth
09:12 gerundio following some hints from jcamins_away here and some other docs in bywatersolutions blog
09:13 gerundio I edit koha/lib/C4/ to adjust the bind process to our LDAP server settings
09:13 gerundio
09:14 gerundio search for the word "developer" in that blog post
09:14 wahanui joined #koha
09:15 gerundio and in this one:[…]work-in-koha-3-4/
09:15 gerundio search for "quick testing"
09:15 wahanui joined #koha
09:15 gerundio the quick test works on the terminal and a borrower entry is successfully created in the DB
09:16 gerundio if I login via OPAC form it doesn't, I just get the regular "You entered an incorrect username or password. Please try again! And remember, usernames and passwords are case sensitive." message
09:16 gerundio any ideas anyone?
09:25 drojf good day #koha
09:26 Herwig i had the same problem  had to make a kohaadmin user before it workek sec i copy the text for you
09:31 Herwig gerundio here is my info (i am on ubuntu so maybe its not 100 percent the same but its a start)[…]koha/kohapass.pdf the red remarks is what i did
09:39 mtompset So, Herwig... you did a tarball install?
09:39 mtompset Because you wouldn't have to do that if you were using packages.
09:40 mtompset gerundio: So your staff client works, but your OPAC doesn't?
09:41 mtompset (for logging in)
09:42 mtompset Because Herwig, I would recommend installing using packages. The latest and greatest Ubuntu instructions (with links to the Debian one which is considered canonical) is found at[…]ubuntu_-_packages
09:57 alex_a_ joined #koha
10:14 Herwig ok my next installment i will do (sorry was away someone had a problem)
10:38 gerundio joined #koha
10:41 mtompset not a problem. I was just away too, Herwig. :)
10:41 gerundio Herwig, sorry I went away for a while
10:41 gerundio I just saw your answer to my problem 1 hour ago regarding LDAP
10:42 gerundio the URL you sent me deals with kohaadmin user
10:42 gerundio I don't have problems with that :)
10:55 gerundio kf, are your still around?
11:02 kf yes, but not sure I can help
11:02 kf I have never worked with ldap or other authentication systems
11:05 drojf hi kf :)
11:06 mtompset Greetings, drojf.
11:07 drojf hey mtompset
11:07 wahanui mtompset is disliking the silent warnings flooding his error logs.
11:07 mtompset That is very true in the last couple of days.
11:07 drojf heh
11:08 mtompset Some are easy to fix... other's ... will require thinking about the logic to make sure the patch is right.
11:08 gerundio ok kf, thanks anyway
11:09 gerundio I haven't found anyone here who's worked with LDAP auth
11:11 drojf gerundio: maybe try the mailinglist?
11:11 kf gerundio: there are people, probably only not here right nwo
11:11 kf the mailing list is a good idea
11:13 gerundio I've googled a lot and found some topics from the mailing lists
11:13 gerundio but not really helpful :|
11:14 kf you should mail the list yourself :)
11:23 jwagner joined #koha
11:31 drojf dear raspberry pi reseller, please confirm my order that i placed 11 hours ago. i'm not a man of patience.
11:32 gerundio I just read something disturbing in bywatersolutions facebook notes regarding LDAP auth:[…]10150321097398209
11:32 gerundio For auth-by-bind connections (include Microsoft Active Directory), you’ll need this information: Your patrons will need to be loaded from CSV using the Bulk Patron Import tool in Koha. Userid will need to be populated with the LDAP user login you wish them to use, but password can remain blank (or a default password can be added)
11:34 drojf what exactly is the disturbing part?
11:34 * drojf has no idea of LDAP
11:34 gerundio this means that I'll have to import the user records 1st in order do use LDAP with bind
11:34 gerundio for authentication
11:35 drojf i see
11:36 gerundio this doesn't make much sense
11:36 drojf one thing: that fb post is 13 months old. koha evolves all the time, it is not guaranteed that this information is still up-to-date.
11:37 gerundio well, I was able to login sucessfully using the "quick testing of the LDAP connection on the command line"
11:37 gerundio which created the borrower record in the DB
11:38 gerundio logging in the OPAC form works only after that record is created
11:38 gerundio if I try to login for the 1st time via OPAC the record is not created and I just get the login error message
11:38 gerundio got to go now, luch time
11:39 gerundio be back later to see if I can make something out of it
11:39 gerundio thanks anyway drojf
11:39 drojf does that sound like what you want?  "For some ldap setups there is a different sequence for authentication that koha doesn't account for.  The steps are:  1) Bind with a service account 2) Search for user entered 3) Bind as user if found"
11:40 drojf no i think its something different. sorry
12:07 user110 joined #koha
12:09 drojf nickometer user110
12:09 wahanui 'user110' is 56% lame, drojf
12:09 drojf sorry, had to try it ;)
12:14 mtompset nickometer drojf
12:14 wahanui 'drojf' is 0% lame, mtompset
12:14 mtompset nickometer mtompset
12:14 wahanui 'mtompset' is 0% lame, mtompset
12:14 mtompset nickometer kf
12:14 wahanui 'kf' is 0% lame, mtompset
12:14 drojf nickometer Guest1966
12:14 wahanui 'Guest1966' is 34% lame, drojf
12:14 mtompset nickometer lame
12:14 wahanui 'lame' is 62% lame, mtompset
12:14 * mtompset laughs.
12:14 drojf lol
12:15 mtompset sorry, wahanui, but lame is 100% lame.
12:15 mtompset lame?
12:16 mtompset how did you know about the nickometer command, drojf? Did you intentionally request help to see what was there?
12:17 drojf eythian introduced it a while ago
12:21 drojf nickometer drojfx
12:21 wahanui 'drojfx' is 0% lame, drojf
12:22 oleonard joined #koha
12:22 laurence left #koha
12:23 oleonard Hi #koha
12:23 drojfx left #koha
12:23 kf nickometer kf
12:23 wahanui 'kf' is 0% lame, kf
12:23 kf nickometer cait
12:23 wahanui 'cait' is 0% lame, kf
12:24 kf what does it do?
12:24 kf hi oleonard
12:24 oleonard nickometer?
12:24 drojf nickometer Mt0mPs3T
12:24 wahanui 'Mt0mPs3T' is 99.82% lame, drojf
12:25 oleonard I suppose 0% lame is good kf
12:25 drojf look for numbers, caps etc.
12:25 magnuse nickometer magnuse
12:25 wahanui 'magnuse' is 0% lame, magnuse
12:26 magnuse phew
12:28 oleonard clothesometer oleonard
12:28 user110 ah, well user110 is "user" + 110 volts of electricity, the US standard (although privately I suggest we might be better served by a 220v standard)
12:29 * oleonard still doesn't know if his clothes are lame :(
12:29 drojf user110: i guess the nickometer is too lame to understand that
12:29 kf nickometer user220
12:29 wahanui 'user220' is 34% lame, kf
12:29 kf user110
12:29 kf nickometer user110
12:29 wahanui 'user110' is 56% lame, kf
12:29 kf user110: it would be an improvement :)
12:30 drojf lol
12:30 user220 nickometer user220
12:30 wahanui 'user220' is 34% lame, user220
12:30 edveal joined #koha
12:30 user220 hey kf, you're right! I improved from 50% lame to 34% lame
12:43 talljoy joined #koha
12:44 drojf nickometer user330
12:44 wahanui 'user330' is 56% lame, drojf
12:44 drojf looks like 220 is the way to go. also you do not need to modify the power grid
12:44 * magnuse has 120 passing tests for the digital signs
12:44 drojf cool
12:47 ago43 joined #koha
12:49 jcamins magnuse++ # that's the way to do it!
12:51 magnuse jcamins: we'll see if you still say that when you have to RM it :-)
12:53 jcamins Hehe.
12:54 jcamins True.
12:55 liw it's so practical that release managers have a dedicated tool just for them, "git rm"
12:55 jcamins liw: that's a very good point.
12:57 paul_p good morning americaners.
12:57 paul_p jcamins have you found a binder full of women this morning ? :D :D
12:57 user220 morning paul
12:59 oleonard paul_p: Our politics is nothing if not entertaining :|
12:59 jcamins paul_p: I'm going to have to read a summary of the debate, aren't I?
12:59 paul_p oleonard yes, I know
13:00 paul_p oleonard = you know what sounds the most strange to frenchies ? spending $$$$$$ in TV ads. In France, it's strictly forbidden, and no candidate to president elections can spend more than €8 million (I haven't made any mistyping)
13:01 oleonard Well, your free speech is obviously much suppressed ;)
13:01 paul_p 8M, is probably what your candidates spent every day... I mean here it's the amount for the whole campaign !
13:02 drojf there is a nice new rap news episode about the elections too
13:02 paul_p + since 10 years or so, it's also forbidden for a company to fund a political campaign
13:02 drojf or about the debate rather
13:02 drojf as an ignorant european, i believe this is everything i need to know about it
13:03 user220 nickometer user440
13:03 wahanui 'user440' is 34% lame, user220
13:06 mtompset nickometer Dr0j7
13:06 wahanui 'Dr0j7' is 99.48% lame, mtompset
13:06 magnuse nickometer mib_440
13:06 wahanui 'mib_440' is 41% lame, magnuse
13:06 oleonard I guess one question to ask paul_p is has it improved the election process? At the very least elections must be less annoying.
13:06 mtompset I think it probably compares against l33t spelling?
13:08 paul_p oleonard = I don't think so. campaigns are still very boring here. The one who win is usually the one who promize the most !
13:10 oleonard paul_p: I hope your elections don't become more exciting based on the American model
13:11 paul_p nickometer paul_p
13:11 wahanui 'paul_p' is 14% lame, paul_p
13:11 paul_p nickometer p@ul_p1
13:11 wahanui 'p@ul_p1' is 42% lame, paul_p
13:11 jcamins nickometer jcamins
13:11 wahanui 'jcamins' is 0% lame, jcamins
13:11 jcamins :)
13:11 paul_p oleonard you're probably right about nickometer rules !
13:12 libsysguy joined #koha
13:13 mtompset nickometer a
13:13 wahanui 'a' is 0% lame, mtompset
13:13 mtompset nickometer a5
13:13 wahanui 'a5' is 17% lame, mtompset
13:13 mtompset nickometer a5_
13:13 wahanui 'a5_' is 22% lame, mtompset
13:13 mtompset nickometer a5_a
13:13 wahanui 'a5_a' is 31% lame, mtompset
13:13 mtompset nickometer a5_a5
13:13 wahanui 'a5_a5' is 78% lame, mtompset
13:14 mtompset nickometer a5_a5&
13:14 wahanui 'a5_a5&' is 87% lame, mtompset
13:14 jcamins nickometer at_A5&
13:14 wahanui 'at_A5&' is 36% lame, jcamins
13:14 mtompset nickometer a5_a5&A
13:14 wahanui 'a5_a5&A' is 99.51% lame, mtompset
13:14 jcamins Huh.
13:14 mtompset nickometer a5_a5&A5
13:14 wahanui 'a5_a5&A5' is 99.85% lame, mtompset
13:14 mtompset nickometer a5_a5&A5@
13:14 wahanui 'a5_a5&A5@' is 99.87% lame, mtompset
13:14 mtompset nickometer a5_a5&A5@A
13:14 wahanui 'a5_a5&A5@A' is 99.9189% lame, mtompset
13:14 mtompset nickometer a5_a5&A5@A5
13:14 wahanui 'a5_a5&A5@A5' is 99.9460% lame, mtompset
13:14 stefan-l left #koha
13:14 mtompset nickometer a5_a5&A5@A5!
13:14 wahanui 'a5_a5&A5@A5!' is 99.9508% lame, mtompset
13:14 mtompset nickometer a5_a5&A5@A5@
13:14 wahanui 'a5_a5&A5@A5@' is 99.9508% lame, mtompset
13:14 oleonard nickometer Bug8882
13:14 wahanui 'Bug8882' is 30% lame, oleonard
13:15 mtompset nickometer a5_a5&A5@A5#
13:15 wahanui 'a5_a5&A5@A5#' is 99.9508% lame, mtompset
13:15 mtompset nickometer aaAA5555!@#$
13:15 wahanui 'aaAA5555!@#$' is 99.86% lame, mtompset
13:15 mtompset Order obviously plays into it.
13:15 jcamins nickometer SuP3rL33t&
13:15 wahanui 'SuP3rL33t&' is 99.9035% lame, jcamins
13:15 jcamins nickometer SuP3rL33t&r
13:15 wahanui 'SuP3rL33t&r' is 99.9035% lame, jcamins
13:16 jcamins nickometer 5uP3rL33t&r
13:16 wahanui '5uP3rL33t&r' is 99.9059% lame, jcamins
13:17 mtompset nickometer 5uP3rL33t&r5uP3rL33t&r
13:17 wahanui '5uP3rL33t&r5uP3rL33t&r' is 99.9860% lame, mtompset
13:17 mtompset Oh come on... That's got to be 100% lame.
13:19 oleonard When you reach 100% lame the internet breaks
13:23 fredy joined #koha
13:28 trea joined #koha
13:36 mtompset Aren't fines calculated at check in time?
13:36 mtompset (as per enhancement 7849 since 3.8.1)
13:36 jcamins Unless you're using the cron job.
13:37 mtompset What's the default set up for packages?
13:39 jcamins It's set by sysprefs.
13:39 jcamins The default is not to charge fines at a ll.
13:39 jcamins *all
13:39 jcamins I think, anyway.
13:40 jcamins The fines are recorded, of course, but no notices go out.
13:40 mtompset I was noting that there is a in /etc/cron.daily
13:40 mtompset I was noting that there is a in /etc/cron.daily/koha-common
13:40 jcamins Yes, that calculates the fines nightly.
13:41 mtompset what time does cron.daily run at?
13:41 jcamins No idea.
13:41 jcamins 3am, maybe?
13:41 jcamins I'm sure you could find out somewhere.
13:42 * jcamins doesn't generally worry much about cron.
13:43 mtompset The /etc/crontab file says. :)
13:46 drojfx joined #koha
13:48 gerundio joined #koha
13:48 maximep joined #koha
13:49 gerundio drojf, back
13:49 gerundio just read you comment regaring the ldap auth topic 2 hours ago
13:50 gerundio what you described is the scenario I'm implementing yes
13:50 gerundio 1) bind anonymously 2) search for the user 3) bind as the user if found
13:51 gerundio did you saw any reference to that?
13:54 drojf gerundio: yes, on the bug tracker
13:55 drojf[…]w_bug.cgi?id=7973
13:55 huginn Bug 7973: enhancement, P5 - low, ---, gmcharlt, In Discussion , Allow for new type of LDAP authentication
13:57 drojf gerundio: maybe libsysguy can tell you more about it
13:58 gerundio ok, I'm watching that patch diff
13:58 gerundio I've done that myself... so I'm just comparing to see if my code matches that one
13:58 * libsysguy perks up
13:59 libsysguy actually Dobrica was right
14:00 libsysguy it should have been more general
14:00 gerundio my changes to the code are a little different, but the result is the same
14:01 gerundio libsysguy, with this method does the borrowers table record get created upon sucessfull login?
14:01 gerundio with replicate set to 1 of course
14:01 user220 left #koha
14:01 libsysguy yes it does
14:02 libsysguy but really, it needs tweaked.  I am tempted to take down that patch to remove confusion
14:04 libsysguy I don't really have the setup to test it anymore
14:05 mtompset Why not finish the patch? ;)
14:05 mtompset Ah.
14:05 libsysguy I read your mind mtompset
14:05 libsysguy :p
14:05 mtompset Yes, yes you did.
14:06 mtompset This is the sort of thing I'd like to get set up when I get back to Canada... so many fun Koha related things to play with, but fiscal realities suck. :(
14:06 libsysguy indeed they do
14:07 gerundio I have the setup and can assist you guys
14:07 gerundio my problem know is that the DB record isn't being created upon the 1st login atempt in OPAC
14:08 gerundio if I use the "/path/to/files/opac/ userid=your_test_ID password=test_user_password > junk.txt" method to test the login
14:08 gerundio the record gets created
14:08 gerundio any idea why this might be happening?
14:09 libsysguy so you are saying with current master code its not working?
14:10 gerundio I patched the "/path/to/files/lib/C4/" perl module
14:10 gerundio so I could do that 3 step bind
14:11 libsysguy bind search bind?
14:11 gerundio on my terminal I can log in fine, on OPAC not really
14:11 gerundio yes, bind search bind
14:11 gerundio I don't see any errors in the logs
14:11 gerundio but maybe because they're not being thrown there
14:11 libsysguy hmm well the replicate function shouldn't be touched with any code to modify koha to do the 3 step bind
14:12 gerundio how can I increase the debug level to see what goes wrong with OPAC login?
14:12 gerundio I didn't touch it
14:12 libsysguy you can throw your own with "print STDERR 'some error';"
14:13 gerundio got to tell you, I'm not very handy with perl
14:13 libsysguy heh
14:13 BigRig joined #koha
14:13 gerundio but this last few days patching this file already got me into it :)
14:13 BigRig_ joined #koha
14:14 libsysguy so basically ignore the debug level in the file
14:14 libsysguy you won't get far
14:14 libsysguy i feel like that poor file has been ostracized by everyone
14:15 rambutan joined #koha
14:15 rambutan left #koha
14:15 libsysguy im trying to think about the easiest way to get you what you need
14:16 rambutan joined #koha
14:16 tcohen joined #koha
14:17 libsysguy If you don't care about local changes I would just change the code in the else statement
14:17 libsysguy if you do you are going to have to modify my patch a bit
14:18 gerundio so, if I understood your patch correctly you added a 3rd auth method - a 2nd ldap bind method - right?
14:19 libsysguy correct
14:20 libsysguy it added that 3 step bind method
14:21 gerundio so you also added a new entry in the koha-conf.xml file, correct?
14:21 drojfx +1 for editing libsysguy's patch and giving back the changes to the community. will make your updates much easier and make you "that LDAP guy" for testing too ;)
14:21 gerundio "bind_with_service"
14:22 libsysguy correct
14:23 libsysguy and yes you can have the title of "that LDAP guy"...
14:23 gerundio lolol
14:23 gerundio not sure I can handle it
14:23 gerundio I'm just a middle man
14:23 libsysguy please…take it
14:23 libsysguy p
14:23 gerundio my knowledge of LDAP and Koha are very limited
14:24 gerundio I'll be happy to contribute the patch
14:24 libsysguy practice makes perfect hehe
14:24 gerundio :)
14:24 libsysguy if you want to test mine and see if it works I'd welcome it
14:24 oleonard "bind_with_service?" Sounds like something out of a S&M/LDAP crossover bestseller
14:25 libsysguy heh oleonard
14:25 libsysguy and now I can never think about ldap binds again
14:25 gerundio I was about to ask why "bind_with_service", but seems oleonard already shed some light on the subject :p
14:25 libsysguy without thinking about S&M lol
14:25 gerundio but why bind_with_service?
14:26 libsysguy well I wanted it to be bind with service account
14:26 libsysguy the first step in th3 3 step bind
14:26 gerundio ok
14:26 libsysguy but in hindsight 3StepBind might have been a better choice
14:26 libsysguy what can I say, I was young and experimenting
14:26 gerundio to revoke oleonard's argument we can call it "auth_by_bind_search_bind" :D
14:27 gerundio unless he can find some sort on S&M connection there too
14:27 libsysguy oleonard can find S&M in anything
14:27 libsysguy he is an active member of the community :p
14:28 libsysguy oops
14:28 libsysguy s/the/this/
14:28 gerundio btw, from what I could figure out, this 3 step bind method
14:28 jcamins gerundio: sounds like an LDAP/Tolkien crossover.
14:28 gerundio use LDAP's DN (distinguishedName) for the bind
14:28 gerundio so we could call it auth_by_dn_bind
14:28 gerundio better?
14:29 libsysguy better
14:29 libsysguy if we did what the last comment suggested we could define whatever attrib we wanted
14:30 gerundio let me ask the LDAP guru around here :)
14:33 libsysguy here or there?
14:34 gerundio my LDAP guru :D
14:34 gerundio done and back
14:34 gerundio we just need to fix that auth_by_bind method there
14:34 gerundio we don't need to add auth_by_dn_bind... since the bind is always done via DN
14:35 gerundio the problem there is that whoever wrote that code assumed that DN = username
14:35 gerundio when in reality that doesn't occur
14:35 gerundio DN can be anything really, being LDAP a tree, the DN is simply the key to each tree node
14:36 gerundio which for some people can be the username, but for most people I'm guessing it's not
14:36 gerundio was my argument clear enough?
14:37 libsysguy yeah when I wrote that patch it was definitely for out ldap setup which was shotty at best
14:37 libsysguy so I would welcome you fixing it :)
14:41 rambutan just testing to see if regular commands work with "off"
14:43 rambutan you know, on this page:[…]ch-stuff-up-help/
14:43 rambutan this command: sudo koha-rebuild-zebra -v –full `/usr/sbin/koha-list`
14:43 jcamins Hm. that should be two dashes, not an em dash.
14:44 rambutan may be causing people problems. I had my tech assistant working on setting up a backup server, and he wasn't getting the command right
14:44 * oleonard also hates it when Wordpress replaces regular double quotes with "smart quotes" in code snippets
14:44 rambutan I looked at it, and immediately knew, although it didn't appear so, that there was a double dash in front of "full", but even if you cut and paste from the web page
14:45 liw you could replace `...` with $(...)
14:45 * jcamins doesn't know how to edit that page.
14:45 rambutan into a text editor you may not get it--kate mangles it into something
14:45 jcamins liw: Wordpress is mangling the double dash, too.
14:45 rambutan and the "back tics" are not obvious either. I thing there was a chat discussion w/ wizzy way back in February about this.
14:46 rambutan anyway, I think it would be helpfult to add those comments to that page
14:46 liw jcamins, bad wordpress, bad, bad, bad :)
14:46 * liw is biased
14:46 libsysguy oleonard I have a quick question about
14:46 jcamins liw: run away, libsysguy. Run far away, and never return to
14:46 jcamins Sorry, that was for libsysguy.
14:47 libsysguy heh
14:47 libsysguy I just want to sort the fields
14:47 gerundio libsysguy, I'll submit a revision to your patch
14:47 libsysguy sweet, thanks gerundio
14:47 * libsysguy washes hands of it :p
14:47 jcamins libsysguy: sort the fields?
14:47 gerundio how can I get a user account in the bug tracker?
14:48 libsysguy yeah so right now you can sort the subfields with the arrows
14:48 jcamins liw: I don't suppose you were involved with lxc at all?
14:48 libsysguy but if you have multiple say 600 fields
14:48 jcamins gerundio: just create a new account.
14:48 gerundio got it
14:48 libsysguy I might like to sort those too
14:48 jcamins libsysguy: good luck.
14:48 gerundio just saw it in the homepage
14:49 jcamins That is much needed, of course.
14:50 libsysguy b-b-but jcamins I wanted to use[…]ists-through-tabs
14:50 libsysguy :p
14:51 jcamins libsysguy: I think using jqueryui would be a great idea. You'll need to start over from scratch, though.
14:51 jcamins The existing javascript is much too brittle.
14:51 oleonard libsysguy: If your question to me is, "Do you mind if I jump into a pit of snakes with not even Karen Allen to help me" of course the answer is yes.
14:52 libsysguy great...
14:52 libsysguy well my deadline is 3.12
14:52 * libsysguy cracks knuckles
14:53 jcamins You could start with chris_n's work.
14:53 gerundio libsysguy, quick question
14:53 libsysguy sure gerundio
14:53 libsysguy jcamins is that on github?
14:53 gerundio the "principal_name" setting in the koha-conf.xml should be changed
14:54 libsysguy that was there before my time
14:54 oleonard What is chris_n's work jcamins?
14:54 jcamins libsysguy: oleonard:[…]/tree/marc_editor
14:54 gerundio it should be replaced with a new setting where we would define the search filter
14:54 libsysguy gerundio if you change that you could have a whole bunch of pissed off libraries
14:55 libsysguy okay but remember you have to preserve existing functionality
14:55 libsysguy so you'd have to write something to make the old stuff owrk
14:55 libsysguy work*
14:55 gerundio ok, thus my question :D
14:55 libsysguy or leave it
14:55 libsysguy ah
14:56 libsysguy so there is a nice catch tothis
14:56 libsysguy if you update the field in koha-conf.xml
14:56 gerundio even if the old stuff is not coded correctly?
14:56 gerundio this was developed under a wrong assumption
14:56 gerundio how can we correct that now?
14:57 libsysguy I would start by making the assumption that it is working
14:57 libsysguy and you would like to further generalize it
14:57 libsysguy rather than its not working and we should fix it
14:57 jcamins ^^ this is a good plan. Anything not backwards compatible will not be accepted.
14:57 libsysguy I know of several libraries that are using the LDAP code successfully
14:57 libsysguy unmodified
14:58 gerundio legacy code's a bitch :D
14:58 libsysguy heh indeed but we don't want to end up like ruby on rails
14:58 gerundio I bet they are, their DN must be something like uid@library.domain
14:59 jcamins libsysguy: I guess we know who is going to be QAing this code. :P
14:59 libsysguy heh yes the harshest QAA here
15:00 libsysguy so gerundio yes typically the DN is the same as the sAMAccountname
15:04 gerundio ok, so legacy code it is
15:04 gerundio I'll do it by adding 2 more settings to the koha-conf.xml file
15:04 gerundio "auth_by_dn_bind" and "filter"
15:05 jcamins paul_p: just FYI, caching and Plack don't work together.
15:05 paul_p jcamins really ? memcaching you mean ?
15:05 libsysguy gerundio are you moving principal_name to auth_by_dn_bind
15:05 jcamins Koha::Cache.
15:05 jcamins You had me change it to use environment variables.
15:06 gerundio libsysguy, no... I'm adding auth_by_dn_bind and filter
15:06 libsysguy okay just making sure
15:06 gerundio auth_by_bind and principal_name will still be there
15:06 paul_p yikes. What do you mean by "don't work" ? nasty error, or just no caching ?
15:06 jcamins paul_p: no caching at all.
15:06 jcamins At least, that's what it seems like to me.
15:06 gerundio so basically people will be using a combination of those 2
15:07 paul_p jcamins jcamins = that may explain why my tests show no measurable perf improvements... I concluded it was "because memcache is not about speed, it's about charge"
15:07 NateC joined #koha
15:07 paul_p once again, it's 5PM here, and I haven't started to push a patch :((((
15:07 jcamins paul_p: well, that's true, too.
15:08 paul_p same as yesterday, same as monday :(
15:08 * paul_p head to push patches...
15:09 jcamins paul_p: to summarize, though, using environment variables precludes persistent environments without a great deal of creativity.
15:09 jcamins So far as I can tell.
15:10 paul_p jcamins (not sure I've understood)
15:10 jcamins paul_p: as far as I can tell, since the environment variables weren't set when Plack was started, caching is disabled, permanently.
15:11 paul_p the plack.psgi can include them, isn't it ?
15:12 jcamins I am not sure.
15:12 jcamins Figuring that out is on my to-do list.
15:13 paul_p jcamins[…]w_bug.cgi?id=7844 could help !
15:13 huginn Bug 7844: enhancement, P5 - low, ---, dpavlin, Needs Signoff , plack scripts for developers
15:14 jcamins Interesting. Those scripts are different than the ones in his git repo.
15:14 jcamins paul_p: FYI, this is what I'm using:[…]Starman_and_nginx
15:15 reiveune bye
15:15 reiveune left #koha
15:23 libsysguy so while pushing my calendar work to github I am realizing just how large Koha is
15:24 libsysguy or perhaps just how slow my upload speed is
15:25 jcamins libsysguy: both.
15:26 libsysguy 200 KiB/s
15:26 mtompset Have a good day (24 hour period), everyone.
15:26 libsysguy looks like its going to be a solid 200 Mb
15:30 rambutan joined #koha
15:33 rambutan left #koha
15:34 jcamins liw: did I ask you yet if you were involved in the creation of lxc?
15:34 liw jcamins, I don't think you did; I wasn't
15:35 jcamins Aww.
15:35 jcamins I was hoping you could tell me how to use lxc for testing installation.
15:35 jcamins (of Koha)
15:35 jcamins (automatically)
15:36 kf bye all
15:40 trea left #koha
15:43 gerundio libsysguy, need your help
15:43 libsysguy sup
15:44 gerundio see the 1st line inside the ldap_entry_2_hash function
15:44 gerundio my $userldapentry = shift;
15:44 libsysguy ye
15:44 gerundio what is that suppose to do? :)
15:44 libsysguy yeah*
15:44 libsysguy that is taking an argument
15:44 libsysguy so it wants you to pass it a variable
15:44 gerundio ok
15:44 gerundio so its just picking the 1st passed argument
15:45 libsysguy correct
15:45 gerundio I see the function call now
15:45 gerundio thanks
15:45 juan joined #koha
15:45 libsysguy so if there was another shift it would take a second argument
15:53 juan_sieira joined #koha
15:53 francharb` joined #koha
15:53 oleonard Hi francharb, juan_sieira
15:54 juan_sieira hi Owen¡
15:54 gerundio libsysguy, I'm getting the following error "Can't call method "exists" on an undefined value at " in the following line
15:54 gerundio $userldapentry->exists('uid');  # This is bad, but required!  By side-effect, this initializes the attrs hash.
15:55 gerundio I'm debugging this and still haven't come up with any idea why this is happening
15:55 gerundio but I already like that comment :D
15:56 jcamins gerundio: as you can see, we do not subscribe to the "no side effects" rule of programming. ;)
15:59 wajasu joined #koha
16:01 libsysguy so basically its saying that uid doesn't exist in your ldap tree
16:01 libsysguy sorry I stepped away
16:02 melia joined #koha
16:02 gerundio that's my concern yeah :D
16:02 libsysguy you could try replacing exists with defined but I don't know the implications of that
16:02 gerundio but uid exists
16:02 gerundio I just have to make sure it's being returned in the LDAP search
16:03 gerundio which I thought I already did
16:06 jcamins I figured it out!
16:06 jcamins I'll transfer the files I'm interested in via http.
16:06 jcamins Have nginx serve ~/releases over the bridge adapter only.
16:09 * tcohen is really happy tuning his fresh new laptop: 4'' from grub to login manager :-D
16:10 jenkins_koha Starting build #909 for job Koha_master (previous build: SUCCESS)
16:10 huginn New commit(s) kohagit: Bug 1963 Problem with deleted biblio in a virtual shelf <[…]4e274b95619dc9166> / Merge remote-tracking branch 'origin/new/bug_4118' <[…]fb9fd964fc35cc582> / Bug 4118: Follow up: Add ccode to kohastructure for stats <
16:19 jcamins Wow.
16:19 jcamins Downloading Koha's dependences at 500kbps takes 5 minutes.
16:20 jcamins Hm. apt-get told me it was downloading 88MB, but I don't think that math adds up right.
16:20 cait joined #koha
16:20 oleonard Hi cait! You just missed kf. She was here earlier.
16:20 cait oh no
16:20 cait I always miss her
16:21 cait wonder when we will finally meet
16:21 jcamins Right, there's the multiarch issue that was reported on the mailing list.
16:27 * jcamins works around it, creatively.
16:32 jcamins tcohen: you set up an apt proxy, didn't you? Which one did you use?
16:46 * drojf is slightly puzzled by the job description request on the list
16:46 drojf how would i know what they are looking for?
16:47 oleonard They're asking what qualifications you would ask for if you wanted to hire someone to help develop Koha
16:48 cait h
16:48 cait m
16:48 cait aren't they a bywater library?
16:48 drojf ok. but doesn't that still depend on what they are looking for? "developing koha" is a broad field
16:49 cait I gues there are some basic general skills
16:49 cait but sharing the direction they want development done woul dmaybe help
16:49 drojf ok. "know perl" :)
16:49 drojf but also maybe know javascript or jquery or html or css or ldap :P
16:52 drojf d'oh
16:52 slef sql
16:53 drojf oh that too
16:53 slef MARC and z3950
16:53 drojf basically not a student if you want all of that ;)
16:53 gerundio joined #koha
16:53 slef nah, some of that will be OK, then they learn the rest on the job
16:54 slef but basically some data-mangling experience is very handy
16:54 slef and often sadly lacking in computer scientists
16:58 drojfx joined #koha
16:59 jcamins slef: ditto common sense.
16:59 * oleonard adds "Not afraid of snakes"
17:01 slef jcamins: ah, beware there. Common sense is often not common.
17:01 slef jcamins: I had a luuuuuuurvley former colleague who would claim all sorts of craziness was "just common sense", refuse to justify it and be offended that anyone disagrees.
17:01 jcamins slef: I meant "common sense is often sadly lacking."
17:02 slef jcamins: I mean "not common" in the sense(!) that two people may have very different ideas of what is common sense
17:02 jcamins lol
17:03 dcook joined #koha
17:04 dcook Morning #koha!
17:05 oleonard dcook, regarding Bug 8585 I think it's customary to obsolete patches after they've been pushed to master if a follow-up was added
17:05 huginn Bug[…]w_bug.cgi?id=8585 enhancement, P5 - low, ---, dcook, Pushed to Master , Add System Preference to specify Holds to Pull List Start Date
17:05 dcook Now that you mention it, that does sound vaguely familiar
17:05 dcook Why is that?
17:05 jcamins dcook: so that people don't spend time trying to apply a patch that is no longer relevant.
17:06 jcamins tcohen: are you using apt-cache, apt-cacher-ng, or squid-deb-proxy?
17:06 dcook Mmm, I think I follow you, jcamins
17:07 tcohen jcamins, we have an official mirror here
17:07 dcook So a RM would cherrypick it from master and anyone else wanting to backport it would need to do the same?
17:07 tcohen used apt-mirror before
17:07 jcamins dcook: right.
17:08 dcook Cool. Thanks, jcamins and oleonard.
17:08 oleonard dcook: And since it's not a bug fix it probably won't be.
17:08 jcamins tcohen: hm. I don't think that will help with lxc.
17:09 tcohen jcamins, what r u trying to do?
17:10 jcamins tcohen: I'm setting up Koha installation testing using lxc.
17:11 dcook oleonard: good point. It seems like patches that insert new system preferences get difficult to apply anyway. I'm probably the only person who would use this enhancement ahead of it going into a stable release.
17:11 tcohen looks nice
17:12 slef groan... does exchange usually blackhole emails with unknown From lines?
17:13 jcamins slef: that sounds probable.
17:13 slef jcamins: if so, that's so stupid I don't know where to start with it.
17:13 * oleonard can't imagine slef willingly getting within 10 feet of Exchange
17:13 slef oleonard: I didn't know it was there until I switched TLS on and the certificate mentioned Exchange...
17:14 slef ...rather than the host I was expecting.
17:14 jcamins slef: see exhibit A: my absolute refusal to work with Exchange.
17:14 slef jcamins: so what would you do if you uncovered a stealth Exchange? ;)
17:15 jcamins slef: run away screaming.
17:15 slef jcamins: I'm pondering "hello library - I've found why it's broken [...] so please fix your Exchange or approve me sending all your email out over a VPN?"
17:16 dracoling please insert sane MTA to continue
17:19 jenkins_koha Project Koha_master build #909: SUCCESS in 1 hr 8 min: http://jenkins.koha-community.[…]/Koha_master/909/
17:19 jenkins_koha * nengard: Follow up to Bug 8585: add missing word to preference
17:19 jenkins_koha * Katrin.Fischer.83: Bug 3652: [SIGNED-OFF] XSS fixes - follow up
17:19 jenkins_koha * jonathan.druart: Bug 5356: Followup Change font in the layout3pages pdf
17:19 jenkins_koha * nengard: Bug 4118: Follow up: Add ccode to kohastructure for stats
17:19 jenkins_koha * f.demians: Bug 1963 Problem with deleted biblio in a virtual shelf
17:19 huginn Bug[…]w_bug.cgi?id=8585 enhancement, P5 - low, ---, dcook, Pushed to Master , Add System Preference to specify Holds to Pull List Start Date
17:19 huginn Bug[…]w_bug.cgi?id=3652 critical, P1 - high, ---, chrish, Needs Signoff , XSS vulnerabilities
17:19 huginn Bug[…]w_bug.cgi?id=5356 enhancement, P5 - low, ---, jonathan.druart, Pushed to Master , Shipping billing address improvements
17:19 huginn Bug[…]w_bug.cgi?id=4118 enhancement, P5 - low, ---, kyle.m.hall, Pushed to Master , Add Collection Code to Statistics Table
17:19 huginn Bug[…]w_bug.cgi?id=1963 normal, P3, ---, frederic, Pushed to Master , Problem with deleted biblio in a virtual shelf
17:23 gaetan_B joined #koha
17:33 tcohen anyone has his vimrc config for tabs/spaces compliance?
17:34 jcamins set expandtab
17:34 jcamins set shiftwidth=4
17:34 tcohen plus set softtabstop=4?
17:34 jcamins set tabstop=4
17:36 libsysguy oleonard have all the jqueryui libraries been pushed to master?
17:36 oleonard No
17:37 libsysguy is there a bug to do that?
17:37 oleonard No.
17:38 libsysguy so we're still holding to the integrate them one at a time
17:38 oleonard I don't think we need to.
17:38 drojfx_ joined #koha
17:40 libsysguy what do you mean oleonard?
17:41 oleonard I don't think we need to integrate them one at a time, if someone wants to submit a patch adding the rest. I assumed that the next patch which required an additional library would add the rest too
17:41 libsysguy heh I was waiting on somebody else to do it
17:42 libsysguy I was going to try and implement sortable for
17:42 libsysguy and get rid of the up arrow functions
17:42 jcamins libsysguy: sortable is already included.
17:42 libsysguy 0_0
17:42 oleonard There you go
17:42 * libsysguy missed it
17:42 jcamins You missed it?
17:42 libsysguy I just scrolled through that js file
17:42 jcamins My beautiful Did you mean? configuration page was missed!?!
17:43 libsysguy uh oh
17:43 * jcamins is outraged.
17:43 * libsysguy ducks
17:43 jcamins Outraged, I say!
17:43 * libsysguy wields trout
17:51 ago43 joined #koha
17:52 Shane-S joined #koha
17:52 libsysguy jcamins you weren't kidding when you said was a mess
17:52 Shane-S where is the due date setting or what is it called, I search for due date and overdue and get setting but no time frame like "1 week" "4 days" etc when I search admin pref.
17:53 Shane-S I did find allow staff to set due date, would that be the field?
17:53 libsysguy first question?
17:53 wahanui "What are you trying to do?"  "What is the goal?" or "What problem are you experiencing?"
17:54 cait second question?
17:54 wahanui i guess second question is "What is the exact error message?"
17:54 Shane-S I found it, I had no circulation rule
17:54 jcamins 9libsI warned you.
17:55 jcamins *libsysguy:
17:55 libsysguy this file needs some love
17:55 libsysguy it looks like the last time it was touched was when javascript was written :p
17:58 drojfx joined #koha
17:59 mbalmer joined #koha
17:59 Shane-S what library standard does Koha use so I person sending me a disk on books could send me in the right format?
17:59 Shane-S IE. I used to say Follett to the vendor
17:59 jcamins Shane-S: MARC21.
18:00 Shane-S ty
18:04 gerundio joined #koha
18:05 Shane-S based on dewi decimal is there an easy way to search between fiction and non fiction?
18:06 Shane-S or even if there isn't a way, I am thinking we need a custom field to do that, but figured you all may have a simple way.
18:07 jcamins Shane-S: use collection codes or item types.
18:07 jcamins Custom fields are ALWAYS a TERRIBLE idea.
18:07 Shane-S okay thanks
18:10 slef argh bitten again. GoToMeeting. Apparently it's currently broken on both Android and Linux.
18:11 slef (replies "Unable to Process Your Request // We apologize, but we cannot process your request" to current Linux Firefoxes. Offers a "Tap to download the GoToMeeting app" link to Android, but the link is 404 Not Found.)
18:13 trea joined #koha
18:23 Shane-S i think i missed something in Koha, can users by default settings self checkout books online?
18:24 Shane-S I am seeing many overdue books via circulation, and one is from a staff member who I know hasn't been in to physically check out books
18:24 Shane-S side question: anyone know how to make a barcode scanner beep as it inputs?
18:25 slef Shane-S: that's an option on some scanners.
18:25 slef Shane-S: looking in the device's manual?
18:26 * slef wonders where his scanners went in the move
18:26 cait ^^ that
18:26 cait manual :)
18:28 Shane-S slef: sadly the software made the beep for ours, its from follet, I think the "line return" made the beep
18:29 slef Shane-S: is it USB?
18:29 Shane-S yeah
18:29 Shane-S with an adpater it is, has a wired square-ish end
18:29 Shane-S the plugs into a white USB adapter
18:30 slef Shane-S: I think you could run a program that peeked at whatever is the right /dev/input/event* and beeped whenever it saw an end of line, but I've never done that and I'm also not sure how you'd make sure it saw everything before the buffer got emptied.
18:32 Shane-S okay, I didn't know if there is a simple way to be like play sound when keyboard device X ...hoped windows had a simple way
18:32 Shane-S I will look into getting a better on, as it would be nice to have the trigger work too, this one is always on
18:32 slef oh it's windows?
18:33 slef Ignore what I said about /dev/input/event*
18:33 slef no idea what crazy stuff that does these days, sorry
18:34 Shane-S slef, yeah the library desktop is. Minor thing...I have to track down how these books are being checked out
18:35 Shane-S all the self checkout stuff says disabled
18:36 slef Shane-S: time to read logs, both in koha admin and in apache files
18:36 * slef goes to dinne
18:39 datadoctor joined #koha
18:40 gmcharlt re bug 6529, what is the general sense of whether the cataloging search results should include all items, regardless of status?
18:40 huginn Bug[…]w_bug.cgi?id=6529 normal, P5 - low, ---, gmcharlt, NEW , Cataloging search issues - withdrawn, lost, on-order counts not displayed consistently
18:40 * gmcharlt leans towards including all, since that's explicitly a staff search
18:41 oleonard All, unless otherwise specified by a system preference
18:41 oleonard Oh, specifically cataloging search, not regular staff search?
18:41 gmcharlt right
18:41 oleonard Then all, yeah.
18:42 * phasefx is willing to try his hand at a patch
18:42 gmcharlt phasefx: do it do it do it
18:42 * phasefx reads the Get Involved page
18:42 * oleonard imagines gmcharlt bouncing up and down in his chair as he says it
18:42 * phasefx also speaks in 3rd person
18:46 oleonard gmcharlt: Digging up old bugs eh?
18:46 gmcharlt oleonard: what's old is new again, at least to one of our customers
18:47 oleonard Squeaky wheel gets the grease.
18:51 cait hm
18:51 cait as long as something gets grease we are moving, right? :)
18:52 * oleonard greases his keyboard for faster typing action
18:52 cait hehe
18:58 santy joined #koha
19:14 rangi morning
19:14 oleonard Hi rangi
19:18 cait morning
19:22 trea morning rangi
19:25 drojfx joined #koha
19:26 cait hi trea
19:26 trea hi cait o/
19:27 cait :)
19:29 rangi is magnuse around?
19:30 cait bit late for him if he is :)
19:30 rangi yeah
19:31 rangi i think im gonna push bug 8793
19:31 huginn Bug[…]w_bug.cgi?id=8793 minor, P5 - low, ---, magnus, Pushed to Master , Fix materialTypeCode/typeOf008 icons for NORMARC XSLT
19:31 cait ah
19:31 rangi it changes some strings but only in normarc
19:31 cait yeah I think it's fixing some problems
19:31 rangi and thats all in norwegian already
19:32 rangi so wont be a translation issue
19:32 cait sounds reasonable tome
19:34 rangi cool
19:40 rangi here's some good cherry-picking music[…]ssnectar-infinite
19:40 jenkins_koha Starting build #205 for job Koha_3.8.x (previous build: SUCCESS)
19:41 libsysguy oleonard you still around?
19:41 oleonard Yes
19:41 libsysguy I have never seen a selector like this in jquery
19:41 libsysguy $( "ul:first li", $tabs )
19:41 libsysguy do you know what it does?
19:42 oleonard "$tabs" is the scope of the selector
19:42 libsysguy ahh
19:42 oleonard jQuery will not look outside of $tabs for "ul:first li"
19:42 libsysguy well that makes sense
19:42 libsysguy well how clever is that
19:42 oleonard Yeah, I'm sure I under-use it, but it's supposed to make your code run faster since jQuery doesn't have to check everything
19:43 libsysguy i noticed it on one of the jqueryui examples
19:43 libsysguy and there wasn't a direct reference in the api
19:43 libsysguy err, I didn't see one
19:44 libsysguy but my eyes have failed me today
19:46 drojfx joined #koha
19:50 libsysguy also, the underlying issue I was having was droppable isn't in the jquery-ui file
19:50 libsysguy but in hindsight I probably didn't need it
19:52 libsysguy I can't see any librarians needing to drap and drop fields between marc fields
19:53 oleonard Is jsicot's tweet about a mobile app?
19:53 drojfx joined #koha
19:54 jcamins joined #koha
20:02 rambutan joined #koha
20:03 rangi probably, i mean, we havent reached 30 different ones yet
20:03 rangi may as well keep doing our own silos
20:03 jcamins Ooh, did I miss an interesting conversation?
20:03 cait lol
20:04 rangi 08:53 < oleonard> Is jsicot's tweet about a mobile app?
20:04 jcamins lol
20:14 oleonard New mobile app, no public repo. :(
20:14 oleonard Because that would be too good to be true, wouldn't it?
20:14 * jcamins expresses surprise.
20:15 rangi *sigh*
20:15 rangi you'd think libraries would get sharing, sadly not many do
20:16 oleonard Bye #koha
20:16 libsysguy I have decided to start pushing all my work to my github branch
20:16 libsysguy since it wasn't seeing much action on catalyst
20:19 jenkins_koha Project Koha_3.8.x build #205: SUCCESS in 38 min: http://jenkins.koha-community.[…]b/Koha_3.8.x/205/
20:19 jenkins_koha magnus: Bug 8793 - Fix materialTypeCode/typeOf008 icons for NORMARC XSLT
20:19 huginn Bug[…]w_bug.cgi?id=8793 minor, P5 - low, ---, magnus, Pushed to Stable , Fix materialTypeCode/typeOf008 icons for NORMARC XSLT
20:19 jenkins_koha Starting build #206 for job Koha_3.8.x (previous build: SUCCESS)
20:22 kathryn joined #koha
20:24 jcamins libsysguy: I'm moving toward doing all my development directly on my git repo.
20:24 * rangi deletes that mail unread
20:24 jcamins rangi: the tone was slightly better than usual, so I answered.
20:24 libsysguy how was that working jcamins
20:24 rangi cool
20:25 jcamins libsysguy: it's working well, but it requires that you, you know, have a public git repo on your development box.
20:26 libsysguy oh man I don't know if I can handle that
20:27 * jcamins hasn't yet set up the git hooks to automatically force-push everything to github, gitorious, and bitbucket.
20:27 libsysguy you run all 3?!
20:27 jcamins Not yet.
20:27 jcamins No git hook.
20:27 libsysguy oh but bucket is atlassian right?
20:28 jcamins Yeah. It's good to have a fifth line of backups.
20:28 libsysguy heh
20:28 libsysguy I like that it has built in code review
20:28 * jcamins has never used it.
20:29 libsysguy you know, if we worked together as a company :p
20:29 libsysguy i guess the RM could review all code
20:29 jcamins libsysguy: are you implying we shouldn't be developing mobile interfaces in secret?
20:29 libsysguy I'm implying we shouldn't be developing anything in secret
20:30 libsysguy because you end up with 2+ people having the same idea and going about it 30+ ways :p
20:30 rangi i just stick with gitorious mainly (and our catalyst git server of course), for the obvious reasons
20:32 libsysguy i like github
20:32 libsysguy they have always treated my code right
20:32 libsysguy plus I've always found gitoroius a tad slow
20:32 * rangi hasnt noticed that
20:33 rangi course even if i did, id still use it, again for the obvious reasons :)
20:33 libsysguy do you run your own server or use theirs
20:33 rangi i push to theirs for my koha repos
20:39 datadoctor thanks rangi - infinite bass also works for library website redesign, also enjoying!/albu[…]derground/6911211
20:40 * rangi will check it out
20:40 rangi libsysguy:
20:40 rangi and that gets pulled by launchpad into bzr
20:41 rangi and daily builds get built
20:41 rangi[…]/3.8.x-dailybuild
20:41 libsysguy you've got quite a few projects there rangi
20:42 rangi yup
20:44 drojfx joined #koha
20:47 libsysguy joined #koha
20:49 maximep left #koha
20:50 edveal left #koha
20:50 edveal joined #koha
20:57 cait left #koha
20:57 jenkins_koha Project Koha_3.8.x build #206: SUCCESS in 38 min: http://jenkins.koha-community.[…]b/Koha_3.8.x/206/
20:57 jenkins_koha * veron: Bug 8873 - JavaScript error in Opac displaying tag cloud
20:57 jenkins_koha * fridolyn.somers: Bug 8791: OPAC UNIMARC XSLT details: subject with subfield 3
20:57 huginn Bug[…]w_bug.cgi?id=8873 normal, P5 - low, ---, veron, Pushed to Stable , JavaScript error in Opac displaying tag cloud
20:57 huginn Bug[…]w_bug.cgi?id=8791 normal, P5 - low, ---, fridolyn.somers, Pushed to Stable , OPAC UNIMARC XSLT details : subject with subfield 3
20:59 drojf1 joined #koha
21:19 NateC joined #koha
21:20 santy_ joined #koha
21:23 magnuse rangi: thanks for pushing bug 8793 - much appreciated!
21:23 huginn Bug[…]w_bug.cgi?id=8793 minor, P5 - low, ---, magnus, Pushed to Stable , Fix materialTypeCode/typeOf008 icons for NORMARC XSLT
21:23 rangi no worries
21:25 jcamins Have I mentioned recently how much I hate dealing with fork?
21:27 jcamins All I want is to daemonize the container process after I've gotten the name of the container it creates.
21:27 magnuse yeah, knife and spoon are so much better!
21:27 eythian it's all knifey spoony eh
21:27 eythian damn you magnuse :)
21:27 magnuse moahaha
21:27 magnuse and with that, i bid you all a good night or other time of the day
21:27 rangi cya magnuse
21:30 jcamins I don't get this.
21:31 jcamins Why do I have to explicitly close the file handle?
21:31 eythian bye magnuse
21:31 jcamins When run interactively, lxc-start-ephemeral -d returns all by itself.
21:35 jcamins How do I check if a string has non-zero length?
21:36 eythian in what language?
21:36 jcamins eythian: Perl.
21:36 eythian length($string) > 0
21:36 jcamins Thanks.
21:36 eythian also, if you're dealing with forking, I use Proc::Daemon
21:37 jcamins Right, that didn't work.
21:38 eythian[…]a_updater#line160 <-- that's how I do it
21:39 eythian (using the old API as it needs to run on Perl 5.8
21:39 eythian )
21:39 jcamins Sadly it's not my program that's supposed to run in daemon mode.
21:39 eythian ah right
21:41 jcamins Right, I'm just going to do this wrong.
21:42 * jcamins tries to find the wrong way to do this.
21:47 jcamins Yay! It worked!
21:48 jcamins And as long as it doesn't report that it's running when it isn't, it even saves the entire error log.
21:48 jcamins Sort of.
21:49 eythian cool :)
21:51 jcamins Hey... I bet I could use expect with ssh.
21:51 jcamins I bet Perl even has an expect module.
21:51 eythian I think it does
21:51 eythian It's called Perl ;)
21:51 eythian (but I think there's a real one too)
21:52 jcamins eythian: I don't know how to use Expect, so if there's a built-in way to easily do interactive sessions, I'll use that instead.
21:52 jcamins Wait.
21:52 jcamins Net::SSH
21:52 jcamins There has to be such a thing.
21:53 eythian there is, though it's called Net::SSH just to be tricky :)
21:53 jcamins Net::SSH::Perl.
21:54 jcamins Ah, there's even a Net::SSH package.
21:56 jcamins Net::SSH::Perl is much nicer.
21:59 edveal left #koha
22:01 jcamins Net::SSH2 will do, I think.
22:03 trea left #koha
22:08 srikanth joined #koha
22:37 eythian <-- could be interesting for libraries that send postal notices for things like overdues
22:40 Irma joined #koha
22:49 stefan-l joined #koha
22:49 gmcharlt joined #koha
22:54 jcamins Alas, Net::SSH2 does not work.
22:54 jcamins There's no way to capture exit status.
22:56 eythian that'd be annoying
22:58 jcamins CPAN it is.
22:59 rambutan left #koha
23:08 santy_ hello, does anyone know if the zebra indexer works incrementally?
23:08 eythian it does.
23:09 santy_ so, everytime a record changes zebra indexes just that record
23:10 eythian yep.
23:10 santy_ and that indexing is issued by koha update routines or by zebra itself?
23:11 jcamins Good grief.
23:11 eythian It's done by a cron job that exports the data and gets zebra to index it (simply)
23:11 jcamins SSH + Perl = WORST COMBINATION EVER
23:11 eythian heh
23:14 santy_ so, if I manually change, say, a biblio record (not through the koha interface) that record will get incrementally indexed on the next cron job
23:14 jcamins No.
23:14 jcamins You must use the Koha interface.
23:15 santy_ aha, ok
23:15 jcamins Well, you must use the Koha libraries.
23:15 jcamins Interface is optional.
23:15 santy_ ok... the api, right?
23:15 jcamins Right. Net::OpenSSH wins.
23:15 jcamins I can install it.
23:15 jcamins Yes.
23:15 eythian santy_: no, koha makes a note that the record has changed
23:16 santy_ tell Koha libraries to index biblio number x
23:16 eythian if you manually change it that won't work
23:16 jcamins No, I mean you must use the Koha API to make changes.
23:17 eythian typically I just rebuild everything after modifying the database, though I also try to avoid modifying the database.
23:17 jcamins ^^ exactly
23:17 santy_ ok, Ill study the api
23:18 santy_ but anyhow, eythian, where does koha make the note that the record has changed?
23:18 eythian in the database. I think the table is 'zebra_queue' or something like that.
23:19 santy_ all right, thanks a lot
23:19 eythian np
23:19 jcamins santy_: what are you trying to do?
23:21 YoungPublicLibrarian joined #koha
23:21 YoungPublicLibrarian Hello all! I'm back again! :/
23:22 santy_ well, I have to integrate many branches from about 50 agencies into one central Koha instance, I have successfully managed to do it in a low level, but if Koha's API can be used for that I'll try it out with it, too.
23:23 santy_ I'm implementing syncronizers for ISIS (using perl), Koha (Java) and SIABUC8
23:23 santy_ also java
23:23 jcamins santy_: good luck with that.
23:24 santy_ I had to use Java, otherwise I would have chosen perl or php
23:24 YoungPublicLibrarian Is the Koha Demo down at the moment? I can't seem to access it...
23:24 eythian which koha demo?
23:24 santy_ but everything goes at the low level
23:24 YoungPublicLibrarian the Bywater Demo for Staff Interface
23:25 santy_ Is there another way to sync two Koha branches of different servers?
23:26 santy_ thanks jcamins, I'll let you know how it went
23:27 jcamins santy_: database replication.
23:27 eythian sync or merge?
23:27 YoungPublicLibrarian Hmm...all the other demos seem to be up and running...
23:27 santy_ but does db replication work on just a branch?
23:28 santy_ or is that global
23:28 santy_ like the whole-table replication mysql supports?
23:28 santy_ sync
23:30 santy_ the central Koha db will hold records from many branches, I would need to sync at the per branch level
23:30 jcamins That's not the way Koha was designed.
23:31 jcamins Use one Koha installation for all branches, if it's centralized, or use multiple Koha installations if it isn't.
23:32 jcamins Net::OpenSSH works, thank goodness.
23:42 papa joined #koha
23:46 papa joined #koha
23:47 santy_ ok, let say there are 3 gvt libraries. One of them, library A, has no ILS yet and would like to use Centralized Koha as their library mgmt system. Every record of library A would get the A-BRANCH name. Library B already has it's own Koha system running and would like to share their B-BRANCH records for them to be searchable in the centralized Koha, too. Their records would get the label B-BRANCH in the central Koha system. Library C has WINISIS, and they
23:47 santy_ would also like to share their records for them to be searchable in the central Koha system. Their records would get the label C-BRANCH in the central Koha. Library A would add and edit their records directly through central Kohas interface... no problem, Library B would sync its records somehow incrementally each time they are modified, added or deleted by some sort of daemon/webservice/syncmethod. Library C, would send their ISIS db everytime it gets
23:47 santy_ changed and a daemon would sync their records accordingly. Branches would have to be treated independently with one Koha database instance. Are you suggesting to create different Koha databases...? one per library/branch? Would central zebra still search among all Koha mysql instances?
23:50 pastebot "YoungPublicLibrarian" at pasted "Fines and Fees" (6 lines) at
23:50 YoungPublicLibrarian Anyone wanna give me a hand with that report. Just have some questions on it.
23:53 mtj santy_, just use one koha and one db, anything more is just fail
23:58 santy_ thanks mtj.  Koha has so much functionality, I'd just like to be sure there isn't already a special Koha API function for branch synchronization before diving into my development.

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