Time  Nick        Message
03:21 mtompset    Greetings, #koha.
03:30 Judit1      hi
03:30 wahanui     privet, Judit1
03:40 mtompset    Greetings, Judit1
03:50 vkm         hello all
03:50 vkm         may i know a script to get checkin report in a date range
03:51 vkm         in koha report library there is no such script or let me know any trick to get the above report please
03:54 mib_5tfxyk  hello
03:54 wahanui     what's up, mib_5tfxyk
03:55 mib_5tfxyk  please let me know script to get checkin report in date range
04:29 * mtompset  doesn't know the answer. :(
04:30 mib_5tfxyk  ok
05:07 mib_x2j5y8  hi dear all of you i am pankaj  i am use koha 3.8 and i want to installed SIP2 .
05:10 mib_x2j5y8  dear friends how can installed and use koha SIP2 please help me ......
05:24 rakesh      Hi
05:25 rakesh      any one there?
05:28 * mtompset  doesn't know the answer. :(
05:28 mtompset    sip2?
05:28 rakesh      Hi
05:30 rakesh      i am facing error in installing perl dependencies for koha, ubuntu version is 12.04, namely Net::Z3950::ZOOM
05:30 rakesh      it says installation seems impossible
05:31 rangi       rakesh: doing sudo apt-get install libnet-z3950-zoom-perl ?
05:31 rangi       and for sip2
05:31 rangi       http://wiki.koha-community.org/wiki/Koha_SIP2_server_setup
05:33 rakesh      no, ive done install net:Z3950:zoom
05:33 rakesh      i am doing it in cpan
05:34 rangi       why would you do that?
05:34 rangi       not use the ubuntu packages?
05:40 rakesh1     hi any 1 there?
05:41 rangi       the same people as last time you asked
05:41 rangi       17:32 < rakesh> no, ive done install net:Z3950:zoom
05:41 rangi       17:32 < rakesh> i am doing it in cpan
05:41 rangi       17:32 <@rangi> why would you do that?
05:41 rangi       17:32 <@rangi> not use the ubuntu packages?
05:41 rakesh1     ya
05:41 rakesh1     no ive not tried ti use the ubuntu packages
05:41 cait        you should
05:41 rakesh1     how to do that plz guide'
05:41 cait        it makes your life a looo teasier
05:43 rakesh1     plz guide how to install it through the ubuntu package method
05:43 rangi       sudo apt-get install libnet-z3950-zoom-perl
05:43 rakesh1     kk
05:43 rakesh1     i will try that
05:44 rakesh1     and secondly the error also comes in installing XML::Libxslt
05:45 rangi       do that from packages too
05:45 rangi       you should only ever use cpan if the file is not packaged in ubuntu
05:45 rakesh1     package it also says install impossible moreover gives 1 more error that cannot make "makefile.pl"
05:45 rakesh1     make cannot install and test
05:45 rakesh1     how to solve that
05:45 rangi       and for 12.04 they all are
05:45 rangi       rakesh1: dont install it from cpan
05:47 rangi       sudo apt-get install libxml-libxslt-perl
05:55 rakesh3     hi any 1 there?
05:55 rakesh3     same person
05:56 rakesh3     rakesh, rakesh1, rakesh2 actually my internet disconnects
05:57 rakesh3     any 1?
06:02 rakesh3     my prob is that i get error while installing XML:LibXSLT via cpan
06:02 rakesh3     it gives me two errors
06:02 rakesh3     1st is the makefiel error
06:03 rakesh3     srry makefile.pl
06:03 rakesh3     and secong goes the rror it says install seems impossible
06:04 rangi       17:44 <@rangi> rakesh1: dont install it from cpan
06:04 rangi       17:46 <@rangi> sudo apt-get install libxml-libxslt-perl
06:04 rangi       dont install from cpan, for anything
06:05 rakesh3     kk
06:05 rakesh3     and i would like to ask u that i ve installed the 12.04 version of ubuntu server does that make  a problem?
06:06 rangi       no
06:06 rangi       whats a problem is not using the ubuntu packaged versions of the modules
06:06 rakesh3     bcause i tried to install koha earlier on ubuntu desktop and it worked like a charm
06:06 rakesh3     kk i will install through ubuntu aptitude'
06:07 rangi       that way you get them upgraded for security etc
06:07 rakesh3     okk
06:07 rangi       if you install with cpan, you need to watch the bug trackers of all the modules to make sure you upgrade when you need to
06:07 rakesh3     ok
06:08 rakesh3     and there was a serious error that couldnt make "makefile.pl" for xxxxxxxxxxxxx.tar.gz
06:10 rakesh3     thnx for all your guide
06:10 rakesh3     will contact u in the future if any prob occur'
06:10 rakesh3     :)
06:12 rangi       my bill is in the mail
06:13 cait        lol
06:14 alex_a      bonjour
06:14 Judit1      :)
06:14 cait        hi alex_a and Judit1
06:14 Judit1      hi all
06:14 alex_a      salut cait
06:17 rangi       hi alex_a and Judit1
06:17 Judit1      did you have fun at kohacon?
06:18 rangi       you voted for kohacon13 yet?
06:18 rangi       i sure did
06:18 Judit1      i didnt
06:18 Judit1      vote
06:18 Judit1      i am  not going, so it is not fair to vote i guess
06:18 alex_a      hi rangi
06:20 alex_a      i didnt vote neither
06:21 cait        alex_a: why not?
06:21 alex_a      cait: where it is ?
06:21 alex_a      :)
06:21 alex_a      cait: Could you give me the link ? I will share with biblibre
06:21 cait        http://survey.web2learning.net/limesurvey/index.php?sid=91534
06:22 alex_a      thx !
06:22 rangi       its on koha-community.org  too
06:22 cait        KohaCon13 vote is http://survey.web2learning.net/limesurvey/index.php?sid=91534
06:22 rangi       http://koha-community.org/kohacon-2013-voting-open/
06:24 * rangi     hopes he gets to hang out with alex_a again
06:24 rangi       even if we have to communicate with sign language :-)
06:25 rangi       i promise to try to learn some french before next kohacon
06:26 * cait      thinks beer seemed to work too
06:26 Judit1      :D
06:27 rangi       beer always works
06:27 Judit1      in many ways
06:30 alex_a      rangi: :)
06:30 alex_a      i will try to improve my english ...
06:31 Judit1      ah, just drink more
06:33 rangi       hehe
06:34 rangi       http://blog.networksaremadeofstring.co.uk/2012/07/01/i-build-high-availability-platforms-so-cloud-is-not-for-me/
06:34 rangi       from fmarier, quite a good write up
06:34 alex_a      National Capital Region of the United States => why not just Washington ?
06:34 alex_a      it's Washington right ?
06:34 Judit1      there are more washingtons
06:35 alex_a      Washington D.C. ?
06:35 Judit1      better
06:35 alex_a      \o
06:35 Judit1      only one washington d c
06:36 alex_a      washington DC is shorter then National Capital Region of the United States :)
06:36 rangi       hehe this is true :)
06:36 alex_a      s/then/than/
06:36 Judit1      National Capital Region of the United States is ore impressive
06:36 Judit1      i guess :)
06:36 rangi       i think it might actually end up in somewhere in maryland (which is the state surrounding DC) but for us non usians
06:36 Judit1      fro some
06:36 rangi       its all the same place
06:38 rangi       did you know DC doesnt have a senator?
06:39 rangi       or a rep in the house of congress either
06:40 rangi       useless facts i know that help win beer at pub quizzes
06:41 cait        lol
06:47 francharb   hello
06:48 Judit1      hi
06:48 wahanui     niihau, Judit1
06:49 rangi       hiya francharb
06:55 rangi       hi laurence
07:10 gaetan_B    hello
07:10 rangi       hi gaetan_B
07:12 rangi       hmmm
07:13 kf          good morning #koha
07:13 rangi       did we used to be able to turn moderation on reviews off? i thought we could?
07:14 kf          I think only for tags, but not entirely sure
07:14 rangi       darn
07:14 kf          the problem is that comments are buggy right now
07:14 kf          I have to retest and file a bug report
07:14 rangi       hmm buggy in what way?
07:14 kf          but what I saw is:
07:15 rangi       the real problem for me is i cant turn moderation off
07:15 kf          add a new comment, hit f5 - it will disappear
07:15 kf          edit a moderated comment - it will create a new comment
07:15 kf          but I still have to confirm that, was testing something else and ran out of time
07:15 rangi       right, those are bugs alright, but i still need to be able to create an unmoderated comment :)
07:16 kf          I think that will need another pref :(
07:16 rangi       i dont mind prefs, prefs are better than doing it any other way
07:16 kf          I don't mind prefs too and I thin this one would make sense - but needs a patch :)
07:17 kf          hm interesting
07:17 wahanui     interesting is sometimes good and sometimes bad
07:17 rangi       yeah a pref and and couple of lines in C4/Review.pm
07:17 kf          bug 1868
07:17 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1868 enhancement, P3, ---, frederic, RESOLVED MOVED, Comments in OPAC
07:18 rangi       lol i wrote this crap
07:18 rangi       Author: rangi <rangi>
07:18 rangi       Date:   Sat Sep 3 00:05:40 2005 +0000
07:18 rangi       lol
07:18 kf          looks morelike frederic?
07:19 kf          notsure where the duplicate bug is it mentions
07:19 rangi       no the original code
07:19 rangi       Author: rangi <rangi>
07:19 rangi       Date:   Sat Jun 17 04:26:38 2006 +0000
07:19 kf          oh
07:19 rangi       Admin interface to approve reviews, not finished yet
07:19 rangi       Needs a script to delete a review and to approve one. Will work on this later (taking a break to watch rugby)
07:19 kf          lol
07:19 rangi       that sounds like me all right
07:19 kf          yes, that sounds like you
07:19 kf          look at the bug
07:20 rangi       yeah never got made/pushed
07:20 kf          yep
07:20 rangi       http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=1598
07:21 huginn      04Bug 1598: enhancement, P3, ---, frederic, NEW , Make OPAC reviews a comments system (like Flickr, YouTube, etc)
07:21 kf          ah there it is
07:21 kf          Joshua and I... ooold.
07:21 rangi       heh yeah
07:22 rangi       i was working there then
07:22 rangi       i resigned in march 2008
07:22 rangi       anyway, im gonna take this bug
07:23 rangi       and make it say, allow unmoderated comments
07:24 kf          makes sense
07:24 kf          I think we don't allow comments without being logged in anyway right now
07:25 kf          so it would be a lot more work to implement that and I don't think people really want it
07:25 rangi       yeah
07:25 rangi       im just doing unmoderated
07:25 * kf        nods
07:37 rangi       hi paul_p
07:37 paul_p      good morning #koha
07:37 paul_p      (good evening rangi)
07:44 kf          morning paul_p
07:50 rangi       hi sophie_m
07:50 sophie_m    hi rangi
07:50 kf          bonjour sophie_m
07:50 sophie_m    Guten Tag kf
07:52 drojf1      good morning #koha
07:54 drojf1      and again
07:55 drojf1      crazy router
07:55 kf          hi drojf
07:55 rangi       hi drojf1
07:56 drojf1      hi kf and rangi
07:57 drojf1      @wunder berlin, germany
07:57 huginn      drojf1: The current temperature in Prenzlauer Berg, Berlin, Germany is 18.8°C (9:42 AM CEST on July 03, 2012). Conditions: Mostly Cloudy. Humidity: 74%. Dew Point: 14.0°C. Pressure: 30.06 in 1018 hPa (Steady).
07:58 kf          @wunder Konstanz
07:58 huginn      kf: The current temperature in Taegerwilen, Taegerwilen, Germany is 17.7°C (9:55 AM CEST on July 03, 2012). Conditions: Overcast. Humidity: 91%. Dew Point: 16.0°C. Pressure: 30.06 in 1018 hPa (Steady).
08:03 rangi       @wunder nzwn
08:03 huginn      rangi: The current temperature in Wellington, New Zealand is 10.0°C (7:00 PM NZST on July 03, 2012). Conditions: Mostly Cloudy. Humidity: 66%. Dew Point: 4.0°C. Pressure: 29.92 in 1013 hPa (Steady).
08:08 rangi       drojf1++ #answering random questions on the mailing list
08:08 drojf1      it's a nice way to get awake
08:08 rangi       heh
08:09 rangi       lamiette: you about?
08:15 Oak         kia ora #koha
08:16 rangi       hi Oak
08:17 Oak         hello rangi ! :)
08:39 mtompset    Greetings, #koha.
08:40 kf          hi Oak
08:41 rangi       hi mtompset
08:42 rangi       lyon3++
08:47 mtompset    kf, how is it that you see Oak?
08:47 kf          hm? I only saw he said hi
08:47 mtompset    Hi, rangi. You were the one who signed off the patch on 8175, right?
08:48 mtompset    I was just wondering what you might have thought regarding Ian's comments. It merits a revision to the patch, correct?
08:48 rangi       i think bug 8348 is a duplicate of bug 8110
08:49 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8348 critical, P1 - high, ---, koha-bugs, Needs Signoff , useDaysMode syspref does not apply
08:49 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8110 blocker, P1 - high, ---, kyle.m.hall, Needs Signoff , Fines accruing on closed days
08:49 rangi       yep, the patch has changed the functionality, a warn in the logs is better than a regression
08:50 mtompset    I've got a patch. I'll attach it. It doesn't break the functionality.
08:50 rangi       the new patch?
08:50 mtompset    Yep.
08:50 rangi       cool
08:50 Oak         hello kf :) how does the presentation look?
08:50 kf          oh, needs lots more work today
08:50 mtompset    a defined() with a =~ /\S/
08:51 Oak         ah. hmm.
08:51 rangi       hmm
08:51 mtompset    because I'm pretty sure the output doesn't care about "     "
08:51 mtompset    a blank column is a blank column.
08:52 mtompset    if materials_flag was always one you'd have a blank column, which is what the check is hoping to avoid.
08:52 rangi       you're scope creeping :)
08:53 rangi       originally it was silencing a warn, now you are changing behaviour
08:53 rangi       it might be right, but its definitely scope creep
08:53 mtompset    Well...
08:53 mtompset    actually, it was checking if there was something in the materials field.
08:53 rangi       so you should make sure you update the bug description to say that
08:54 mtompset    hence the ne ''.
08:54 rangi       yes
08:54 mtompset    But I do see what you are saying about scope creep.
08:54 rangi       now you are making it check there is something that is not whitespace
08:54 rangi       that isn't the same
08:54 rangi       so you should say that
08:55 rangi       like i say, its probably right, but its a change in what the bug was reported as
08:55 mtompset    Okay, I'll make that tweak to the bug description.
08:55 rangi       cool thanks
08:55 mtompset    I reported the bug... am I not allowed to creep? ;)
08:55 Oak         mtompset++
08:55 rangi       it just helps people test properly, and helps the release notes
08:55 mtompset    That's true.
08:55 rangi       you are, but not without updating the description
08:55 rangi       :)
08:56 mtompset    Okay... off to update the description, then put up a new patch.
08:56 rangi       excellent
08:56 rangi       mtompset++
08:56 Oak         kf what is you presentation about?
08:57 mtompset    "Check for something in materials field fails in catalogue/details.pl"?
08:57 Oak         actually electricity will go out in 3 minutes..so I'll talk to you later ....
08:57 rangi       sounds good to me
08:58 mtompset    Hmmm... perhaps you could help me.
08:59 mtompset    how to I revert the one file back to original one?
08:59 mtompset    ^to^do^
08:59 rangi       git checkout filename
09:01 mtompset    um.... further back...
09:02 mtompset    revert to the one that wasn't on my machine initially
09:03 rangi       you can checkout any commit
09:04 rangi       so find the commit from when you want to check it out
09:04 mtompset    I'm new to git, so how do I do that?
09:04 rangi       git checkout -b mybranch commitid
09:04 rangi       then yuo will be on a new branch with the files all at that point
09:05 mtompset    I already have a branch for bug_8175
09:05 lamiette    rangi: you still about?
09:05 mtompset    I want to set it back to the not quite right version
09:05 lamiette    just saw your ping
09:05 rangi       how many commits ago is that mtompset ?
09:06 rangi       git reset HEAD^ if its one HEAD^2 etc
09:06 rangi       lamiette: heya, just was talking to someone else who is at maharauk
09:06 lamiette    ah yeah, Kevin?
09:06 rangi       yep
09:07 mtompset    one.
09:07 mtompset    ah, okay.
09:08 rangi       that will reset it, then you can do
09:08 rangi       git stash
09:08 wahanui     git stash is for saving and restoring unstaged (and uncommited) changes.
09:08 rangi       that will stash away your changes (which we have just marked as uncommitted)
09:08 rangi       and you will be back with the file, but you can get your changes back
09:09 rangi       by doing a git stash apply
09:09 rangi       git rules
09:11 rangi       we must remove all that no zebra stuff, its confusing another poor person
09:13 * mtompset  nods, "That no zebra stuff was confusing me for a bit too."
09:14 mtj         i was thinking... should we rename the 'nozebra' syspref to 'nozebra (depreciated)' ?
09:15 mtj         ... as a temporary measure, before deleting it completely
09:15 mtj         and... hi #koha :)
09:16 rangi       well we did that already, its been marked as deprecated in release notes since 3.4
09:16 mtompset    Actually, can we display it as "Zebra (depreciated)"? I know that's backwards... but the thing that was confusing is use setting for NO ZEBRA.
09:16 rangi       i think we should kill it good now
09:17 druthb      o/
09:17 rangi       it doesnt work, theres no point even having it :)
09:17 * mtompset  nods, "killing is better."
09:17 rangi       hi druthb !
09:17 rangi       working late
09:17 rangi       ?
09:17 druthb      Naah.  Up early-ish.
09:17 mtj         yep, but the 'nozebra' syspref option is still there right? to confuse peepz
09:18 mtj         heya druthb :)
09:18 druthb      Hi, mtj!  :D
09:19 mtj         ok, lets just kill the zebra/nozebra syspref, and have a big warning in the release-notes :)
09:20 * druthb    celebrates the impending doom of NoZebra.
09:20 rangi       yes its hard the warning for a while now, no one reads it, so best to just kill it
09:20 rangi       hard=had
09:22 alex_a      All my multiple fields are grouped in one on staff or opac display using koha 3.8. has someone already encountered this problem?
09:23 alex_a      it's the first time i see that ...
09:23 rangi       hmm i havent encountered that yet
09:25 kf          alex_a: can you show a screenshot?
09:25 kf          and which fields?
09:25 wahanui     which fields are associated with authority records.
09:27 alex_a      kf: http://catalogue.migrationinsarouen.biblibre.com/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=85
09:27 alex_a      look at the 606 field
09:27 alex_a      i have 2 fields 606 in marcxml
09:27 kf          hm interesting
09:27 wahanui     interesting is sometimes good and sometimes bad
09:28 alex_a      kf: all multivalued fields :(
09:28 kf          yeah, every time there is more than one of it?
09:28 alex_a      yes
09:28 alex_a      all subfields are grouped in one fields
09:28 alex_a      field
09:28 kf          itlooks wrong too
09:29 kf          I am missing the plain marc view
09:29 kf          or does this not exist for UNIMARC?
09:29 alex_a      plain marc view ?
09:29 alex_a      you should have marc view
09:29 alex_a      no ?
09:29 wahanui     hmmm... no is failing unit tests
09:30 kf          alex_a: I think in marc21 this is the "labelled marc view"
09:30 kf          and there is a button to bring up the marc marc view :)
09:30 kf          [off] https://seminar-weingarten.bsz-bw.de/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=521
09:31 kf          that's 3.6.3
09:31 kf          looks ok there :(
09:33 Herwig      Morning
09:33 kf          morning
09:33 hdl         kf was ok in 3.6
09:33 hdl         as far as i know
09:33 mtj         remove-nozebra-syspref++
09:34 rangi       alex_a: is it ok in staff? or broken in staff and opac?
09:34 kf          looking in bywater's test installaton now
09:35 hdl         rangi: broken in both
09:35 Herwig      Hey all still stuck in finding a way to get the search engine running here ... if annyone got some tips  ... i did what someone posted here yesterday but ... http://users.telenet.be/webwijzer/koha/10.JPG still in trouble ... but not giving up :P
09:35 rangi       and in master?
09:35 alex_a      rangi: broken in staff and opac
09:36 kf          http://model.bywatersolutions.com/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=11363
09:36 rangi       id suspect css changes then
09:36 hdl         3.8, not tested yet on master.
09:36 kf          seems ok on the bywater test installation with marc21
09:36 kf          so maybe very recent or only unimarc?
09:36 kf          Koha 3.0801002
09:36 rangi       yeah i just tested master with marc21
09:37 rangi       thats latest 3.8.x kf
09:37 rangi       seems ok in master with marc21 .. so it might be specific to unimarc
09:38 alex_a      rangi, kf: the result in staff: http://postimage.org/image/s7faahkiv/
09:38 mtj         Herwig: your PERL5LIB  line is incorrect - (it points to a non-existing dir?)
09:38 Herwig      no i dont now where to point it
09:38 rangi       alex_a: ouch, that doesnt look good at all
09:40 Herwig      time for googling that :P
09:40 mtj         Herwig: 'export PERL5LIB=/usr/share/koha/lib'  is probably correct for you...
09:41 Herwig      ill try
09:41 kf          alex_a: no, doesn't look good - I downloaed the marc from opac, that looks correct, so it's the display
09:41 alex_a      yes, marc is correct. Not the display
09:42 Herwig      good news i got a listing and it said cleaning (i hope its good news)
09:42 mtompset    Herwig... are you talking about Zebra?
09:43 Herwig      yup
09:43 mtompset    Oops... too slow. Someone pointed out checking KOHA_CONF and PERL5LIB already. :)
09:43 Herwig      fighting it with help from some peeps here
09:43 mtompset    I feel your pain. I was doing that for the last week.
09:44 Herwig      lol :)
09:44 mtompset    Are you running Debian?
09:44 Herwig      i'm used to linux at home but not the code type things so its all learning for me
09:44 Herwig      ubuntu virtual server
09:45 mtompset    Me too! YAY!
09:45 Herwig      :)
09:45 mtompset    I might be able to make some suggestions.
09:45 Herwig      omg i have results
09:45 Herwig      :) :) :)
09:46 mtompset    That's a good start.
09:46 mtompset    Are you running a full reindex in a cron job?
09:46 mtompset    -b -a -r
09:47 mtompset    or just a updates?
09:47 mtj         yay! /me hands Herwig a doppelbock
09:47 mtompset    -b -a -z?
09:48 Herwig      i think i do sec
09:48 Herwig      1 * * * *    koha    /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -a -b -z 2>&1 > /dev/null
09:49 mtompset    that's fine... that's updates hourly on the first minute.
09:49 Herwig      thats the one in the cronjobs
09:49 * mtompset  nods.
09:49 Herwig      must i put it on 1 min ?
09:49 mtompset    no, you could change it as you want.
09:50 mtompset    But I doubt you are adding things that you need to see every 5 minutes.
09:50 Herwig      now the next part starts getting my old data in the system :OP
09:50 mtompset    Where is the old data coming from?
09:51 Herwig      thx peeps never got out off this without this help ill buy you all a beer
09:51 mtompset    I'll just take a coke. ;)
09:51 Herwig      lol ok
09:52 vfernandes  Hi guys... can anyone explain to me how MARC21 items works? all my projects until today were using UNIMARC
09:53 slef        vfernandes: @marc 952
09:53 wahanui     The 952 field is used by Koha to store item data in MARC21 and is described at http://wiki.koha-community.org/wiki/Holdings_data_fields_%289xx%29
09:53 rangi       mtompset: you want it running every 5 if you are circulating items
09:53 rangi       or your search will be telling people stuff is on the shelves when its not
09:53 vfernandes  right... but how about itemtype?
09:53 mtompset    true...
09:53 slef        vfernandes: itemtype is 942$c, also on that page.
09:53 slef        (or it should be)
09:53 rangi       thats biblio level itemtype
09:54 slef        vfernandes: and 952$y
09:54 rangi       thats item level itemtype :)
09:54 mtompset    So, Herwig, change the 1 to */5
09:54 mtompset    That will run every 5 minutes.
09:54 vfernandes  ok... but the MARC21 model doesn't have 952$y...
09:54 slef        rangi: is tajoli(?)'s synchronous zebraqueue daemon ready yet? It's been on my todo-sometime-when-I-get-time list
09:54 slef        vfernandes: MARC21 model?
09:55 rangi       slef: never tried it
09:55 rangi       and its fredericd's :)
09:55 vfernandes  MARC21 biblio model in KOHA... cataloguing
09:55 alex_a      kf, rangi: it's a syspref
09:55 alex_a      LabelMARCView
09:55 slef        vfernandes: Administation: Koha-MARC links?
09:56 alex_a      just a syspref
09:56 vfernandes  MARC Bibliographic framework
09:56 alex_a      :-/
09:56 rangi       alex_a: ahhh, how annoying!
09:56 rangi       vfernandes: yes it is, if its not in yours, there is something messed up in your install
09:57 rangi       itype 952 y Koha item type
09:59 vfernandes  damn it appears in mapping but not in the framework
09:59 vfernandes  it's possible to add it right?
10:01 rangi       should be
10:01 vfernandes  omg forget it...
10:01 vfernandes  the field has many subfields that creates another page
10:01 vfernandes  the y subfield is in another page
10:03 vfernandes  thanks ragi and slef... :D
10:04 vfernandes  * rangi
10:04 slef        vfernandes: thanks. You're welcome.
10:05 vfernandes  its the first time using MARC21 so there is many things different from UNIMARC
10:07 mtompset    I suppose that removing NoZebra means that the _AddBiblioNoZebra function will be removed from C4::Biblio.pm?
10:09 rangi       theres a patch to do just that already
10:10 rangi       http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9903
10:10 rangi       attached to bug 7430
10:10 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7430 normal, P3, ---, jcamins, Passed QA , ModZebra should not be in C4::Biblio
10:11 mtompset    In the midst of my confusion over Zebra/NoZebra... I actually modified some broken NoZebra code on our production machine.
10:11 mtompset    I'm just doing some file compares to make sure that any changes I have done have made it into master, or if they were already fixed.
10:18 mtompset    What component is C4::Breeding.pm?
10:20 mtj         mtompset:  its an experimental module, to enable Koha to make babies
10:20 eythian     rangi: good to see Koha is printed on the top of the new round of Catalyst cycling gear :)
10:22 mtompset    ha ha ha... It triggered an error and I patched it, so I'd like to bug report and post a patch.
10:22 eythian     isn't that what handles marc staging, or am I wrong?
10:22 eythian     I think it's a weird library term
10:23 mtj         yeah, thats it real usage
10:23 mtompset    perhaps...
10:24 mtj         afaik, its a frenglish translation
10:24 mtj         ask paul_p  about it :p
10:24 rangi       eythian: yep i might have to get some
10:24 mtompset    I did find something about 'module to add biblios to import_records...'
10:24 rangi       we could send some to slef :)
10:25 eythian     rangi: for your ... bike?
10:25 eythian     heh
10:25 rangi       i own 3 bikes
10:25 mtompset    So, I guess staging/import is what I'm looking for.
10:25 mtompset    3 bikes?!
10:25 rangi       i just dont often ride them :)
10:25 mtompset    Why would you need 3?
10:25 rangi       since i left uni
10:26 rangi       i have an old 10 speed, and 2 mountain bikes, one is a downhill one, which is pretty much useless for anything else, i should get some new tyres for the other one
10:26 rangi       i know a lot of people with more than 3
10:27 slef        I have one on the west coast and have borrowed one on the east coast.
10:27 slef        I'm still pondering getting a folder because mass transport here is so anti-bike.
10:27 rangi       3.2.4 ?? why on earth would someone be trying to install that
10:28 slef        Trains are often limited to 2 non-folders by policy, even though the trains vary between 0 and 8 cycle racks. Buses? hahahahaha
10:28 eythian     looks like they're following a really old tutorial
10:28 mtompset    Because they were running 2.X and 3.4 says it can't upgrade from it?
10:28 slef        Some of the buses in Scotland actually have racks, I hear.  I'm not sure I blieve that.
10:28 mtompset    I'm guessing.
10:29 slef        rangi: do you use armoured tyres over there?
10:29 eythian     slef: the council in Wellington said the busses were going to get racks about 2017 or so, but I think there was enough of a stink that they're bringing it forward.
10:29 rangi       i honestly havent ridden on the road in years
10:29 eythian     I don't on the road, just regular tyres.
10:29 eythian     I just bike around the glass :)
10:29 rangi       i rode every weekday for 7 years at uni, but never really have in wellington
10:29 slef        some of Wellington's roads didn't look much fun, narrow with too many cars going too fast
10:30 rangi       yeah most cyclists at catalyst have been collected at least once
10:30 rangi       i think eythian not yet
10:30 eythian     the only (non-self-inflicted) accident I've had was hitting a pedestrian who walked into the road without looking.
10:31 eythian     She was lucky I wasn't a bus.
10:32 eythian     I've learnt how to make cars do what I want them to do for the most part :)
10:33 mtompset    Sounds manipulative. :P
10:34 slef        the only non-self-inflicted accident I remember is being rear-ended by another cyclist
10:34 slef        usually I ride into stuff
10:34 eythian     Really it boils down to "bike like a car would drive" :)
10:34 slef        cars, kerbs, ...
10:34 eythian     in slef's case, I'd also add "look forwards"
10:35 slef        I was looking forwards. The last failure I recall was expecting the car to pull away from the lights faster than it did.
10:35 slef        kerbs tend to be the usual "failing to cross as a sharp enough angle" error
10:36 slef        oh actually the last failure was me crashing into my own bike while walking
10:36 slef        that took some doing
10:36 slef        (collected myself with a pedal while turning)
10:37 * slef      replies with "sarge is dead. Upgrade"
10:37 slef        it must be oldies day!
10:38 rangi       earthquake
10:38 wahanui     i heard earthquake was on the news
10:38 eythian     I didn't feel it.
10:39 eythian     Although, I think if I did, half of the buildings here would have fallen down.
10:39 kf_lunch    that's probably likely
10:39 rangi       i hope that was centered here
10:39 rangi       else somewhere is a mess
10:40 kf          strong?
10:40 mtj         meh, felt quite biggish :/
10:40 rangi       we dont usually feel them in this house
10:40 rangi       yep
10:40 rangi       and long
10:40 rangi       which usually means its far away
10:41 eythian     http://beta.geonet.org.nz/
10:41 eythian       6.5
10:42 rangi       ouch
10:42 kf          :(
10:42 eythian     but, in Wellington
10:42 kf          but it's still labelled as moderate?
10:42 eythian     or nearby anyway
10:42 rangi       must have been deep
10:42 eythian     kf: yeah, it's not a 7 :)
10:42 eythian     258
10:43 eythian     that's pretty deep
10:43 rangi       yeah
10:43 rangi       thats what saved us
10:43 eythian     also further away than the map makes it look like
10:44 rangi       yep
10:44 eythian     <lamiette> guys, we are listening to Kristina at this conf
10:44 eythian     <lamiette> middle of her talking "shit, earthquake *lots of noise - kristina making it to doorway*"
10:45 rangi       yeah, it was decent
10:45 rangi       the dogs flipped out
10:45 eythian     (the conf being in the UK, and kristina videoing in)
10:45 lamiette    we couldn't see her at this stage
10:45 lamiette    just hear it
10:45 lamiette    the room then looked at me for confirmation it'd be okay ...
10:45 kf          :( did she come back since?
10:46 lamiette    yeah, she's still talking
10:46 lamiette    sounded seriously impressive
10:46 rangi       yeah it was about 5 seconds
10:47 eythian     stuff.co.nz is pretty slow.
10:47 eythian     but has no news :)
10:48 rangi       opunake
10:48 rangi       thats a long way away
10:49 rangi       lucky only 4 people live ther
10:49 rangi       e
10:50 lamiette    geonet has it in the water?
10:50 rangi       yeah 60k west of opunake
10:50 rangi       so would have felt in in new plymouth
10:51 rangi       heya anitsirk :)
10:51 anitsirk    hi guys. i hope rangi is fine in his house.
10:51 rangi       i am
10:51 anitsirk    i had a bit of a shock as my building had never shaken that much before. but then i'd not have a 6.5 quake in welly before.
10:52 anitsirk    great to read that.
10:52 anitsirk    are the kids ok?
10:52 rangi       it was up near new plymouth
10:52 lamiette    anitsirk seriously made my heart leap listening to you
10:52 anitsirk    oh my.
10:52 rangi       and 257km down
10:52 rangi       they slept thru it .. nzers :-)
10:53 kf          hi anitsirk
10:53 anitsirk    now they said it's 7.0
10:53 rangi       ohhh shit
10:54 anitsirk    yeah. it was something.
10:54 anitsirk    and it was a long one
10:54 slef        bah the email I replied to was a second thread by the posted of the 3.2.4 rangi mentioned earlier
10:54 slef        multiposters--
10:56 kf          davidnind++ #answering mailing list mails :)
10:58 rangi       http://geonet.org.nz/earthquake/drums/  kapow!
10:59 rangi       there's pretty much nowhere that didnt feel that
10:59 davidnind   Thanks kf.  I can generally only answer the simpler things to date..
11:02 davidnind   Was a quite a shake!  Biggest one I've felt in Wellington for a while (maybe ever?).
11:02 rangi       anitsirk: now you have to wait for the adrenalin to wear off before you can sleep?
11:03 rangi       davidnind: wasnt it just
11:03 anitsirk    you bet. i'm uploading the presentation to slideshare. might as well get it done.
11:04 davidnind   Bit of a worry when you are in an older flat on stilts on the side of a hill!
11:05 rangi       ahh wellington ... we live on a convergence of fault lines, lets build stilt houses on hills!!
11:06 eythian     also, the governmetn :)
11:06 anitsirk    rangi: i can't report my "did you feel it" report as that geonet page is down. it seems to happen whenever there is a big quake
11:07 anitsirk    hi eythian. you missed the action
11:07 eythian     so I heard :)
11:07 eythian     geonet has got a lot better in recent years, used to be you could tell how big a quake was by how long it took to respond.
11:07 eythian     Now it's only for something really big that it slows down.
11:08 rangi       yep
11:09 mtompset    shoot! I hate fixing something, and then realizing there is a secondary bug to fix as a result.
11:11 mtompset    Is there a book or thing that would be entered into koha with the title '0' (without the quotes)?
11:12 rangi       its certainly possible
11:12 * kf        nods
11:13 mtompset    What about an author's name?
11:13 mtompset    Would anyone change their full legal name to '0'?
11:15 eythian     yes
11:15 eythian     I'm sure it's happened
11:15 kf          lol
11:15 kf          maybe as a pseudonym
11:17 rangi       mtompset: trying to guess all the possible valid things is the path to madness, just check its non empty
11:21 kf          ok, someone with as uggestion for a nice special library's opac? :)
11:22 mtompset    it's the difference between if ($var) and if (defined($var))
11:22 rangi       plantandfood?
11:23 davidnind   https://library.plantandfood.co.nz/
11:23 wahanui     rumour has it https://library.plantandfood.co.nz/ is a research library
11:23 kf          heh
11:23 kf          almost all my examples are nz!
11:23 kf          pretty opacs
11:23 mtompset    And rangi... I'm already Craaaaaazy! ;)
11:25 mtompset    But when dealing with if ($var) you need to run through a couple cases. :)
11:27 mtompset    Isn't jcamins renaming a bunch of C4 libraries to Koha?
11:27 rangi       ok, animals are all calm after that shake, time to hit the hay
11:28 mtompset    Have a good night. :)
11:28 jcamins     mtompset: I rewrote some things.
11:28 kf          good night
11:28 kf          hope no more earthquake
11:28 kf          s
11:28 mtompset    What about C4::Breeding?
11:29 jcamins     I won't be doing anything with it.
11:29 mtompset    Okay, so I should keep submitting my patches for it. :)
11:29 jcamins     Yup.
11:30 mtompset    bug 8349
11:30 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8349 enhancement, P5 - low, ---, gmcharlt, Needs Signoff , Attempted string substitution in C4::Breeding fails on undefined
11:33 kf          hi libsysguy - how is the new job?
11:33 libsysguy   morning kf
11:33 libsysguy   its good, picking up lots of new processes
11:34 libsysguy   you know, usual new job stuff :p
11:40 libsysguy   interest in
11:44 mtompset    okay... when I 'git checkout master'
11:44 mtompset    it tells me I am 13 commits behind.
11:44 mtompset    What does that mean?
11:45 eythian     that means that your version of 'master' is 13 commits behind 'origin/master'
11:45 mtompset    And so how do I correct that?
11:46 jcamins     _This_ is where you do a git pull.
11:46 eythian     it depends what you want to do really
11:46 eythian     I never use my local master branch to avoid confusion.
11:46 * jcamins   doesn't either.
11:46 * libsysguy doesn't either
11:47 libsysguy   just to have something to go back to when i invariably screw up
11:47 mtompset    So you just git fetch and the create new bug branches without going back to master?
11:47 jcamins     Right.
11:47 eythian     I always create branches off of kc/master
11:47 jcamins     I check out kc/master when I want to see if a problem exists in master.
11:47 libsysguy   heh
11:48 eythian     yeah, but I deliberately do that in a detached head, so if I mess up and try to commit something, it tells me.
11:48 jcamins     eythian: someone else who has the git.k-c.org repo named kc? Cool!
11:48 mtompset    but if you are doing git pulls to master, then wouldn't that make 'master' the place to check if it exists in master?
11:48 jcamins     eythian: right.
11:48 eythian     I don't do git pulls to master
11:48 eythian     I always use kc/master
11:48 eythian     (which may be origin/master in your case)
11:49 eythian     I pretty much never use git pull tbh
11:50 * jcamins   has never used git pull.
11:50 jcamins     kf++
11:51 eythian     I do if multiple people are working on a feature branch.
11:51 jcamins     eythian: oh, that makes sense. Not something that happens very often for me.
11:52 eythian     it's not too common for me either.
11:52 kf          lonely developers of koha? ;)
11:52 eythian     though, git pull == git fetch && git merge, I habitually do them separately.
11:53 jcamins     I do use git mere occasionally, when signing off on things.
11:54 * libsysguy is waiting to see jcamins use the blame function in git
11:54 eythian     I don't do that for that. I just 'git bz apply' and then 'git commit --amend -s'
11:54 jcamins     That was supposed to be "merge"
11:54 eythian     libsysguy: svn has 'blame' and 'praise' as synonyms.
11:55 * jcamins   uses git blame all the time.
11:55 libsysguy   and that is why you shouldn't use svn...
11:55 jcamins     libsysguy: it's too forgiving?
11:55 libsysguy   among other things :p
12:08 mtompset    Okay... question.
12:08 wahanui     well, question is "What is the meaning of life, the universe and everything?"
12:08 mtompset    I found a bug... fixed it... and then found a secondary bug.
12:08 jcamins     mtompset++ # for fixing the bug
12:09 mtompset    I bug reported the fixed the first bug.
12:09 mtompset    BUT...
12:09 mtompset    the secondary bug is tied in with the first bug.
12:09 mtompset    Take a look at C4::Breeding.pm
12:10 mtompset    Around line 182
12:10 mtompset    You can't substitute on a null.
12:10 mtompset    So, I figured move the search into the if statement below.
12:11 mtompset    Then I looked at the if statement.
12:11 mtompset    And realized that 0,'0','',NULL, and everything other string cases don't work the same.
12:12 mtompset    Now, I figured since the first three wouldn't have a space to substitute there's no problem.
12:12 mtompset    BUT... there's still that ugly set of if statements to fix.
12:12 mtompset    because there could be a title, author or isbn number '0'
12:13 mtompset    How do I mark the two bugs related in bugzilla?
12:13 jcamins     There's a see also field.
12:14 jcamins     You could also say the second bug depends on the first bug, if the first bug needs to be fixed before the second.
12:16 mtompset    Well, I think I'll see also field them both, and let whoever pushes things forward figure out the best course of action.
12:17 jcamins     mtompset: you'll be responsible for rebasing if one of the patches is pushed before the other.
12:18 mtompset    Uh, what do you mean by that?
12:19 jcamins     If bug one's patch can only be applied *before* bug two, and someone signs off on bug two first because it is easier to test, the patch for bug one will no longer apply.
12:19 jcamins     At that point, depending on the complexity of the patches, bug one will probably be marked "Does not apply" and you'll be asked to revise the patch so that it will apply.
12:20 mtompset    If the push 2, before 1, then 1 is already solved.
12:20 mtompset    if they push 1 before 2, the yes, I'll have to fix the patch up for 2.
12:20 jcamins     In that case, I suggest you mark bug one a duplicate of bug two.
12:20 mtompset    Okay.
12:21 mtompset    Did mean to enter a duplicate. :(
12:21 mtompset    Didn't...
12:21 mtompset    DOH!
12:22 jcamins     They may not actually be duplicate bugs, but if the patch for the second can completely fix the first as well, better to just have one patch.
12:22 mtompset    true.
12:33 mtompset    There bug 8349 and bug 8350 dealt with.
12:33 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8349 enhancement, P5 - low, ---, gmcharlt, RESOLVED DUPLICATE, Attempted string substitution in C4::Breeding fails on undefined
12:33 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8350 normal, P5 - low, ---, gmcharlt, Needs Signoff , $search = '0' or 0 will fail to affect SQL statement correctly in C4::Breeding
12:35 kf          mtompset: I was right, eh? after the first patch it's easy :)
12:35 mtompset    Yes, but I'm still struggling with git.
12:38 mtompset    I'm just reconciling my bug fixes on our production system with what I have submitted to make sure they are all there.
12:43 kf          :)
12:43 mtompset    Just a couple haven't made it.
13:13 mtompset    Well, now I'm wondering if I was being over cautious in some of my patches.
13:14 mtompset    I'm trying to set $v => 1 in a hash but have $v as undefined.
13:14 mtompset    Seems the hash reference of that passed to a subfunction is treated the same as ''
13:16 eythian     I would expect it to also throw a warning.
13:16 mtompset    yes, but nothing fatal.
13:18 eythian     No, it won't. But avoiding warnings is good, there's already far too many of them.
13:18 mtompset    yes, but this fix I put into our system would have been AFTER the warning.
13:18 eythian     ah right
13:18 mtompset    So my fix is overkilled.
13:19 mtompset    though, I suppose there could be an improvement in the code.
13:20 mtompset    $query .= " AND $key LIKE ?"; -- the $key length isn't checked.
13:20 mtompset    push @query_parameters, "%$where->{$key}%";
13:20 mtompset    And neither is the value of the $where, which is the hashref that is passed to the function.
13:21 mtompset    or $where->{$key}
13:21 mtompset    I figure a if defined and 2 length checks would optimize the generation of SQL statements.
13:22 mtompset    But it's late... I'll think about that tomorrow.
13:22 eythian     why length checks?
13:25 mtompset    Why would you do a "blah like %%"?
13:26 mtompset    and how do you do a "where '' like 'string'"?
13:26 mtompset    if the key is 0 length, clearly there's no need to build that part of the SQL either.
13:30 mtompset    I was only pondering this code because my bug 8329 has a modification in the same module.
13:30 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8329 major, P5 - low, ---, gmcharlt, Needs Signoff , GetLostItems in C4::Items.pm has a SELECT *
13:32 mtompset    Have a good day (24 hour period), I'm off.
13:32 * mtompset  waves.
14:43 eythian     <subfield code="d">2012-06-22</subfield>
14:43 eythian     <subfield code="c">STACK</subfield>
14:43 eythian     I wonder why they bought something to put it straight on the stack
14:44 jcamins     eythian: academic?
14:44 eythian     public
14:44 eythian     though a small one
14:44 jcamins     Okay, that's weird.
14:44 SJeffery    why weird?
14:44 jcamins     Academics do it all the time.
14:44 eythian     I suppose it could be something they like to keep a copy of and something happened to the previous one.
14:45 jcamins     SJeffery: buying a new book for closed stacks in a public library?
14:45 jcamins     Maybe it's a controversial book?
14:45 eythian     Moby Dick?
14:46 jcamins     lol
14:46 jcamins     Probably not.
14:47 SJeffery    It does have a swear word in the title...that could upset some people...
14:47 eythian     Not here, i think :)
14:59 wizzyrea    for those of you who think kansas is barren wasteland: http://instagram.com/p/MmwBejtAru/
15:00 eythian     sure, but that's what it looked like in the 70's!
15:00 wizzyrea    haha
15:01 wizzyrea    oh eythian your snark is priceless :)
15:01 eythian     I do practice in front of a mirror to perfect it, you know.
15:02 kf          lol
15:02 kf          about the book, maybe they don't expect many loans?
15:02 * wizzyrea  giggles
15:02 kf          I mean... moby dick, quite a lot pages
15:02 relish      Bluevaganza? Sounds like a Jane Fonda word. https://sparklinggnome.wordpress.com (link from http://instagram.com/p/MmwBejtAru)
15:05 wizzyrea    lol oy.
15:05 wizzyrea    (that's one of my librarians, if you can imagine)
15:06 wizzyrea    (she's cool though)
15:06 wizzyrea    (despite the "bluevaganza")
15:21 tcohen      hi #koha
15:21 tcohen      can anyone recognise this?
15:21 tcohen      "Can't call method "field" on an undefined value at /usr/share/koha/lib/C4/Items.pm line 1367."
15:21 tcohen      (.deb 3.8.x install)
15:22 eythian     what do you do right before it happens?
15:22 tcohen      i'm in the circulation log report
15:22 tcohen      clicking on an item
15:24 tcohen      looks like there is some linkage data missing?
15:25 eythian     could be.
15:25 khall       bug 8352 ready for signoff if anyone is interested
15:25 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8352 enhancement, P5 - low, ---, koha-bugs, Needs Signoff , Add automatic printing of 'hold to pull' notices
15:26 tcohen      i don't know why there should be that info on the record
15:32 gaetan_B    bye #koha !
15:48 tcohen      are there some sanity checks for koha DB? missing sysprefs, unused sysprefs, invalid data?
15:49 tcohen      i need to find out  the cause of this error or i'll be axed!
15:52 wizzyrea    the first question?
15:52 wahanui     "What are you trying to do?"  "What is the goal?" or "What problem are you experiencing?"
15:55 Rakesh      hi
15:56 hdl         tcohen: you have some checksysprefs t files.
15:57 hdl         in order to know which sysprefs are missing.
15:57 Rakesh      hi any 1 there
15:57 tcohen      thanks hdl
15:57 jcamins     tcohen: unfortunately, there is no script to tell you if you are lacking any sysprefs in your database.
15:57 tcohen      its a 3.1.x -> 3.8.x upgrade
15:58 tcohen      and i'm having trouble when requesting items info
15:58 hdl         And if you are trying to see the sanity for DB structure, julian developped something but not ported to community.
15:58 tcohen      (trying to circulate, from old circulation logs, etc)
15:58 jcamins     tcohen: and you didn't have this problem on your test server?
15:58 Rakesh      i have installed all the perl modules
15:58 tcohen      i'm on the test server right now
15:58 Rakesh      and in the koha directory
15:58 tcohen      my problem is that i'm running out of time
15:59 jcamins     Rakesh: you should tell us what your question is.
15:59 kf          tcohen: what exactly is your problem?
15:59 kf          sorry if I missed the description
15:59 hdl         jcamins: there is. check_sysprefs.pl in misc ?
15:59 jcamins     hdl: really?
15:59 jcamins     Awesome!
15:59 * jcamins   never heard of that.
15:59 tcohen      kf: "Can't call method "subfield" on an undefined value at /usr/share/koha/lib/C4/Biblio.pm line 2965."
16:00 kf          ok
16:00 kf          you are updating from 3.1 to 3.8?
16:00 * kf        read back
16:00 jcamins     tcohen: that's not the error message you pasted earlier.
16:00 kf          have you run the script to remove items from the marc xml?
16:00 jcamins     hdl++
16:00 tcohen      jcamins: you're right!
16:00 hdl         and in master biblibre, in xt files, you can find syspref.t and check_syspref.t
16:01 tcohen      jcamins: unfortunately, i have both...
16:01 jcamins     hdl: we have the syspref tests, but they only check the codebase, not the database.
16:01 Rakesh      i have run the command to check that i have installled all the perl modules
16:02 hdl         those two in our repository are doing that.
16:03 Rakesh      i ran the to check that everything is installed and i havwe instaled everything but still it says that i have not completed the installation of modules
16:03 jcamins     Ah, very cool!
16:03 hdl         if you feel lucky, test, and if you enjoy it share that with the community.
16:03 jcamins     hdl: "lucky"? ;)
16:04 hdl         jcamins: we have been using that for quite a number of things now.
16:04 hdl         so works.
16:04 jcamins     hdl: so, no need for luck.
16:05 hdl         but could need some more documentation to help the user.
16:05 libsysguy   oleonard has been working on jqueryui integration right?
16:05 wizzyrea    yes
16:05 hdl         there is a branch on his repo about that.
16:05 jcamins     libsysguy: yes, under no circumstances should you use YUI for something new.
16:06 libsysguy   is that implemented?
16:06 jcamins     Parts.
16:06 jcamins     He's doing it one control at a time.
16:06 Rakesh      hey please i ve a serious issue'
16:06 libsysguy   thanks jcamins, hdl, and wizzyrea
16:06 jcamins     libsysguy: which control are you working with?
16:07 libsysguy   sco
16:07 eythian     Rakesh: you're going to have to provide more info.
16:07 libsysguy   low on the todem i would imagine
16:07 eythian     versions of things, for example.
16:07 jcamins     libsysguy: I mean, which JQueryUI control.
16:07 tcohen      kf: i've ran that script, but running it again
16:07 libsysguy   oh lol
16:07 libsysguy   dialog
16:07 Rakesh      see i have installed all the perl dependencies
16:07 tcohen      this time not using the koha-upgrade-to-3.4 wrapper but the script
16:07 jcamins     libsysguy: oleonard is changing every instance of each control he works on.
16:07 eythian     copy-paste what you're seeing into a paste bin, stuff like that.
16:07 jcamins     Rakesh: what version of Koha are you using?
16:07 libsysguy   jcamins, isn't that going to mess with updating it?
16:08 jcamins     What do you mean?
16:08 libsysguy   maybe im misunderstanding...he is modifying the core of the ui modules?
16:08 jcamins     No.
16:08 libsysguy   oh
16:08 jcamins     He's changing from YUI autocomplete to JQueryUI autocomplete.
16:09 Rakesh      and i ran the command ./koha_perl_deps.pl -m  to check that everything installed
16:09 libsysguy   ahhh ok i understand
16:09 Rakesh      it gave me 8 dependencies to install
16:09 wizzyrea    ok so, tcohen - you are trying to click through to an item from the log, and it's giving the error?
16:09 jcamins     Rakesh: what version of Koha do you have?
16:09 Rakesh      and i install all 8 via apt-get
16:09 tcohen      wizzyrea: right
16:09 jcamins     Rakesh: so far, you have told us NOTHING that we can use to troubleshoot your problem.
16:09 Rakesh      i have 3.8,1
16:09 jcamins     Details are important.
16:09 jcamins     Copy the output you're seeing into paste.koha-community.org.
16:09 tcohen      and a similar one in circulation.pl
16:09 wizzyrea    tcohen: can you get through to items at all?
16:10 Rakesh      and still it gives me the error that two dependencies are not installed
16:10 tcohen      wizzyrea: don't get it
16:10 wizzyrea    i mean, can you search for a title, click on the detail, and see the items?
16:10 wizzyrea    can you click on items and edit them?
16:10 eythian     Rakesh: maybe you installed the wrong things. But we don't know because you're not telling us exactly what it says.
16:10 wizzyrea    from the catalog detail
16:11 Rakesh      ya it tells that
16:11 Rakesh      Libget:Stem:Snowball is nott installed
16:11 Rakesh      but i checked it through cpan that it is installed
16:12 Rakesh      and Graphics: magick also gives the same error
16:12 wizzyrea    Rakesh: try apt-get install liblingua-stem-snowball-perl
16:12 eythian     what does apt-cache policy liblingua-stem-snowball-perl say?
16:12 eythian     Rakesh: ^
16:12 wizzyrea    keke
16:12 Rakesh      it says that it is to the newest version
16:12 wizzyrea    graphics magick is always a problem. You can safely ignore it
16:12 wizzyrea    for now
16:13 Rakesh      kk
16:13 Rakesh      and for the package Lingua:Stem:Snowball?
16:13 eythian     Rakesh: and what does it say is the latet version?
16:15 Rakesh      yes thesnowball package also says that it is installed but the command ./koha_perl_deps.pl -m  shows that it is not installed'
16:15 Rakesh      :s
16:16 * drojf     offers general afternoon popcorn to everybody
16:16 jcamins     drojf: lol
16:16 jcamins     Thanks.
16:17 eythian     Rakesh: run this command: perl -MLingua::Stem::Snowball -e 'print "OK\n";'
16:17 eythian     and see what it says
16:17 Rakesh      in cpan?
16:17 eythian     no, on the command line
16:18 jcamins     drojf: I hope it's kettle corn.
16:18 Rakesh      kk let me check
16:18 eythian     also, when you ran the apt-cache policy command, what version did it say?
16:19 Rakesh      i didnt run apt-cache policy command?
16:19 eythian     Rakesh: then why did you answer when I told you to run it before?
16:19 eythian     liblingua-stem-snowball-perl
16:19 eythian     <eythian> what does apt-cache policy liblingua-stem-snowball-perl say?
16:19 eythian     <Rakesh> it says that it is to the newest version
16:19 drojf       lol
16:19 Rakesh      o sorry
16:19 Rakesh      very sory
16:20 drojf       jcamins: a huge kettle of kettle corn ;)
16:20 jcamins     drojf: awesome! Shari loves kettle corn.
16:20 eythian     gar, my circulation merging script forgot to take into account returns between the file versions.
16:20 eythian     Drat.
16:21 jcamins     eythian: uh-oh.
16:21 eythian     yeah.
16:21 jcamins     Hm.
16:21 eythian     fortunately, everyone is asleep now
16:21 jcamins     This is an *awesome* script.
16:21 eythian     and the script is (in theory) idempotent
16:21 eythian     so I just need to implement handling of returns and it should work.
16:22 * jcamins   hopes you're right about it being idempotent. :P
16:23 eythian     me too
16:23 Rakesh      perl -MLingua::Stem::Snowball -e 'print "OK\n";' says the following
16:25 eythian     that you're taking so long to reply leads me to think that it's not saying "OK"
16:27 Rakesh      cant load 'usr/local/lib/perl/5.14.2/auto/Lingua/Stem/Snowball/Snowball.so'  for the module Lingua::Stem::Snowball: usr/local/lib/perl5.14.2/auto/Lingua/stem/snowball/Snowball.so: wrong ELF class:  wrong ELF class:ELFCLASS32 at /usr/lib/perl/5.14/Dynaloader.pm line 184
16:27 Rakesh      at -e lne0
16:28 Rakesh      srry at -e line 0
16:28 Rakesh      compilation failed in require
16:28 Rakesh      Begin failed--compilation aborted
16:28 eythian     you have installed the wrong version of the package.
16:28 eythian     you have installed the 32 bit version on a 64 bit machine.
16:28 Rakesh      so how to correct it
16:29 eythian     if you had only ran the apt-cache policy command, it probably would have said as much
16:29 Rakesh      i also think that can u please give me the correct command via apt-get to install a64 bit version of this
16:29 eythian     probably remove that package and install the proper one.
16:29 eythian     I don't know how you'd install the 32-bit version to be honest.
16:29 eythian     What debian version are you using?
16:30 Rakesh      okk so u think that the package version is wrong
16:30 eythian     I don't know, you still haven't told me what the apt-cache policy command says
16:30 Rakesh      i am ubuntu server 12.04 64 bit
16:30 Rakesh      ya i will give u in detail
16:30 Rakesh      what it said
16:31 Rakesh      it  says that
16:32 Rakesh      installed: 0.952-2build2
16:32 Rakesh      Candidate 0.952-2build2
16:32 Rakesh      Version table
16:33 Rakesh      *** 0.952-2build2 0
16:33 eythian     well that's wierd
16:33 eythian     because the path: usr/local/lib/perl/5.14.2/auto/Lingua/Stem/Snowball/Snowball.so
16:33 eythian     suggest that you have installed it twice,.
16:33 eythian     the local one is probably installed through CPAN
16:34 eythian     that was a bad idea.
16:34 Rakesh      500 http://in.archive.ubutntu.com/ubuntu/precise/universe amd64 packages
16:34 eythian     you'll have to remove all the things you installed through CPAN and do it properly.
16:34 Rakesh      100 var/lib/dpkg/ststus
16:34 eythian     (also, you should probably copy-paste, it'll make life so much easier)
16:34 * drojf     giggles
16:35 Rakesh      actually i have no gui running on it so how i can copy paste
16:35 eythian     ssh into it?
16:35 Rakesh      so should i remove the package and reinstalll it
16:35 eythian     (i'm not going to explain how to do that, ask your systems administrator)
16:35 jcamins     This is why the instructions say very clearly to only use Debian packages and not CPAN for those packages that are available.
16:35 eythian     no, you need to remove it from however it got installed in /usr/local
16:36 eythian     I think you have used CPAN and made everything really confused.
16:36 Rakesh      kk
16:36 drojf       also, rangi said it 10 hours ago. ten times at least
16:36 jcamins     Rakesh: you have to uninstall it via CPAN. You will need to figure out how to do that.
16:36 drojf       just sayin'
16:36 Rakesh      actually i dont no the command and how to uninstall
16:36 eythian     if only someone were to set up a handy package repository containing everything you need...
16:36 jcamins     Rakesh: you'll have to figure it out, then.
16:36 Rakesh      kk
16:36 drojf       eythian: that would be witchcraft
16:37 Rakesh      please guide how to uninstall
16:37 eythian     http://lmgtfy.com/?q=uninstalling+through+cpan <-- Rakesh
16:38 jcamins     Bug 8353 is pretty darn cool.
16:38 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8353 enhancement, P5 - low, ---, jcamins, Signed Off , Add test to compare sysprefs in db to syspref.sql
16:38 eythian     ohh nice
16:39 jcamins     Of course, I assigned it to me rather than the author of the patch...
16:39 * jcamins   fixes it.
16:41 * eythian   thinks lmgtfy has got a lot less sarcastic over the years.
16:42 drojf       heh
16:42 jcamins     I don't know, it's still pretty snarky and wonderful. :)
16:43 * jcamins   is a big fan of the mouse cursor animation
16:43 drojf       but people you send there just see it as a service now
16:43 eythian     I'm sure the text used to be a bit more ... bitey.
16:44 jcamins     Heh.
16:44 eythian     ahh
16:44 eythian     I'm confusing it with jfgi
16:44 kf          bye all :)
16:44 drojf       lol
16:44 Rakesh      well eythian
16:44 drojf       bye kf
16:44 Rakesh      i saw the guide to uninstall'
16:45 Rakesh      and it says to install cpanplus
16:45 Rakesh      first and i would like to tell u
16:45 jcamins     Then you should do that. This is why you should follow instructions.
16:45 jcamins     Much easier to do it right the first time. :)
16:46 eythian     hrm, I don't think I know what cpanplus is
16:46 Rakesh      yes
16:46 jcamins     eythian: ooh, I like jfgi.
16:46 Rakesh      but while installing it also it says make would not test and install
16:46 eythian     http://search.cpan.org/~bingos/CPANPLUS-0.9130/lib/CPANPLUS.pm <-- interesting, wonder how that differs from regular cpan
16:47 jcamins     You should do some research online to find out if that is a problem.
16:47 Rakesh      ya
16:47 Rakesh      but theres something
16:48 Rakesh      actually i had installled koha on ubuntu 11.10 desktop
16:48 Rakesh      and it worked like a charm
16:48 Rakesh      with no errors
16:48 jcamins     You probably followed the instructions that time.
16:49 Rakesh      and when i tried it to install it on 12.04 64 bit server it gives the following errors
16:49 eythian     hmm
16:49 Rakesh      would the new version be the problem
16:49 Rakesh      no i followed the instructions
16:49 eythian     My best guess is that something you did the first time doesn't work on 64-bit
16:49 eythian     but I use the apt methods for everything, so I'm not sure what it would be.
16:49 jcamins     You used CPAN so you demonstrably did *not* follow the instructions this time.
16:49 Rakesh      so what should i do now install a 32-bit server
16:50 eythian     no, that would be unnecessary
16:50 Rakesh      kk
16:50 jcamins     If you would prefer a 32-bit server, sure. However, I use 64-bit only. I just follow the instructions when installing.
16:50 Rakesh      so what should i do now
16:50 eythian     I'd move the /usr/local/lib/perl out of the way
16:50 eythian     I think that's what's causing the problems
16:50 jcamins     You need to uninstall everything you installed with CPAN, and reinstall things correctly, using apt.
16:51 Rakesh      can u give me the link from where u read to install
16:51 jcamins     installing koha?
16:51 wahanui     well, installing koha is one thing. Doing development with it is something else.
16:51 eythian     I suspect that with that gone, perl will use the regular versions which should work better.
16:51 Rakesh      kk and how to do that'
16:51 jcamins     koha on debian?
16:51 wahanui     rumour has it koha on debian is installed and http://10.16.18.71:8080/ works fine. Now how do I configure the OPAC? entering IP address of the pc in Oak's local network just returns: "It works! This is the default web page for this server."
16:51 jcamins     Installing Koha on debian?
16:51 jcamins     Koha 3.8 on Debian?
16:51 Rakesh      yes
16:51 jcamins     Hm.
16:51 eythian     package installation?
16:51 eythian     damn
16:51 eythian     I was sure it was in there
16:51 jcamins     http://wiki.koha-community.org/wiki/Koha_3.8_on_Debian_Squeeze
16:51 jcamins     ^^ that page
16:51 wahanui     i think ^^ that page is *great*
16:52 eythian     no wahanui, koha on debian is http://wiki.koha-community.org/wiki/Koha_3.6_on_Debian_Squeeze
16:52 wahanui     okay, eythian.
16:52 drojf       wahanui botsnack beer
16:52 wahanui     thanks drojf :)
16:52 eythian     no wahanui, koha on debian is http://wiki.koha-community.org/wiki/Koha_3.8_on_Debian_Squeeze
16:52 wahanui     okay, eythian.
16:52 Rakesh      please give me the guide page
16:53 jcamins     Rakesh: I just did.
16:53 eythian     Rakesh: dude, it's been posted 3 time in the past minute
16:53 Rakesh      to install it on ubuntu 12.04 64 bit server
16:53 jcamins     That page we just posted.
16:53 jcamins     Three times.
16:53 Rakesh      but thats for debian
16:53 jcamins     It works the same.
16:53 eythian     debian is very similar to Ubuntu
16:53 jcamins     Just follow the instructions.
16:53 Rakesh      okk
16:53 Rakesh      i will try that'
16:53 * eythian   needs to make the packages happier with Ubuntu and do more testing on it really.
16:54 jcamins     paul_p: signed off on your follow-up for bug 8202.
16:54 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8202 enhancement, P5 - low, ---, jcamins, Passed QA , Add authorities to export tool
16:55 Rakesh      okk i must try that and then report u al
16:55 Rakesh      thnx guys
16:55 Rakesh      bye fir now
16:55 Rakesh      srry
16:55 eythian     Rakesh: this way is a lot easier
16:55 Rakesh      bye for now
16:55 Rakesh      okk
16:55 Rakesh      bii
16:55 eythian     but, still remove the perl stuff in /usr/local
16:55 Rakesh      and thnx again
16:55 Rakesh      okk
16:55 Rakesh      i think i must do a clean install of the server again
16:56 Rakesh      that would be the best
16:56 Rakesh      isnt it?
16:56 eythian     yeah
16:56 eythian     if you can, install debain
16:56 eythian     *debian
16:56 eythian     it's more likely to work well
16:56 eythian     but ubuntu should be mostly OK too.
16:58 jcamins     coding guidelines?
16:58 wahanui     coding guidelines are http://wiki.koha-community.org/wiki/Coding_Guidelines
16:58 Rakesh      mostly ok ? :)
16:58 Rakesh      please tell me the final bro
16:58 Rakesh      does it work
16:59 eythian     I haven't tested it, so I can't confirm.
16:59 jcamins     Rakesh: no one here uses Koha on Ubuntu.
16:59 eythian     I use it on Debian.
16:59 Rakesh      okk
16:59 Rakesh      so debian has a gui?
16:59 eythian     if you install it, yeah
16:59 eythian     but it's not the best idea to put a gui on a server.
17:00 Rakesh      ya i think so
17:00 Rakesh      does debian has a server/
17:01 jcamins     A "server" is a computer that serves things to the internet. Debian is often used for servers. Ubuntu is too, sometimes.
17:01 jcamins     Koha runs on a server.
17:01 jcamins     That server can run Debian or Ubuntu.
17:01 jcamins     Most people use Debian.
17:02 Rakesh      ya
17:02 Rakesh      so please give me the link to download debian server
17:02 eythian     Really?
17:02 Rakesh      just like ubuntu server is another distro
17:02 eythian     I mean, if you were to type "debian" into a browser, you'd find the download link immediately
17:03 eythian     You spent longer asking for the link than it would take you to find it.
17:03 Rakesh      oh just joking bro
17:03 eythian     ...
17:03 Rakesh      i was just asking u that does trdebian has a server distro just like ubuntu has ubuntu desktop and ubuntu server
17:04 drojf       all the time?
17:04 eythian     not really.
17:05 jcamins     drojf: All the time?
17:05 sv          our library has koha 2.0.0 can we upgrade to 3.04.0
17:06 jcamins     sv: the short answer is "probably," the long answer is "as far as I know," and the detailed answer is "I have no idea how." :)
17:06 drojf       jcamins: just joking
17:06 eythian     sv: yes, though you know that koha 3.08 is out right?
17:06 eythian     sv: it is possible, it will take time though, it's the easiest thing in the world.
17:06 senator     Rakesh: ubuntu chooses to make specialized distros for servers and desktops separately. debian (and many other distros) make no such distinction. debian is just debian.
17:07 sv          k. tell me upgradation linux commands
17:07 eythian     err
17:07 jcamins     I think eythian means "not the easiest thing in the world."
17:07 eythian     when I said...
17:07 eythian     yeah, that
17:07 wahanui     yeah, that is cool - a way to enhance the OPAC without bloating Koha...
17:08 * eythian   also just forgot that arrays start at 0, it's one of those days.
17:08 jcamins     eythian: not if you change the array start index magic constant.
17:08 eythian     jcamins: I would not do that.
17:08 eythian     sv: there are no upgradation linux commands. It's basically a migration.
17:08 drojf       you can do that?
17:08 eythian     drojf: you can
17:08 jcamins     drojf: yes, don't.
17:08 eythian     drojf: $[
17:09 drojf       sounds like a great idea to drive people crazy. and by people i mean myself, after forgetting about it
17:09 sv          ok. tell me the migration procedure
17:09 eythian     mostly used in the old days of emulating awk, which is 1-indexed.
17:09 jcamins     I wonder if you could do $[ = -1. :D
17:10 drojf       hm my internet connection is really bad today. i try another reconnect
17:10 jcamins     sv: http://wiki.koha-community.org/wiki/Upgrading_2.2
17:10 eythian     http://lmgtfy.com/?q=upgrading+koha+from+2.2 <-- sv
17:10 jcamins     But be aware that a lot of those instructions are out of date.
17:11 jcamins     In particular, you cannot use NoZebra.
17:11 jcamins     You *must* use Zebra.
17:18 drojf       well, slow sucky internet > no internet
17:19 eythian     I hate to say this, but I've found the internet in the UK to be worse than what I have at home.
17:19 eythian     Though, my sample size is small here.
17:19 eythian     and I am on pretty good internet at home.
17:24 drojf       talking of slow…
17:24 drojf       [off] Your Real Snail Mailâ„¢ message which you sent to <girlfriend at that time> on 20th Jun 2008 at 10:51:44 has been successfully delivered by agent 155 aka 'Liridon' on 3rd Jul 2012 at 13:04:38
17:28 eythian     haha wut?
17:30 drojf       http://www.realsnailmail.net/ delivered by an actual snail ;)
17:30 drojf       [off] i wonder what i wrote in that message. i hope it's appropriate for an ex-girlfriend :D
17:32 jcamins     drojf: I wouldn't count on it.
17:33 drojf       i don't
17:38 eythian     "remember to pick up some milk"
17:42 drojf       :D
17:49 eythian     seriously, if anyone tells you they sent you a 2 week old data file, just put your hands up and back away slowly.
17:49 eythian     It's a nightmare to merge in.
17:49 eythian     I _think_ I have the last of the kinks out.
17:50 eythian     two days of scripting later.
17:50 jcamins     eythian: if it were their fault, I'd tell them they had to choose between the two weeks of missing data and the data since go-live.
17:50 drojf       ouch
17:51 eythian     in hindsight, me too.
17:51 eythian     on the other hand, I know how to do it now :)
17:51 drojf       we will all send you our old data files :)
17:51 eythian     I shall charge a hefty amount.
17:52 drojf       i'll take your irc help for free then. kindly guide step by step, video tutorial preferred :D
17:53 drojf       nah i'll just go with answer number two, "i'm sorry, it's just not possible"
17:54 jcamins     [off] Dear sir kindly send detailed step by step video tutorial on merging new data with exact commands that match my situation and not yours.
17:54 drojf       :D
17:54 eythian     sure. run this, and see what happens: http://git.catalyst.net.nz/gw?p=koha.git;a=blob;f=import/csv/elm_merge.pl;h=caede6ee52336f4d5ead05e9b520f4f55eb1e46e;hb=waimate_import
17:54 eythian     jcamins: heh
18:01 jcamins     eythian: shouldn't you be off at the pub by now?
18:01 eythian     jcamins: I had things to fix, but I just ran it, it seems happy, and in about 5 minutes I shall be going that way.
18:11 datadoctor  What do y'all think about installing on Debian Squeeze vs. Ubuntu 12 Server?
18:11 jcamins     Squeeze.
18:11 wahanui     hmmm... squeeze is 3.2.x
18:11 jcamins     No question.
18:12 * jcamins   hated Ubuntu 12.04.
18:12 datadoctor  Thanks for the good advice jcamins!
18:13 jcamins     datadoctor: I don't know it's good advice, but I certainly feel strongly about it. ;)
18:14 datadoctor  I will take your word for it. We are currently running on Debian Squeeze, but had some problems with VMWare tools on a test install.
18:14 datadoctor  Thought about trying an alternative, but seeing as you had problems, I'll stick with what I know.
18:15 drojf       +1 for debian
18:15 jcamins     VMWare should work fine on Debian, I'd think.
18:15 datadoctor  Thanks drojf, and also for the Snails!
18:15 drojf       heh
18:15 datadoctor  They were delicious! :D
18:16 datadoctor  Those snails are really good at spam filtering as well!
18:17 drojf       i'm not sure about that
18:18 libsysguy   so im working on bug 8033, and just realized that you need permissions to print slips
18:18 huginn      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8033 enhancement, P5 - low, ---, elliott, In Discussion , add print receipt option to Koha self-check
18:18 jcamins     eythian: go to a pub, but first tell me if I saw something about you moving forward on the koha-i18n-es-ES (etc.) packages.
18:18 jcamins     libsysguy: yes, that would be good.
18:18 libsysguy   that feature or retaining permissions
18:18 eythian     jcamins: I realised I need to book some things for the weekend.
18:19 eythian     I haven't done any moving on them, they are still "almost there"
18:19 jcamins     Maybe I should pick those up.
18:22 eythian     by all means :)
18:22 libsysguy   jcamins did you mean it would be good to retain the permissions or it would be a good feature
18:22 jcamins     libsysguy: keeping it.
18:23 libsysguy   do you know of a permission to 'self-checkout'
18:23 libsysguy   i thought everyone could do that
18:23 jcamins     libsysguy: so that if a library does not want one of their SCO machines printing receipts, it won't.
18:23 jcamins     I think it's just circulate, isn't it?
18:24 libsysguy   i am set as a standard patron on my install and i can SCO
18:24 libsysguy   i guess i could make a new 'permission' and set it to true if print slips are enabled as a syspref
18:25 libsysguy   for sco**
18:25 jcamins     Oh, you already added a slip syspref?
18:25 libsysguy   oh no i didn't
18:25 jcamins     I guess that might be okay.
18:25 libsysguy   i was trying to do it the lazy way and just add it for all sco's
18:25 libsysguy   just a dialog
18:25 libsysguy   print or no thanks
18:26 jcamins     Hm.
18:26 libsysguy   the only way that is a problem is url hijacks
18:26 libsysguy   if someone types in a borrowernumber then they can get a print out of all the checkouts for that patron
18:27 libsysguy   which is obviously a problem
18:27 libsysguy   but im not sure how to get around with the way printing is set up
18:27 jcamins     Yeah, that would be a problem.
18:28 libsysguy   maybe i can just check to see if i came from an sco url
18:29 jcamins     You can still spoof referer headers.
18:30 libsysguy   true
18:30 * libsysguy scratches head
18:30 jcamins     Wouldn't it be better to confirm that the specified patron did the self checkout?
18:30 jcamins     libsysguy: wait, you know that the user doing SCO != user to whom books are being checked out, right?
18:30 jcamins     There's a syspref that controls it.
18:31 libsysguy   hmm
18:31 libsysguy   but you are still basically programming in a hole right?
18:32 jcamins     Oh, the referer thing is definitely an issue.
18:32 jcamins     I was going back to the permissions.
18:33 libsysguy   oh ok
18:33 libsysguy   well this is also interesting the way get_template_and_user is set up
18:33 jcamins     Does it do some sort of bind?
18:34 * jcamins   has never really looked at the code.
18:34 libsysguy   it passes opac/intranet
18:34 libsysguy   to force one or the other
18:34 libsysguy   then basically a set of flags
18:35 libsysguy   auth kind of looks like a dinosaur
18:36 jcamins     It really is.
18:36 libsysguy   *smh*
18:37 libsysguy   i guess it goes back to "if it isn't broken don't fix it"
18:37 jcamins     Right.
18:37 eythian     it's kinda broken
18:37 jcamins     Any unit tests you'd like to write would be much appreciated.
18:37 eythian     in the sense that it's hard to extend
18:37 libsysguy   ^^
18:37 libsysguy   like im trying to do now
18:37 libsysguy   and failing hard
19:12 * rangi     waves good morning and goes to make breakfast for atarau
19:12 * cait      waves back
19:27 rangi       back
19:27 rangi       he
19:27 rangi       's eating honeypuffs i have about 10 mins
19:28 * jcamins   just read a report about cereal advertising to children.
19:29 rangi       oh yeah?
19:29 rangi       atarau eats anything
19:29 rangi       as long as I say, this is what kapa haka groups eat
19:30 * jcamins   will summarize: you're going to kill your kids if you let them eat cereal that is marketed for kids.
19:30 * wizzyrea  noticed that after the spud visits his gran with her satellite television, that he suddenly wants all kinds of crazy toys and questionable food items.
19:30 wizzyrea    viva la netflix.
19:30 jcamins     (but it's better now than it was three years ago)
19:30 rangi       https://www.youtube.com/watch?v=OoUkCjdb1jc&feature=g-upl
19:30 rangi       oh yeah american cereal is a trip
19:31 rangi       curse my compulsion to try new things
19:31 wizzyrea    hahahahahah he's so tough
19:31 jcamins     Aww.
19:31 rangi       i spend most of my visits to the USA high on sugar
19:31 wizzyrea    hehe
19:32 rangi       (that video was on sunday)
19:32 wizzyrea    to think, that's how we (some of us) live all the time. High on sugar.
19:32 wizzyrea    terrifying.
19:32 * jcamins   doesn't even have processed foods much and manages that. ;)
19:32 wizzyrea    cheerios makes "fruity cheerios" now
19:33 jcamins     Honey nut cheerios are about as healthy as candy.
19:33 wizzyrea    froot loops > shredded wheat fruit in the middle > fruity cheerios
19:33 wizzyrea    but it's still a lot of sugar.
19:33 wizzyrea    (that is, greater in sugar)
19:33 jcamins     rangi: Myshkin was a little scared by Atarau at first, but decided he approves.
19:34 rangi       hehe
19:35 rangi       wizzyrea: sugar cereal then ritalin for the adhd
19:35 wizzyrea    i know right
19:35 rangi       its a nice little feedback loop
19:36 rangi       our biggest cereal controversy here
19:36 rangi       is that sanitarium, (who make things like weetbix and marmite)
19:37 rangi       are owned by 7th day adventists and dodge taxes
19:39 rangi       oh and also marmitegeddon
19:39 rangi       which is a very cynical and clever marketing campaign
19:39 rangi       http://www.telegraph.co.uk/foodanddrink/foodanddrinknews/9154576/Outcry-in-New-Zealand-over-Marmageddon-crisis-as-Marmite-stocks-run-out.html
19:47 wizzyrea    ooh tax dodgers!
19:49 jcamins     wizzyrea: just so long as they don't dodge the marmite tax!
19:49 wizzyrea    oh and naturally hillary clinton says something dumb and snarky about it.
19:49 * wizzyrea  was quite fond of cheesymite.
19:49 wizzyrea    :P
19:50 rangi       its what she does, that endears her to the public so
19:50 wizzyrea    i…. i guess.
19:51 rangi       hehe
19:51 rangi       http://www.stuff.co.nz/national/7215025/Deep-7-0-earthquake-hits-New-Zealand
19:51 rangi       no real damage anywhere so that's good
19:51 wizzyrea    yea, wow that's a big one
19:52 rangi       kristina was presenting remotely during it
19:53 rangi       http://virtualbreath.net/curious/2012/07/04/mahara-presentation-with-a-dash-of-earthquake/
19:53 rangi       so you can hear what it was like
19:57 rangi       at about 4.40
19:59 wizzyrea    oh my poor girl
20:00 cait        brave girl
20:00 cait        she continued
20:00 rangi       hehe, 'ok, no worries'
20:00 rangi       she's been here a while :)
20:00 wizzyrea    i like her combo kiwi/german accent
20:01 wizzyrea    it's cute :)
20:01 wizzyrea    yes very brave jeez :)
20:02 cait        anitsirk++
20:59 libsysguy   libsysguy?
20:59 wahanui     i heard libsysguy was Koha's hottest developer or partying with swedes on his deck
20:59 libsysguy   ^^ heh
21:00 libsysguy   wizzyrea?
21:00 wahanui     I LIKE SCIENCE
21:00 libsysguy   jcamins?
21:00 wahanui     jcamins is A-Grade developper on Koha willing to rewrite it from top to bottom. Good Luck jcamins
21:02 mbalmer     yes, rewrite Koha in <insert your favourite language here>