IRC log for #koha, 2017-04-27

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

All times shown according to UTC.

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

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

koha1