Time  Nick         Message
22:18 cait         night :)
22:18 eythian      cait: Just continuing the sequence you started
22:17 cait         ?
22:16 eythian      cait: j
22:15 cait         i
21:13 Joubu        bye #koha
21:13 Joubu        /clear
21:12 jmsasse      nickserv identify Tipper22
20:44 Joubu        trivial if you are using packages
20:43 Joubu        liv_ong: if you are using debian: https://wiki.koha-community.org/wiki/Debian
20:43 wahanui      debian is Debian is never late or early. Debian arrives precisely when it means to.
20:43 Joubu        debian?
20:42 liv_ong      Joubu: if I upgrade to the latest, the plack enabling process is easy?
20:42 liv_ong      Joubu: ok, will tell him then
20:41 Joubu        your are loosing your time, really
20:41 Joubu        and then your boss will want to change
20:41 Joubu        liv_ong: anyway, 3.14 does not support plack. You are going to introduce bugs
20:40 Joubu        I am sure that will make him change his mind
20:40 Joubu        I can give you pointers to security issues that have not been backported into 3.14.x
20:39 Joubu        not a sufficient reason I'd say :)
20:39 liv_ong      Joubu: He tells "don't even try to change version, it's my favorite and it works"
20:39 Joubu        that's not a good reason :)
20:39 liv_ong      Joubu: my boss is an assh*le
20:38 Joubu        any good reasons not to update?
20:38 liv_ong      I have koha in /usr/share/koha
20:38 liv_ong      Joubu: keeps on getting "Not Found"  :'(
20:36 Joubu        comment all the "enable 'Debug',  panels" block
20:35 liv_ong      Joubu: it's there anyway to bypass(disable) that feature?
20:35 Joubu        liv_ong: and the paste you sent shows that you enabled nytprof, not recommended at all for production, only debug purpose
20:32 Joubu        make*
20:32 Joubu        liv_ong: you should spend you time upgrading the instance instead of me it works :)
20:31 Joubu        iirc plack was not considered as stable under 3.14 and there are certainly some bugs that are not fixed in this version
20:31 cait         and plack not supported well back then
20:31 Joubu        3.14 is old and no longer supported
20:30 Joubu        you should definitely think about upgrading to a most recent and supported version
20:30 liv_ong      Joubu: the idea is to have 3.14.14 with plack running
20:29 liv_ong      Joubu: it's a fresh installation via source code, since I have that particular version in production
20:29 liv_ong      Joubu: I'm stuck in this part https://wiki.koha-community.org/wiki/Plack#Running_OPAC with these messages https://pastebin.com/EQFNcTLd
20:29 Joubu        liv_ong: are you doing a new insllation?
20:28 liv_ong      Joubu: yes, thanks, this one https://wiki.koha-community.org/wiki/Plack my koha version is 3.14.14
20:25 Joubu        Are you following a doc?
20:25 Joubu        liv_ong: How are you installing Koha?
20:22 liv_ong      another question I'm trying to make plack work I have finished the setup but opening the host on port 5000 gets Not Found this is my opac https://pastebin.com/4Sk0wqjw
20:21 liv_ong      thank you magnuse
20:04 Joubu        not a big deal anyway :)
20:03 kidclamp     looked too fast
20:02 kidclamp     is not, you are right, my mistake
20:02 Joubu        Just reading at the code it does not seem to be a regression
20:02 kidclamp     nvm
20:02 kidclamp     ooh, I guess you just copied
20:01 kidclamp     price formatting
20:01 kidclamp     you added price calculation on one of the occurences, but not the other two
20:01 Joubu        kidclamp: why did you link 18504 and 17578?
19:14 magnuse      how did you install koha and how are you trying to run plack?
19:14 magnuse      liv_ong: C4 is a core part of koha
19:07 liv_ong      how to install C4?
19:06 liv_ong      I want to use plack for OPAC but I get "Can't locate C4/Context.pm"
18:55 mtompset     oleonard: Three more pages with no HTML errors in the staff client. :)
18:55 mtompset     I think this is pretty. :) The HTML and JS is ugly, but it is much more pretty than before. :)
18:54 mtompset     Well, I've finished off the other reports, Joubu. I suppose we'll have to wait for someone to sign off the 7 more attachments.
18:53 francharb    I use Ubuntu at work. I have macos and lubuntu at home. My lubuntu computer works fine but it's so old. Not sure I can't use for anything but browsing the internet
18:52 stozza       I won't touch this one, and will wait for the deb pkg release :) thanks a lot
18:52 francharb    but yeah, I'm going to write the mailing list for this sassy "behaviour" :)
18:52 Joubu        stozza: sounds like the package has not been generated yet, that should be done in a few days
18:52 mtompset     francharb: the kohadevbox works well under Windoze, though it works better under Debian. :)
18:51 francharb    I'll try anyway
18:51 francharb    ...
18:51 francharb    but if I can't use my computer
18:51 mtompset     Oh right, you are a webby UI type. Sorry to hear there is development pain in Mac-ville.
18:51 francharb    my plan was to try this devbox one day
18:50 oleonard     I've never had a fully working devbox on my Mac.
18:49 mtompset     oleonard: I hate when that happen... vagrant destroy and vagrant up are such a long painful process!
18:49 francharb    mtompset, ahah! thanks anyway
18:49 stozza       ok according to bugzilla the fix will be in 16.11.07
18:49 francharb    ;)
18:49 francharb    oleonard, sick like "top notch" or like "needs to be fixed" ?
18:48 mtompset     francharb: I use chrome. :)
18:48 stozza       Joubu: is it ok to just upgrade via apt-get? I did it but got same error
18:47 * oleonard   can't test because this dev box is sick
18:47 oleonard     Mine's 53. I always let it update automatically.
18:46 oleonard     sassy
18:46 francharb    and now when I check out an item, it looks like the interface "wink"
18:46 francharb    I upgraded from 52 to 53
18:46 francharb    Which version of firefox do you use ?
18:46 francharb    Hello all! Quick question
18:45 stozza       upgrading to 16.11.06, let's see
18:43 stozza       16.11.05.000
18:11 oleonard     ashimema around?
18:05 Joubu        you should upgrade
18:05 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18312 critical, P5 - low, ---, jonathan.druart, Pushed to Stable , Export is broken unless a file is supplied
18:05 Joubu        stozza: bug 18312
18:05 Joubu        stozza: but 18312
18:04 Joubu        stozza: Koha version?
18:02 mtompset     oleonard: Thanks for that idea... I just noticed categories.js
18:01 stozza       Can't use an undefined value as a HASH reference at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 75.
18:01 stozza       Software error:
18:01 stozza       trying to export an items list, using the export data tool, I get the following
18:00 oleonard     https://wiki.koha-community.org/wiki/Coding_Guidelines#JS2:_Enabling_translation_of_language_strings_in_embedded_JavaScript
18:00 Joubu        sorry for the last answer, misread :)
18:00 mtompset     okay...
18:00 oleonard     mtompset: Look for examples in the templates which look like "MSG_..."
18:00 Joubu        not in js
17:59 mtompset     oleonard: Joubu ... how do I put the strings in the template, but the code in the js?
17:59 mtompset     So...
17:58 * mtompset   has his brain explode parsing that.
17:58 Joubu        I agree with the 'unless not a or b' ;)
17:57 Joubu        same for [% IF !A && !B %] vs [% UNLESS A OR B %]
17:57 mtompset     People don't think in the negative.
17:57 Joubu        [% UNLESS A %] if much better than IF !A
17:57 * mtompset   gives Joubu the evil eye, "Unless is such a pain to read, particularly for newbies."
17:57 * kidclamp   misses his mullet
17:56 oleonard     I forgot to "restart_all" after starting to grow my mustache and now I have a mullet instead.
17:56 Joubu        (and make people crazy reading it...)
17:56 Joubu        yes indeed, CrispyBran_away you can replace it with [% UNLESS NOT A OR B %] if you want to be a real dev
17:56 kidclamp     and mtompset, speak for yourself, I am a solpsist
17:55 kidclamp     :b
17:55 kidclamp     the correct answer: we are devo!
17:55 mtompset     kidclamp: No, we are instantiations of personality floating on the net, as the master object types into the console. :P
17:54 Joubu        I am sure some of us are bots!
17:54 oleonard     Joubu: How does it feel to wonder whether or not we are human?
17:54 kidclamp     are we not men?
17:52 Joubu        CrispyBran_away: [% IF A AND NOT B %], we are human right?
17:52 misilot      Hi, is there anything on 3.22 that would cause Public Reports be hit or miss on returning the data?
17:49 * mtompset   grins.
17:46 kidclamp     hah!
17:46 CrispyBran   Ha!!
17:45 oleonard     I started growing a mustache when I ran 'vagrant up' and now that it's finished I look like kidclamp
17:44 CrispyBran   I'll try without.
17:43 CrispyBran   Not yet.  Exist code seems to always put the condition in parentheses.  I was just sticking to what was there.  Basically, it is testing if a value is true or false.
17:42 oleonard     did you try [% IF ConditionA && !ConditionB %] ?
17:42 CrispyBran   Should the ! be outside the parentheses?
17:42 CrispyBran   So maybe [% IF ( ConditionA ) && !( ConditionB ) %]
17:41 CrispyBran   I haven't seen it done differently
17:41 oleonard     Yeah the parentheses are only necessary if there is more complex grouping
17:41 mtompset     Condition A isn't horribly complex is it?
17:41 mtompset     And why so many parenthesis?
17:40 mtompset     OH... there it is.
17:40 CrispyBran   Not sure where the ! should be placed.
17:39 mtompset     CrispyBran: I don't see the difference?
17:39 CrispyBran   What is the proper way to do this?  [% IF ( ( ConditionA ) && !( ConditionB ) ) %] or [% IF ( ( ConditionA ) && ( !ConditionB ) ) %]
17:39 oleonard     No, but you can separate the strings and put them in the template.
17:38 mtompset     do include files get translated?
17:38 mtompset     Hmm... do js files get translated?
17:37 oleonard     Yes
17:36 Joubu        mtompset, oleonard: I am wondering if it would not fit better in a reports.js file instead of an include file
17:29 mtompset     And clean up more HTML while I'm at it too. :)
17:29 mtompset     If you have an idea, I'd be glad to hear it. Otherwise, I'm hoping to finish this bug off today.
17:28 mtompset     -- forms... borrowers_stats, catalogue_stats, issues_stats
17:27 oleonard     I'm wondering whether that form couldn't be reworked in a way that is more familiar and not in a table
17:26 mtompset     So I was thinking of a row-columns-required.inc
17:26 mtompset     I'm working on JD's comment about other stat reports missing the similar logic.
17:25 mtompset     That makes it simpler then. :)
17:25 mtompset     SWEET!
17:25 oleonard     Yes
17:25 mtompset     so both will get triggered?
17:25 oleonard     They coexist comfortably.
17:24 mtompset     or will the later one override?
17:24 mtompset     If I have a file and it includes two seperate files with document readys, will it chain?
17:23 mtompset     Quick question, as you were more clueful on the document ready issues.
17:23 * oleonard   clears his throat loudly
17:22 huginn`      mtompset: oleonard was last seen in #koha 3 hours, 4 minutes, and 46 seconds ago: <oleonard> http://imgur.com/7y1mCSj
17:22 mtompset     @seen oleonard
17:22 mtompset     Greetings, #koha.
17:22 CrispyBran   I will.
17:22 Joubu        CrispyBran: if you recreate on a fresh install, please open a bug report and provide a step-by-step plan to reproduce
17:21 CrispyBran   I had to clear out the old_reserves table.  Not old_issues.  Something went wonky when I was moving items around and cancelling holds.  I tried the same steps after clearing it, and was not able to replicate it.  Never restarted mysql, so don't know why it corrupted.
17:18 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18242 critical, P5 - low, ---, jonathan.druart, Pushed to Stable , Remove primary key on old_issues.issue_id
17:18 Joubu        see bug 18242
17:18 Joubu        do you know on which table you get the duplicate entry?
17:17 CrispyBran   Not on my kohadevbox.  We are using it in production.
17:16 Joubu        CrispyBran: Are you using >= 16.11.07?
17:08 kidclamp     np
17:03 CrispyBran   kidclamp - thanks
17:03 CrispyBran   I deleted the records for the old_reserves table.  That cleared up that problem and the problem where item didn't transfer home.
16:56 kidclamp     or since is test system. just wipe old_reserves
16:55 kidclamp     if that first sql returns results, yes
16:55 tylathos     hey, has anyone Experience with koha on nginx?
16:54 CrispyBran   kidclamp - are you saying I need to follow these steps?
16:54 kidclamp     when you restart your server auto_increment gets reset
16:53 kidclamp     adjusted as needs be
16:53 kidclamp     ALTER TABLE reserves AUTO_INCREMENT = 2000;
16:53 kidclamp     UPDATE reserves SET reserve_id=reserve_id+1000;
16:53 kidclamp     select reserve_id FROM reserves JOIN old_reserves USING (reserve_id);
16:52 kidclamp     yeah
16:51 CrispyBran   I get this message if patron tries to checkout item that is waiting on hold.  This is on master.
16:48 kidclamp     maybe an auto_increment problem with issues table?
16:40 wahanui      Any ideas are welcome :)
16:40 CrispyBran   Any ideas?
16:40 CrispyBran   Trying to checkout an item in kohadevbox, and I get DBIx::Class::Storage::DBI::_dbh_execute(): Duplicate entry '3' for key 'PRIMARY' at /home/vagrant/kohaclone/Koha/Object.pm line 121
16:29 kidclamp     floating in circ rules? not sure
16:26 CrispyBran   kidclamp: In my kohadevbox I have AutomaticItemReturn set to Do, but when I check an item in at another library, it does not initiate a transfer.  Is there another setting I need to look at?
16:12 rsantellan   good afternoon #koha
15:58 tcohen       phpmc
15:00 reiveune     bye
14:19 Joubu        oleonard: not the grenades!!
14:18 oleonard     http://imgur.com/7y1mCSj
14:12 Joubu        then for the ones that do not you will have to apply the changes manually (see the .rej files)
14:11 Joubu        you will know the chunks that apply and the ones that do not
14:11 Joubu        oleonard: yes, kind of manually. Try git apply --reject to see how big is the task
14:10 Joubu        oleonard: you can use `git apply --reject`
14:10 oleonard     Joubu does that sound like the correct next step?
14:09 oleonard     Okay, so if you consider 17855 to be up to date and PQA I will focus on getting UI patches to apply
14:07 Joubu        oleonard: you should not look at the first 2 patches of 18462 :)
14:06 Joubu        it was on older versions
14:06 oleonard     *sigh*
14:06 oleonard     Oh... I guess I assumed it did because of the patches on 18462
14:06 Joubu        not anymore
14:06 Joubu        oleonard: no it does not
14:03 oleonard     I don't thikn 17855 can still be considered to be PQA. It includes the basic/advanced system which is abandoned in 18462
14:00 Joubu        at this point I do not know how to process
14:00 Joubu        then we will need a patch for the onboarding tool, for UI only
14:00 Joubu        you will get a patch with the UI changes for the installer
13:59 Joubu        oleonard: if you have a branch with UI changes to the installer, you could c/p the files to /tmp, then git chekcout bug_17855, the copy then back
13:59 tcohen       ha
13:58 Joubu        well, I created it with my follow-up on 17855 actually. But it was the only way to make it push IMO
13:58 oleonard     I don't know that you and I can sort this out without requiring QA on everything all over again.
13:57 oleonard     Sorry Joubu I didn't realize what a mess 18462 was creating.
13:55 Joubu        and pl?
13:55 Joubu        Did you only modify the onboardingstepX.tt files or also js/inc?
13:52 Joubu        for instance onboarding/onboardingstep1.tt looks ok, but onboarding/onboardingstep2.tt looks different
13:51 Joubu        oleonard: some changes are, some are not :-/
13:49 Joubu        but then they do not apply with sha1 info is lacking
13:49 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18462 enhancement, P5 - low, ---, koha-bugs, Needs Signoff , Implemented bootstrap styling on the web installer and onboarding tool
13:49 oleonard     have you checked to see if Bug 18462's "onboarding tool" patch the same as the changes in 17855?
13:49 Joubu        oleonard: maybe we should skip the first 3 patche actually
13:47 Joubu        but second patch "reverted back to [...]" is on both bug reports, but they are very different
13:47 Joubu        oleonard: I'd say we should not have the first 2 patches
13:46 oleonard     Joubu: Let me spend some time looking at what we have and get back to you.
13:45 Joubu        oleonard: I have no idea, I am lost
13:40 oleonard     Yeah I'm not sure why he chose to do it that way. How can I help? Try to resolve the conflicts?
13:38 Joubu        I try to apply on top of 17855 but it conflicts
13:38 Joubu        the patches have to be based on top of 17855, the first patch of 18462 should not be there
13:37 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18462 enhancement, P5 - low, ---, koha-bugs, Needs Signoff , Implemented bootstrap styling on the web installer and onboarding tool
13:37 Joubu        oleonard: I am not sure to understand what alexbuckley_ did on bug 18462 but it's wrong
13:33 Joubu        oleonard: If you tried the patch and confirmed it works as before you can keep the SO status
13:32 Joubu        thanks oleonard, I will give it another try today
13:28 oleonard     You were right to flag that as a problem.
13:28 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3311 normal, P5 - low, ---, mtompset, Needs Signoff , Statistical reports should error if row and column aren't selected
13:28 oleonard     Joubu: I submitted a follow-up to Bug 3311 to move the JS out of the body of the page.
13:09 magnuse      gp: if you have a queston about koha just go ahead and ask it, if there are people around who can answer it they will
13:07 gp           ?
13:06 tcohen       morning #koha
13:04 paul_p       magnuse yep
13:04 magnuse      paul_p: around?
12:47 * oleonard   waves
12:39 gp           Who's out there?
11:38 oleonard     Hi #koha
09:15 stozza       Can't use an undefined value as a HASH reference at /usr/share/koha/intranet/cgi-bin/tools/export.pl line 75.
09:15 stozza       Software error:
09:15 stozza       mh, from the export data tool I always get this error, in marc, xml or csv:
09:12 stozza       I am exporting from the item search page, let me check the export data tool
09:05 BobB         there's an export data page
09:05 BobB         are you using the Tools menu?
09:04 wahanui      not sure why is probably still pulling it
09:04 BobB         hmm, not sure why
09:03 BobB         ah, sorry, I misunderstood
09:03 stozza       so from item search there is this "output to CSV" file, but it gives me a 2-lines csv file, with all the items on 1 line. not sure how to use it
09:03 stozza       from koha to a text file, or better a spreadsheet
09:02 stozza       I am actually trying to export the info
09:02 stozza       I have everything in Koha already
09:01 BobB         stozza you can't import csv directly to Koha, you need MARC records
08:56 stozza       2 items.csv
08:56 stozza       wc -l items.csv
08:56 stozza       items.csv: UTF-8 Unicode text, with very long lines
08:56 stozza       $ file items.csv
08:55 stozza       I am now trying to export a list of all the items we have in the inventory. Is the CSV expected to be a one-liner?
08:54 stozza       finally got koha running, almost as wanted. My daughter's school is giving a party to celebrate the new library :)
08:52 stozza       hello :)
08:29 fridolin     atheia: hie
08:28 * atheia     tips hat at fridolin
07:39 fridolin     hie tehre
07:11 atheia       Good morning, magnuse!
07:07 * magnuse    waves to atheia
06:48 wahanui      bidet, reiveune
06:48 reiveune     hello
06:45 mveron       Hi #koha
06:44 wahanui      privet, alex_a
06:44 alex_a       bonjour
06:08 * magnuse    waves
05:53 alexbuckley_ Hi everyone