IRC log for #koha, 2015-07-22

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

All times shown according to UTC.

Time Nick Message
00:03 Francesca joined #koha
00:03 * Francesca waves
00:28 papa joined #koha
00:44 ngourlay joined #koha
01:08 burdsjm1 joined #koha
01:32 eythian http://www.wired.com/2015/07/h[…]kill-jeep-highway
01:33 wizzyrea ^ you missed an entertaining discussion of this over lunch, eythian
01:37 mtj amazing story! ^
01:37 hey #koha
03:00 papa joined #koha
03:25 Francesca joined #koha
03:35 Francesca joined #koha
03:37 wizzyrea mtj - you're mtj at kohaaloha.co.nz ya?
03:43 errr, if I wanted to submit a patch against the release tools, where would I do that?
03:43 (it's just template updates)
03:44 rangi you should be able to push to that repo
03:44 wizzyrea oooo didn't even think about that.
03:44 rangi lemme know if you cant, and ill fix it
03:44 wizzyrea cool
03:47 W access for release-tools DENIED to wizzyrea
03:48 rangi right fixing now
03:48 wizzyrea \o/ ty
03:50 rangi hows that now?
03:50 wizzyrea happier :D
03:50 rangi++
04:00 drojf joined #koha
04:01 drojf too early morning, #koha
04:02 eythian hi drojf
04:15 mtj yep wizzyrea
04:16 ah, looks like its all sorted :)
04:16 peeps, ive got a stupid mysql error, when running 'koha-create'..
04:17 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
04:18 ive confirmed ive got some 'root' perms in the mysql.user table..
04:19 eythian what did you do that got you into this situation?
04:20 most importantly, are the credentials in /etc/mysql/koha-common.cnf correct?
04:20 mtj i got a very weird mysql crash, and did a mysql reinstall
04:20 with an empty /var/lib/mysql dir
04:20 eythian right, so you've lost all your mysql config probably.
04:21 that said, I don't know what koha-create is doing trying to use root anyway
04:21 so, you've probably done something that's causing it to use a non-standard configuration.
04:21 mtj hmm, good point
04:21 should be using the koha/debsysmaint user, huh
04:21 eythian no
04:21 it should be whatever is in /etc/mysql/koha-common.cnf
04:22 mtj koha-common.cnf -> debian.cnf
04:22 eythian it just loads that as a config filefor mysql
04:22 yeah
04:22 which then ends up being debian-sys-maint normally
04:22 matts_away joined #koha
04:22 eythian but, the error is saying "'root'@'localhost'"
04:23 mtj hmm, i might force a fresh koha purge/install
04:23 eythian and koha-create doesn't invoke the root mysql user
04:23 You'll never know what happened if you do that.
04:24 mtj all good,  eythian
04:24 my theory is that i had a mismatch of maria and mysql packages installed, together
04:25 eythian I'd expect them to conflict
04:25 mtj yeah, me too
04:25 vm was a wheezy->jessie upgrade
04:26 anyhoo, ill let you know how it turns out :)
04:28 drojf rangi++ wizzyrea++ eythian++ # releases & packages
04:28 hard-working future people :)
04:33 any reason why 3.18.9 release notes mention english (usa) as the only "complete or near complete" translation?
04:34 looks like we have 217 strings to do for 3.18 in german, of >110000. but that can't be it :)
04:36 eythian wizzyrea had to run off, so won't be able to answer your question right now.
04:37 drojf i hope she did not run off because of my question, it's not that bad :)
04:39 Francesca joined #koha
04:46 drojf wake up early, update 30 kohas. i should call it a day
04:47 eythian sounds like your work is done
05:09 wizzyrea_ joined #koha
05:17 mtj meh, im still stuck on my weird koha-create problem..
05:17 seems that this line in the script is failing...
05:17 mysql --defaults-extra-file=/etc/mysql/koha-common.cnf
05:19 ..yet, the info in the file looks (and works) fine
05:20 'mysql -u debian-sys-maint -pxxxxxxxx' works ok
05:23 works ok on a wheezy/mysql-5.5.43 box
05:23 eythian that's not the best test
05:23 mtj ..but has a problem on jessie/mysql-5.5.44-0
05:23 eythian does mysql --defaults-extra-file=/etc/mysql/koha-common.cnf work?
05:23 are you making sure you're running it with sudo?
05:23 mtj on my problem box.. no ^
05:24 eythian have the permissions broken?
05:24 so, there's something wrong with that file
05:24 or the access to it
05:25 mtj perms look ok
05:26 root@xen1:~# ll /etc/mysql/koha-common.cnf /etc/mysql/debian.cnf
05:26 -rw------- 1 root root 333 Jul 22 17:08 /etc/mysql/debian.cnf
05:26 lrwxrwxrwx 1 root root  10 Jul 22 17:09 /etc/mysql/koha-common.cnf -> debian.cnf
05:27 eythian OK, yeah I just tested it complains loudly if the perms are wrong
05:27 but running that mysql command with sudo causes me to be immediately connected.
05:27 mtj so weird?!
05:28 root@xen1:~# mysql --defaults-extra-file=/etc/mysql/koha-common.cnf
05:28 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
05:28 why is it ignoring the valid users in that file?
05:28 wizzyrea_ oh, the mysql root user instead of the system root user.
05:29 pastebot "eythian" at 127.0.0.1 pasted "what mine looks like" (13 lines) at http://paste.koha-community.org/12
05:29 eythian yeah, it should be using debian-sys-maint
05:34 mtj mine are identical ^
05:34 eythian then I have no idea, but you've got something funky going on with your mysql.
05:35 wizzyrea_ it's a localhost mysql right? not a remote one? Sorry if I missed that part...
05:35 mtj yep, wiz
05:36 ..completely purged, rm -rf , and installed
05:36 wizzyrea_ mysql not mariadb?
05:36 mtj yep
05:36 this works just fine too..
05:36 root@xen1:~# mysql -u 'debian-sys-maint'  -psecret
05:36 Welcome to the MySQL monitor.  Commands end with ; or \g.
05:36 wizzyrea_ how did you install mysql?
05:38 mtj # apt-get install mysql-server-5.5
05:38 after deleting /etc/mysql and /var/lib/mysql
05:38 and 'apt-get purge'
05:39 its as 'pristine' as it can be , afaik?
05:39 no previous mysql etc or db dirs
05:40 other people are running jessie with mysql-server-5.5 (5.5.44-0+deb8u1) ?
05:44 eythian yeah
05:44 wizzyrea_ http://motherboard.vice.com/en[…]ust-bought-can-do < off topic but NEAT
05:44 yeah, that seems like it should work.
05:55 cait joined #koha
05:57 mtj heey, i just clicked to my problem
05:58 i had set some user/passwd stuff in /root/.my.cnf... some time ago
05:59 ..it was using those deets instead, hum
05:59 wizzyrea_ oops :)
06:00 mtj pretty lame
06:00 wizzyrea_ meh, you sorted it in the end so that's all that matters.
06:07 mtj ta wiz, eythian .. sorry for the noise
06:13 wizzyrea_ nah, all good.
06:20 sophie_m joined #koha
06:22 laurence joined #koha
06:24 sophie_m left #koha
06:24 sophie_m joined #koha
06:32 Francesca joined #koha
06:35 BobB wizzyrea what is your experience of mariadb and koha?
06:35 is it seamless or are there issues?
06:35 wizzyrea_ it works just fine, afaict - we run several production Koha on it.
06:35 BobB cool
06:36 wizzyrea_ there might be some shenanigans with Jessie? rangi might know more about that
06:36 BobB yeah, every change is fraught with risk  :)
06:37 wizzyrea_ a bit. but yeah, on my work machine I do dev on it and it works just fine.
06:38 BobB thx wizzyrea
06:38 wizzyrea_ yep. mind you I"m not guaranteeing anything but I haven't had anything crop up. :)
06:42 Francesca joined #koha
06:45 gaetan_B joined #koha
06:45 gaetan_B hello
06:45 wahanui que tal, gaetan_B
06:46 cait left #koha
06:48 reiveune joined #koha
06:48 reiveune hello
06:48 wahanui niihau, reiveune
06:50 wizzyrea_ I'm going away now :)
06:56 alex_a joined #koha
06:57 alex_a bonjour
06:58 Francesca joined #koha
07:01 kivilahtio joined #koha
07:02 fridolin joined #koha
07:02 fridolin hie there
07:06 Francesca hello
07:06 wahanui hello, Francesca
07:06 Francesca @wunder wlg
07:06 huginn` Francesca: The current temperature in Wellington, New Zealand is 11.0°C (6:30 PM NZST on July 22, 2015). Conditions: Scattered Clouds. Humidity: 71%. Dew Point: 6.0°C. Pressure: 30.57 in 1035 hPa (Steady).
07:09 Jul joined #koha
07:16 p_vdk joined #koha
07:19 p_vdk left #koha
07:21 lari joined #koha
07:37 irma joined #koha
08:03 codavid joined #koha
08:04 codavid left #koha
08:10 Francesca joined #koha
08:20 wicope joined #koha
08:26 ngourlay joined #koha
08:29 Francesca joined #koha
09:32 bigbrovar joined #koha
09:42 schnydszch joined #koha
10:08 Francesca joined #koha
10:22 hyvaria joined #koha
10:22 newbie|2 joined #koha
10:35 cait joined #koha
10:35 * cait waves
10:36 cait @wunder Konstanz
10:36 huginn` cait: The current temperature in Bodensee Konstanz City, Konstanz, Germany is 29.9°C (12:35 PM CEST on July 22, 2015). Conditions: Clear. Humidity: 43%. Dew Point: 16.0°C. Pressure: 29.98 in 1015 hPa (Steady).
10:41 Jul_ joined #koha
11:01 cait hm looks like the isbn is no longer searchable with hyphens :(
11:20 marcelr joined #koha
11:20 marcelr hi #koha
11:20 * cait waves and melts
11:22 marcelr melts?
11:22 cait it's just too hot here today
11:23 marcelr waving helps :)
11:24 cait @wunder Konstanz
11:24 huginn` cait: The current temperature in Bodensee Konstanz City, Konstanz, Germany is 30.7°C (1:24 PM CEST on July 22, 2015). Conditions: Clear. Humidity: 34%. Dew Point: 13.0°C. Pressure: 29.95 in 1014 hPa (Steady).
11:38 bigbrovar joined #koha
11:56 meliss joined #koha
12:07 jpap joined #koha
12:08 jpap Hi everybody, just realized something very strange while I was trying to import an iso2709 file to koha: if the word 'announce' exists within the data, then the file-upload.pl module in koha stalls...
12:11 Jul- joined #koha
12:14 drojf joined #koha
12:14 kivilahtio Koha::Logger ++
12:21 cait jpap: maybe file a bug report with the sample record attached
12:21 so people can try to reproduce the issue
12:21 jpap ok, I will do that
12:24 talljoy joined #koha
12:33 tcohen joined #koha
12:59 mario joined #koha
13:00 mario morning
13:05 mario joined #koha
13:10 drojf joined #koha
13:16 carmen joined #koha
13:16 drojf1 joined #koha
13:17 JoshB joined #koha
13:18 NateC joined #koha
13:21 sophie_m joined #koha
13:27 tcohen morning
13:34 paul_p joined #koha
13:35 drojf1 hi tcohen
13:35 tcohen hi drojf1
13:35 drojf: i've found a 1080p version of the video
13:35 FYI
13:35 drojf great!
13:36 marcelr hi tcohen drojf
13:36 drojf hi marcelr
13:36 tcohen hi marcelr
13:36 marcelr tcohen: You got the Logger inside :)
13:36 tcohen i'm proud of it, yes
13:36 I hope we solve any issue in time for november :-D
13:36 *by*
13:36 marcelr tcohen: i will try to spend some time on the upload stuff
13:37 * tcohen is glad to hear that, it was next on his queue
13:37 marcelr put it in hold for a while..
13:37 drojf tcohen: i am already bugging wizzyrea about website translation, so i would wait a little with the video ;)
13:37 tcohen heh
13:38 cma joined #koha
13:38 marcelr tcohen: any problems with bug 13049 btw?
13:38 huginn` 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=13049 enhancement, P5 - low, ---, m.de.rooy, Passed QA , Merge selfreg cron jobs into cleanup_database
13:38 tcohen marcelr: we need to make xslt_handler smarter
13:38 marcelr is that possible ? :)
13:38 tcohen marcelr: not that I noticed
13:38 marcelr what about xslt handler?
13:38 tcohen we need to make broader use of Koha::RecordProcessor filters
13:39 and it should be desirable that we can apply several filters (xslts) to a same dom object
13:39 marcelr do you have  a report at hand that does so?
13:39 tcohen last time i saw the handler it returned plain XML
13:40 marcelr: what exactly?
13:40 "make broader use..."?
13:40 marcelr working examples?
13:40 tcohen ah, no, of course :-D
13:41 i need to resume that work
13:41 marcelr well, i would suggest to open a new report as first step :)
13:41 put me in cc
13:41 tcohen https://github.com/tomascohen/[…]ee/xslt_filtering
13:42 it does it without the handler
13:42 get a LibXML::XML::Document object (aka a parsed XML file)
13:43 marcelr will certainly have a look later !
13:43 tcohen apply in-memory XSLT's created on the fly (the work should cache them instead, that's the missing part)
13:43 marcelr ok
13:43 tcohen in the end we should have
13:44 my $filter = Koha::RecordProcessor->new( { filters => ( 'ViewPolicy', 'OPACResults' ) } );
13:44 paul_p joined #koha
13:44 tcohen my $record_for_direct_output = $filter->process($search_result);
13:44 or something like that
13:44 marcelr sounds good
13:45 tcohen instead of C4::Search::SearchResults
13:45 marcelr if it starts with C4..
13:45 and then a S
13:45 tcohen but we don't want to re-parse XSLT's and the MARCXML record each time... as we do now...
13:45 marcelr yeah
13:46 note that the xslt handler object could be moved a level higher..
13:46 this was the safe start
13:46 without problems in persistent env
13:47 edveal joined #koha
13:51 marcelr kivilahtio++ #brave auth rewrite
13:52 kivilahtio marcelr: tell me about it. I am so freaked out :)
13:52 marcelr: but I just couldn't duplicate one more line of code
13:52 marcelr just be prepared for the followup of it
13:52 kivilahtio marcelr: yeah, it will be a storm
13:53 marcelr: but the miraculous thing is that I actually made it work. Ispent few weeks trying to figure it all out and it is not very easy to do
13:53 marcelr i believe that
13:54 kivilahtio marcelr: also Selenium test coverage !
13:54 marcelr: anyway, gotta go get the REST API authentication done
13:54 marcelr cool
13:54 kivilahtio marcelr: I already have a Swagger2-driven REST API testing framework in motion
13:55 marcelr: makes sure that you cannot introduce new REST services without having tests for them
13:55 marcelr we are all running behind you :)
14:15 tcohen kivilahtio: beware of going too fast
14:15 you need people to actually embrace your work
14:15 kivilahtio tcohen: I need to get the REST API functional to rehaul the serials display
14:16 tcohen I know
14:16 kivilahtio tcohen: I am pretty sure my authentication modifications wont be getting stale in a while ;)
14:16 tcohen I know 'why'
14:16 kivilahtio I would imagine nobody want to touch C4::Auth
14:19 burdsjm joined #koha
14:31 tcohen i'm pretty sure
14:55 fridolin left #koha
15:04 reiveune bye
15:04 reiveune left #koha
15:08 paul_p_ joined #koha
15:15 cait tcohen: about the logger - could we get up some documentation abut how to use it on the wiki?
15:23 tcohen cait: I think there was a wiki page
15:23 the bug itself has a patch with an example usage
15:23 we need to add coding guidelines for it of course
15:23 (which facility for what kind of problem?, etc)
15:25 mario joined #koha
15:25 tcohen @later tell khall we need a wiki page on Koha::Logger, Jonathan started one for his implementation, could be reused http://wiki.koha-community.org/wiki/Logger
15:25 huginn` tcohen: The operation succeeded.
15:25 tcohen k?
15:25 wahanui k is probably there no other way to access it from another web browser
15:26 tcohen bug 14456
15:26 huginn` 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=14456 major, P5 - low, ---, abl, Signed Off , EmbedSeeFromHeadings record filter shouldn't process MARC holding fields
15:27 tcohen it is interesting that we didn't notice it
15:27 we only "feel" results are not that meaninful
15:27 heh
15:27 cait, could you take a look?
15:29 pianohacker joined #koha
15:32 cait not right now sorry :(
15:32 big librar going live next week... super busy right now
15:32 and have to run... or the thunderstorm might hit me :)
15:32 cait left #koha
15:38 SoupShit joined #koha
15:40 laurence left #koha
15:57 gaetan_B bye
16:08 paul_p joined #koha
16:36 drojf joined #koha
17:08 mario joined #koha
17:23 JesseM_ joined #koha
17:45 wicope joined #koha
18:39 barton joined #koha
18:44 mm1234 joined #koha
18:45 mm1234 hello, when one of our librarians tries to create a new vendor in the Acquisition module, when she tries to save  after entering all the information, she get bad template path at /home/koha/kohaclone/C4/Auth.pm line 143
18:46 we are using Koha 3.14
18:46 we are on the latest release
18:46 any suggestions why this happens?
18:51 pianohacker mm1234: this is a bug (bug 14440) that occurred as a result of a security fix
18:51 huginn` 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=14440 major, P5 - low, ---, fridolin.somers, Pushed to Stable , get_template_and_user can not have an empty template_name
18:52 pianohacker it has been fixed in the latest versions of 3.20 and 3.18, but I'm not sure it'll be backported to 3.14...
18:52 I'd very much recommend upgrading to at least 3.18 regardless, 3.14 is rather old and only partially supported at this point
18:53 mm1234 so, there is no fix if we stay on version 3.14
18:53 the librarian would not be able to create new vendors
18:53 is that correct?
18:54 pianohacker mm1234: unfortunately, yes. The fix in question is fairly simple, and you could probably apply it yourself, but upgrading to 3.18 is the more straightforward route
18:54 mm1234: are you on a package or git install?
18:54 mm1234 git
18:55 how would i apply the fix myself.....if i were to go that route?
18:55 pianohacker okay. Then you _could_ apply the fix in question using git cherry-pick, if an upgrade to 3.14 is unreasonable or you need an urgent fix
18:55 *upgrade to 3.18
18:56 mm1234 i'm so sorry, but what would be the command with cherry pick?
18:57 mtj mm1234: its probably safer for you to upgrade to a later offical release
18:59 mm1234 i am working toward that. I just need to have that working until my boss gives me the good to go with 3.18
19:00 cait joined #koha
19:01 mtj also... hi #koha :0)
19:04 mm1234 do you all know what the cherry-pick commandid would be for bug 14440?
19:04 huginn` 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=14440 major, P5 - low, ---, fridolin.somers, Pushed to Stable , get_template_and_user can not have an empty template_name
19:08 mtj mm1234:  you can also just download the patch/diff file, and apply
19:09 looks like you are after this patch...
19:09 [PASSED QA] Bug 14440: get_template_and_user can not have an empty template_name (updatesupplier.pl)
19:09 http://bugs.koha-community.org[…]ment.cgi?id=40620
19:10 so, something like...
19:10 $ wget -O ./my.patch  http://bugs.koha-community.org[…]ment.cgi?id=40620
19:10 $ git am -s  ./my.patch
19:11 mm1234 cool. thank you
19:11 mtj ^ ..from your koha.git dir
19:12 'git am' is handy -> https://www.kernel.org/pub/sof[…]/docs/git-am.html
19:13 $ git am -iu3  ./my.patch
19:13 ^ thats a better version, mm1234
19:14 mm1234 wow, thank you so much
19:14 i only hope the patch works with koha 3.14
19:17 mtj no probs :) , i think the change will fix your error
19:17 Francesca joined #koha
19:28 mm1234 mtj, this would be the command i would run, right? wget -O <name_of_patch_file> http://bugs.koha-community.org[…]ttachment.cgi?id=<attachment_number>
19:29 for http://bugs.koha-community.org[…]ment.cgi?id=40620, what is the name of patch file? I know how bad my questions sound, but I do very little Koha/git work
19:30 very limited in knowledge
19:36 mtj call your patch file anything you want
19:37 mm1234, it makes no difference
19:37 its just a file name
19:38 mm1234 i actually managed to apply the patch, but I am still getting the same error
19:39 eythian joined #koha
19:46 drojf pianohacker: we have a 3.14 release manager haven't we? why would it not be in the next 3.14?
19:47 the security fix that caused the problem went in last version )
19:47 ;)
19:47 pianohacker drojf: it's possible, but I never want to make promises for oldoldoldstable :)
19:48 drojf i consider it supported
19:49 i'd rather advice to ask the rm than let people apply patches manually
19:50 pianohacker same, but they needed a solution soon, not a week or two from now. Plus, they're on git
19:51 drojf ah i missed the git part
19:51 makes sense then
19:51 * drojf rather not asks about the git part :)
19:52 pianohacker yeah, manually applying patches to packages is a bit more freaky :)
19:52 mm1234 i think I just did the freaky part and it did not work
19:52 drojf i thought it was about applying it to a tar install, or something :D
19:52 pianohacker mm1234: what did it say?
19:53 mm1234 i think it applied the patch: 1 file changed, 56 insertions (+) create mode create mode 100644 PASSED-QA-Bug-14440-gettempl​ateanduser-can-not-hav.patch
19:54 but I still get the same error when creating the vendor
19:54 pianohacker hrm, that's odd.
19:55 that's very odd, that should have worked
19:56 mm1234: can you run git show HEAD and paste the results to paste.koha-community.org?
19:56 mtj acqui/updatesupplier.pl |   11 ++---------
19:56 1 file changed, 2 insertions(+), 9 deletions(-)
19:57 ^ thats the result, i would expect?
19:57 http://bugs.koha-community.org[…]ment.cgi?id=40620
19:58 mtompset joined #koha
19:58 mtompset Greetings, #koha.
19:58 pianohacker mtj: yeah, that's the confusing part, 56 insertions?
19:58 mtompset Is there a non-SQL backend way to export data based on a barcode list?
19:59 We can export on Biblionumber, but I have a list of barcodes. :(
19:59 Do I have to do an indirection? :(
20:00 pianohacker mtompset: I'd say so
20:00 or extend export.pl to support it :)
20:00 mtompset I'd extend the export, if someone else said that would be more useful.
20:01 Because it is weird to do inventory based on barcodes, but not export based on them.
20:01 pianohacker mtompset: out of curiosity, what's your use case?
20:02 mtompset I have a bunch of records which need updating, but the user knows them by barcode not biblionumber.
20:02 pastebot "mm1234" at 127.0.0.1 pasted "BUG 14440" (66 lines) at http://paste.koha-community.org/13
20:02 huginn` 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=14440 major, P5 - low, ---, fridolin.somers, Pushed to Stable , get_template_and_user can not have an empty template_name
20:02 mtompset and I wouldn't expect the user to fix 1000+ records by hand when I could do it programmatically.
20:03 mm1234 i hope i pasted the correct info
20:05 mtompset Why did you paste that mm1234?
20:05 mtj mm1234: you havent applied the patch correctly
20:05 mm1234 aaaahhhhh
20:06 mtj looks like youve commited the patch file, to you repo?
20:06 your
20:06 cdickinson joined #koha
20:06 mtj --- /dev/null
20:06 +++ b/PASSED-QA-Bug-14440-gettemp​lateanduser-can-not-hav.patch
20:06 pianohacker mtj: agreed
20:06 mm1234 how do i correctly apply the patch?
20:07 pianohacker mm1234: Use the git am command mtj sent you above
20:07 mtj read the scrollback again ^
20:07 pianohacker mm1234: but first, undo the commit you just did
20:07 mm1234 how do i undo that?
20:07 pianohacker git reset 'HEAD^'
20:08 mario joined #koha
20:16 rangi morning
20:18 tcohen++ #my watch tells me all tests are passing again
20:20 pianohacker rangi: you have a pebble time?
20:20 rangi i do
20:20 you should get one
20:20 pianohacker nice. Waiting for the steel
20:20 rangi (or even an old pebble)
20:20 and you can run my pointless watchface
20:20 pianohacker heh. How hard was that to put together?
20:20 rangi http://apps.getpebble.com/en_U[…]60dc1ceb35f000003
20:20 super easy
20:20 first c ive written in 20 years tho
20:21 but its got good docs, and a nice library that does all the tricky stuff for you
20:21 pianohacker rangi: where does the part that fetches pass/fail from jenkins live? On the watch itself?
20:21 rangi yeah
20:21 thats some js
20:21 using pebble.js
20:21 pianohacker oh, nice, okay
20:22 rangi once every 30 mins it hits the json on jenkins
20:22 and then parses that
20:22 2 secs
20:23 mm1234 i tried applying the patch as suggested by <mtj> and I get an error saying
20:23 rangi pianohacker: https://github.com/ranginui/ko[…]er/src/jenkins.js
20:23 mm1234 Patch failed at 0001 Bug 14440: get_template_and_user can not have an empty template_name (updatesupplier.pl)
20:23 huginn` 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=14440 major, P5 - low, ---, fridolin.somers, Pushed to Stable , get_template_and_user can not have an empty template_name
20:24 mm1234 that's what i tried to apply
20:24 * cait waves
20:24 rangi pianohacker: i used the code for weather info, and chnaged it to be jenkins instead
20:24 mm1234 error: patch failed: acqui/updatesupplier.pl:59 error: acqui/updatesupplier.pl: patch does not apply
20:24 pianohacker ah, okay, the JS runs on the phone
20:24 rangi yep
20:24 pianohacker: https://github.com/ranginui/koha-watch  its all pretty simple
20:24 even simpler if you use
20:24 https://cloudpebble.net
20:25 pianohacker mm1234: yeah, I was kind of worried that might be the case. I'd recommend waiting for 3.14 to get the patch or upgrading to 3.18
20:25 rangi mm1234: you might want to update the bug report to ask if it can be backported to 3.14
20:25 drojf pianohacker: the patch is even by fridolin, so it should go to 3.14 ;)
20:25 pianohacker very nice. Very excited to get my watch so I can start coding for it
20:25 mm1234 i will definitely let my boss know about this. Thank you all for the help
20:25 pianohacker drojf: heh, true :)
20:26 mm1234: absolutely, have a good day
20:26 mm1234 you too
20:28 rangi pianohacker: in theory, and this is a really pointless idea
20:28 pianohacker: you could build an app, with a companion app on the phone
20:28 the companion app uses nfc, so you scan a book
20:30 its logged into your cart in koha
20:30 you can then interact with your cart from your watch
20:31 i dont know why you'd want to :) but it would be an interesting way to learn the apis
20:31 pianohacker rangi: Indeed! All you're missing is Google Glass to really round out the gadgets, though ;)
20:32 rangi heh
20:32 even i wouldnt go that far
20:32 https://twitter.com/edwardshad[…]23774913594159105   <-- this was a fun exchange last night
20:35 mtj mm1234:  the patch does apply to 3.14.x , for me
20:35 http://cgit.kohaaloha.com/3.14.x/log/?h=3.14.x
20:36 http://cgit.kohaaloha.com/3.14[…]41e5efd5373894a43
20:36 ..i made a small test
20:37 hey rangi :0)
20:37 rangi hey mtj
20:38 mtj always pimpin' and hustlin'
20:41 looking fwd to a beowolf cluster of pebbles
20:44 Francesca joined #koha
20:52 mm1234 mtj, i guess i really do not know how to apply the patch
20:52 ah
20:52 Francesca morning
20:52 pianohacker mm1234: can you copy and paste the exact command you ran?
20:53 * Francesca waves at pianohacker
20:53 pianohacker hi Francesca :)
20:53 mm1234 well, i was very lame and simply pasted wget -O ./my.patch  http://bugs.koha-community.org[…]ment.cgi?id=40620
20:53 Francesca whatsup
20:53 mm1234 followed by git am -s ./my.patch
20:53 pianohacker Francesca: just another day of fun
20:54 Francesca cool
20:54 pianohacker mm1234: hmmm.... if you run git log, what's the name of the first commit before the one we just applied?
20:54 Francesca: you?
20:54 Francesca I'm in for an early lecture
20:54 so still half asleep
20:54 I prefer lectures that don't start at 9am
20:54 pianohacker aaaaaaaaaaaaaamen
20:54 Francesca lol
20:55 cdickinson I haven't even left home yet and I feel like shit
20:55 Francesca back in a sec
20:55 Francesca joined #koha
20:56 cdickinson got a 5 minute update presentation on my honours project this afternoon
20:56 Francesca oh fun
20:56 good luck
20:56 cdickinson predictably, I haven't really done much on it
20:56 Francesca hahaha thats always the case
20:56 I have an assignment due at 5
20:56 and haven't started it yet
20:57 cdickinson brethren :')
20:57 mm1234 i ran git log and the first commit is 66ed0f2e6541e62cbc0bae1142dba73222bfd6af, which is an old one
20:58 Francesca cdickinson: I think our way is the way of all students
20:58 cdickinson always guilty, all the time
20:59 Francesca hahaha yeah
20:59 I'm always like this time around I'll start it earlier
20:59 but it never happens
21:00 cdickinson normally I'm not quite THIS bad
21:00 my lack of a holiday is getting to me
21:00 Francesca yeah well you're past undergrad
21:00 you have had time to learn
21:01 cdickinson lol
21:01 Still learning stuff now though, fourth year engineering papers are brutal
21:01 Francesca but like a lot of things say the road to hell is paved with good intentions
21:01 I always mean to start my assignments earlier, it just never happens
21:01 mm1234 pianohacker, it is very clear I do not know what I am doing
21:02 cdickinson Yeah
21:02 Francesca right gotta go
21:02 cdickinson Me too, bye now
21:03 pianohacker mm1234: what on earth? What's the description of that commit?
21:03 mm1234: git makes people feel like that sometimes, it's a quirky beast :)
21:04 Francesca joined #koha
21:04 mm1234 of that commit, it's Add text to staff logn page.
21:05 i don't think i applied the patch correclt
21:05 correctly
21:06 pianohacker mm1234: ohhhhhh were you in here a while back talking about rebasing your custom code to 3.16?
21:06 mm1234 i'm sorry, I switched to our koha-dev and I tried to apply the same patch. On Koha-dev we are on version 3.16
21:07 pianohacker okay. any luck?
21:08 mm1234 that's where i got that error: patch could not apply
21:08 i really think it's me not knowing how to apply successfully a patch
21:08 mtj [07:13] <mtj> $ git am -iu3  ./my.patch
21:08 [07:13] <mtj> ^ thats a better version, mm1234
21:08 [07:14] <mm1234> wow, thank you so much
21:08 mm1234 that leads to this issue
21:09 mtj try that mm1234 ^
21:09 $ git am -iu3  ./my.patch
21:10 mm1234 previous rebase directory /home/koha/kohaclone/.git/rebase-apply still exists but mbox given.
21:10 pianohacker mm1234: run git am --abort
21:11 you have to cancel a patch application if it fails
21:11 mm1234 i aborted
21:11 do i rerun now git am -iu3  ./my.patch
21:11 pianohacker yup
21:13 mm1234 Applying: Bug 14440: get_template_and_user can not have an empty template_name (updatesupplier.pl) Using index info to reconstruct a base tree... Falling back to patching base and 3-way merge... Auto-merging acqui/updatesupplier.pl
21:13 huginn` 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=14440 major, P5 - low, ---, fridolin.somers, Pushed to Stable , get_template_and_user can not have an empty template_name
21:14 mm1234 OMG, I think it worked
21:14 pianohacker that looks successful to me, give 'er a test :)
21:14 mm1234 it sure did work!!!!
21:14 i'm gonna boohoo with happiness for a month now
21:14 thank you!!!!
21:15 wizzyrea @quote add mm1234: i'm gonna boohoo with happiness for a month now
21:15 huginn` wizzyrea: The operation succeeded.  Quote #316 added.
21:15 pianohacker mm1234: glad we could help :)
21:16 mm1234 WOW! traumatic moments for me for sure. Appreciate you all
21:28 Francesca joined #koha
21:29 mtj cool, well done mm1234 :0)
21:34 mm1234 mtj, you rock
21:52 cait left #koha
21:56 drojf g'night
21:56 cait joined #koha
22:19 Francesca joined #koha
22:25 Francesca joined #koha
22:50 mtj peeps, does anyone actually have an import-authvalues.pl script, before i start to write one?
22:51 cait i jsut do sql :)
22:51 so nope
22:51 mtj makes me wonder how i've done it previously?
22:53 perl ./import-authvalues.pl --category LOC -infile ./auths.csv
22:53 would be handy ^ :)
22:56 eythian hi
22:56 wahanui hi, eythian
22:56 eythian cait: scope creeper!
23:00 cait just a tortured soul
23:00 eythian facets will do that
23:00 cait yeah :(
23:00 eythian also, facets are now depricated in ES anyway
23:01 cait huh?
23:01 eythian I need to get around to redoing them with a similar thing that's new
23:01 cait oh
23:01 what's the new thing?
23:01 eythian they decided they were implemented badly, so they replaced them with aggregates which are quite similar, and probably identical for my purposes.
23:01 but I think they're more flexible
23:01 cait ok
23:02 if you can do it - i think being able to optionally show more than 10 would be nice :)
23:02 ;)
23:02 i should be sleeping
23:02 night :)
23:02 cait left #koha
23:18 NateC joined #koha
23:19 mario joined #koha
23:27 NateC joined #koha
23:32 sophie_m joined #koha
23:42 mtompset Have a great day, #koha eythian. :)
23:57 papa joined #koha

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

koha1