IRC log for #koha, 2012-08-01

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
00:07 * chris_n notes that Text::Unaccent seems to be missing from the dep list of master
00:07 chris_n eeeouch
00:08 what's up with the header on mainpage.pl in master?
00:09 nm; a refresh fixed it up
00:09 * chris_n wishes all problems were that simply solved
00:09 melia left #koha
00:10 jcamins chris_n: alt-refresh.
00:10 chris_n sorry... you're late... you don't get the brownie this time :-)
00:11 jcamins Aww.
00:13 * chris_n begins testing bug 7167
00:13 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7167 enhancement, P1 - high, ---, jonathan.druart, Needs Signoff , updatedatabase improvements
00:21 chris_n hmmm
00:21 jcamins: have you tested this yet?
00:21 jcamins chris_n: no.
00:22 chris_n well, it appears that out of the gate it breaks the old updater
00:22 not good news
00:22 jcamins No.
00:38 rangi it should check on mainpage and after login eh?
00:39 in theory
00:39 must admit the massive potential for breakage with a minimal possible gain has meant i havent spent any time on it
00:39 chris_n yup
00:40 and I don't have time to debug atm
00:40 * chris_n is having too much non-fun joining a bunch of xp clients to a new samba domain
00:57 chris_n ok, so I lied and did take a little peak at the code
00:57 now back to the grind
02:46 mib_s2zx49 joined #koha
02:48 mib_s2zx49 Hi everyone! I am running koha 3.08.03 on centos 6.2. Somehow my perl ZOOM module fails to connect to any zebra server, local or public.. and so my search does not work. I can connect to my local zebra through yaz-client. Would you know what is happening?
02:49 AndroUser joined #koha
02:50 mib_17az3w joined #koha
02:51 mib_17az3w sorry i bounced off.
04:05 cait joined #koha
04:26 Amit_Gupta joined #koha
05:02 druthb joined #koha
05:11 Judit joined #koha
05:36 francharb joined #koha
05:36 francharb hello #koha
06:10 druthb joined #koha
06:10 * magnuse waves
06:11 magnuse shame on me for no signoffs in july...
06:11 druthb o/
06:11 magnuse \o
06:13 * druthb can't sleep, so is up putzing with her new tablet
06:15 magnuse hehe
06:15 which tablet would that be?
06:16 druthb It's an Acer Iconia Tab.  Got it on sale.  :-)
06:16 cait druthb: ts. :)
06:16 * druthb hides from cait
06:17 hides behind magnuse
06:17 cait magnuse: don't help her
06:18 and good morning all :)
06:18 magnuse ooh, difficult situation...
06:18 hiya cait
06:19 * druthb wonders if you can do skype or Google Hangout on this thing.
06:20 druthb Hm hm hm...
06:20 magnuse android?
06:22 druthb Yah.
06:22 Got a skype client' but gotta figure out what my password is...  :-P
06:30 * druthb probably oughta go to bed.
06:44 julian_m joined #koha
06:45 laurence joined #koha
06:46 cait bbl
06:46 cait left #koha
07:03 asaurat joined #koha
07:03 asaurat left #koha
07:04 asaurat joined #koha
07:04 asaurat hi
07:05 drojf bonjour asaurat
07:11 gaetan_B joined #koha
07:11 gaetan_B hello :)
07:16 kf joined #koha
07:16 kf good morning #koha
07:21 paul_p joined #koha
07:37 sophie_m joined #koha
07:41 laurence joined #koha
08:01 druthb joined #koha
08:01 kf druthb... ?
08:01 wahanui druthb is, like, a migration specialist and great friend or crazy as a loon
08:01 druthb kf...?
08:01 wahanui it has been said that kf is cait or really, really sweet. or <reply>she gives me memory loss or a holds expert.
08:02 kf go to sleep!
08:03 druthb :P
08:28 Kache joined #koha
08:29 Kache will you please help reference manual of installation koha on window and linux?
08:37 mbalmer joined #koha
08:40 bartsimpson joined #koha
08:41 bartsimpson rangi: Hey it's Jorgia, I'm trying to get my computer connected to the internet on the ubuntu side, what was the suggestion you had on thursday?
08:43 kf hi jorgia - I haven't seen rangi this morning/evening. what are you trying to do? maybe someone else has an idea?
08:45 bartsimpson Im running the latest ubuntu and the internet won't connect, it comes up with the disconnected icon, i've tried the hard switch and etc but it still doesn't work. Also it works on the Windows side of my partition.
08:45 mbalmer bartsimpson, is that a LAN connection or WLAN?
08:47 bartsimpson WLAN, also i have my friends laptop right here, running the same version of ubuntu with the same sort of dual-boot. And their one works
08:48 mbalmer is the wpa_supplicant running?
08:48 Irma joined #koha
08:51 bartsimpson I'm unsure, how could i check?
08:51 kf bartsimpson: have you selected your network from the list and entered your password?
08:52 bartsimpson its not coming up with a list, it hasn't got connectivity at all, but it does on the windows side
08:58 mbalmer in a root shell, you could enter "/etc/init.d/networking stop", then "/etc/init.d/networking start".  maybe that helps
08:59 and maybe enter, as root, "ifconfig" to check if detected any network adapters at all.  you should see a "wlan0" and probably a "eth0" interface
09:00 bartsimpson ok thanks ill try that
09:03 i got eth0 and lo?
09:04 mbalmer ok, so linux did not detect your WLAN card.
09:05 it could be missing some firmware, which you would have to install
09:06 mtompset joined #koha
09:06 mbalmer what kind of adapter you have you would see in the output of "dmesg"
09:07 mtompset Greetings, #koha.
09:07 drojf joined #koha
09:07 mbalmer greetings!
09:07 bartsimpson alright thanks for your help :) ill get it sorted out tomorrow with rangi in person, adios
09:07 mbalmer ok ;)
09:07 mtompset Greetings, mbalmer drojf and bartsimpson
09:07 mbalmer Jorgia was two steps away from working WLAN ;)
09:08 mtompset Wireless or Wide-area?
09:08 kf mbalmer: it's getting late in nz.
09:08 mbalmer wireless.
09:08 wahanui well, wireless is very screwed up.
09:09 kf forget wireless
09:09 wahanui kf: I forgot wireless
09:09 * mtompset grins.
09:09 mtompset wahanui learns the strangest things sometimes.
09:09 wahanui mtompset: huh?
09:09 mbalmer Jorgia needs to buy better quality WLAN cables ;P
09:10 * mtompset laughs, "WLAN doesn't have cables, silly."
09:10 kf no?
09:10 wahanui it has been said that no is failing unit tests
09:10 kf forget no
09:10 wahanui kf: I forgot no
09:11 mtompset That seems like something rangi might say, since he and jcamins like to push tests. :)
09:12 Greetings, kf. I didn't see you there initially. :)
09:23 kf np :)
09:23 greetings mtompset
09:24 * mtompset hands kf a Filipino ube pastry, "It's delicious."
09:24 kf :)
09:24 thx!
09:26 mtompset Since I was just having a super-late merienda (afternoon break/snack). :)
09:32 I don't like that I duplicated my bug, but I do like being able to call it RESOLVED. :)
09:34 kf hm?
09:46 mtompset Before I had a development system I posted bug 8192.
09:46 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8192 enhancement, P5 - low, ---, gmcharlt, RESOLVED DUPLICATE, Update libraries and Missing library in install_misc/ubuntu.packages
09:47 mtompset but that is a precursor to a larger bug 8478
09:47 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8478 enhancement, P5 - low, ---, tomascohen, Needs Signoff , Update Ubuntu related files
09:48 mtompset which is the 3.8.X and master versions of 8489 (which did make it into 3.6.7)
09:53 bug 8200
09:53 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8200 trivial, P5 - low, ---, gmcharlt, NEW , /home/chris/git/koha.git in /usr/share/koha/misc/translator/update.pl
09:54 kf not sure I can follow :)
09:54 mtompset Different thought.
09:55 I was wondering if you know about whether or not the script mentioned in the bugs description above is obsolete.
10:38 mib_d8t1o9 joined #koha
11:04 eythian joined #koha
11:07 NateC joined #koha
11:08 NateC joined #koha
11:08 mtompset Greetings, eythian NateC
11:09 kf hi eythian
11:09 eythian hello
11:26 libsysguy joined #koha
11:27 mtompset Greetings, libsysguy
11:29 eythian anybody using the staff client under IE? One of our clients is seeing styling errors (e.g. the gradient behind the search is missing) and I'm trying to work out if it's IE or something else.
11:29 This is 3.8.3
11:29 * magnuse waves
11:31 eythian hi
11:31 wahanui hola, eythian
11:32 jwagner joined #koha
11:34 mtompset Sorry, don't have a 3.8.3 up and running.
11:35 magnuse if anyone has easy access to IE they can test with http://demo.bibkat.no:8080/ demo + demo
11:36 sorry, username/password test1/test1
11:37 mtompset Okay... going there.
11:39 okay... what am I suppose to see?
11:40 kf eythian: I think the gradients don't work with ie
11:40 mtompset They look the same in firefox and ie to me.
11:40 what gradients?
11:41 kf mtompset: which version?
11:41 wahanui which version is, like, recommended
11:41 eythian mtompset: the top of the staff client is all gradient
11:41 kf hm
11:41 the rounded corners don'tw ork
11:41 I think that was it
11:41 mtompset above the search area, sure.
11:41 kf mtompset: in opac?
11:41 eythian no, behind the search area
11:41 mtompset I'm at the link magnuse gave.
11:41 eythian also where it says "set library", is that in readable blue or hard to read white?
11:41 kf eythian: same for me
11:42 eythian: Ithink there was a patch for the script color
11:42 but I guess the gradients just won't work
11:42 eythian kf: what is the same for you?
11:42 kf no gradients in staff search top
11:42 eythian It's not really the gradients that's the issue, it's the unreadable links at the top
11:42 mtompset the header and breadcrumbs are identical... shades of blue.
11:42 in the background.
11:42 eythian It was just the most obvious example of a style error, but if IE can't do that...
11:43 mtompset search area between is white.
11:43 firefox and ie.
11:43 eythian mtompset: no, in firefox it's a blue gradient
11:43 mtompset my monitor sucks for telling it is a gradient.
11:43 I have to tilt it to tell it is even blue.
11:44 And set library is legible.
11:44 it seems more blurred in ie.
11:44 eythian in IE or both?
11:44 jcamins Good morning.
11:44 mtompset it's the same in both.
11:44 coloring.
11:44 grading.
11:45 but ie's header typeset is blurrier.
11:45 No... the entire page's typeset.
11:45 but it is still legible.
11:46 eythian http://i.imgur.com/kDHoe.jpg <-- this is what they're seeing
11:46 lamiette :w
11:47 mtompset That's weird.
11:47 Because I see it just fine in the url that magnuse gave.
11:47 eythian lamiette: :e wrongwindow.txt
11:47 It is
11:47 OK, well that's something.
11:47 lamiette eythian: was hoping no one saw that .. *sigh* one of those days
11:47 eythian heh
11:47 mtompset I'm using IE9.
11:47 magnuse eythian and mtompset: are you using the same version of ie?
11:48 mtompset What version are they using?
11:48 eythian magnuse: I'm not using IE or I'd check myself :)
11:48 I have no idea, probably 7
11:48 mtompset <=IE8 breaks things.
11:48 eythian hmm
11:49 magnuse eythian: ah, of course...
11:49 mtompset Windows XP won't go higher than 8, which means gradient coding has to be ugly for those cases.
11:50 eythian ah, IE8 and IE9 apparently
11:50 mtompset IE8 is probably the problem.
11:50 (if the brower is to blame)
11:51 talljoy joined #koha
11:51 eythian mtompset: yeah.
11:52 mtompset If you ever need an IE/Firefox check under Windoze and I'm around, just ask. :)
11:52 eythian :)
11:52 kf sorry, was afk
11:53 eythian: I have white script on light blue - but I think there was a patch for that already - check bugz
11:53 ?
11:54 eythian kf: fixed post 3.8.3?
11:54 any clue on what the title of the bug would be?
11:54 kf eythian: hmm. maybe. let me try and find it
11:55 hah
11:55 bug 8414
11:55 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8414 major, P5 - low, ---, dcook, Pushed to Stable , Intranet header toplinks display white rather than blue in < IE8
11:55 kf :)
11:55 pushed to be in 3.8.4
11:56 eythian ah hah!
11:56 thank you very much :D
11:56 kf you are welcome :)
11:56 eythian wonder why it works in magnuse's demo then
11:56 kf he is running master
11:56 eythian 3.08.03.000
11:56 jcamins magnuse's demon is updated every night to master.
11:56 *demo
11:57 eythian the version number doesn't reflect that
11:57 jcamins In that case, I don't know.
11:57 kf hm I think he is running 3.8.x master maybe?
11:57 and no database updates since 3.8.3
11:58 eythian that's possible
11:58 <meta name="generator" content="Koha 3.0803000" /> <!-- leave this for stats -->
11:58 I dunno
11:58 no matter
11:59 jcamins It says Koha 3.0900027.
12:00 eythian where?
12:01 magnuse demo.bibkat.no is 3.8.3 - head.bibkat.no is nightly master
12:01 jcamins Right on the front page.
12:01 Ohhh. I'm looking at head.bibkat.no.
12:01 magnuse "magnuse's demon is updated every night to master" sounded rather cool, akshully ;-)
12:02 jcamins Hehe.
12:02 kf lol
12:02 * magnuse did a little jquery trick to get the version number from the meta tag and onto the front page on head.bibkat.no :-)
12:03 kf sneaky :)
12:05 magnuse moahaha
12:06 eythian http://i.imgur.com/Jhc3z.jpg <-- similarly, anyone seen this sort of thing in IE?
12:07 note: * the stars aren't right, * the tabs aren't right, * the text is chopped off (most likely due to the tabs)
12:07 * kf mutters about having closed her ie a second ago
12:07 jcamins Yes.
12:07 kf it looks like something broke your javascript
12:07 eythian ohh javascfript
12:07 I didn't think of that
12:07 I was thinking of styling
12:07 jcamins Yup. What kf said.
12:08 Nope. Definitely javascript.
12:08 eythian but only breakingit in IE> goody.
12:08 kf oh yes
12:08 I have it too
12:08 eythian yay! ;)
12:08 kf and no javascript customizations
12:08 eythian if you trell me what it is, I'll make a patch
12:08 kf lol
12:08 eythian seriously, what is wrong with my typing today
12:08 kf if I do the work you will patch it? :P
12:09 how am I supposed to know? you can't debug ie
12:09 it's evil
12:09 no firebug :(
12:09 and the developer extensions got lost with my new computer
12:09 maybe oleonard would know :(
12:09 eythian kf: isn't there a javascript console?
12:09 that'll tell you about errors at least
12:10 kf I can try to find it, but I doubt it's there without the plugin
12:10 tcohen joined #koha
12:10 eythian kf: if I write the patch, then you get to test it and it goes through faster :)
12:10 I thought it was built in...
12:10 * eythian hasn't used IE in anger since IE5.5
12:10 eythian On Win 3.11 no less
12:10 kf I work on windows... I have deleted all obvious links, but it's still ther
12:11 it looks like I got some tools here, triying to find the error
12:11 line 170
12:11 it says
12:11 }, function (data) {
12:11 Bezeichner, Zeichenfolge oder Zahl erwartet
12:11 Identifier, string or number expected?
12:12 mtompset sorry... I looked away... working on my backup project.
12:12 kf eythian: does that help?
12:12 eythian kf: line 170 of what file?
12:12 kf opac-detail
12:12 jcamins eythian: yes. :P
12:13 eythian: this is IE we're takling about here.
12:13 eythian awesomecross
12:13 I'll have a look and see if there's something that'd confuse IE in there
12:13 kf lookslike start rating is to blame
12:13 hm star rating... my typing is broken too
12:14 oh fun
12:14 I have to log in for every single page in ie???
12:15 eythian ?
12:15 kf and i can't save system preference changes
12:15 that's no fun :(
12:15 jwagner kf, you shouldn't have to -- do you have cookies disabled or something?
12:15 Amit_Gupta heya jwagner
12:16 jwagner Hi Amit_Gupta
12:16 kf I think it might be, that I am logged into opac at the same time and both are running on the same port? (eythian?)
12:16 eythian for reference, where IE says 'line 170', it's lying.
12:16 but I think I can see the problem.
12:16 Will make a patch for testing.
12:16 kf that's good
12:17 * kf closes the browser and goes directly to the staff interface
12:17 kf nope
12:17 it's stillkicking me out
12:17 ah, now it's wok
12:17 ok
12:17 cookie weirdness...
12:18 eythian: deactivating star ratings fixes the problem too - so I think we are on the right track
12:18 eythian kf: bug 8547
12:18 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8547 enhancement, P5 - low, ---, oleonard, NEW , Enabling star ratings causes javascript errors that cause IE to have a boo boo
12:18 kf lol
12:19 * mtompset hands kf some chocolate chip cookies.
12:19 kf but I can't test sorry :(
12:19 the only place I could apply your patch has no IE and is not accessible from anywhere with IE
12:19 mtompset "to have a boo boo" nice.
12:19 eythian kf: I'll deploy it somewhere for you to test
12:19 kf that will work
12:22 mtompset I dislike this "I'm a monitor that is smarter than you" monitor.
12:22 eythian http://opus.koha.catalystdemo.[…]l?biblionumber=18 <-- kf, can you confirm that it is broken here?
12:22 jcamins mtompset: I accidentally bought a monitor like that. I returned it.
12:23 kf can I get cookies? it's painful working with ie
12:23 mtompset Didn't notice it, until after the return period. Oh well.
12:23 oleonard joined #koha
12:24 mtompset What am I supposed to see wrong/right?
12:24 kf eythian: it's not broken - can you give me a login?
12:24 eythian kf: one moment
12:24 kf eythian: I think it might be why I saw it and the others didn't
12:25 eythian quite possible
12:26 kf: account sent
12:26 mtompset: if it's broken, it looks very obviously broken
12:27 mtompset Yuck... switching between firefox and ie shows the ie's ugliness.
12:27 kf testing
12:28 meh - it's still ok :(
12:28 eythian rats
12:28 mtompset sadly, ui testing takes a whole department to get right.
12:28 kf hm
12:28 eythian I shall try moving a database from a known broken site to this one to see if there's something else influencing it.
12:28 kf if I reload the page... it takes a moment to render correctly
12:29 eythian that's because IE.
12:29 jcamins Myshkin would like to participate in the UI testing.
12:30 kf eythian: right. ie##
12:30 ie--
12:30 jcamins He suggests that the UI would be better if it involved more fish.
12:30 kf the language chooser is in the wrong place too
12:30 oleonard Which IE are we bashing today?
12:30 kf jcamins: ask him if maybe little birds would be ok too?
12:31 I am looking at ie 8
12:31 jcamins kf: he says that would be acceptable.
12:31 magnuse @karma ie
12:31 huginn magnuse: Karma for "ie" has been increased 0 times and decreased 44 times for a total karma of -44.
12:31 magnuse hehe
12:31 kf ah no... that's twitter... maybe mice.
12:32 jcamins He's somewhat less excited about that, but, sure.
12:32 And now he's in the other room squawking at Shari.
12:32 kf yeah... right, I can understand. maybe we can compromise :)
12:32 eythian http://www.catdvd.com/ <-- jcamins
12:33 kf eythian: could it be something with the cookie?
12:33 eythian kf: who knows...
12:34 however they reported that they didn't see it on the testing site and did see it on the live one, so I'm assuming an option was changed somewhere.
12:36 kf I think it's maybe session/cookie related
12:36 I can't reproduce it on my own installation now even :(
12:37 oh
12:37 I can
12:37 eythian erk
12:37 oh?
12:37 kf maybe - closed the browser, went directly to the detail page
12:37 not logged in, no search
12:37 no cookie?
12:37 let me check if it's the same for your link
12:38 no... it shows correctly... *curses*
12:38 jcamins eythian: hehe.
12:39 kf eythian: sorry :(
12:39 eythian kf: hmm
12:40 my link will be a bit weird right now, a reload is half way in progress
12:41 ago43 joined #koha
12:41 edveal joined #koha
12:43 kf eythian: what's in data?
12:43 eythian ?
12:44 kf ah, the think it was complaining abut
12:44 it's ok, ignore it :)
12:44 eythian oh right
12:44 no, it's not that
12:44 it's that the list prior to it ends with ','
12:44 IE hates that
12:44 kf ah
12:44 eythian (at least, that's my theory)
12:45 kf: can you try that link I sent again?
12:45 kf I can reproduce the proble now in our 3.8.3 - but I don't manage to break your installation
12:45 yeah, trying
12:45 looks perfect
12:46 which is bad
12:46 eythian hmm
12:46 tcohen rangi: is the koha-stable ppa gonna be in sync with debian.k-c.org?
12:46 kf hm
12:46 weird
12:46 eythian tcohen: rangi will be asleep most likely
12:47 tcohen oops
12:47 analog wellington clock in my desktop
12:47 i thought it was pm!
12:47 eythian heh
12:48 NateC joined #koha
13:05 mtompset koha-stable ppa?
13:06 oleonard Not to be confused with Koha Stable IPA
13:06 eythian oleonard: an interesting idea...
13:08 jcamins mtompset: it's for Ubuntu packages.
13:11 mtompset Ah...
13:11 That would be much nicer than pointing at the debian ones.
13:12 jcamins mtompset: except then we have a support issue.
13:12 * jcamins is not interested in learning about PPAs.
13:12 suspects that there are very few people who could troubleshoot problems.
13:12 mtompset https://launchpad.net/~koha/+archive/koha-stable
13:13 It's already out of sync, tcohen
13:13 tcohen hehe
13:13 i know, a talked with rangi about that a few weeks ago
13:14 and told me it could be updated
13:14 hence the question
13:14 anyone knows theres a limit on the size of what you have there?
13:15 mtompset Would this be for a koha-common install? or would this be to patch missing perl dependencies?
13:15 jcamins mtompset: this is the other reason I'm not pro-PPA in this case.
13:16 tcohen if there wasn't a limit, we could use it to have out koha-l10n-<LANG> packages too
13:16 mtompset Do we have such things for debian?
13:17 tcohen no we don't
13:17 mtompset Well, since you are dreaming, and I don't want to be a dream killer... What would the purpose of these packages be?
13:18 jcamins mtompset: easily installing translations. It would be glorious!
13:18 tcohen avoid the usage of perl translate install es-ES
13:18 after an upgrade
13:18 exactly
13:19 mtompset Is there a pre-install script trigger?
13:19 for packages?
13:19 tcohen remove all that error-prone stuff out there
13:19 mtompset Because how would the package, without any kind of logic, know where the koha files are?
13:20 Or even post-install script trigger.
13:20 eythian tcohen: the language stuff is implemented, just needs testing.
13:21 tcohen robin, you're right
13:21 mtompset Aww... there you go, you just killed his dream. ;)
13:23 tcohen no
13:23 i support the idea of having the language packages
13:24 I agree they could be scripted in the post-install part of the debs
13:24 mtompset But jcamins, isn't debian.koha-community.org already a PPA of sorts?
13:24 jcamins mtompset: it is a single package repo.
13:25 mtompset: I am in support of having one and only one official repo.
13:26 tcohen I think there's nothing wrong with the debian repo for ubuntu
13:26 but I belive the ppa could help us maintaining the infrastructure
13:26 (one less think to worry about)
13:26 magnuse eythian was this close to having language packages: ||
13:26 mtompset I don't see how that is the case.
13:27 magnuse the code probably needs some rebasing now
13:27 jcamins tcohen: fewer things to worry about are good. :)
13:27 eythian magnuse: shouldn't need too much rebasing really
13:27 mtompset less is more!
13:27 tcohen eythian, count on me for testing
13:27 magnuse did i hear eythian volunteering to rebase the code? ;-)
13:27 eythian tcohen: the "infrastructure" is just a webserver that we already have anyway :)
13:28 magnuse: perhaps I should have a look at it this evening. I'll see.
13:28 tcohen yeap, i meant *space* mostly
13:28 magnuse eythian: that would be awesome!
13:28 mtompset Oh, tcohen... did you notice my patch on bug 8485
13:28 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8485 enhancement, P5 - low, ---, tomascohen, Needs Signoff , Make koha_perl_deps.pl batch friendly
13:29 tcohen yes :-D
13:30 mtompset It should work with 3.6.X, 3.8.X, and master.
13:30 * tcohen is doing git bz apply
13:30 mtompset okay, now I have to ask... what is git bz?
13:31 NateC joined #koha
13:31 jcamins git-bz?
13:31 wahanui git-bz is at http://wiki.koha-community.org[…]_bz_configuration
13:31 jcamins ^^ that is git-bz.
13:31 wizzyrea git bz is AMAZING and WONDERFUL
13:31 srsly
13:31 * magnuse agrees
13:31 wizzyrea combined with git aliases
13:31 and ohhhhhhhhh
13:31 tcohen a script made happiness
13:31 wizzyrea magnuse!
13:31 wahanui magnuse is afraid that we added another 10000 bugs while he was eating pizza.
13:31 paul_p wizzyrea git itself is amazing & wonderful !
13:32 tcohen happiness converted into a script
13:32 wizzyrea well yes
13:32 * oleonard must have beverages on the brain... Now considering an open source coffee brand git-buzz
13:32 wizzyrea ^^ thinkgeek would sell it
13:32 k-cups
13:32 you need git buzz k-cups
13:32 magnuse wizzyrea!
13:32 wahanui I LIKE SCIENCE and I GEEK KOHA
13:32 magnuse hehe
13:32 wizzyrea hehe :)
13:33 chris_n git bz?
13:33 wahanui git bz is probably so much fun :) or http://wiki.koha-community.org[…]_bz_configuration or just about anything except intuitive
13:33 chris_n wahanui: git bz is also AMAZING and WONDERFUL
13:33 wahanui okay, chris_n.
13:33 chris_n git bz?
13:33 wahanui i guess git bz is so much fun :) or http://wiki.koha-community.org[…]_bz_configuration or just about anything except intuitive or AMAZING and WONDERFUL
13:33 oleonard eythian: Is Bug 8547 about IE8 in particular?
13:33 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8547 major, P2, ---, robin, ASSIGNED , Enabling star ratings causes javascript errors that cause IE to have a boo boo
13:33 wizzyrea ! not intuitive?!
13:33 * wizzyrea is surprised
13:33 * chris_n too
13:34 chris_n seems obvious to me :-)
13:34 wizzyrea I think probably if it's not intuitive, it's the bugzilla part, and not the git part.
13:34 eythian oleonard: I don't really know, IE8 and IE9 is what I think it was seen on.
13:35 oleonard: I think kf was using IE8
13:35 * oleonard unchains IE9 from the dungeon
13:35 * wizzyrea wonders why anyone would still be using IE8 >.<
13:35 mtompset Windows XP.
13:35 * chris_n runs away screaming at the mention of IE
13:36 chris_n IE = Idiot's Elysium
13:36 oleonard I like how you can write good software that works on older computers.
13:36 paul_p eythian = you've been jailed in NL ? ;-)
13:36 eythian paul_p: oh, meant to email you'
13:36 paul_p: getting the train back tomorrow
13:37 will email now, also to include Frydolyn
13:37 maximep joined #koha
13:39 mtompset wizzyrea: Did you mean this? http://keurigkcupcoffee.com/re[…]3-B003GRL7NS.html
13:40 eythian oleonard: kf could make it work sometimes and not others on the same installation. That's why I think it's a race condition.
13:40 wizzyrea erm lol no
13:40 eythian Probably the faster your server, the more likely to see it you are.
13:40 oleonard Well my local install ain't that fast
13:42 eythian e.g. the client who saw it could see it on their production (self hosted) server, but not the test server we hosted, and kf could see it locally but not on a catalyst server.
13:42 But, there's not many data points in that, so I'm mostly guessing
13:43 oleonard Seriously, do we need an all-caps FAIL in a bug about a form field hint?
13:43 jcamins oleonard: huh?
13:43 * oleonard just amended the title of Bug 8546
13:43 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8546 trivial, P5 - low, ---, oleonard, NEW , Error in description of OPAC Advanced Search Publication date range search
13:44 jcamins I have rebased all my outstanding patches.
13:44 (and yes, they are all outstanding:P)
13:45 oleonard: oh, yeah, I noticed that bug seemed a bit sensationalist.
13:46 magnuse jcamins++ for outstanding patches!
13:47 * jcamins has some fun ones waiting for sign off.
13:49 magnuse a re-written search.pm already? ;-)
13:49 jcamins magnuse: not quite.
13:49 http://www.cpbibliography.com/[…]earchrewrite.html <-- still a little ways to go
13:50 huginn New commit(s) kohagit: Bug 8207 follow-up DBrev <http://git.koha-community.org/[…]665ce531ad7fbe1d6> / Bug 8207: Allow see also fields in auths to link to thesauri <http://git.koha-community.org/[…]5a1f6d00f37cf95ef> / Merge remote-tracking branch 'origin/new/bug_8204' <http://git.koha-community.org/[…]mitdiff;h=030a108
13:51 jenkins_koha Starting build #795 for job Koha_master (previous build: STILL UNSTABLE -- last SUCCESS #773 27 days ago)
13:51 magnuse ooh, cool page, jcamins!
13:52 jcamins magnuse: thanks.
13:53 chris_n git bz needs an "apply all" option
13:54 jcamins magnuse: the hard part, of course, is getting 1(b) fully funded. There is no point (IMO) to starting work until that's fully funded. Starting after that, every additional component would just make things better.
13:54 mtompset That would be dangerous... it would have to check if the patch should even be applied (Patch Do Not Use status?)
13:57 magnuse jcamins: are you taking donations from all comers?
13:57 jcamins Don't see how that's any more dangerous than yes | git-bz apply 1234
13:58 magnuse: everyone who wants the result to be open source.
14:00 kf :)
14:00 jcamins++
14:01 magnuse ooh, good point :-)
14:03 * magnuse wanders off to cook some arctic char
14:04 mtompset bug 1234
14:04 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=1234 enhancement, P2, ---, paul.poulain, RESOLVED WORKSFORME, Parameter: Bar Code # Prefix for book / patron searching
14:05 mtompset WORKSFORME?!
14:05 jcamins mtompset: it did at the time, apparently.
14:05 libsysguy heh
14:06 or maybe it was working in the sandbox :p
14:06 mtompset I wasn't being rude earlier when you said hi, my computer signed me in, in the middle of the night
14:07 mtompset Not a problem
14:07 I figured it was a butt-dial type problem. ;)
14:07 libsysguy I saw it this morning when I came back
14:07 so HI!
14:08 heh yeah….maybe my cat sat on my keyboard
14:08 mtompset squirrel?
14:08 Nothing humorously wrong, wahanui?
14:08 wahanui mtompset: huh?
14:09 mtompset cat?
14:09 wahanui cat is probably http://www.nyan.cat/
14:09 * mtompset laughs.
14:14 chris_n mtompset: presumably it would be smart enough to bail on a failure to apply :)
14:18 mtompset Okay... 450+ seconds of nyan cat is enough.
14:18 * jcamins tries implementing an apply all.
14:19 mtompset jcamins?
14:19 wahanui hmmm... jcamins is A-Grade developper on Koha willing to rewrite it from top to bottom. Good Luck jcamins
14:19 jcamins Okay, apply all worked.
14:19 Cool. :)
14:21 Okay, updated git-bz in my repo.
14:23 * mtompset decides that going to bed now would be good.
14:23 mtompset Have a good night everyone.
14:39 jcamins chris_n: if you want an 'a' option for applying patches, you can pull it from my repo.
14:43 chris_n jcamins: cool
14:44 paul_p_ joined #koha
14:45 rambutan joined #koha
14:46 * mtompset waves.
14:46 mtompset Bye. #koha.
14:48 drojf joined #koha
14:49 oleonard Hi drojf
14:50 drojf hey oleonard
14:50 wahanui oleonard is still here, if you just wish hard enough. or Koha's master UI designer
14:50 drojf :D
14:50 hi #koha
14:50 kf hi droi and oleonard
14:51 drojf hey kf
14:54 jenkins_koha Project Koha_master build #795: STILL UNSTABLE in 1 hr 3 min: http://jenkins.koha-community.[…]/Koha_master/795/
14:54 * Chris Cormack: Bug 8486 - Follow up making the tests db independent
14:54 * jonathan.druart: Bug 8233: We can't load test on Koha::SearchEngine::*
14:54 * Chris Cormack: Bug 7143: Updating history and about file
14:54 * jcamins: Bug 8204 follow-up: quiet warn
14:54 * jcamins: Bug 8207: Allow see also fields in auths to link to thesauri
14:54 * paul.poulain: Bug 8207 follow-up DBrev
14:54 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8486 blocker, P5 - low, ---, colin.campbell, Pushed to Master , Critical error in Koha::Calendar::days_between calculation
14:54 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8233 major, P2, ---, jonathan.druart, Pushed to Master , New search engine layer - introduce solr without breaking anything else
14:54 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7143 trivial, P5 - low, ---, katrin.fischer, ASSIGNED , Bug for tracking changes to the about page
14:54 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8204 enhancement, P5 - low, ---, jcamins, Pushed to Master , Authority viewer in OPAC ugly, unfriendly, and mostly useless
14:54 04Bug http://bugs.koha-community.org[…]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
15:03 NateC joined #koha
15:04 wizzyrea wait wait is there a new git bz/
15:04 lol *another* fork ;)
15:07 kf wizzyrea: maybe we should put a repo on kc.org?
15:07 to pull all our variations together again :)
15:09 jcamins wizzyrea: I wanted paul_p's patch, and rangi's patch, then I added a bunch of other things 'cause I'm lazy, and next thing I knew, I had a lot of changs.
15:09 kf time to leave - bye all :)
15:09 wizzyrea you know I think we should
15:09 oleonard See you later kf
15:10 wizzyrea we need to have a tools repo
15:10 and a manager for it
15:10 kf hm I think we have some
15:10 contribs
15:10 wizzyrea right!
15:10 kf and release-tools
15:10 and the migration tools from ruth
15:10 wizzyrea you think just give push perms on git-bz to anyone who wants them?
15:11 kf not sure how the others work
15:11 wizzyrea yea me either
15:11 I think the author has push permissions
15:11 so jared pushes for tools
15:11 kf perhaps the maints and rm could push? and patches sent to the mailig list with a [something]?
15:11 wizzyrea ruth for migration tools
15:11 but git bz doesn't have a specific author really
15:12 kf but now I am really leaving :)
15:12 kf left #koha
15:12 wizzyrea hehe later
15:12 rambutan left #koha
15:15 libsysguy joined #koha
15:22 laurence left #koha
15:22 talljoy morning koha-ians (kohans?)  I'm getting an error on an z3950 cataloging import.   "Field 100 must have indicators (use ' ' for empty indicators) at /home/load16/kohaclone/C4/Charset.pm line 142"
15:22 jcamins talljoy: invalid record.
15:22 talljoy and the indicators are correct for tag 100.
15:23 i can import this record just fine through stage marc import and i can z39 it into other koha instances.
15:23 jcamins How do you get the file to stage?
15:24 talljoy downloaded from loc website
15:24 it errors out on all z39 imports.
15:24 and the z39 import settings are correct
15:24 jcamins On all Z39.50 imports?
15:24 talljoy yup  all of them
15:24 jcamins Just from LC?
15:25 talljoy no, i've tested a couple other z39 targets and they error the same way
15:25 (although some will error on 650 indicators if there is no 100)
15:25 JesseM joined #koha
15:26 jcamins What version?
15:26 talljoy 3.8.1
15:26 jcamins At what point do you get this error?
15:27 talljoy i import the error, then make an edit (fill in the 942 and 003 fields) then save.  *boom* error
15:28 jcamins Works fine on master.
15:29 talljoy it works on other instances like i mentioned.  i'm trying to figure out what setting/etc is making it not work on this install
15:29 jcamins I can't test on 3.8.3 right now, but I'd test on that.
15:30 talljoy i've tested frameworks, checked sys prefs, verified z39 settings.....
15:30 i've run out of ideas of where to look.
15:30 jcamins If I had to speculate, I'd say it probably has something to do with the fact that you're using a version known to be very buggy.
15:31 talljoy possibly, but i'm successful on other instances on the same version
15:32 jcamins Are you sure it's the exact same version? You're on the load server, which -- if it still works the way it did when I was at ByWater -- has separate kohaclones for every single instance.
15:32 talljoy yes, it's still the same setup.  and yes, pretty dern sure it's the same version.  at this point, I'm going to upgrade the version (since they will be live on a different version) and then reinstall their z39 clients.
15:33 barring that, then a clean reinstall on a fresh server.
15:34 jcamins I'd definitely try upgrading.
15:34 talljoy that's my first order of business (altho i hold out little hope.  lol)
15:34 thx jcamins
15:35 this one is a wacky problem
15:35 and seems to be related to some config/setting in their database somewhere......
15:36 oleonard No problem here saving an LOC record on 3.8.3 talljoy
15:36 wizzyrea maybe in a framework talljoy?
15:36 talljoy yeah, i'm 100% this is specific to this install.  it is a koha to koha upgrade from 3.0 to 3.8
15:36 i suspect the z39 sources or the frameworks.   time to wipe and load fresh ones.
15:36 gaetan_B bye !
15:48 melia joined #koha
16:00 wizzyrea well I think the 3.0 frameworks are different from the 3.8 ones?
16:01 * wizzyrea could be wrong
16:01 huginn New commit(s) kohagit: Bug 8405 : add IntranetBiblioDefaultView and BiblioDefaultView in XSLT.pm <http://git.koha-community.org/[…]6f827f4bbc6c04047> / Bug 8408 - Odd OPAC message when OPAC Renewals are disabled and OPACFineNoRenewals... <http://git.koha-community.org/[…]91ba7a17e94b75336> / Bug 8518 - Self checkout does not display debt am
16:06 jenkins_koha Starting build #796 for job Koha_master (previous build: STILL UNSTABLE -- last SUCCESS #773 28 days ago)
16:14 cait joined #koha
16:24 NateC joined #koha
16:32 jorgedec_smfpl joined #koha
16:33 oleonard Hi jorgedec_smfpl
16:33 jorgedec_smfpl hello all, is the Koha Git server down?
16:35 * jcamins is checking.
16:35 jcamins Nope.
16:35 gmcharlt works for me
16:36 JoeLib001 joined #koha
16:37 JoeLib001 Hello. :-)
16:39 I am getting this error in the zebra-output.log.1 file: 09:49:43-01/08 zebrasrv(382) [warn] ir_session (exception)
16:40 jcamins JoeLib001: zebra-output.log.1 is an old log. Are you getting it in your current log, too?
16:40 JoeLib001 I am doing a search for an ISBN and it returns no results, but I do a search for the same item by title and it shows up.
16:40 Ah..., hmm...
16:40 Probably Not. I think the other files were empty.
16:40 jcamins JoeLib001: in that case, the error has nothing to do with your problem.
16:40 JoeLib001 gotcha.
16:41 jcamins JoeLib001: you have to enter the ISBN in *exactly* the same format it is entered in the record, I believe.
16:41 JoeLib001 I copy and pasted the isbn in the record to the z39.50 search and it doesn't show up.
16:41 jcamins Ah.
16:42 That's odd.
16:42 What version of Koha?
16:42 JoeLib001 I think the Bug I reported isn't a bug. http://bugs.koha-community.org[…]w_bug.cgi?id=8505
16:42 huginn 04Bug 8505: normal, P5 - low, ---, gmcharlt, NEW , Records with leading spaces in the 001 line do not return Z39.50 search results.
16:42 JoeLib001 I think the real problem is that I can't get search for an ISBN to show up.
16:42 jcamins Wait, what are you searching?
16:43 If you're searching another catalog via Z39.50, Koha has nothing to do with how the search is interpreted.
16:43 JoeLib001 3.08.01.000
16:44 I'm doing a Z39.50 search on itsmarc.
16:44 jcamins Ah.
16:44 Can't really help you, because it'll be something to do with their configuration.
16:44 JoeLib001 Bummer. :-)
16:44 jcamins They aren't using the ISBN bib-1 attribute.
16:44 JoeLib001 Gotcha.
16:44 cait I have had problems with isbn search too
16:45 jcamins A lot of Z39.50 targets don't support ISBN.
16:45 cait bummer.
16:45 JoeLib001 We do a search in a different cataloging system and it works.
16:45 via ISBN.
16:46 jcamins You'll need to find out what bib-1 attributes are being mapped for that one.
16:47 ITSMARC may be able to tell you which bib-1 attributes they are using, too.
16:47 Then again, they might not.
16:48 JoeLib001 What would I need to do, if I found what the bib-1 attribute is?
16:48 jcamins Tell us, and we'll argue at length about what to do with that knowledge.
16:48 JoeLib001 Heheheheeh. :-)
16:49 jcamins However, you could also (conceivably) change which attribute is you're using for ISBN searches while we're arguing.
16:50 JoeLib001 Thanks for the information. :-) I will see what I can find out.
16:59 pastebot "oleonard" at 127.0.0.1 pasted "Why doesn't this script pick up items due 2002-08-08?" (12 lines) at http://paste.koha-community.org/67
17:00 jcamins oleonard: bug?
17:00 oleonard Oh, well then. :P
17:02 Interesting... it does work with a narrower date range
17:06 60 works, 365 works, but 1000 doesn't.
17:07 jcamins 999?
17:07 wahanui i guess 999 is used somehow
17:08 jenkins_koha Project Koha_master build #796: STILL UNSTABLE in 1 hr 2 min: http://jenkins.koha-community.[…]/Koha_master/796/
17:08 * jonathan.druart: Bug 7955: Followup : Check the syspref value (avoid sql injection)
17:08 * fridolyn.somers: Bug 8503: Software error in edit items with EasyAnalyticalRecords
17:08 * mjr: Add Street Address searchfields set to patrons search header widget
17:08 * veron: Bug 8518 - Self checkout does not display debt amount if syspref AllowFineOverride is set to allow
17:08 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7955 enhancement, P5 - low, ---, jonathan.druart, Pushed to Master , Statistics tab in patron module
17:08 jenkins_koha * kyle: Bug 8408 - Odd OPAC message when OPAC Renewals are disabled and OPACFineNoRenewals is set to blank
17:08 * gaetan.boisson: Bug 8405 : add IntranetBiblioDefaultView and BiblioDefaultView in XSLT.pm
17:08 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8503 major, P5 - low, ---, fridolyn.somers, Pushed to Master , Software error n edit items with EasyAnalyticalRecords
17:08 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8518 minor, P5 - low, ---, veron, Pushed to Master , Self checkout does not display debt amount if syspref AllowFineOverride is set to allow
17:08 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8408 minor, P5 - low, ---, kyle, Pushed to Master , Odd OPAC message when OPAC Renewals are disabled and OPACFineNoRenewals is set to blank
17:08 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8405 enhancement, P5 - low, ---, gaetan.boisson, Pushed to Master , add IntranetBiblioDefaultView and BiblioDefaultView to XSLT.pm
17:09 oleonard 999 doesn't either.
17:09 * oleonard goes to try every increment between 365 and 1000
17:14 JoeLib001 Hmm...., search via issn works peachy.
17:18 jcamins An article just came across my RSS feed reader with the following headline: "Sprint for Shakespeare."
17:18 My first thought?
17:18 "What does Shakespeare have to do with string manipulation?"
17:20 JoeLib001 Hehe. :-)
17:20 cait lol
17:20 jcamins My second thought was "wouldn't it be better to use snprint?"
17:24 JoeLib001 I found two things in my search. One what looks like the itsmarc config settings: http://www.itsmarc.com/z3950.asp. Two I found the z3950_search.pl.
17:25 jcamins Blech!
17:25 * jcamins looks at the code.
17:26 jcamins JoeLib001: that page from ITSMARC is exactly what was needed.
17:27 JoeLib001 So, theoretically it should work?
17:28 jcamins JoeLib001: no, but now I see what the problem is, and I can unilaterally decide it should be fixed. :)
17:28 JoeLib001 Hehe. :-)
17:28 Well, that's good to know. :-)
17:28 * jcamins will even fix it, since it'll take five minutes.
17:29 JoeLib001 Cool. :-)
17:29 Is it choking on the Structure vs Truncation?
17:29 jcamins Yup.
17:29 Also, our handling of ISBN vs. ISSN is... nonexistent.
17:29 JoeLib001 Gotcha.
17:33 jcamins Bug 8550.
17:33 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8550 normal, P5 - low, ---, jcamins, NEW , Z39.50 searches for ISBN/ISSN problematic
17:36 jcamins JoeLib001: I have attached a patch, which you should test.
17:37 If it works, you should sign off.
17:37 cait jcamins++
17:37 might fix an open ticket for me too :)
17:37 jcamins :)
17:38 JoeLib001 Ok, I am checking it.
17:40 Ok, should I copy and paste it into the file where it belongs?
17:40 jcamins It's a patch.
17:40 Wait.
17:40 JoeLib001 Run it?
17:40 jcamins You're not doing this on a production server, are you?
17:40 JoeLib001 Yes.
17:41 * jcamins slaps JoeLib001 on the wrist.
17:41 jcamins No!
17:41 Bad!
17:41 JoeLib001 Hehe.
17:41 jcamins The way you would apply it would be to go to the root of your Koha install, and run patch < patchfilename.patch
17:41 But don't do that on production.
17:41 Ever, ever, ever, ever.
17:42 JoeLib001 Gotcha, because it could break something irrevocably?
17:42 jcamins Right.
17:42 The chances of that particular patch having any ramifications other than (potentially) breaking Z39.50 copy cataloging a little more are incredibly slight.
17:42 But, it's not impossible.
17:44 JoeLib001 So, what I should do is run the patch on a test server and wait for an official patch?
17:44 jcamins Right.
17:44 You could even use a sandbox to test it.
17:44 cait sandbox?
17:44 JoeLib001 I have Koha setup in Virtualbox.
17:44 jcamins Just add the appropriate Z39.50 server profile to the sandbox while you're testing it, then delete it.
17:44 cait sandboxes?
17:44 wahanui sandboxes are http://wiki.koha-community.org/wiki/Sandboxes
17:44 jcamins Oh, that's even better. :)
17:45 Do you have a git install?
17:45 JoeLib001 I probably have a lot of updating and what not that I need to do on it. To get it to where I am at.
17:46 My production server is installed from the Debian Packages.
17:46 jcamins If you have a git install, you can do all the signing off yourself. If not, you might have to apply the patch manually, test it, and have someone else add the sign off line to the patch.
17:46 Right, but what about your test server?
17:46 JoeLib001 I don't think I have a git install. I think I installed it manually. I can do a git install though.
17:47 jcamins I'd suggest setting up git on your test server.
17:47 Then you can test things more easily.
17:47 git?
17:47 wahanui rumour has it git is http://wiki.koha-community.org[…]Control_Using_Git
17:47 JoeLib001 Ok
17:47 jcamins ^^ and it's very easy.
17:51 JoeLib001 Ok, I will work on getting a git server up and going. Probably will take a couple of hours.
17:52 Almost certainly better than trying to update my old Virtualbox Install anyway. :-)
17:52 jcamins Heh. You can use the same install.
17:52 Unless you used one of the livecds/appliances, in which case... probably better to start over.
17:54 JoeLib001 What version of Debian is recommended? The most recent version?
17:54 jcamins I recommend Squeeze.
17:57 JoeLib001 7 minutes until it's downloaded. Wish I had this fast of internet at home. :-)
18:06 jcamins JoeLib001: also, use the bibliofile Z39.50 server if your subscription allows.
18:07 McCloud joined #koha
18:18 JoeLib001 Ok, I will double check with our Cataloger to make sure we can use it. I think our subscription allows it.
18:25 wizzyrea ugh, the title of that should probably be "adding a staff account" or "adding a staff login"
18:25 a staff patron is different from a staff login, and koha has both.
18:26 </gripe>
18:26 rambutan joined #koha
18:26 jcamins Agreed.
18:27 JoeLib001 Where was the opening tag? ;-)
18:27 wizzyrea hehe
18:27 jcamins Also, I didn't think there was any change in the procedure since the video of the same title for 3.4, which nengard posted last month.
18:27 wizzyrea I forgot to open it
18:28 jcamins tcohen++
18:28 tcohen jcamins: i need it in 3.8.x :-D
18:28 should i try to apply and sign against 3.8.x?
18:29 jcamins tcohen: no need to sign off again.
18:29 It will apply apply cleanly. :)
18:29 tcohen no need to mention it so rangi applies it to 3.8?
18:29 * jcamins will nudge rangi if he doesn't pick it up on his own.
18:31 cait jcamins: new interface - no change in procedure, but screen changes maybe
18:31 jcamins: preparing to create some branches with applied patches :)
18:31 jcamins cait: ah, true.
18:31 :D
18:33 oleonard Oh this is fun
18:33 Can't call method "strftime" on an undefined value at /home/koha/kohaclone/Koha/DateUtils.pm line 117.
18:33 ...when trying load patron in circulation by scanning their barcode
18:34 cait :(
18:34 you mean this is evil
18:36 eythian oleonard: I've patched that
18:36 * McCloud[A] is now away - Reason : Auto-Away after 30 minutes
18:36 * eythian has a look for bug numbers
18:37 oleonard Thanks eythian
18:38 eythian oleonard: most likely either bug 8391 or bug 8532
18:38 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8391 normal, P5 - low, ---, kyle.m.hall, Signed Off , Cannot view reading record through staff client
18:38 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8532 normal, P3, ---, robin, Signed Off , Old/iffy data causes error checking out
18:38 eythian I think the latter
18:41 jcamins unimarc?
18:41 wahanui unimarc is http://www.ifla.org/en/publica[…]ted-documentation
18:43 eythian http://www.littlefreelibrary.org/ <-- on a scale of 1 to awesome, this is super great.
18:44 oleonard eythian: Bug 8532 looks like it's the one, although I see the problem in issues, not old_issues
18:44 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8532 normal, P3, ---, robin, Signed Off , Old/iffy data causes error checking out
18:44 eythian oleonard: that patch should fix it anyway
18:44 jeff eythian: our library established the first one in the area in one of our neighborhoods. since then, two others have been created in a matter of months -- one using our building plans. :-)
18:44 eythian jeff: nice work :)
18:45 jeff eythian: https://www.tadl.org/littlefreelibrary
18:46 eythian awesome
18:46 cait very cool :)
18:46 eythian looks like a neat little project
18:46 JoeLib001 Will git install all of the necessary things for koha such as a MySQL Server and all that?
18:46 eythian JoeLib001: no
18:46 jcamins No.
18:46 eythian it just gets you the source code
18:47 jcamins I suggest you install the koha-common package, and then do the git install.
18:47 That's how I do it.
18:47 cait yep
18:47 JoeLib001 Ah, gotcha.
18:47 Good to know. :-)
18:47 cait and still have to install mysql I think
18:47 ?
18:47 oleonard What does installing koha-common get you?
18:48 eythian there's going to be a package that installs all the dependencies. It'll be nice when that gets in.
18:48 oleonard: all the dependencies in one fell swoop.
18:49 * oleonard didn't realize you could mix packages and a git install
18:50 eythian I usually install the packages, and then modify the confs to point to git when building a dev environment.
18:50 It means I can keep the handy tools to do things.
18:50 oleonard Can you elaborate eythian?
18:50 eythian in which direction? :)
18:52 wizzyrea yes, I too am interested in eythian's black magic.
18:52 eythian Bug 7968 will make this easier for the future too.
18:52 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7968 normal, P5 - low, ---, sofiane.elharsal, Pushed to Master , create meta-packages to simplify installation of koha
18:52 JoeLib001 :-)
18:52 * wizzyrea imagines eythian saying meta in his awesome kiwi accent
18:53 eythian oleonard: I install the packages and create an instance called 'dev', then I check out the git repo somewhere. Then modify koha-conf.xml and the apache conf to point everything to git rather than /usr/share/koha
18:53 oleonard eythian: So /user/share/koha still exists, but it's not being used
18:53 eythian oleonard: or if you mean the tools, stuff like koha-rebuild-zebra (which is just a wrapper) and koha-mysql (which is the handiest thing in the world, if I do say so myself)
18:53 yeah
18:54 it's used by the cli tools, but that's minor.
18:54 and doesn't really matter in a dev env so long as you're aware of it.
18:57 * oleonard mentally composes a rant on staff members who submit vague and misleading error reports
19:00 jcamins eythian: that's *brilliant*.
19:01 JoeLib001 :-)
19:01 jcamins I never thought of creating an instance first.
19:01 eythian jcamins: zcat filefrommysqldump.sql.gz | sudo koha-mysql dev
19:02 oleonard Librarians tell their patrons to be very specific in reference interviews, so why are librarians so bad at being specific when it comes time to report problems?
19:02 eythian possibly my most used command combo
19:02 cait oleonard: hm, not sure all are
19:02 oleonard: most of ours are pretty good at reporting
19:03 oleonard Just my bad luck then cait :)
19:03 cait just fire questions back - it normally helps :)
19:03 eythian oleonard: I can see the motivation in this case, it highlights the exact issue - but misses e.g. the biblionumber that's causing it.
19:03 JoeLib001 Hehe. ;-)
19:03 eythian I'd rather a full screenshot with a circle around the important bit
19:04 usually after a few rounds they get good about providing detail
19:04 cait are we talking about a specific bug?
19:04 jcamins Aaaargh!
19:04 oleonard "I checked in a book and the hold message didn't come up!" "Which book?" "I dunno."
19:04 cait lol
19:04 JoeLib001 Hehehehe.
19:04 * eythian should make a little "reporting an issue" checklist for them
19:04 cait you could make a list of all books returned by that staff member that day...
19:04 jcamins Okay, I think there's a patch for this.
19:04 eythian "screenshots, biblionumbers, barcodes...these are a few of my favourite things"
19:04 jcamins Ah-ha!
19:04 Bug 4226.
19:04 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4226 normal, P5 - low, ---, gmcharlt, Needs Signoff , bulkmarcimport.pl doesn't replace 001 when keepids is not specified
19:05 oleonard cait my rant is prompted by Bug 8532 which just struck our production system
19:05 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8532 normal, P3, ---, robin, Signed Off , Old/iffy data causes error checking out
19:05 wizzyrea eythian: I think we did that
19:06 and bywater has a post on it
19:06 "writing good tickets" or somesuch
19:06 eythian ah cool, will have to have a dig for it
19:06 wizzyrea i will look it up for you, sec
19:06 :)
19:06 eythian ta
19:06 cait oleonard: oh, sounds unpleasant :(
19:07 eythian As far as I can tell, the dates that trigger this shouldn't be null but in some circumstances end up like that.
19:07 I think Koha needs a bit more focus on "what happens in edge cases" just so it'll at least keep working when something unexpected pops up.
19:08 * eythian tries to include them in documentation so I know they've been thought about
19:08 wizzyrea http://bywatersolutions.com/20[…]-support-tickets/
19:10 eythian wizzyrea: I think that's 99% of what I'd include.
19:14 wizzyrea hm I don't see our "reporting problems" post
19:14 maybe I dreamed that
19:14 but ours had to do with "down system" problems
19:15 which he doesn't really address
19:15 jcamins What is a good way to represent hierarchies?
19:15 And by good I mean "attractive.
19:15 oleonard and by hierarchies you mean...?
19:16 jcamins I will show you what is not attractive: http://screencast.com/t/S0JNOROqveP
19:16 That is not attractive.
19:16 But it is a hierarchy.
19:16 :)
19:16 oleonard specifically the links at the top?
19:16 jcamins Right.
19:17 It's a small hierarchy.
19:17 wizzyrea why yes, we do in fact make them wait 10 minutes.
19:17 jcamins Very small.
19:17 eythian wizzyrea: also useful
19:18 although, most of ours only have support during business hours anyway
19:18 oleonard jcamins: I suppose you could use a tree-table type display, although you wouldn't actually want them collapsing
19:18 wizzyrea right
19:18 eythian (or they're self-hosting in which case that kind of thing is their IT peoples' issue)
19:18 wizzyrea :)
19:18 jcamins oleonard: it should be collapsible.
19:18 wizzyrea <- is the IT people
19:18 jcamins We actually have the Javascript in place to do collapsing.
19:18 oleonard jcamins: Why?
19:18 jcamins But it's very ugly.
19:19 Uhhh...
19:19 UNIMARCers like it collapsible?
19:19 * jcamins hadn't really considered this question before.
19:19 eythian wizzyrea: ah right :)
19:20 wizzyrea BUT we get much better problem reports on down systems now
19:20 "I tried using the internet, and everything else still works" AWESOME
19:21 that cuts down the amount of time I have to spend talking to you and decreases the amount of time you have to spend without a system. It's a super good fun happy time win
19:22 * wizzyrea states the obvious
19:22 eythian yeah, that's useful.
19:22 mbalmer joined #koha
19:22 jcamins oleonard: http://biblio.nantes.archi.fr/[…]l.pl?authid=15264
19:22 eythian fortunately in our case, if the whole internet is down for them, they can't file a ticket on our system :)
19:22 wizzyrea hehe but they can still call? or no?
19:23 magnuse ip-telephony ftw!
19:23 eythian they can, but they don't usually.
19:23 Our phone numbers are in emails and contracts and stuff, but they don't seem to actually use them often.
19:23 wizzyrea when we first got on remotely hosted koha we were answering off hours calls all the time when the local internet was down
19:23 like, at least 3-4 times a week
19:24 eythian erk
19:24 wizzyrea adding the requirement that they wait for 10 minutes, and check local internet connectivity before calling cut it down to maybe 1-3 times a month
19:24 so many times it recovers from whatever slow in 5 or so minutes
19:25 eythian yeah, that's a bit more reasonable. The ones we host are mostly companies or government who a) have reliable internet and b) are only there during business hours
19:25 * eythian is done with work stuff and is going to watch tv shows or something
19:25 wizzyrea :D have fun
19:25 magnuse eythian: did you get around to the i18n stuff?
19:25 eythian magnuse: oh
19:25 um
19:25 no
19:25 * magnuse is evil
19:25 eythian not as such...
19:26 I do have 8 hours of train travel tomorrow, maybe then :)
19:26 magnuse cool! :-)
19:26 you do seem to spend a lot of time on trains :-)
19:26 ouch brazil beat nz in olympic footie!
19:27 eythian it does feel a bit like that sometimes
19:27 eh brazil is good at that, we're not.
19:27 not too surprising
19:27 cait eythian: if you are on the train and working on pacakges anyway...
19:27 eythian: i still have dom and icu on my wish list :)
19:28 or you can show me how to do it once you are here :D
19:28 eythian cait: yeah, I'll let you know ;)
19:29 cait have a nice evening :)
19:29 magnuse have fun eythian!
19:31 * magnuse converts all his instances to use memcached for sessions
19:36 maximep damn, just found bug 8215 minutes before sending a patch for the same feature
19:36 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8215 enhancement, P5 - low, ---, kyle, Needs Signoff , Add Course Reserves
19:36 maximep code I did 1 year ago. Arg.
19:36 jcamins maximep: you might as well submit your code.
19:36 (if you've successfully rebased it)
19:36 maximep rebased it on 3.8.2
19:37 jcamins That way the preferred implementation can get in.
19:37 Uhhh... you should submit it rebased against master.
19:37 magnuse wow, why do i have about a million files in /tmp called something like cgisess_9ae860d23a8e27e163ae5c4130df0f0b ?
19:37 maximep well to tell you the truth his patch is the better one
19:37 well
19:37 haven't tested his, really
19:37 JoeLib001 What's the difference between: sudo koha-create --use-db biblio and sudo koha-create --request-db koha
19:38 Other than the db name on the end?
19:39 cait maximep: I would be interested to see what you have in comparison
19:39 :)
19:39 maximep my patch doesn't have the new course, new instructors, etc
19:39 magnuse JoeLib001: the first uses an existing database, the second means you have to run the command, go create your database and come back and run the first
19:39 jcamins JoeLib001: the former uses an existing database, the second gives you instruction for creating one.
19:39 maximep just simple fields where you type what you want
19:40 easier, but makes it possible to have duplicates
19:41 JoeLib001 I thought that's what this command did: sudo koha-create --create-db biblio.
19:41 rangi Morning
19:41 jcamins No, that command creates the database.
19:42 rangi The request one creates instructions you can give to your sysadmin
19:42 To have them create one.
19:43 cait morning rangi
19:43 JoeLib001 Ah, this command: sudo koha-create --request-db koha makes it so when I import my existing db all is well?
19:43 rangi We gpg encrypt it and email it to dba
19:43 JoeLib001 cat koha-db-request.txt was my second command after the request.
19:43 rangi I think you are misunderstanding still
19:44 One creates a koha instance and a db
19:44 magnuse JoeLib001: have you tried "man koha-create"?
19:45 JoeLib001 Ah, no. Probably should.
19:45 rangi The other an instance and a file you can use or give to someone  to create a db for you
19:45 magnuse oook, looks like i didn't set up memcached properly somehow, and koha is defaulting sessions to temporary files. ouch!
19:47 JoeLib001 Assuming I already had a DB Created. All that would have done was created a file for the IT Admin to look at that explained what was needed for the Koha DB?
19:48 jcamins JoeLib001: no.
19:48 If you already have the database created, you need to *use* the database, not give your dba instructions on how to create it.
19:49 JoeLib001 Ok. I think I may be missing a step in my instructions then.
19:54 Actually, the dba probably ran the second part. This is what we did: http://wiki.koha-community.org[…]rate_MySQL_server
19:54 I just thought I had done it. Apparently not. hehe ;-)
19:56 I think my mind is going....
19:56 magnuse rangi or someone else: are there any rules for what goes in <memcached_namespace></memcached_namespace>? are underscores a problem?
19:57 rangi Not that I'm aware of
19:57 Didn't someone on a fit of madness shift it to env variables now?
19:58 jcamins Yes.
19:58 rangi Instead of conf file
19:58 jcamins v. mad
19:58 rangi I still hate that
19:58 * jcamins too
19:58 cait jcamins: didn't you have a patch undoing it?
19:58 *hope*
19:58 rangi That might be the problem Magnus
19:59 jcamins cait: no, but I had a patch that made it possible to undo it.
19:59 Which is now in Koha.
19:59 cait oh good start
19:59 jcamins So we could go back to storing the configuration in a sane place.
19:59 cait tthat would be nice
19:59 rangi It's ignoring the conf file need to set it in the apache conf
19:59 * jcamins ponders this code, gets a truffle.
19:59 magnuse ah hah!
20:00 jcamins: http://wiki.koha-community.org[…]ing_in_Koha#Votes ?
20:00 JesseM jcamins: if you add a field to the index does the record.abs file get updated?
20:01 jcamins magnuse: with the new cache code that was pushed, ENV was the best choice.
20:01 I since fixed it, so that we can put it in a configuration file.
20:01 magnuse ah
20:02 jcamins JesseM: you would need to update record.abs if you are using GRS-1.
20:02 rangi Yay
20:02 jcamins JesseM: but, since you're on 3.8, you should be using DOM.
20:02 magnuse so when this: http://wiki.koha-community.org[…]nce#Configuration talks about "enviroment variables" it's actually talking about the apache config?
20:02 jcamins So you need to update biblio-koha-indexdefs.xml, then update the XSLT.
20:03 rangi Yeah SetEnv
20:03 jcamins magnuse: right.
20:03 JesseM thanks for the info
20:03 jcamins JesseM: you're welcome.
20:03 JesseM: don't you have developers who do this sort of thing for you?
20:04 JesseM Jcamins: Yes!
20:04 magnuse ah SetEnv, thanks!
20:04 jcamins :)
20:05 magnuse and here i was just figuring out how to use sed to change all the koha-conf.xml's...
20:05 jcamins magnuse: it could come in handy one day. :)
20:05 magnuse yup
20:05 jcamins JesseM: one further note: use DOM.
20:05 magnuse and just to be on the safe side: the SetEnv has to be done for both the opac and the intranet configs, right?
20:06 jcamins magnuse: yes.
20:06 magnuse gah
20:06 jcamins: thanks
20:09 rangi /ws wiz
20:09 lol
20:09 its gonna be like that today
20:11 chris_n drink more coffee
20:13 rangi yeah good idea
20:18 oleonard Later #koha
20:21 kathryn joined #koha
20:22 kathryn morning all
20:23 cait morning kathryn :)
20:24 jcamins Ah-ha!
20:24 I have discovered the problem.
20:24 Any given node in this tree has 0, 1, or n parents.
20:24 kathryn hey cait :)
20:25 drojf erm. how would i know if my koha uses GRS-1 or DOM indexing?
20:25 jcamins What do you even call a data structure like that?
20:25 drojf: open up koha-conf.xml.
20:25 See what it says about indexing.
20:25 If it doesn't say anything, it uses GRS-1.
20:26 drojf "index" not found
20:26 jcamins GRS-1.
20:26 I guess you'd call it a graph.
20:26 Though there shouldn't be any interconnection... I think...
20:26 drojf i wonder if there is something wrong. and is to blame for my missing indexes
20:28 rangi ok
20:28 drojf the wiki says i should use "<xi:include href="/home/paul/"… for dom indexing. so we all index on pauls computer? :)
20:28 rangi what was the name of that b&b that daniel stayed at, that had all the books and stuff?
20:28 for kohacon10
20:28 anyone remember?
20:29 jcamins drojf: where do you see that?
20:29 magnuse rangi: booklovers?
20:29 rangi: slef and i stayed there, though
20:29 drojf jcamins: http://wiki.koha-community.org[…]g_to_dom_indexing
20:30 rangi oh
20:30 cool :)
20:30 jcamins Ah.
20:30 magnuse rangi: http://booklovers.co.nz/
20:30 jcamins Yeah, just correct it to reflect real paths.
20:32 This is the third time in three weeks that I found myself wanting to use a for() loop where recursion was the obvious solution.
20:33 cait ts.
20:33 :)
20:33 jcamins And, for the third time in three weeks, I can't remember how to convert a recursive algorithm to an iterative one.
20:33 rangi magnuse: thanks!, im recommending it to Karen Schneider
20:35 jcamins Hm.
20:35 Perl doesn't have pointers for iterating down a tree.
20:35 * jcamins gives up, switches to a recursive algorithm.
20:36 magnuse rangi: lucky her, i'd go back there in no time given half a chance :-)
20:36 * cait would go back too
20:36 maximep recursivity ftw... until you're 10 layers deep
20:37 jcamins maximep: I'd use an iterative algorithm if I could wrap my mind around it.
20:37 maximep sometimes recursivity is easier heh
20:37 cjh jcamins: what do you mean by 'pointers for iterating down a tree'? wouldn't a scalar ref suffice?
20:37 jcamins But if I can't wrap my mind around the algorithm, it's probably not going to be easier to maintain.
20:37 cjh: can you use a ref to a leaf in another variable?
20:38 cjh jcamins: is the code online anywhere so I can have a peek?
20:38 magnuse phew, looks like memcached is actually working for the sessions now, and my shoulders only ache a little from editing all those apache configs...
20:39 jcamins cjh: not at the moment. I'm writing it from scratch.
20:39 I'm reworking the authority hierarchy stuff to be more tree-like and less... not.
20:40 cjh ok, I'll have a quick play with perl.
20:40 magnuse oh another lazy question: does koha use memcached for anything other than sessions once the SetEnvs are set?
20:40 jcamins magnuse: yes.
20:41 magnuse: sysprefs, koha-conf, frameworks, i18n tables, and a few other things.
20:41 magnuse ah ok
20:42 hm, i just realized munin is picking up memcached activity, but i didn't actually change the SessionStorage syspref yet (*facepalm*) - does it use memcached for sessions just because the SetEnvs are set, independent of the syspref?
20:43 jcamins No.
20:43 It uses memcached for other things right away, though.
20:43 magnuse ah, but probably for all the other stuff
20:43 yeah, that makes sense, thanks
20:45 cjh jcamins: do you want breadth or depth first?
20:45 jcamins cjh: depth first.
20:45 rangi mmm bread
20:45 * chris_n passes rangi the jam
20:45 cjh jcamins: recursion is easier then, but now its like a puzzle :)
20:45 jcamins cjh: toldja.
20:46 JesseM left #koha
20:46 jcamins So you see exactly what I'm trying to do, I want to convert a string like this: "1,2,6;3,5,6" into two trees.
20:46 cjh iteration will be messy as the depth is unknown and you need to go back up the tree
20:46 rangi https://www.youtube.com/watch?v=ByOU5CwuZjU
20:47 jcamins Handling the separate trees is easy to do iteratively, but processing that (and it could be arbitrarily long) will be an issue.
20:47 * wizzyrea cheers for the mashing of awesome things
20:48 jcamins Right now, we get around this by avoiding turning it into a tree.
20:48 cjh heh
20:48 libsysguy well since you're not looking at a huge overhead in the object you're dealing with I don't see why a recursive solution is all bad
20:49 wizzyrea what is funny, is that orbital has been doing this remix since long before nu who
20:49 jcamins libsysguy: that's my theory.
20:49 rangi wizzyrea: yep its been around for ever
20:49 libsysguy if you were having to open a C4 module every time you'd have an issue :p
20:49 wizzyrea that makes it NO LESS AWESOME
20:49 rangi nope
20:50 wizzyrea this version is super growly
20:50 I like it
20:51 jcamins I figure I'll write the recursive, and if I don't like it, then I'll find someone to help me make it iterative.
20:51 libsysguy objections to removing the exceptions table from holidays
20:51 no, okay thanks everybody :p
20:51 cjh jcamins: if each node had a link to their parent and you also had a stack you could make it iterative
20:51 but recursion is going to be tidier :)
20:52 libsysguy ^^
20:52 jcamins cjh: this is what makes it so painful... I will either have links to parents *or* I will have links to children, but probably not to both.
20:53 libsysguy so its an non-symmetric digraph?
20:53 jcamins @quite get 123
20:53 huginn jcamins: I'll give you the answer as soon as RDA is ready
20:53 jcamins @quote get 123
20:53 huginn jcamins: Quote #123: "rangi: #thingsihavelearnt if there is a mad scheme a library somewhere will be doing it ... except madder" (added by wizzyrea at 09:20 PM, March 30, 2011)
20:54 jcamins libsysguy: yes! That's the label I was looking for earlier.
20:54 libsysguy hehe
20:54 JoeLib001 Ok, I have a good functional Koha setup on a test server. Now I install Git?
20:54 cjh orbital dr who is epic!
20:55 rangi it is :)
20:55 cait yes :)
20:55 magnuse g'night #koha - have fun!
20:55 JoeLib001 Night Magnuse.
20:55 rangi cya magnuse
20:56 cait night magnuse :)
20:56 cjh haha blow up daleks being passed around
20:57 wizzyrea I really want a blow up dalek
20:57 jcamins Woohoo!
20:58 I have passed the first test of writing a recursive algorithm.
20:58 cjh wizzyrea: clearly you don't understand how truly dangerous they are.
20:58 jcamins Infinite recursion!
20:58 cjh jcamins: ummm, progress? :p
20:58 libsysguy heh
20:58 wizzyrea :)
20:58 libsysguy nothing like infinite recursion
20:58 jcamins cjh: it compiles. :)
20:58 wizzyrea oh I get how dangerous daleks are.
20:59 cjh jcamins: oh well if it compiles then you are pretty much finished...
20:59 jcamins cjh: heh. Exactly.
21:00 eythian joined #koha
21:04 pastebot "jcamins" at 127.0.0.1 pasted "How do I push something onto $VAR1->{children}?" (7 lines) at http://paste.koha-community.org/68
21:04 jcamins I *always* have trouble with this.
21:04 * wizzyrea quips "become a female"
21:04 wizzyrea har har har
21:05 jcamins I was taking a drink of water when you said that!
21:05 wizzyrea wait wait
21:05 wahanui wait wait is, like, there a new git bz/
21:05 rangi you dont push, its a hash :)
21:05 * wizzyrea suspects jcamins already knows how to do *that*
21:05 cjh jcamins: push @{$VAR1->{children}}, $blah ?
21:05 rangi yep
21:05 * wizzyrea is totally cracking up.
21:06 rangi or even without the { } but its more readable with them
21:06 jcamins rangi: $VAR1->{children} is supposed to be an arrayref.
21:06 cjh rangi: yeah I usually scatter unneeded {}'s everywhere :)
21:06 jcamins Actually, the { } are required here.
21:07 cjh the @ may have a lower precedence than the ->
21:07 jcamins Yup.
21:07 Higher, rather.
21:07 cjh yeah, I said it bakcwards >.>
21:07 jcamins However, it still doesn't work.
21:08 cjh back even.
21:08 jcamins It tells me it's not an ARRAY reference, but doesn't tell me what it *is*.
21:09 rangi probably just an array
21:10 cjh my $VAR1 = { 'children' => [] }; push @{$VAR1->{'children'}}, "hello"; seems to work for me.
21:10 jcamins Okay, that means I'm doing something non-obviously wrong.
21:11 * jcamins really misses strongly-typed languages, and even pointers, every time time he starts working with hashes and arrays.
21:11 cjh ohhh pointers, do I smell a c programmer?
21:12 jcamins cjh: yep. If this were C I could've been done twenty minutes ago.
21:12 'Cause I would've known what the hell format the data I had was in.
21:14 cjh I am still far more fluent in c than in perl, I often miss being able to easily see what the 'type' or an argument or return value is.
21:14 jcamins If I do '$VAR1->{children} = []' right before this line, it still doesn't work.
21:15 Unfortunately, this is the key part of the algorithm.
21:15 pastebot "jcamins" at 127.0.0.1 pasted "the offending code" (15 lines) at http://paste.koha-community.org/69
21:16 jcamins Wait.
21:16 Never mind.
21:16 It works fine.
21:16 cjh heh
21:17 wouldnt the  @$branch->{children} at the end of the last line cause issues
21:17 jcamins Yup.
21:17 It would indeed.
21:17 And did.
21:17 maximep could your last line be more complicated ?
21:17 wow
21:17 jcamins For twenty minutes.
21:17 rangi upgraded bugzilla, just a point release
21:17 nothing to see
21:18 jcamins maximep: sure... I could've kept it the way I originally wrote it.
21:18 maximep haha
21:18 cjh heh
21:18 maximep seriously the perl syntax just escapes my brain, no mather how many hours I work with it
21:18 I have to learn it all again every time I do any perl
21:19 jcamins Now.
21:19 Where are the children?
21:19 maximep maybe adding () in the line would help a bit :P
21:19 cjh I was about to say you shoudl probably put the brackets in :)
21:19 rangi http://library.education.govt.nz/  <-- can people see that?
21:19 cjh also could tyrn that last line in to two, up to you.
21:20 turn even.
21:20 cait slow, but I can :)
21:20 maximep probably slow because we all tried it. Works for me :p
21:20 jcamins Once it's actually working, I'll definitely clean it up.
21:20 Requires a login.
21:20 rangi cool
21:24 jcamins Can I generate an anonymous hash with TT?
21:25 Ah, got it.
21:27 Proof: http://screencast.com/t/tjdYEOde
21:28 cait hm missing space :)
21:28 *hides*
21:31 jcamins++ :)
21:31 good night :)
21:31 cait left #koha
21:33 JoeLib001 Night cait.
21:34 Do I want to track the development version or the 3.8.x version?
21:34 rangi do you plan to do development?
21:35 JoeLib001 I am mostly doing this so I can test the patch that jcamins created. I don't know about the future.
21:35 rangi if so, then track master, all patches should be submitted/tested against master first
21:35 unless they specifically state they are for a branch
21:36 and then the release maintainers, will cherry-pick them from master back to their branches if needed/desired
21:36 JoeLib001 Like this: git checkout -b mywork origin
21:37 talljoy jcamins: remember the problem i had with z3950?
21:37 jcamins origin/master
21:37 wahanui origin/master is specify the mster branch from origin (upstream)
21:37 jcamins talljoy: what problem?
21:37 wahanui problem is its human beings doing it
21:37 rangi yeah damn wetware
21:37 jcamins Oh, yes.
21:37 talljoy well scroll back to this morning and I was getting an error for missing indicators
21:37 jcamins Sorry, we're talking about a different problem with Z39.50.
21:37 talljoy it turns out it is the "BiblioAddsAuthorities" syspref setting
21:38 jcamins Oh?
21:38 talljoy set to allow it causes that error.  set to don't allow  it works
21:38 jcamins Hm.
21:38 talljoy 3.8.01 and 3.8.02  i don't have a 3.8.03 to test on
21:38 jcamins That seems... odd.
21:38 talljoy seemed very odd to me too.
21:38 JoeLib001 So, like this: git checkout -b mywork origin/master
21:39 jcamins talljoy: see, here's the thing that makes it so weird: as of 3.8, BiblioAddsAuthorities is essentially a no-op.
21:39 talljoy well, it has tentacles remaining.  at least in z39 imports
21:40 or Charset.pm
21:40 it only took me 8 hours to track down.  i need a beer.  after i write up this bug report.
21:42 * rangi wanders off to a meeting
21:45 Irma left #koha
21:49 JoeLib001 Alright, I got that sorted out.
21:50 jcamins Woohoo!
21:50 I got it working.
21:50 cjh jcamins++
21:50 jcamins It has file folder icons which are ugly and make no sense, but it's a start.
21:50 JoeLib001 :-)
21:51 cjh jcamins: you were right before when you said youd only need children pointers, with a stack the parent pointers arent needed.
21:51 JoeLib001 Ok, now how do I apply the patch? I think I am at that step now. I have it installed and have cloned koha and set it to user origin/master.
21:51 jenkins_koha Starting build #116 for job Koha_3.8.x (previous build: SUCCESS)
21:51 jcamins You download the patch file, the do "git am patchfilename"
21:51 cjh JoeLib001: one you have downloaded it "git am -ui3 <path_to_path>"
21:52 jcamins I always use wget.
21:52 path_to_path? :)
21:52 cjh my typing today... *sigh*
21:53 jcamins :)
21:54 JoeLib001 (I hate stupid features.) Such as the shortcut I just found for turning my screen sideways.
21:55 melia I have a question about dropbox mode and fines (again).
21:55 here's the story: the date due was 7/31/2012 23:59.
21:55 the item was returned overnight in the dropbox. the fines script ran at 1:20am on 8/1.
21:56 the librarian checked in the item on the morning of 8/1 with dropbox mode on.
21:56 the return date is showing as 7/31/2012 9:04
21:56 and the fine was charged
21:57 I'm confused because return date is before date due, so I would have expected no fine to be charged. or does the fines script need to be run later in the day to keep those fines off?
21:58 this is related to bug 5644, which I am still confused about :)
21:58 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=5644 critical, P5 - low, ---, kyle.m.hall, Pushed to Stable , dropbox mode doesn't set the correct date
21:58 edveal left #koha
21:58 melia or bug 8338
21:58 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8338 enhancement, P5 - low, ---, koha-bugs, NEW , fines not cleared with dropbox mode
21:59 melia actually, I think I answered my own question. I think the problem is bug 8338, now that I am reading it again.
22:00 JoeLib001 Alright, Patch Applied.
22:05 How do I run Koha from git?
22:05 I am assuming that's what I'm missing.
22:06 jcamins JoeLib001: you need to modify the Apache config file to point PERL5LIB to your git directory.
22:06 (and everything else that's currently pointing at /usr/share/koha in the Apach conf file.
22:07 JoeLib001 Gotcha. I saw instructions on that somewhere.
22:12 drojf with dom indexing, do i only change the indexdefs files (or record.abs to generate it) if i need an extra index? what is with ccl.properties, Search.pm and bib1.att, can i forget them forever?
22:13 JoeLib001 Eythian said this earlier: I install the packages and create an instance called 'dev', then I check out the git repo somewhere. Then modify koha-conf.xml and the apache conf to point everything to git rather than /usr/share/koha
22:13 So, all I should need to do is replace all /usr/share/koha paths with the kohaclone path?
22:15 jcamins drojf: don't change record.abs if you're using DOM. You still have to modify ccl.properties, Search.pm, and bib1.att as appropriate.
22:15 See my rewrite for a hopeful future where that's unnecessary.
22:15 JoeLib001: probably, but I've never tried it.
22:16 drojf would have been too great
22:18 JoeLib001: http://wiki.koha-community.org[…]ent_Code_Checkout
22:36 JoeLib001 Well, I didn't do something right. ;-)
22:37 Can't locate DateTime/Format/MySQL.pm in @INC (@INC contains: /etc/koha/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /etc/koha/kohaclone/C4/Koha.pm line 30.
22:41 drojf you are just missing a dependency, apt-get libdatetime-format-mysql-perl
22:41 i guess i made something weird too, now i don't find anything in koha :D screw it, going to bed
22:41 good night #koha
22:48 maximep left #koha
22:48 libsysguy @wunder 75707
22:48 huginn libsysguy: The current temperature in Lake Tyler (D3895), Tyler, Texas is 35.6°C (5:44 PM CDT on August 01, 2012). Conditions: Clear. Humidity: 39%. Dew Point: 20.0°C. Pressure: 29.87 in 1011 hPa (Falling). Heat advisory in effect until 7 PM CDT Thursday...
22:48 libsysguy yup hot
22:51 JoeLib001 Hehe. ;-)
22:52 Hmm...., I am trying to point to a intranet directory in my kohaclone that doesn't exist. That's awesome. ;-)
22:52 jcamins_away @wunder 11375
22:52 huginn jcamins_away: The current temperature in APRSWXNET Jackson Heights NY US, Corona, New York is 23.9°C (6:32 PM EDT on August 01, 2012). Conditions: Overcast. Humidity: 84%. Dew Point: 21.0°C. Pressure: 29.85 in 1011 hPa (Rising).
22:52 jcamins_away JoeLib001: point it just to the kohaclone directory.
22:53 JoeLib001 For the intranet/htdocs?
22:53 jcamins_away Yes.
22:53 JoeLib001 Oh.
22:53 Ok.
22:53 rambutan joined #koha
22:54 JoeLib001 Lines like this: <intrahtdocs>/etc/koha/kohaclone/intra​net/htdocs/intranet-tmpl</intrahtdocs>
22:54 Should Read: /etc/koha/kohaclone/?
22:55 jenkins_koha Project Koha_3.8.x build #116: SUCCESS in 1 hr 3 min: http://jenkins.koha-community.[…]b/Koha_3.8.x/116/
22:55 Chris Cormack: Bug 7143: Updating history and about file
22:55 JoeLib001 With the opening and closing tags.
22:55 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7143 trivial, P5 - low, ---, katrin.fischer, ASSIGNED , Bug for tracking changes to the about page
22:55 jcamins_away Your kohaclone shouldn't be in /etc.
22:55 It should be in /home or something like that.
22:55 /etc is for configuration files only.
22:55 JoeLib001 Should I redo my kohaclone?
22:55 jcamins_away No, just move the directory.
22:56 mv /etc/koha/kohaclone /home/joelib001
22:56 :)
22:56 JoeLib001 Yep.
23:05 I don't need to change this line? ScriptAlias /index.html "/usr/share/koha/intranet/cgi-bin/mainpage.pl"
23:06 papa joined #koha
23:19 rambutan left #koha
23:21 jenkins_koha Starting build #117 for job Koha_3.8.x (previous build: SUCCESS)
23:26 rangi http://search.cpan.org/dist/Re[…]egexp/Debugger.pm
23:26 https://metacpan.org/module/Bench
23:32 JoeLib001 Hmm..., still getting this error. Can't locate DateTime/Format/MySQL.pm in @INC (@INC contains: /home/joe/kohaclone /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/joe/kohaclone/C4/Koha.pm line 30.
23:32 rangi looks like you have missed installing a module
23:32 JoeLib001 I'm working with git.
23:32 rangi you using debian/ubuntu or something else?
23:32 JoeLib001 Trying to run Koha from my git install.
23:32 rangi yes, thats a module that Koha needs to run
23:33 JoeLib001 It wouldn't have been installed when I installed koha-common?
23:33 rangi sudo apt-get install libdatetime-format-mysql-perl
23:33 not unless you installed from the dev repo, because thats not needed for 3.8.x
23:34 its a new module, for 3.10.0 when thats released
23:34 JoeLib001 Aaahh....
23:34 So, I am running into dependency errors.
23:35 rangi yep run
23:35 JoeLib001 Ok, 'cause that fixed the first error. Now I have another. ;-)
23:35 rangi koha_perl_deps.pl -m
23:35 so ./koha_perl_deps.pl -m
23:35 in your git checkout
23:36 it will less all you are missing
23:36 less=list
23:37 JoeLib001 ? NO /home/joe/kohaclone/intran​et/cgi-bin/kohaversion.pl at /home/joe/kohaclone/C4/Context.pm line 220.
23:38 rangi config file is still not right
23:39 JoeLib001 Ah, the /etc/koha/apache-shared-intranet.conf file?
23:39 rangi your koha_conf.xml one
23:40 unless you got that in your webbrowser?
23:40 im assuming you got it when you ran the command to get the dependencies?
23:44 JoeLib001 Ah, no. I'm getting that when I try to connect to 127.0.0.1:8080
23:45 rangi then yep, it is your apache conf
23:45 JoeLib001 Ah,  <intranetdir>/home/joe/kohaclone​/intranet/cgi-bin</intranetdir>
23:46 rangi yep
23:46 that will do it
23:46 dont need the intranet/cgi-bin on the end
23:47 JoeLib001 Ok.
23:48 Ok, think I have the conf file good. Now I need to make sure to fix the 10 dependencies before I expect anything to work. ;-)
23:51 I can't seem to find a package for this: CHI                                           0 *               0.36
23:52 0 being my version and .36 being the version expected.
23:54 rangi ahh its optional
23:54 you can skip that one
23:55 JoeLib001 Good, cause I can't find it. hehe.

← Previous day | Today | Next day → | Search | Index

koha1