IRC log for #koha, 2012-08-07

All times shown according to UTC.

Time S Nick Message
00:23 rangi hi Judit
00:24 Judit nz has 3 gold in rowing!
00:24 rangi yep, and a bronze
00:25 rangi we might get another in the k1/2000m womens
00:25 rangi and we should get one or 2 sailing ones too
00:25 rangi things with boats we are good at it seems
00:25 Judit hungary and nz pretty much the same at the moment as for medals
00:25 Judit this guy is my favourite rower at the moment:[…]7l5-1226440138933
00:26 rangi ah yeah :)
00:26 rangi i like the cook islands kayaker too
00:26 Judit what else is the usual nz medal winner?
00:26 rangi we got a silver in shotput
00:27 rangi triathlon we sometimes get medals in
00:27 rangi and cycling
00:27 Judit teamgames?
00:27 rangi we should get a medal in womens hockey
00:29 Judit olympics time waster:
00:30 rangi heh
00:42 wizzyrea joined #koha
00:52 rangi sup wizzyrea
00:52 wizzyrea not much :)
01:03 rangi hhmmm i guess we should add the openlx people eh?
01:21 libsysguy joined #koha
02:05 chris_n` joined #koha
02:47 Judit joined #koha
04:15 cait joined #koha
04:16 cait morning #koha
04:16 rangi hi cait
04:16 cait hi rangi
04:16 rangi Needs Signoff - 98  .. for the first time in ages, below 100
04:21 cait woot
04:21 cait you have one lots today
05:01 mtompset joined #koha
05:07 mbalmer joined #koha
05:08 mtompset Greetings, #koha.
05:08 mtompset Looks like today, I get to check out my Koha bugs.
05:19 mtompset Why don't have a stated preference for spaces or tabs, do we? It's weird reading code when my tabs and spaces cause bizarre indention.
05:19 mtompset Drop the why... Do we have a standard?
05:21 cait we have
05:21 cait 4 spaces
05:23 cait but there is also a rule to not reindent old code only to reindent
05:23 cait :)
05:23 mtompset Is there a link somewhere that states that?
05:23 cait it should be in the coding guidelines?
05:23 mtompset Yes, but someone added new code. They used tabs. |I think their tab setting is to 4.
05:23 cait then rm or qa will complain about it
05:24 cait they already do in lots of cases
05:24 mtompset -- unless they have their tab settings to 4 as well, in which case they won't notice it. :)
05:24 mtompset Oh, and greetings, cait. :)
05:24 cait hi mtompset
05:25 cait you can still see a difference between tab and spaces
05:25 mtompset Not if I change the display width of my tabs to 4.
05:25 cait if you show the .. hm characters you will
05:25 cait not sure how you call that
05:25 mtompset And only if I got to the line.
05:25 mtompset go to...
05:26 cait but it doesn't matter much, if someone slipped in tabs, it's still wrong
05:26 cait even if it succeeded
05:26 cait we have a rule
05:27 mtompset I like rules. It makes decision making easier. Though, sometimes they make doing harder. Nah... Still like rules.
05:27 cait I don't think using spaces instea of tabs makes anything harder - you can set your editor to do spaces for a tab
05:27 cait so it's not even different in typing
05:28 mtompset I only noticed because I was checking my bug: bug 8175.
05:28 huginn Bug[…]w_bug.cgi?id=8175 normal, P5 - low, ---, gmcharlt, Needs Signoff , Check for something in materials field fails in catalogue/
05:29 mtompset I'm sure the analytic code is new.
05:30 mtompset ^sure^pretty sure^
05:35 mtompset workflow?
05:35 mtompset work flow?
05:43 mveron joined #koha
05:45 Oak joined #koha
05:45 Oak kia ora #koha
05:45 Oak hello mtompset :)
05:45 Oak cait!
05:45 cait hi Oak :)
05:45 Oak magnuse
05:46 Oak :)
05:46 * Oak sends rangi ice cream.
05:46 cait :)
05:46 mtompset Greetings, Oak.
05:47 mtompset Sorry, I work from home, and my son distracted me. :)
05:47 mtompset @wunder MNL
05:47 huginn mtompset: The current temperature in Manila, Philippines is 23.0°C (1:00 PM PHT on August 07, 2012). Conditions: Heavy Rain. Humidity: 100%. Dew Point: 23.0°C. Pressure: 29.71 in 1006 hPa (Falling).
05:47 mtompset It should say "Torrential Rain".
05:48 Oak :) rain is good.
05:48 Oak @wunder islamabad
05:48 dcook joined #koha
05:48 huginn Oak: The current temperature in Islamabad, Pakistan is 32.0°C (10:00 AM PKT on August 07, 2012). Conditions: Haze. Humidity: 62%. Dew Point: 24.0°C. Pressure: 29.68 in 1005 hPa (Steady).
05:49 Oak @wunder konstanz
05:49 huginn Oak: The current temperature in Taegerwilen, Taegerwilen, Germany is 12.1°C (7:45 AM CEST on August 07, 2012). Conditions: Clear. Humidity: 96%. Dew Point: 12.0°C. Pressure: 30.24 in 1024 hPa (Steady).
05:49 Oak hmm
05:49 mtompset Greetings, dcook
05:49 dcook Hola mtompset
05:49 cait hi dcook :)
05:49 dcook Hey cait :)
05:50 cait Oak: yeah, could be a bit nicer :)
05:52 Oak compared to ours, it's very very nice :)
05:52 cait :)
05:55 dcook Potentially quick question for you, cait. I notice that you've posted a patch that introduced a system preference in the past. What are all the areas that a person needs to add besides the actual script in question. I'm seeing "sysprefs.sql", "", and "opac.pref" (or whatever relevant .pref file). Are there any others that I might be missing?
05:55 cait nope :)
05:55 cait those are all
05:55 cait updatedatabase for updating existing installations, syspref.sql to make it work on new installations and the pref file to make it visible in the editor
05:55 cait all good
05:56 dcook Awesome! Thanks :)
05:59 magnuse dcook:[…]system_preference
05:59 * magnuse waves
06:00 cait hi magnuse :)
06:00 magnuse guten morgen cait
06:00 magnuse @wunder boo
06:00 huginn magnuse: The current temperature in Bodo, Norway is 10.0°C (7:50 AM CEST on August 07, 2012). Conditions: Scattered Clouds. Humidity: 94%. Dew Point: 9.0°C. Pressure: 29.74 in 1007 hPa (Steady).
06:00 cait you think we could still call for gbsd on friday?
06:00 cait I ddidn't manage to update the wiki page :(
06:00 magnuse yup, better late than never!
06:00 cait :)
06:01 * magnuse wants to go and see te takere when it's finished
06:01 * cait too
06:03 dcook Thanks, magnuse. I really should take more advantage of the wiki...
06:04 magnuse dcook: you are not alone then, i think :-)
06:04 dcook :)
06:05 dcook I wonder if I'm alone on my newest burden though
06:05 magnuse cait: feel like sending out an email?
06:05 dcook Someone changed the permissions of the files in the git, and now all sorts of badness is happening..
06:05 * cait hides
06:06 cait maybe after the dentist
06:06 cait will you be around later?
06:06 magnuse cait: yup
06:06 magnuse dcook: i had that happen once too - i just started over with a fresh clone...
06:07 mtj dcook:  why not just roll back your repo to before the badness?
06:08 Judit joined #koha
06:09 Judit hi
06:09 wahanui salut, Judit
06:10 mtj ... you have a problem that git solves perfectly, afaik
06:10 dcook I'm pondering how to do that at this point
06:10 dcook The permission changes don't appear the same as regular code changes
06:11 dcook When I try a git stash save, it says there are no changes to save :/
06:11 mtj i'm sure git tracks file-perms?!
06:12 dcook It must somehow.
06:12 * dcook ventures off to Google-land
06:13 mtj oops, me wrong :)
06:13 mtj just did a little test - looks like me wrogn :/
06:14 Irma joined #koha
06:14 mtj[…]ontentLimitations
06:16 dcook Hmm, this is problematic
06:17 magnuse kia ora Irma!
06:17 Irma Bonjour magnuse    ... how are you?
06:18 magnuse Irma: all good :-)
06:18 Irma how is the new born?
06:18 magnuse he's good too - eating and growing
06:19 Irma magnuse: Good to hear!
06:19 magnuse Irma: :-)
06:20 * magnuse wanders off to make breakfast for the mum
06:32 cait left #koha
06:43 julian_m joined #koha
06:49 dcook Interesting factoid...
06:50 dcook It appears that one can only open a directory in Linux if the execute bit is set
06:56 dcook Also: " find . -type d -exec chmod 000 {} \; " works like a charm for just chmodding directories.
06:57 dcook In the end, zee git is saved ^_^
06:59 mtompset You mean 700, not 000, right?
07:05 dcook I just copied and pasted the example
07:05 dcook I figured 000 was better than xxx
07:08 dcook I'm off to gallivant around the city now though. 'night, mtompset
07:08 Oak joined #koha
07:09 gaetan_B joined #koha
07:09 gaetan_B hello
07:11 mtompset 700 = drwx------
07:11 matts hi !
07:13 mtompset doh! Too slow.
07:16 hdl joined #koha
07:32 kf joined #koha
07:32 kf good morning again #koha
07:33 sophie_m1 joined #koha
07:34 mveron Hi kf :-)
07:35 kf hi mveron
07:35 kf :)
07:38 rangi hmm is biblionumber maybed to a control field in UNIMARC?
07:38 magnuse maybed?
07:38 kf oh don't say bed...
07:38 sophie_m1 joined #koha
07:38 hdl rangi: it is mapped to 001 by default iirc
07:38 rangi well this patch is harmless if not anyway, and if it is, then it will stop the error
07:39 rangi ahhh so not 999
07:39 rangi no wonder i couldnt reproduce this
07:39 rangi cool thanks hdl
07:39 * rangi changes mapping to test
07:39 hdl French UNIMARC i mean.
07:39 rangi *nod*
07:39 rangi thats what i had done wrong
07:39 rangi cool, signing off
07:40 kf rangi++
07:40 kf lots of sign-offs
07:45 * rangi starts testing bug 7986
07:45 huginn Bug[…]w_bug.cgi?id=7986 enhancement, P5 - low, ---, jonathan.druart, Needs Signoff , Export issues
07:45 Oak joined #koha
07:46 kf rangi: you kicked me off the dashboard - I will have to change that :)
07:50 rangi go on then, i dare you
07:50 mtompset I was wondering if anyone could confirm that searching for <space> (the actual single space bar kind) triggers an error in their logs.
07:53 rangi is joubu about?
08:09 rangi can't sign off, but it should be an easy fix
08:10 drojf joined #koha
08:12 drojf hello #koha
08:12 eythian joined #koha
08:13 rangi hi drojf
08:13 rangi hi eythian
08:13 drojf hey rangi
08:13 eythian howdy
08:13 magnuse kia ora!
08:14 drojf[…]ware-1650191.html
08:16 * magnuse sends the article to his kindle for later reading
08:19 eythian that seems to have a bit of a misunderstanding of kickstarter, which is more "if we get enough money, we'll do this thing", not a way of continuous income.
08:20 eythian (also requires a US bank account, but that's not a feature of the model per se)
08:22 Oak joined #koha
08:22 drojf eythian: i suppose that would kind of work if you get people to fund huge projects that you can work on for several months or longer, and/or you get several of your projects funded and you can work on one after the other. but i don't think that is really something "stable" that somebody would like to depend on to pay his/her bills
08:24 eythian[…]but-with-your-own <-- there is stuff like this too
08:27 * kf waves
08:27 drojf eythian: that is cool
08:27 drojf hi kf
08:29 * magnuse wonders briefly if[…]AL/lib/sqitch.pod might be useful for koha
08:31 magnuse "Sqitch is a database change management application."
08:32 kf it is a standalone change management system with no opinions about your  database engine, application framework, or your development environment.
08:37 drojf App-Sqitch-0.80-TRIAL. trial?
08:38 kf seems to be a dev version
08:38 kf hm a no, ignore me
08:39 rangi yeah its a dev release, hasnt had a stable release yet afaict
08:40 kf ah, got confused :)
08:41 drojf yes i think there are only dev releases. but trial is a weird name, sounds like a testversion before you pay for something. like in the good old windows days
08:41 eythian A shareware cpan module, eh
08:41 magnuse hehe
08:41 drojf :)
08:42 kf good old?
08:44 * magnuse suspects a hint a of irony...
08:45 drojf well, the best thing about it lies in the past ;)
08:45 drojf …about it is that it lies in the past. not awake yet
08:46 Joubu joined #koha
08:46 Joubu hi #koha
08:48 rangi hi Joubu
08:50 Joubu jcamins_away: gaetan_B told me you want to talk to me ? :)
08:50 rangi Joubu: did you accidentally obsolete the first patch on bug 7986 ?
08:50 huginn Bug[…]w_bug.cgi?id=7986 enhancement, P5 - low, ---, jonathan.druart, Needs Signoff , Export issues
08:50 Joubu rangi: oups yes !
08:50 rangi cool, ill unobsolete it :)
08:50 rangi just checking
08:51 hdl joined #koha
08:55 * rangi retests
08:57 drojf "needs signoff: 94". cool, so 115 was not hardcoded ;)
09:00 rangi oooh the keirin
09:00 rangi this is such a ridiculous event
09:01 kf keirin?
09:02 rangi
09:02 drojf lol. i miss a lot of funny things not watching sports
09:02 kf huh
09:02 kf weird :)
09:04 drojf no, japanese ;)
09:07 rangi nzer just qualified for the next round
09:08 magnuse yay!
09:09 magnuse oh, too bad kohacon13 isn't in april, may or june! (my local airline starts a direct route from copenhagen to san francisco and has introductory offers in that period :-)
09:09 rangi you could go really really early :)
09:09 drojf magnuse: go early, spend the money you don't have to pay for the flight on holidays ;)
09:10 magnuse ooh, good plan!
09:13 rangi kf: germany just qualified too
09:14 kf we have keirin cyclers?
09:14 rangi apparently
09:15 rangi most countried appear to, its just a complicated sprint race :)
09:15 rangi france in this next heat
09:16 kf nz germany in hockey was a draw?
09:16 rangi yep
09:16 kf hm 0:0?
09:16 rangi yep
09:16 rangi last time germany won 5-1
09:16 rangi so good improvement
09:16 rangi and now nz in the semi finals for the first time ever!
09:17 rangi (for womens hockey anyway)
09:18 * magnuse thinks hockey = ice hockey
09:18 rangi wrong olympics for that
09:19 rangi france won that heat
09:19 magnuse yeah, summer olympics is kind of boring for norwegians ;-)
09:20 * magnuse thinks any kind of olympics is kind of boring, though
09:21 drojf1 joined #koha
09:21 rangi handball
09:21 rangi
09:21 magnuse yeah, thanks
09:21 rangi id watch that, if i had any idea what the hell was going on
09:22 * magnuse knows someone who played on the norwegian handball team in 1992 (and maybe 1996?)
09:22 rangi ill watch the kayak tho
09:37 mtj woah, scary ->[…]onan-hacking/all/
09:38 drojf yeah for "the cloud"
09:38 mtj its a clever exploit too
09:39 mtompset What does "17:09:08-07/08 zebraidx(4597) [warn] Unknown register type:" mean?
09:39 drojf social engineering? sure
09:40 mtj yep, an oldie - but a goodie :)
09:40 mtj mtompset:  hmm, not sure...
09:40 mtj ... have you edited any of your zebra files?
09:41 kf mtompset: I see that error too - still hoping someone will fix it - doesn't seem to have bad consequences so far
09:41 kf and no idea what it measn.
09:42 mtompset No. I did a git pull, web admin update, and then I figured I better do a full zebra index because a search for THE failed.
09:42 mtompset I mean staff client triggered web update.
09:43 mtj aah ok - just curious..
09:43 hdl
09:45 mtompset Is the 4597 an error code or a record number?
09:46 eythian probably a PID
09:50 mtompset correct... I just did a ps aux | grep zebra.
09:56 mtompset I found this old post:[…]March/002465.html
09:56 mtompset I'm seeing what's in the default.idx file.
09:57 mtompset abs files?
10:03 drojf not sure what that question means
10:04 mtompset I was noticing the comment on top.
10:04 mtompset It isn't a question.
10:05 eythian[…]onan-hacking/all/ <-- beware the ides of cloud (and apple ;)
10:05 mtompset Though, I notice that a search for record.abs on bugzilla shows bug 7818 and bug 8136 which are pushed.
10:05 huginn Bug[…]w_bug.cgi?id=7818 critical, P1 - high, ---, robin, Pushed to Stable , support DOM mode for Zebra indexing of bibliographic records
10:05 huginn Bug[…]w_bug.cgi?id=8136 normal, P5 - low, ---, christophe.croullebois, Pushed to Stable , Changes the expected lenght of 100$a in
10:06 mtompset I'm guessing something in 8136 may have triggered this warning which I didn't have before.
10:07 drojf mtompset: that is for unimarc
10:07 Oak joined #koha
10:08 mtompset True. :(
10:08 magnuse Oak
10:13 mtompset Greetings, Oak... I almost typed Okay. :)
10:23 Oak magnuse
10:23 Oak :) mtompset
10:24 kf mtompset: did you activate dom indexing?
10:24 mtompset dom is the default setting.
10:25 mtompset Are you suggesting there's a set I missed? If so, what is it?
10:25 mtompset ^set^step^
10:26 mtompset should have I rebuilt after the git pull?
10:45 mtompset My poor VM's and netbook are grunting away.
10:47 mtompset anyone want an easy signoff? check out bug 8175. :)
10:47 huginn Bug[…]w_bug.cgi?id=8175 normal, P5 - low, ---, gmcharlt, Needs Signoff , Check for something in materials field fails in catalogue/
10:50 sophie_m joined #koha
10:51 rangi ive done enough sign offs today, someone elses turn :)
10:53 mtompset Come on... I'm pretty sure this is one you looked at before.
10:54 rangi yep, ive done 14 today. if its easy someone else can do it :)
11:04 magnuse rangi++
11:13 kf rangi++
11:21 liw rangi++
11:26 mtompset 14... wow
11:27 mtompset rangi++
11:27 jwagner joined #koha
11:27 jcamins Joubu: I was trying to figure out the benefit of Moo.
11:29 eythian it's how cows talk to each other.
11:30 kf lol
11:30 tweetbot` joined #koha
11:33 eythian <-- careful, this is what the olympics brings out in people
11:33 magnuse lol
11:33 eythian <-- or this
11:33 magnuse ouch?
11:34 drojf joined #koha
11:35 kf eythian: vampires?
11:35 eythian synchronised swimmers, but close enough
11:47 nengard joined #koha
11:56 Joubu jcamins: In june, I attend to the FPW (French Perl Workshop). Here is a talk by Matt Trout (the author of Moo). He explains why he wrote Moo. (sound is quite bad...)
11:57 eythian koha/intranet/modules/C4/ <-- I wonder who it was who did that kind of thing ...
11:57 jcamins Hehe.
11:58 mtj heh, some idiot - before she got herself decent scm...
11:59 mtj ^a
12:00 * jcamins is watching the video.
12:00 mtj ... back in the back old days before git  :/
12:01 mtj i like the idea of using moo first
12:01 mtj if we find the need to - we can always 'upgrade' from moo to moose, easy
12:02 jcamins mtj: I'm still looking for the killer feature of Moo that makes it superior to Class::Accessor.
12:02 koyauni joined #koha
12:02 mtj if we find the need to - we can always 'upgrade' from  Class::Accessor to moo ?
12:02 eythian trying to establish a standard OO library?
12:03 jcamins eythian: okay, why Moo and not Class::Accessor?
12:03 eythian I've not used either
12:03 koyauni I am new to Koha, is there any special room dealing with installation of KOHA please
12:04 eythian jcamins: my preference is small and easy to learn/use, that's about it.
12:04 eythian koyauni: there's no special room, there is just here.
12:05 mtj i guess the advantage of moo over C::A - is the easier upgrade to moose, if koha needed too?
12:05 eythian mtj: jcamins: why not Mouse? :)
12:05 koyauni :) I found installing of Koha a nightmare, I need to install it on a subdomain on a dedicated server
12:05 eythian that's the standard way of doing it, yeah
12:05 koyauni anyone got tips for me where to look
12:05 mtj its 3 times the size of moo?
12:06 eythian koyauni: running Debian?
12:06 eythian (or Ubuntu 12.04)
12:06 mtj koyauni:  use the debian koha packages... on debian
12:06 koyauni CentOS
12:06 eythian oh.
12:06 eythian CentOS is harder.
12:06 hdl mtj eythian seems that Moo is WAY faster than Mouse
12:06 koyauni It is REDhat CentOS 6.2
12:06 hdl and lighter too.
12:06 eythian fair enough. I was just trying to confuse the issue more ;)
12:06 eythian koyauni: there's no such thing as redhat centos :)
12:07 eythian and unless they've restarted their versioning, redhat 6.2 is very. very old
12:07 koyauni well, the server host says that CentOS is Redhat free version
12:07 hdl and btw and fwiw, Moo is both compatible with Moose and Mouse.
12:07 mtj koyauni: use koha on debian *first*, if you have problems with centos
12:07 eythian oh, they've restarted their versioning.
12:08 mtj hdl:  thanks for the info... and hi!
12:08 eythian koyauni: it'
12:08 hdl hi mtj.
12:08 eythian koyauni: it's possible to do it on centos, but a lot harder than on debian
12:08 koyauni well we are a university in Iraq and we have this dedicated server with
12:09 koyauni so there is no choice of using what anything but what they offer
12:09 eythian ah right. In that case, you'll just have to walk through the instructions for centos carefully. I've never done it, but I know that people have.
12:09 jcamins koyauni:[…]n_Centos_6.2_i386
12:10 koyauni how come Koha is not friendly as installing Joomla, Wordpress or Drupal, :(
12:10 jcamins Unfortunately, that is all the help I can give you.
12:10 jcamins Because Koha is a much larger application.
12:10 kf koyauni: what jcamins said
12:10 eythian koyauni: there is much, much more configuration required, and options available.
12:10 koyauni I have seen that but that spread all over the server and I am not able to make auto backup of the application
12:11 eythian koyauni: 99% of everything is stored in the database, you just back up your database.
12:12 mtj koyauni:  and no need to backup all perl dependancies either... just database
12:12 koyauni I even suggested to Google Summer code to take Koha and make more easier to average school/uni
12:13 mtj koha install can be easy... if you choose the easy way to install koha
12:13 eythian koyauni: on Debian, installation is fairly easy.
12:13 jcamins koyauni: the problem with GSOC is there has to be a volunteer willing to spend an entire summer working with a student.
12:13 koyauni Then I guess I have to give it a go
12:14 eythian part of the problem on centos is that centos doesn't provide all the required libraries, so you have to get them in there by hand.
12:14 eythian koha can't fix that (easily)
12:14 koyauni I think this is best application a uni can get, but it need to become easy to handle.
12:15 koyauni I see, I have already put the latest Perl 5.16
12:15 koyauni and I am doing other pack slowly,
12:15 koyauni id Ubuntu better
12:15 eythian I can get it running on Ubuntu or Debian in about an hour, including installing the OS
12:15 liw it would be possible for someone to create the necessary RPM packages for Koha and its dependencies, but that takes some effort; that effort is already spent on the Debian packages, and the RPM packages will happen when someone spends the effort on RPM packaging too (continued effort: it's not a one-time task)
12:16 liw once that's done, installing on CentOS should become as easy as installing on Debian
12:16 liw (I would just rent a Debian host for Koha, myself, but then I'm biased)
12:16 eythian liw: I get the impression there'd be many, many more packages required than there is for the debian installation.
12:16 sophie_m joined #koha
12:16 jcamins In the intest of making conversation, you're not at AUI-S, are you?
12:16 liw eythian, that is my impression too
12:17 koyauni sorry are you asking me
12:17 jcamins koyauni: yep. :)
12:17 koyauni what is AUI-S
12:17 eythian mtj: I'm tempted to give you this code to work out, there's not even a comment that explains what it's trying to do :(
12:17 jcamins American University of Iraq at Sulaimani. I guess you're not there.
12:17 koyauni no, no
12:18 koyauni I am at Koya University, I am trying to get our all them manual library into Koha
12:18 * jcamins would have asked you to give his greetings to the faculty he knows there if you were.
12:18 koyauni
12:19 koyauni I have created thsi subdomain
12:20 mtj eythian:  i'm curious for a look
12:20 koyauni hoping to get this work, I got a paid dev to do this, a 2 hrs work became 3 weeks and at the end our server crashed :(
12:20 koyauni so I am trying to find out why he could not do this
12:21 jcamins koyauni: I've heard that some people have successfully installed Koha on CentOS.
12:21 jcamins That said, I refuse to take jobs that require me to try it.
12:21 eythian mtj: it's "", last CVS id is 2007
12:21 eythian something to do with a custom report that gives information about item flow
12:22 koyauni please if you can do this for us it will be of great help to our students
12:22 oleonard joined #koha
12:22 eythian koyauni: if you have the budget for it, you could get a hosted koha
12:22 * jcamins cannot, but if you take a look at the paid support page, you might find someone who would be willing to take it on.
12:22 jcamins Or you could go with a hosted system, which is what I would probably recommend.
12:23 mtj paid support?
12:23 wahanui please see for a list of paid Koha support vendors.
12:23 * jcamins also generally avoids dealing with self-hosted systems even when they are running Debian.
12:23 drojf try to get mtompset to do it, he likes to make koha run on weird non-debian linuxes ;)
12:23 koyauni no I checked that, that kind of money for state owned uni does not exist, here you have to do it yourself our leave it
12:23 mtompset Ha ha, drojf.
12:24 mtj eythian: hmm... doesnt ring a bell ?
12:24 jcamins drojf: hehe. Last I heard he had thrown up his hands in frustration and given up on installing Koha on CentOS, at least until tomorrow.
12:24 mtompset It's become a low priority.
12:24 dpavlin joined #koha
12:24 eythian mtj: for Rangetikei? 5 years ago? how could you not remember? ;)
12:24 jcamins Understandably.
12:24 mtompset But my yuminstall script is available for those who dare to run it on an RPM-based OS.
12:25 koyauni we have PRM on our server
12:25 mtompset It lists what is missing.
12:25 koyauni at least I did install it yesterday
12:25 mtompset And you will have to CPAN.
12:25 koyauni yes, that exist as well
12:25 koyauni what is the command to check that, I can check that now
12:25 mtompset Though, I would recommend just following the instructions that were linked here before.
12:27 mtompset[…]n_Centos_6.2_i386
12:27 mtompset Anything I would give would probably confuse you more.
12:28 jcamins Agreed.
12:28 jcamins :P
12:28 mtompset I can feel the love, jcamins.
12:28 koyauni that instruction guide you as you will have only Koha on the server, but this server has 10 major websites on it,
12:28 mtompset Just remember I helped get nicely cleaned up for your use. :P
12:29 jcamins mtompset: it's an awesome script!
12:29 jcamins makes generating the releases much easier.
12:30 jcamins koyauni: I don't suppose that makes a whole lot of difference. However, as no one here has tried it, you'll have to keep that in mind and be prepared to troubleshoot.
12:30 drojf can i specify in git to install something like 3.8.7, i mean specify the exact version? i am wondering if i switch from packages to git when i wipe our installation with the zebra problems. would be easier to have local changes
12:31 eythian drojf: yes, just checkout that tag
12:31 drojf cool
12:31 eythian though, I build packages with customations in and deploy them through a repo.
12:31 mtompset Actually, if you are familiar with apache configuration, you should be able to tweak the instructions at the end, koyauni.
12:31 drojf eythian: i was thinking about that, but that would mean i would have to set up the building stuff too
12:32 eythian it's not too hard.
12:32 mtompset drojf: I've done all three kinds of installs.
12:32 drojf eythian: is there something about that in the wiki? i remember i built debian packages for something a long time AGO
12:32 drojf damn computer with working caps lock
12:32 mtompset The major advantage of packages is the disk space saving when you don't have to build it yourself.
12:33 edveal joined #koha
12:33 drojf[…]g_Debian_Packages
12:33 eythian drojf: yeah, that
12:33 wahanui yeah, that is cool - a way to enhance the OPAC without bloating Koha...
12:35 mtompset Oh, you're going to pre-package stuff yourself.
12:35 mtompset Nevermind. I haven't tried that yet. I'm still a novice.
12:36 eythian drojf: by-and-large, just run build-git-snapshot
12:36 eythian I have shell scripts to put things into repositories etc, but that's about it.
12:37 mtompset Dumb question... Let's say in 4-6 months, I actually have time, and I do succeed at getting sort of clean RPM-based OS installs. Would I be able to request a site to host RPM's of the missing libraries?
12:37 eythian yes
12:38 koyauni The server admin says that they can have debian on our server but we will loose all data and we need to configure everything from scartch
12:38 eythian (requesting is easy, but I expect someone will give it to you ;)
12:39 jcamins Joubu: I watched the video, and I see why Moo is superior to Moose, but not why it's superior to Class::Accessor.
12:39 mtompset losing all data doesn't sound good. you said there were 10 other systems.
12:40 mtompset jcamins: I suspect the fact that it has Moose compatible syntax makes it better, in the speakers mind?
12:40 eythian it should be installable on a system like that, all you need is another virtual host, everything else is pretty much independent.
12:41 mtompset The major problem with multiple OO systems is multiple syntaxes.
12:42 mtompset Wait... doesn't Class::Accessor have a Moose clone syntax?
12:42 koyauni I guess getting a new Debian host is best option then
12:43 jcamins mtompset: no idea. I'm still looking for any reason that Moo is superior to Class::Accessor all the way across.
12:43 eythian If it's busy, koha can put a reasonable amount of load on a system too, it's own host may prevent it upsetting other services.
12:43 ago43 joined #koha
12:43 mtompset It seems to provide more functionality?
12:43 mtompset Which actually may be a drawback, if you want something trim.
12:44 talljoy joined #koha
12:44 mtompset Yes, getting a new debian system is the best option.
12:44 mtj koyauni: start with a debian koha - when you have done a koha on debian, try a centos koha
12:45 mtj koyauni:  don't run - before you learn to walk...
12:45 mtompset mtj made a good suggestion. Once you've installed it at least once, it will help you understand the installation procedure.
12:46 jcamins mtompset: yes, Class::Accessor supports a Moose-like syntax.
12:46 koyauni We have Dev in house he has already done this on Debian,
12:46 mtj koyauni: then,  when your centos koha is broken - you have a working debian koha to compare with
12:46 koyauni but that is locally and we want that on the server
12:47 mtompset I think a potential disadvantage of Class:Accessor is being limited to just Accessors. Moo provides the ability to expand beyond that, though you don't have to.
12:48 Joubu jcamins: For me, a good argument is the activity of the project. Last version for Class::Accessor is 15 Sep 2009. Instead of Moo, 04 Aug 2012 for the last version on cpan
12:48 mtompset Activity doesn't mean much... perhaps Class:Accessor is perfect the way it is. ;)
12:48 eythian activity is fairly important
12:48 jcamins Joubu: on the other hand, the Class::Accessor functionality appears to be fully-implemented, and we haven't encountered any bugs. It could be that Moo doesn't deliver on its promise yet.
12:49 mtompset It was a very interesting video to watch though. :)
12:49 eythian are there many open bugs?
12:49 eythian (also much indication of a userbase)
12:50 koyauni is links 3 here good enough to go for
12:50 koyauni
12:51 mtj having no experience with either... my hunch is moo, over C::A
12:51 jcamins koyauni: no, you need more than 256MB of RAM.
12:51 jcamins At least 512, and better 1GB.
12:51 mtj 1) moo is closely related to mouse and moose     2) more commit activity
12:52 mtj 3) mst wrote it :)
12:52 eythian also, 10GB of disk is risky
12:52 jcamins True.
12:52 mtompset 512MB is painfully small for 39000 items.
12:53 koyauni that means link 5 at least, $60 a months
12:53 koyauni do you guys know any cheaper hosting
12:53 jcamins That seems rather pricey. Linode 768 is only $30.
12:53 jcamins
12:54 mtj koyauni:   i  use linode for koha, muuuuch cheaper
12:54 liw rents real hardware (not virtual machines) for that price, and you can then have each of your sites in a virtual machine you set up on that real hardware yourself, if you want
12:54 talljoy joined #koha
12:55 arrun joined #koha
12:55 arrun hi
12:56 jcamins mtj: I'm still looking for a reason why it would be worth my time to rewrite working code in Moo. I am willing to, if there is a technical reason it would be worthwhile.
12:56 mtj jcamins:  i cant think of any reason :)
12:56 mtompset Because if you are re-writing the authentication modules, Class:Accessor isn't enough. ;)
12:57 mtj mtompset: why not?
12:57 mtompset I haven't thought why. I'm just rambling in this case. ;)
12:58 edveal left #koha
12:58 edveal joined #koha
12:58 mtj jcamins:  fyi: i'm not suggesting you should rewrite your stuff to - i think its ok as it is....
12:59 eythian I would vote against a proliferation of OO frameworks however
12:59 eythian Because that way lies madness
13:00 mtompset Yes... but how many does Koha currently have?
13:00 eythian 0, I think.
13:00 mtompset It has Class:Accessor.
13:01 eythian it does? I haven't seen that, but I haven't looked ither.
13:01 eythian +e
13:01 mtompset And I haven't gone looking, but I suspect... there is another way in there somewhere.
13:03 hdl eythian: iirc, Class::Accessor is required for SIP2 support.
13:03 eythian Ah right, I've not looked into the SIP stuff
13:04 hdl and seems to be used in C4::Cache
13:04 mtompset Yes, that is the one I was thinking of, but couldn't remember.
13:04 mtompset
13:05 mtompset
13:05 mtompset
13:05 mtompset What is C4::Linker?
13:06 eythian authorities linking?
13:06 eythian just guessing
13:06 mtompset Good guess.
13:06 NateC joined #koha
13:06 mtompset C4::Linker - Base class for linking authorities to bibliographic records
13:07 eythian The fact we're using it already seems like a vote for Class::Accessor then
13:08 mtompset Yes, but Koha::SearchEngine::* uses Moose.
13:08 mtompset Moose, Moose::Role, Moose:Util
13:09 mtompset C4::Installer uses MooseX::Storage and MooseX::Types
13:10 mtompset Nevermind that lastbit.
13:10 mtompset It's listing PerlDependencies.
13:10 mtompset but that is strange....
13:11 oleonard Good news: The "needs signoff" list is down to 91 bugs. Bad news: 91 "needs signoff" bugs sounds like an improvement.
13:11 mtompset Why does PerlDependencies have MooseX, where there are no other *.p[lm] files which
13:11 mtompset which have Moose?
13:12 mtompset or specifically MooseX.
13:13 mtompset That means it must have been over 100 before rangi put in 14 signoffs earlier today.
13:13 oleonard rangi++
13:13 mtompset Congrats to rangi bringing it below triple digits!
13:14 * Guest1725 waves
13:14 Guest1725 hmm
13:14 wizzyrea that's nicer.
13:14 * wizzyrea waves
13:14 mtompset Greetings, wizzyrea
13:14 * oleonard would have recognized that "waves" anywhere
13:15 wizzyrea hehe
13:15 wizzyrea how is everyone this morning
13:15 * oleonard is sleepy
13:15 * wizzyrea goes to check out mtj's qa tools.
13:16 * wizzyrea has been frustrated by failing tests for a long time now
13:16 wizzyrea mostly because I won't sign off on anything if it fails tests. Knowing which tests are failing before the patch and if the patch introduces new ones semi-automatically will be a big help to me
13:16 wizzyrea mtj++
13:17 Joubu jcamins: "Class::Accessor functionality appears to be fully-implemented," > Yes, you are right, but apparently, there is not many features :) From[…]d#Class::Accessor : "Even though it doesn't do much, it is still preferable to writing your own classes from scratch."  And under the "Perl OO Systems" title there is an other sentence: "There's really no good reason to write your classes from scratch in
13:18 mtj wizzyrea: take a look at Joubu's qa-tools tweaks , too
13:19 wizzyrea mtj: go to bed :)
13:19 wizzyrea <3
13:19 * mtj just about to :p
13:19 mtj oo
13:20 jcamins Joubu: right, but what feature from Moo makes it worth the additional overhead?
13:20 * jcamins is not writing off the possibility that there is, he just doesn't see it.
13:22 Joubu Apparently Class::Accessor does not support the isa attributes
13:23 jcamins isa attributes?
13:23 jcamins Oh, you mean types?
13:23 jcamins Moo doesn't have native support for types either.
13:24 Joubu mtompset: Koha::SearchEngine::Solr could be rewrite with Moo. Moose and Moo are compatibles. But Koha::SearchEngine::Solr use Data::SearchEngine::Solr which use Moose :-/
13:24 jcamins Joubu: but I think Data::SearchEngine::Solr works with the version of Moose in Debian.
13:25 mtompset And if we are using Moose (due to Data::SearchEngine), it would make more sense to stick with it.
13:26 jcamins These are all wonderful reasons why Moo isn't worse than Class::Accessor, but I'm still waiting on a reason why it is better.
13:26 * jcamins is operating under the assumption that someone actually has a reason?
13:27 jcamins For example, how is Moose's extends superior to use base?
13:29 mtompset Actually, I just looked at the two bug reports on Class::Accessor. It seems that the one is a documentation tweak in the POD stuff, and the second is writing uglier, faster code.
13:29 Joubu jcamins: yes but isa is supported (not with the Moose types). It's easy to test setters and constructors.
13:30 * Joubu discover the Moo documentation ...
13:30 mtj interesting too...
13:30 mtj "Class::Accessor does a lot less than Moose, and is a nice alternative if you find Moose overwhelming. It's been around a long time and is well battle-tested. It also has a minimal Moose compatibility mode which makes moving from Class::Accessor to Moose easy."
13:30 mtj C::A has minimal Moose compatibility mode which makes moving from class::Accessor to Moose easy
13:30 jcamins Joubu: yeah, I the Moo documentation.
13:31 * jcamins needs the "Moo for managers" version. ;)
13:31 mtj so,   the switch from one to other is  quite possible - with some shared code , even
13:32 libsysguy joined #koha
13:33 mtj i guess we should formally/officially have a +1 vote on this technical issue, really
13:33 jcamins mtj: that seems like a good way to get a lot of uninformed opinions.
13:34 jcamins If I can't figure out why Moo, chances are a lot of us developers don't really get what's better about it.
13:34 jcamins So far I've come up with "you don't have to write your own new() method- probably."
13:35 mtj both class:accessor and moose have been added into the koha codebase, without a plan to use one , or the other OO system
13:35 mtompset That's more of a reason against Moo. ;)
13:35 jcamins mtj: well, Moose isn't an option.
13:35 jcamins 3.25 seconds to load a program that prints "Hi."
13:36 mtompset 3.25 seconds for a "Hello World"?!
13:36 mtj touche jcamins  :)
13:36 jcamins mtompset: yup.
13:36 mtj ok, so moose really is out then :p
13:37 jcamins It doesn't even do anything with Moose.
13:37 mtompset Moose has to be used for Solr.
13:37 mtj so, c::a or moo/mouse, then
13:37 mtompset But I do think what we can take away from this conversation is that we should be looking at Moose compatible syntax.
13:37 jcamins mtompset: so we should make it so that no part of Koha is fast enough to use on commodity hardware?
13:38 mtj or simply... solr must use plack - ir it is tooo slow
13:38 mtompset Of course not!
13:38 koyauni sorry guys, thanks you for the tips and help
13:38 jcamins mtj: agreed. If you're using Solr, you have to be a Perl wizard anyway, so you should be able to get Plack set up.
13:38 mtompset That's where Class::Accessor comes in./
13:39 Joubu Apparently we could include Mouse in the list of choices... which one supports the isa with types ( has 'x' => (is => 'rw', isa => 'Int'); )
13:39 mtj moose without plack on naked-cgi, sounds horrible :/
13:39 jcamins mtj: 3.25 seconds to load a file, then it has to be run. :/
13:39 jcamins Joubu: I will run my benchmark with Mouse.
13:39 mtj holy cow thats slowwwww
13:40 mtompset Thankfully, a user expects a little slow in a search... a LITTLE slow... not a tonnes.
13:40 mtompset -s
13:41 mtj man, that is funny
13:41 jcamins Mouse: Profile of for 256ms, executing 1879 statements and 307 subroutine calls in 22 source files and 2 string evals.
13:42 Joubu jcamins:[…]nd-mo-for-oo-perl
13:42 mtj ok, heres what i wanna know - using plack, does moose run fast?
13:42 jcamins mtj: I would presume so. But we need to maintain suport for CGI, or support mod_perl.
13:42 jcamins Since we already support CGI, and don't support mod_perl, I think that's the way to go.
13:42 Joubu But it is an old benchmark
13:43 mtj jcamins: when plack is stable.. we can ditch cgi, yes?
13:43 jcamins mtj: no.
13:44 jcamins CGI and mod_perl are well-supported on commodity VPSes.
13:44 jcamins Plack?
13:44 wahanui Plack is a FastCGI thingy that works with Koha. See for more information.
13:44 jcamins Yeah, that pretty much covers it.
13:45 mtj hmm, good point jcamins
13:45 jcamins It requires a stack of non-standard libraries, and a hand-tailored configuration file.
13:45 mtj very plack-ified code wont run on basic cgi?
13:46 mtj is there no way to fix moose's slow load, other than plack?
13:46 jcamins Not if it uses Moose.
13:46 jcamins Yeah, don't use it.
13:46 mtj ie: mod_perl even?
13:46 jcamins[…]g.cgi?id=7417#c23
13:46 huginn Bug 7417: enhancement, P5 - low, ---, jcamins, Signed Off , Include alternate forms from authorities in bibliographic searches
13:47 jcamins mod_perl or CGI.
13:47 jcamins But we have never had Koha working with mod_perl.
13:47 jcamins So we either have to get Koha working with mod_perl, CGI, *and* Plack, then switch to Moose, or not use Moose for Koha's core.
13:47 mtj well, many other parts of koha are non-standard perl deps, too - not just plack or moose
13:47 jcamins At least, that's my analysis.
13:47 jcamins Yeah, but all other dependencies compile.
13:48 maximep joined #koha
13:48 jcamins And if you are using Plack, you can't have any other virtual hosts on your server.
13:48 mtj debian stable has a moose.deb? and plack?
13:48 jcamins Or you have to set up a passthrough proxy.
13:48 mtj jcamins:  no - thats incorrect!
13:48 jcamins Moose is too old, and some of the Plack packages we need are very grouchy.
13:49 mtj i have many plack vhosts
13:49 jcamins mtj: right, but they're all Plack, right?
13:49 kf1 joined #koha
13:49 mtj no way!
13:49 jcamins I mean, you can't mix a normal website (which uses Apache) with a Plack site.
13:49 jcamins You can only have one program listening on port 80.
13:50 jcamins You don't have nginx (or something) listening on port 80 and dispatching requests?
13:50 mtj i use a simple apache-proxy technique
13:50 drojf my plack listen on 5000, 5001. and my nonplack mediawiki worked
13:50 drojf i think
13:50 jcamins For the record, I have Plack and numerous other sites running on my server.
13:51 jcamins But Plack is listening on 5000/5001, and I use nginx to proxy that site.
13:51 Joubu yet another benchmark
13:51 jcamins It works great.
13:51 drojf ah i think i misunderstood
13:52 jcamins Joubu: ooh, I like that benchmark, cool!
13:52 jcamins Looks like Moo and Mouse swap back and forth.
13:53 mtj wow, lets stay far away from moose?
13:54 mtompset -- except for the impending search changes to integrate Solr. ;)
13:54 jcamins Right. So the question returns to "do I rewrite 7417 to use Moo/Mouse?"
13:54 mtj is it possible to rewrite the moose code around solr to moo, or other ?
13:55 jcamins mtj: the Koha code could be rewritten to use Moo.
13:55 jcamins Data::SearchEngine::Solr could not be.
13:55 mtj data::SearchEngine::Solr has a big moose dep?
13:56 jcamins Well, it's a third-party library.
13:57 mtompset bug 7417
13:57 wahanui i guess bug 7417 is a good one too
13:57 huginn Bug[…]w_bug.cgi?id=7417 enhancement, P5 - low, ---, jcamins, Signed Off , Include alternate forms from authorities in bibliographic searches
13:57 mtj aah ok :)
13:58 mtompset Modern::Perl forces strict and warnings?
13:58 jeff believe so, yes.
13:59 jcamins Right.
13:59 mtj theres a decent chance that D::Solr may run on ?
13:59 jcamins mtj: I couldn't say.
13:59 mtompset Let's not go wasting time changing third party libraries that should work.
13:59 mtj after a little testing... i could ? :)
14:00 Joubu mtompset: yes equivalent to use strict;warnings;5.10
14:00 mtj mtompset: for a 3.5 second speed bump? lets... :)
14:00 mtompset Consider against a plakified version.
14:00 mtompset That 3.5 seconds may not be such a big bump.
14:01 mtompset What's the difference between "return undef if ($@);" and "return if ($@);"?
14:01 Joubu I can try to replace Moose with Moo in Koha::SearchEngine::Solr before the end of this week if it is necessary
14:01 jcamins mtj: the former isn't allowed by PBP, the latter is.
14:01 Joubu mtompset: return undef does not pass perlcritic
14:02 mtj mtompset:  dude, in computer-land - 3.5 seconds is a real longgg time
14:02 jcamins Joubu: if that is part of your plan, as a compromise I'll adopt Moo for 7417. :)
14:02 jcamins Hm.
14:02 jcamins Possible problem here...
14:02 jcamins plugins.
14:02 wahanui plugins are just enabled or disabled with Wordpress, aren't they?
14:02 mtompset mtj, I'm saying that if the code is plakified, the 3.25 seconds might not exist on the second search.
14:02 jcamins I guess I can't use Module::Pluggable.
14:03 jcamins Right. the 3.25 seconds are just to start up the server.
14:03 Joubu jcamins: I have no plan :)
14:03 mtompset Which means converting it to moo is overkill.
14:03 jcamins Can I use Module::Pluggable with Moo?
14:04 jcamins mtompset: except that we can get Moo to compile. So if you're not using Solr you can still run tests.
14:04 mtompset We can't get Moose to compile?
14:05 mtompset I guess I'm not seeing the problem. There's two conversation threads. mtj wants to Moo'ify the search engine third party library.
14:06 mtompset And something about plugins.
14:06 Joubu jcamins: As I said in our discussion yesterday, I don't want to impose any choice. I am open-minded :)
14:07 mtj mtompset: im suggesting it, as a performance tweak
14:07 mtj a one-line change,  s/use Moose/use Moo/
14:08 mtompset That I understood, mtj.
14:08 jcamins Joubu: I'm open-minded too... but if two open-minded people settle on Moo as an alternative to both Class::Accessor and Moose, that seems like the start of a movement.
14:08 jcamins The issue with plugins is that I use plugins heavily, and I'm not sure if Moo and Module::Pluggable play nicely together.
14:08 mtompset As long as the word Bowel doesn't come in there. ;)
14:14 mtompset I'm just saying that for something plakified, the 3.25 seconds once in the course of a server's uptime seems okay.
14:15 mtj mtompset: we do noy yet have a plack-safe Koha system
14:15 mtompset But that is the goal.
14:15 mtj until we get there... we have a veeery slow system
14:15 mtompset And if you Moo'ify now, you'll have to moo'ify it each time we update the Solr stuff.
14:16 mtompset Solr is optional now, so Moose isn't a problem.
14:16 mtj ha, fair point ..:)
14:17 jcamins Well, switching to Moose-like syntax on Class::Accessor was nice and painless.
14:17 * mtompset nods.
14:17 mtompset I liked that about the documentation. It looked pretty easy.
14:17 mtj one thing for sureis... we will get there in the end :)
14:18 mtompset but if you feel in a coding frenzy mood... go ahead and moo'ify it now. ;)
14:18 jcamins Switching to Moo is a bit more complicated.
14:18 mtj thanks... or you, too ...
14:19 mtompset No... I need to relocate a couple things before going to bed.
14:20 mtj my hunch is: moose is  here for a while, with koha
14:20 mtj prolly a few other data::SearchEngine::Solrne::* modules us moose, too
14:21 mtj sorry,  data::SearchEngine::Solrne::* modules
14:21 mtj oops, bad cut/paste :/
14:24 mtompset Oh, if you haven't seen how bad it is in Manila:
14:25 mtompset We have some flooding in the market. I'm praying it doesn't rain more. I don't want to get flooded out of the house.
14:25 mtj Data-SearchEngine looks to have a bunch of moose code too
14:26 jcamins mtj: yeah, I'd think.
14:26 mtj so, we'll just have to use plack type techniques to speed it up, while koha uses moose  :/
14:27 mtompset that would be the plan.
14:27 mtj ... and when people complain about koha being too slow, say '"use plack"
14:27 mtompset no, tell them to use Zebra. ;)
14:28 * mtompset cackles evilly at the thought that Zebra will never go away. ;)
14:28 jcamins As RM Presumptive, I won't be accepting any Moose-using code for anything outside of the Solr tree.
14:28 mtj will new koha-3.10 zebra module use moose, too?
14:28 mtj jcamins: snap
14:28 jcamins mtj: there won't be a new module.
14:29 mtj hmm, ok..
14:29 jcamins If the search rewrite I proposed gets funded, I will not use Moose for it, though.
14:29 jcamins I switched 7417 to Moose-like syntax.
14:29 jcamins If anyone wants to see what it looks like.
14:30 mtj right... new zebra code - yes , but no new zebra module
14:30 jcamins For 3.10?
14:30 jcamins I don't think there's going to be any new Zebra code.
14:31 jcamins Unless you're writing it? :)
14:32 mtj i swear i've recently seen some Koha*Zebra module?
14:32 mtj aah ->[…]earchEngine-Zebra
14:32 jcamins Yes. It doesn't do anything.
14:33 mtj might be that.. :)
14:33 Joubu jcamins: How could you rewrite the SearchEngine layer without introducing new zebra code ?
14:33 jcamins Joubu: oh, there will be lots of new Zebra code for the search rewrite.
14:34 jcamins But that's not going to be funded before 3.10.
14:34 Joubu haaa ok :)
14:34 jcamins And I had understood that your focus was on the Solr code, since Zebra is working to the extent that it ever worked. ;)
14:35 eythian <-- mtj, I think this does pretty much the same as that processing_report thing
14:35 eythian now just to clean it up some
14:35 eythian annoying I have to use the subquery twice though
14:38 tcohen joined #koha
14:39 jcamins Looks like in order to use Moo properly I'd have to add a lot more code.
14:40 * jcamins waves to tcohen.
14:40 eythian[…]u-software-center <-- hey, for people deploying Koha and setting it up in the library, this might be useful
14:40 eythian it lets you turn a website into an app (essentially)
14:40 wizzyrea chrome/chromium does this too - it's wicked.
14:41 * wizzyrea currently uses a version of portable firefox
14:41 wizzyrea but this would probably be better
14:42 jcamins tcohen: should be pretty easy to fix.
14:42 jcamins (bug 8520 on the authority autocomplete)
14:42 huginn Bug[…]w_bug.cgi?id=8520 critical, P5 - low, ---, jcamins, Pushed to Stable , Authorities display incorrectly in staff results
14:43 eythian wizzyrea: do you mean like app tabs (which ffx does too) or something fancier?
14:43 mtompset someone wants to do sign offs? bug 8175 needs some love. :)
14:43 huginn Bug[…]w_bug.cgi?id=8175 normal, P5 - low, ---, gmcharlt, Needs Signoff , Check for something in materials field fails in catalogue/
14:43 eythian Ubuntu is also getting into integrating websites into the desktop, e.g. grooveshark showing up on the sound menu, and things like that. It's an interesting idea. I have the beta installed and it's still quirky, but a great idea.
14:43 wahanui okay, eythian.
14:43 jcamins Ubuntu?
14:43 wahanui somebody said Ubuntu was installed. or getting into integrating websites into the desktop, e.g. grooveshark showing up on the sound menu, and things like that. It's an interesting idea. I have the beta installed and it's still quirky, but a great idea.
14:43 eythian ...
14:44 * mtompset laughs.
14:44 eythian thanks, wahanui. thahanui.
14:44 mtompset Well, Good night.
14:44 eythian later
14:44 * mtompset waves.
14:45 * wizzyrea likes ubuntu's ui. there. I said it.
14:45 wizzyrea I know lots of people hate it.
14:45 eythian I like it too
14:45 oleonard Disappearing menus and all, wizzyrea ?
14:45 wizzyrea *nod*
14:45 eythian oleonard: press 'alt', it's a new level of awesome :)
14:45 wizzyrea ^^
14:46 oleonard Weird whack-a-mole scrollbar handles?
14:46 jcamins It doesn't work on small screens.
14:46 eythian oleonard: who uses a scrollbar?
14:46 wizzyrea who has a small screen?
14:46 eythian also, that's improved in 12.04, now they appear under your mouse
14:46 wizzyrea actually, I do - i have a 13in lappy
14:46 oleonard Nobody who has them enabled the Ubuntu way :P
14:47 eythian previously they were a waste of space, now they're not which is nice :)
14:47 wizzyrea i scroll with the mouse >.>
14:47 wizzyrea also, some OSX apps do the whole hide your scrollbar thing
14:47 wizzyrea i'm not so bothered.
14:47 * oleonard turns that off
14:47 eythian wizzyrea: handy trick: bind the window zooming out thing to a spare mouse button
14:48 wizzyrea you have SPARE MOUSE BUTTONS?
14:48 * wizzyrea swoons
14:48 eythian yeah, this thing has a thumb button that I don't use for anything
14:48 eythian except for the zooming thing
14:48 wizzyrea i like the corners for that, a la osx
14:48 eythian you can enable that too
14:48 wizzyrea *nod* i did ;)
14:48 eythian but I prefer this as it's faster
14:49 wizzyrea did I mention that I like the euro-time eythian.
14:49 wizzyrea ;)
14:49 eythian heh
14:49 wizzyrea it means I actually get to talk to you now and then :)
14:50 wizzyrea it's purely selfish :)
14:52 eythian I am a rare commodity.
14:53 eythian ohh current humble indie bundle thing has music
14:54 eythian amusingly, they still split out the averages by operating system, and Linux users are still the wealthiest/most generous.
14:55 eythian <-- this being what I'm referring to
14:56 wizzyrea hmmm
15:13 eythian has anyone seen something, where if you have two date pickers in a report, you can't click on the calendar of the second one?
15:13 eythian (well, you can but nothing happens)
15:14 wizzyrea ooh, no.
15:15 wizzyrea you mean in the guided reports wizard?
15:16 eythian no, when you create SQL with e.g. WHERE (entrydate >= <<Start Date|date>> AND (datereceived < <<Last Date|date>>
15:16 wizzyrea k sec
15:16 eythian the "Last Date" popup doesn't pop up
15:18 oleonard In master eythian?
15:18 wizzyrea yea, it picks the date
15:19 eythian oleonard: no, 3.8
15:19 wizzyrea for the first box instead of the second
15:19 * wizzyrea looked at master
15:19 eythian wizzyrea: heh, different but similar :)
15:19 wizzyrea eythian: what browser are you using?
15:19 * wizzyrea is using chrome
15:19 wizzyrea er no
15:19 wizzyrea firefox
15:19 eythian firefox
15:20 wizzyrea k
15:20 drojf joined #koha
15:23 oleonard Great, so 3.8 and master are both broken but in different ways
15:23 * oleonard knows who to blame for it being broken in master
15:24 jcamins What doesn't work?
15:24 * wizzyrea will illustrate
15:25 wizzyrea (master)
15:26 jcamins Ah.
15:26 jcamins Ouch.
15:26 eythian handling of failed SQL in reports sucks too.
15:27 wizzyrea i  mean, the solution is "don't use the date picker"
15:27 wizzyrea I'd really love to see the actual error
15:27 wizzyrea in reports
15:27 drojf joined #koha
15:27 maximep is this still up to date ?[…]ng_Database_Files
15:27 maximep I think it's the first time I send a patch with a database change :S
15:28 eythian so the issue with the datepicker in 3.8 is that they all end up with the ID "date_"
15:28 eythian which is against the law.
15:28 jcamins maximep: no.
15:29 jcamins Well, it's close.
15:29 oleonard Isn't there a T:T variable for the number of the current row in a FOREACH?
15:30 jcamins maximep:[…]ystem_Preferences <-- that's better.
15:31 jcamins If you are changing the database structure, you just put the SQL code in the $dbh->do instead of an INSERT.
15:31 jcamins And you have to update kohastructure.sql.
15:31 eythian <-- so this works in the mysql cli, but in koha it says "execute failed: Subquery returns more than 1 row"
15:31 eythian anyone know why?
15:33 wizzyrea you aren't using the parameters right? you're defining your dates explicitly? (just ruling that out)
15:33 maximep jcamins: thanks!
15:33 eythian wizzyrea: there are no parameters, I removed them to be sure
15:33 wizzyrea k
15:35 eythian and if I copy-paste that into mysql, it's fine
15:36 wizzyrea well I don't have data in my db for that but it does come back with the select, it's not an error
15:36 wizzyrea and nothing in the log
15:37 eythian it probably wouldn't error in this way if there were no data
15:37 wizzyrea yea, unfortunately that's what I was afraid of
15:37 jcamins Joubu: I suppose you'll be leaving soon, but if you are still here, I'm looking at julian_m's script for bug 7419, and I'd like your QAer's opinion.
15:37 huginn Bug[…]w_bug.cgi?id=7419 enhancement, P5 - low, ---, julian.maurice, Needs Signoff , Add authority deduplication script
15:38 wizzyrea ohh when did we add the edit button to the results screen.
15:38 wizzyrea that is superfrackinhandy
15:38 eythian it is
15:38 eythian it's in 3.8
15:38 wizzyrea it's probably been there forever and I just didn't notice it
15:39 * wizzyrea doesn't run 3.8 in production yet
15:39 eythian hmm, if I log the SQL, remove the apache stuff, I can paste it into mysql and it works.
15:39 wizzyrea i was scurred.
15:39 eythian We've just put the first few on it.
15:39 wizzyrea we do mostly fines and circ - problematic areas. :P
15:41 eythian ah yeah
15:41 eythian we put it on the ones that do less of that
15:42 wizzyrea oh yes, as much as I would like 20 libraries calling me complaining about double fines, I think I'll take a pass on that.
15:43 wizzyrea though I think that particular thing has been fixed.
15:44 oleonard Instead they can call and complain about not being able to log in to Overdrive
15:44 * wizzyrea doesn't use that either
15:44 wizzyrea :)
15:44 wizzyrea but if I understand it, that was a pretty easy fix
15:44 wizzyrea or at least, a tolerable one
15:44 oleonard Yeah
15:44 eythian ahh
15:44 wizzyrea yay for fixing SIP to work with french selfchecks, but breaking it for Overdrive!
15:45 eythian koha adds "limit 0,1" to get the headers
15:45 eythian that breaks the query somehow
15:45 oleonard Don't make us come over there, France!
15:45 wizzyrea oo
15:45 wizzyrea :)
15:45 eythian oleonard: I'm already over here
15:46 * oleonard wonders why loop.count isn't working for him[…]html#section_loop
15:47 oleonard Oh wait it is, never mind.
15:47 eythian ohh
15:47 eythian koha removes the LIMIT from a subquery!
15:47 eythian bad koha, bad.
15:48 eythian $sql =~ s/\bLIMIT\b\s*(\d+)(\s*\,\s*(\d+))?\s*/ /ig;
15:48 eythian not good
15:49 * jcamins thought of a reason to use Moo.
15:50 Joubu jcamins: humm... it's difficult for me. I don't know the zebra code :-/ There is a lot of factorisation. I don't see what he does exactly
15:50 jcamins Using Moo, we could be very sneaky and have $authority->marcrecord retrieve the MARC record from the database only when it is needed.
15:50 jcamins Joubu: the first patch just moves code from rebuild_zebra to C4::Search.
15:50 nengard anyone know what needs to be done to get a KohaCon13 page up on the website?  Just talked to Nancy and she's gonna email out an invite to the first conference meeting soon but I figured we should get the site up and running so we can post stuff there too
15:51 jcamins THe second patch is the functionality.
15:51 jcamins My question, though, is about the first patch.
15:51 jcamins Would it pass QA (assuming it works)?
15:51 wizzyrea nengard: just make a page for it
15:52 nengard Okey Dokey
15:52 nengard :)
15:52 wizzyrea and we can give her a user to do stuff to it
15:55 Joubu jcamins: C4::Search is already huge and I think this patch has to take this in consideration. I see DeleteRecordIndex and IndexRecord. These routines should belong to a new "indexation module"
15:55 jcamins Joubu: that was my instinct, that the patch wouldn't pass QA.
15:56 jcamins So I need to think about how to make it pass QA rather than just writing a follow-up to add my additional features.
15:56 eythian jcamins: just rewrite What could possibly go wrong?
15:56 jcamins eythian: I proposed doing that.
15:57 eythian while you're at it, needs some work.
15:57 jcamins lol
15:57 eythian Oh, and
15:57 eythian 'preciate it :)
15:57 * eythian leaves now, expecting this to all be completed tomorrow
16:01 Joubu jcamins: I will try to discut with Julian (tomorrow?) about a new file. But where can we put it ? C4::Index (beurk) ? Koha::? In fact this code is for Koha::SearchEngine::Zebra::Index, but can we add this code now ?
16:02 jcamins I think it would require too much refactoring to put it in Koha:: now.
16:02 jcamins I think probably C4::Index is the best option, even though it's awful.
16:02 tcohen joined #koha
16:02 jcamins Maybe C4::ZebraIndex, so it's clear what it does.
16:03 jcamins But until the authority code *and* biblio code has moved to Koha::, it will have a whole lot of dependencies.
16:03 jcamins And we want to make sure there aren't any circular dependencies in Koha::.
16:04 Joubu I'm ok for C4::ZebraIndex
16:05 wizzyrea pretty wicked:
16:06 melia joined #koha
16:07 gaetan_B bye !
16:11 sophie_m left #koha
16:18 adnc_ joined #koha
16:20 Joubu bye ! ++
16:20 Joubu left #koha
16:32 brylie joined #koha
16:38 nengard wizzyrea I created the page, but we might need some menu work on it ?
16:38 wizzyrea thanks I'll deal with it
16:42 nengard thank you!
16:42 nengard Pages are up on the wiki as well
16:42 nengard if anyone wants to volunteer or what not:[…]KohaCon13_Summary
16:42 nengard there's not much there yet, but it will all grow
16:44 wizzyrea was there a kohacon11?
16:44 wizzyrea oh right india
16:44 wizzyrea der
16:46 * liw missed kohacon12 :(
16:47 cait-m__ joined #koha
16:48 * oleonard missed kohacon10, kohacon11, and kohacon12 :(
16:48 * oleonard is happy for a kohacon close to home
16:48 wizzyrea i missed 11 and 12
16:48 oleonard ...relatively speaking
16:48 wizzyrea may miss 13
16:49 * jcamins missed 11 and 12 as well.
16:49 jcamins Wait, I had started using Koha by Kohacon10.
16:49 oleonard c'mon US folks, no excuses this time
16:49 * oleonard drags wizzyrea along
16:49 jcamins So I can count that one as missed, too.
16:50 wizzyrea someone have an idea for the blurb on this page
16:50 wizzyrea
16:50 wizzyrea I'm not feeling very creative
16:50 oleonard <Marvin voice>Oh, Kohacon. It's another Kohacon.</Marvin voice>
16:50 jcamins Hehe.
16:59 maximep mveron: thanks for fixing my patch =)
17:00 mveron maximep: De rien  :-)
17:00 maximep haha
17:30 cwts12 joined #koha
17:36 cwts12 I have question on Notices and Slips.  Does it mean we can send email for the books that were checked out. and how is it setup on the cronjob?
17:38 oleonard cwts12: Yes, you can have Koha send an email to the patron when they check things out
17:39 oleonard http://manual.koha-community.o[…]ools.html#notices
17:39 oleonard and ...
17:39 oleonard http://manual.koha-community.o[…].html#noticescron
17:42 cait-m__ joined #koha
17:43 cwts12 Thanks, that was what I have done for overdue, advanced notice... but I did not see a cronjob for check out slip
17:45 oleonard The process_message_queue script sends all emails which have been queued by Koha, including item checkout notifications
17:48 cwts12 Right, I see,, and, but I do not see  Or is there one for such?
17:49 libsysguy joined #koha
17:50 oleonard cwts12: http://manual.koha-community.o[…].html#noticescron
17:50 oleonard misc/cronjobs/
17:51 jwagner cwts12, checkout, checkin, and hold slips are generated automatically by the system -- no cron job needed to create them. The message queue cron is what actually sends out all emails.
17:55 cwts12 Is same as
17:56 jwagner No.  You want misc/cronjobs/
17:56 jcamins No. Only the first one exists.
17:56 jcamins must be for a different program entirely.
17:59 jwagner Need some git help -- was trying to do a git pull on my master dev box, and it's telling me error: cannot open .git/FETCH_HEAD: Read-only file system
17:59 jwagner git pull has always worked fine before
18:00 jcamins jwagner: you are in the wrong directory? If you are one directory up from kohaclone, and it crossed to / looking for .git, you could end up with some funny error messages.
18:00 wizzyrea jwagner - maybe you are signed in as a user that doesn't own that repo?
18:00 wizzyrea i.e. file permissions
18:00 jwagner No, I'm in kohaclone, and logged in as my normal "owner" user ID
18:00 wizzyrea maybe you are root instead of jwagner (or vice versa)
18:00 jcamins And, just to confirm, you are able to edit files other than in the git repo?
18:01 jwagner jcamins, you seem to have hit it -- outside the kohaclone tree, I'm getting errors about opening the file for writing.
18:01 jwagner E303: Unable to open swap file for "test", recovery impossible
18:01 wizzyrea out of disk space?
18:02 jwagner Must be something wrong with the box itself, I'll ask the IT folks
18:02 wizzyrea df would tell you
18:02 jwagner No, df looks fine
18:02 jcamins Try restarting.
18:02 wizzyrea ^^ this
18:02 jcamins I think the problem is that grub was nudged to the emergency holographic shell.
18:03 wizzyrea problem?
18:03 wahanui it has been said that problem is its human beings doing it
18:03 wizzyrea problem is also that grub was nudged to the emergency holographic shell
18:03 wahanui okay, wizzyrea.
18:03 wizzyrea problem?
18:03 wahanui well, problem is its human beings doing it or that grub was nudged to the emergency holographic shell
18:03 jwagner Rebooting was IT's first suggestion too. Let's see how it goes.
18:03 * wizzyrea giggles
18:10 jwagner Aaaaannnnndddd ....  rebooting seems to have fixed the problem. Thanks everyone.
18:11 wizzyrea yay!
18:11 cait-m__ joined #koha
18:14 jwagner There are few problems that can't be solved with patience, ingenuity, and a large kick in the pants (assuming servers wear pants, that is).
18:20 wizzyrea @quote add jwagner: There are few problems that can't be solved with patience, ingenuity, and a large kick in the pants (assuming servers wear pants, that is).
18:20 huginn wizzyrea: Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command).
18:20 wizzyrea humbug.
18:20 wizzyrea @quote add jwagner: There are few problems that can't be solved with patience, ingenuity, and a large kick in the pants (assuming servers wear pants, that is).
18:20 huginn wizzyrea: The operation succeeded.  Quote #213 added.
18:20 wizzyrea there we go. :)
18:20 wizzyrea @quote random
18:20 huginn wizzyrea: Quote #97: "chris_n shakes his fist (again) in the direction of Redmond" (added by wizzyrea at 03:21 PM, October 08, 2010)
18:21 jwagner Unfortunately I didn't wear my steel-toed boots today....
18:21 wizzyrea @quote random
18:21 huginn wizzyrea: Quote #85: "owen: Nothing says embracing my geekness like participating in an IRC meeting about software licenses!" (added by kf at 12:23 PM, July 14, 2010)
18:21 wizzyrea hehe
18:21 wizzyrea @quote random
18:21 huginn wizzyrea: Quote #72: "<nengard> it's evil xslt in the staff client" (added by jdavidb at 12:28 PM, April 29, 2010)
18:21 wizzyrea @quote random
18:21 huginn wizzyrea: Quote #19: "<chris> i just want to yell things like don't kick the ball, pass it and Feed the backs" (added by jdavidb at 12:11 PM, July 27, 2009)
18:26 wizzyrea @quote random
18:26 huginn wizzyrea: Quote #45: "<CGI988> sekjal - you are a genious!!!!! asking me about the browser!!!! yes it's the #$%$#%$#ing IE was messing my cataloguing, oh I hate miscrosoft, the evil!" (added by gmcharlt at 07:00 PM, November 05, 2009)
18:28 maximep is it public knowledge that IE < 9 is a piece of shit and what we have to do to make it work ?
18:30 wizzyrea you mean debase every principle we hold dear?
18:31 wizzyrea (is what we have to do to make things work in ie < 9)
18:31 wizzyrea i always just figure that people who use IE < 9 just think the internet is really broken.
18:31 wizzyrea s/internet/www/
18:32 jwagner Firefox is rapidly approaching that level too, sigh.
18:32 wizzyrea it's definitely reaching it's awkward adolescent phase.
18:32 wizzyrea chrome isn't much better though at the moment
18:42 cait-m__ joined #koha
18:42 wizzyrea hey cait
18:42 jcamins Bug 8589... not an easy one to lick.
18:42 huginn Bug[…]w_bug.cgi?id=8589 enhancement, P5 - low, ---, gmcharlt, NEW , Advanced Search for itemtype and location produces some results that are not useful
18:52 brylie joined #koha
18:57 cait joined #koha
19:02 oleonard Comparing Firefox to IE is taking things a little too far
19:03 wizzyrea hehe
19:03 wizzyrea idk, i'm kind of mad at browsers in general
19:04 wizzyrea but you know, I do ask them to cope with like, 30x tabs open.
19:04 wizzyrea :P
19:09 * oleonard would rather put up with Firefox's infrequent crashes than IE's 24x7 awfulness
19:12 cait-m__ joined #koha
19:12 wizzyrea hm I suppose that's true
19:13 * oleonard hasn't had IE open long enough to know whether it crashes, not for a long time anyway
19:17 oleonard Bug 8588
19:17 huginn Bug[…]w_bug.cgi?id=8588 normal, P5 - low, ---, oleonard, Needs Signoff , Duplicate field IDs cause problems with SQL report parameter entry
19:18 oleonard That patch should make multiple datepickers work in SQL report parameters
19:18 oleonard ...among other label+id improvements
19:21 nengard was there a bug where the 'checked out from' column on the circ screen wasn't being populated?
19:22 * oleonard doesn't recall that, but no longer has the entire bug database in his memory banks
19:22 nengard okay i found a bug
19:22 nengard i'll report it
19:24 maximep looks like I asked a discussion question here and then forgot about it. heh.
19:25 maximep firefox with tabs groups is just great =)
19:25 maximep but still using Opera as my main. Yeah, Gentoo/Opera/KDE user. I'm weird.
19:28 brylie joined #koha
19:37 libsysguy joined #koha
19:39 eythian joined #koha
19:42 cait-m__ joined #koha
19:43 rangi Morning
19:43 oleonard Hi rangi
19:43 cait morning rangi
19:43 oleonard How's the volcano today rangi?
19:46 rangi Steaming but quiet
19:47 wizzyrea mornin thar
19:48 rangi @wunder nzwn
19:48 huginn rangi: The current temperature in Wellington, New Zealand is 9.0°C (7:00 AM NZST on August 08, 2012). Conditions: Light Rain. Humidity: 93%. Dew Point: 8.0°C. Pressure: 29.59 in 1002 hPa (Steady).
19:48 wizzyrea chillyish
19:49 rangi Yeah wet
19:55 rangi And full bus
19:57 wizzyrea @wunder 66049
19:57 huginn wizzyrea: The current temperature in Jeff's Weather Lab, Lawrence, Kansas is 38.4°C (2:55 PM CDT on August 07, 2012). Conditions: Clear. Humidity: 10%. Dew Point: 1.0°C. Pressure: 29.94 in 1014 hPa (Steady).
19:59 rangi Too hot!
19:59 wizzyrea very much too hot
19:59 wizzyrea cloudy even!
19:59 wizzyrea or at least, it looks cloudy, even though it says "clear"
19:59 wizzyrea LIES
20:03 * cait agrees on too hot
20:03 jcamins @wunder 11375
20:03 huginn jcamins: The current temperature in APRSWXNET Jackson Heights NY US, Corona, New York is 26.7°C (3:32 PM EDT on August 07, 2012). Conditions: Mostly Cloudy. Humidity: 55%. Dew Point: 17.0°C. Pressure: 29.96 in 1015 hPa (Falling).
20:04 wizzyrea better there :)
20:04 cait @wunder Konstanz
20:04 huginn cait: The current temperature in Taegerwilen, Taegerwilen, Germany is 16.8°C (10:00 PM CEST on August 07, 2012). Conditions: Mostly Cloudy. Humidity: 71%. Dew Point: 12.0°C. Pressure: 30.24 in 1024 hPa (Steady).
20:05 maximep @wunder cyqb
20:05 huginn maximep: The current temperature in lac st-charles, quebec city, Quebec is 24.8°C (4:03 PM EDT on August 07, 2012). Conditions: Mostly Cloudy. Humidity: 54%. Dew Point: 15.0°C. Pressure: 29.90 in 1012 hPa (Falling).
20:05 rangi anitsirk is in Germany now
20:05 maximep perfect day
20:06 ala_3v0 joined #koha
20:06 cait rangi:  hope she has a good time :)
20:07 rangi I'm sure she will
20:07 ala_3v0 Hi Koha# I have accidentally deleted koha-conf.xml file, is there any chance of retrieving it?
20:08 rangi Did you have a backup?
20:08 ala_3v0 no
20:08 ala_3v0 but I have the sql backup
20:08 wizzyrea packages or tarball install
20:09 ala_3v0 packages
20:09 wahanui hmmm... packages is at
20:09 wizzyrea hm
20:09 jcamins Did you ever run koha-dump?
20:10 rangi So you deleted /etc/koha/sites/yourinstance/koha-conf.xml
20:10 rangi ?
20:10 ala_3v0 yes
20:10 wizzyrea to which question :)
20:10 rangi Right
20:10 ala_3v0 did you ever run koha-dump
20:10 jcamins Excellent!
20:10 jcamins This makes it easy.
20:11 * wizzyrea presses the easy button
20:11 rangi Check /var/spool/koha/instancename
20:11 jcamins You should have a .tar.gz file... somewhere.
20:11 jcamins Ah.
20:11 jcamins There.
20:11 rangi Backups put it there everyday
20:11 rangi If you are using packages
20:11 jcamins Oh, that's right.
20:11 wahanui I know.
20:12 jcamins I forgot that I didn't have to set that up myself. :)
20:12 cait-m__ joined #koha
20:12 rangi My stop
20:13 jcamins You can retrieve the koha-conf.xml from the latest .tar.gz.
20:13 jcamins What exactly where you trying to do, BTW?
20:13 ala_3v0 the folder in /var/spool/koha/instancename is empty
20:14 jcamins It's empty?
20:14 jcamins When did you set up the instance?
20:14 ala_3v0 yes
20:14 wizzyrea well /var/spool/koha/instancename
20:14 wizzyrea instancename is the name of your instance
20:14 wizzyrea for example
20:14 wizzyrea my instance name is "lecompton"
20:14 wizzyrea so my directory would be /var/spool/koha/lecompton
20:14 wizzyrea make sense?
20:15 * jcamins has to go out run some errands.
20:15 wizzyrea in fact, I would just see what's in /var/spool/koha
20:15 ala_3v0 yes my instance name is koha
20:15 wizzyrea so you can go to /var/spool/koha/koha
20:15 wizzyrea does that exist?
20:15 wizzyrea is there stuff there?
20:15 ala_3v0 empty
20:16 ala_3v0 The koha has been installed by someone
20:16 nengard left #koha
20:17 wizzyrea so it exists, but there is nothing there?
20:17 ala_3v0 yes
20:20 ala_3v0 do I have to do a new installation
20:23 rangi are you sure it was done with the packages?
20:23 rangi can you type
20:23 rangi apt-cache policy koha-common
20:23 oleonard Bye #koha
20:23 ala_3v0 koha-common on debian squeeze 6
20:24 kathryn joined #koha
20:24 rangi ls -l /var/spool/koha
20:25 rangi what you could do is
20:25 rangi sudo koha-create new_instance_name --create_db
20:25 chris_n` joined #koha
20:25 rangi sudo koha-mysql new_instance_name < your_sql_backup
20:26 rangi or better
20:26 rangi koha-create new_instance_name
20:26 rangi then edit the koha-conf.xml to point to your existing db
20:27 rangi but, if it was done with the packages, you should have stuff in /var/spool/ unless it was only created today
20:27 rangi /var/spool/koha that is
20:27 rangi otherwise, your cron jobs arent running
20:28 jcamins What were you trying to do?
20:28 ala_3v0 there is /var/spool/koha/koha but it is empty
20:28 jcamins I suspect we are missing a crucial piece of information about your system.
20:29 ala_3v0 I was trying to rename the to koha-conf.xml using mv but accidentally I used rm
20:30 jcamins Okay, that doesn't explain why /var/spool/koha/koha was empty.
20:30 ala_3v0 yes, I did restored a sql file yesterday
20:31 ala_3v0 will that affect it
20:32 jcamins Shouldn't.
20:34 ala_3v0 is there any possibility to restore it to an earlier date
20:35 jcamins No, you deleted the file and someone disabled your backups.
20:35 ala_3v0 are you sure
20:35 jcamins Do you have an earlier copy of koha-conf.xml?
20:36 ala_3v0 no
20:36 jcamins There you go.
20:36 jcamins rangi's suggestion will work, if you used packages.
20:36 ala_3v0 But someone else also has access to the koha
20:36 jcamins Then ask that person if they have a backup.
20:37 jcamins No one here has access to your system.
20:38 jcamins Actually, let's go back a bit. You said that you had run koha-dump in the past. Where did you put the files it created?
20:39 ala_3v0 I used to dump them in my documents in the server before scp to my computer.
20:40 ala_3v0 it is mysqldump
20:40 jcamins Okay, in the .tar.gz files you'll find a koha-conf.xml file you could use.
20:41 jcamins No, mysqldump is a different program.
20:41 jcamins Did you run koha-dump.
20:41 jcamins *?
20:41 jcamins That is the name of a program.
20:41 ala_3v0 no
20:41 ala_3v0 not koha-dump
20:41 jcamins Okay, in that case you do not have a backup of koha-conf.xml anywhere, to the best of our knowledge. Use rangi's suggestion.
20:42 cait-m__ joined #koha
20:42 ala_3v0 thanks, I'll try that.
20:59 wajasu joined #koha
21:08 jenkins_koha Starting build #127 for job Koha_3.8.x (previous build: SUCCESS)
21:12 cait-m__ joined #koha
21:18 rangi izban12
21:18 chris_n` joined #koha
21:19 rangi hmm
21:19 rangi mouse button fail
21:35 chris_n` joined #koha
21:39 * jcamins_away hopes that wasn't rangi's password.
21:40 rangi not for anything useful nope
21:41 cait-m__ joined #koha
22:00 new_koha_usr joined #koha
22:00 edveal left #koha
22:01 new_koha_usr What to do with  Thanks
22:02 rangi read it? I dunno, ive never used it sorry
22:06 jcamins I think you could probably also get Postfix to use gmail as a smarthost.
22:06 jcamins However, I've never tried.
22:06 jcamins And can't think why you'd want to, honestly.
22:07 jcamins I guess if you use those anti-spam TEXT records in your DNS.
22:12 cait-m__ joined #koha
22:13 jenkins_koha Project Koha_3.8.x build #127: SUCCESS in 1 hr 5 min: http://jenkins.koha-community.[…]b/Koha_3.8.x/127/
22:13 jenkins_koha robin: Bug 8532 - improve robustness when converting dates
22:13 huginn Bug[…]w_bug.cgi?id=8532 normal, P3, ---, robin, Passed QA , Old/iffy data causes error checking out
22:36 wajasu on a  server someone setup  v3.08.03 koha, and i am importing a biblio from a z39.50 server.  upon save I see: Field 630 must have indicators (use ' ' for empty indicators) at /home/koha/kohaclone/C4/ line 142
22:36 wajasu i set up the same server myself, and i don't get that error.
22:37 wajasu any ideas as what could be different on the other test server (which i dod not set up)?
22:38 wajasu the indicators are both 0 in the 630 field.
22:40 jcamins wajasu: it has something to do with the linker.
22:40 wajasu perl?
22:40 wahanui perl is probably different things to different people
22:41 jcamins Unfortunately, the bug report I was given didn't give me any clues where the actual problem might be.
22:41 jcamins C4::Linker. :)
22:41 jcamins Not ld.
22:41 wajasu :)
22:41 wajasu I'll look there
22:42 cait-m__ joined #koha
22:42 jcamins If you disable AutoCreateAuthorities, that might fix it, but at the cost of not automatically creating authorities.
22:42 jcamins But this is installation-specific, because I have a half-dozen sites using the linker heavily and not running into this problem.
22:43 maximep left #koha
22:44 brylie joined #koha
22:44 jcamins There's a bug somewhere... if you are able to figure out how to reproduce the problem, I'd like to know, and potentially fix it.
22:44 jcamins Bug 8552.
22:44 huginn Bug[…]w_bug.cgi?id=8552 critical, P1 - high, ---, gmcharlt, NEW , BiblioAddsAuthorities set to Allow causes Software Error on Z3950 import
22:45 wajasu my test install is just a out of the box install, no data in it yet.  let see of I change AutoCreateAuthorities if it breaks my test environment.
22:53 jcamins wajasu: I doubt it, 'cause I tested on master, 3.8.3, and 3.6.7.
22:54 jcamins Was the other one an upgrade from 3.0?
22:59 wajasu u r correct, changin it didn't break it on my test setup.   the other setup was a 3.0 ish system is attempting to move to 3.8.3
23:11 cait-m__ joined #koha
23:13 wajasu i'll load the database on my test server.  to reproduce the error.
23:41 cait-m__ joined #koha
23:53 papa joined #koha
23:57 ala_3v0 joined #koha
23:59 ago43 joined #koha
23:59 ala_3v0 Hi Koha# I have this error message when koha-remove: ERROR 1396 (HY000) at line 1: Operation DROP USER failed for 'koha_koha'@'%'
23:59 ala_3v0 any help?

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