Time Nick Message
23:15 * Francesca waves
21:39 * cait waves
21:36 eythian hi
21:32 rangi no worries
21:32 tcohen thanks rangi
21:23 tcohen the example creates the scenario by setting several headers, which are expected to be set by apache, anyone debugging this should check that, which could be the root cause
21:23 tcohen just more info for the logs: http://search.cpan.org/~bowmanbs/Plack-Middleware-ReverseProxyPath-0.03/lib/Plack/Middleware/ReverseProxyPath.pm
21:22 tcohen it was worth trying :-D
21:22 tcohen ok rangi
21:22 rangi i wont have a chance until after kohacon
21:20 tcohen we definitely need more expert eyes on this
21:19 rangi yeah could be
21:19 tcohen http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=debian/templates/plack.psgi;h=6da039f1f8b4828dddadacd5cb9cf98ddbe4ff53;hb=refs/heads/master
21:19 tcohen but the mere existence of Plack::Middleware::ReverseProxyPath made me think we need more tweak on our psgi file
21:19 tcohen rangi: it might be that UDS proxying is just buggy
21:17 tcohen hm, I think so
21:17 rangi have you tried it with just the reverse, and without the preserve host?
21:17 tcohen I think those work for response URLs
21:17 tcohen we have both
21:17 tcohen rangi: this is it http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=debian/templates/apache-shared-intranet-plack.conf;h=65a34a26d4798593645f2cc28c964be34025adf7;hb=refs/heads/master
21:17 rangi ?
21:17 rangi https://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse
21:16 tcohen welcome, and needed
21:16 rangi you have the reverseproxy stuff in apache eh?
21:15 tcohen any volunteer who likes puzzles is welcome :-D
21:15 tcohen but it seems we are not doing things that wrong, and there is a problem with this plack configuration schema
21:15 tcohen so, Joubu started to explore tweaking how we deal with paths in our codebase with the assumption we were doing things wrong (my assumption)
21:14 tcohen http://snag.gy/6tqy3.jpg
21:14 tcohen so it goes to memory instead of a file
21:13 tcohen I wasn't remembering to add ctrl
21:13 tcohen !!
21:13 tcohen thanks wizzyrea
21:13 wizzyrea command-shift-3 for whole screen, command-shift-4 for selectable area
21:12 tcohen wizzyrea: osx
21:12 tcohen or we need that other Plack::Middleware::ReverseProxyPath lib (which I didn't make work)
21:12 wizzyrea which os tcohen
21:12 tcohen http-x-forward-for or something like that
21:11 tcohen that means either apache is not sending the right headers
21:11 rangi right
21:11 tcohen (in the apache config)
21:11 tcohen which is the plack endpoint we have
21:11 tcohen well, you will notice the form points to /intranet/
21:10 tcohen [off] damn, how did I take screenshots on this OS?
21:09 rangi right
21:09 tcohen with plack enabled
21:09 tcohen if you trigger an update (like changing the version on the DB)
21:09 tcohen rangi et al: on a packages install (master, preferably kohadevbox:ansible) there is this situation
21:07 tcohen rangi: thanks
21:07 cait heh
21:07 cait hi tcohen :)
21:07 tcohen so I now reveal my real identity
21:07 tcohen1 hi cait
21:06 * cait waves
21:05 tcohen1 heh
21:04 bag can’t be forgetting the middleware tcohen1
20:58 tcohen1 hi
20:57 huginn tcohen1: The operation succeeded.
20:57 tcohen1 @later tell Joubu after reading your link, I realized the missing piece is Plack::Middleware::ReverseProxyPath
20:28 huginn Francesca: The current temperature in Wellington, New Zealand is 12.0°C (9:00 AM NZDT on October 14, 2015). Conditions: Clear. Humidity: 62%. Dew Point: 5.0°C. Pressure: 30.12 in 1020 hPa (Steady).
20:28 Francesca @wunder wlg
19:46 magnuse oh noes!
19:46 rangi naw he got ill
19:46 jcamins She said it hadn't arrived yet.
19:45 magnuse isn't paul_p going?
19:45 jcamins As long as Brooke is able to get her visa, anyway.
19:45 mtj nice brooke too! :0)
19:45 rangi yep, i think BWS and I might be the only non africans going
19:44 mtj great to hear you are going to kohacon this year, rangi - (i was not sure)
19:43 rangi yup
19:43 cait hope it will be good for them and maybe we can get some of the zebra goodness...?
19:43 cait very very cool project
19:43 cait will be really ineresting to see them moving to 3.20
19:43 mtj wow, thats impressive
19:43 huginn rangi: The operation succeeded.
19:43 rangi @later tell tcohen made the new keyword
19:42 * mtj <- mind blown
19:42 pianohacker oh, gotcha
19:42 rangi Tumer Garip did a ton of work on zebra, at kohacon6
19:42 mtj aaaah, ok
19:42 jcamins Tumer had a vastly superior Zebra configuration.
19:42 rangi zebra is in there
19:42 pianohacker how on earth are they doing that many bibs without zebra?
19:42 rangi 2.2
19:41 mtj Project went live on 2014 April. ... It was a derived version of Koha 2.x
19:41 mtj hmm, i did - but was a bit confused still
19:41 rangi https://lists.katipo.co.nz/pipermail/koha/2015-October/043888.html
19:38 rangi check your inbox
19:38 mtj so.. is the Turkish Koha a modded verision 2.x ?
19:37 rangi we would have had most of them in if it wasnt for a certain angel investor who thought he was smarter than everyone, be great to get them. And having kohacon next door to turkey next year works out really well!
19:37 magnuse yay turkey
19:36 rangi *nod*
19:36 mtj hey #koha
19:36 jcamins It would be pretty cool if they integrated Tumer's Zebra changes to 3.x.
19:29 rangi oh cool interesting email from Turkey
19:27 * cait waves
19:22 pianohacker (YES jaboody dubs, I haven't seen that one)
19:22 pianohacker cool
19:22 pianohacker oh yeah that is soon
19:21 rangi for a couple of days more, then off to kohacon on friday
19:21 pianohacker rangi: back from vacation?
19:21 rangi https://www.youtube.com/watch?v=S8rNRmmosmA
19:21 pianohacker rangi: oh, hi :) I'm fine with all recipes, love cooking
19:18 rangi and morning
19:18 rangi pianohacker: do you want easy baking recipes? I saw on FB
19:14 cait not the cait things...
19:14 magnuse confuse all the things!
19:11 pianohacker hehehehe
19:11 cait hmpf
19:11 pianohacker cait: confuse confuse confuse
19:07 cait :)
19:01 * magnuse waves
18:51 cait hi wnickc :)
18:50 wnickc hi cait
18:48 * cait waves
18:30 huginn pianohacker: The operation succeeded.
18:30 pianohacker @later tell ashimema I'm catching up too, what was that in reference to? And would you like a signoff on that?
18:29 pianohacker *CMS
18:29 pianohacker (I'm messing with a PHP CSM for a side project as well, so I can't really throw stones, but it's requisite :) )
18:28 mtompset Corporate policy. Sorry.
18:25 pianohacker php--
18:25 pianohacker *gasp*
18:24 mtompset Oops. :)
18:24 mtompset views/temp/index.php
16:22 nitz0 Or where I can find the generated overdue notice...?
16:20 nitz0 If I send the first notice the script will not send an email again?
16:12 Joubu bye #koha
16:11 nitz0 It's not possible to force the email?
16:10 nitz0 cait: Yes I think I did everything right.
16:09 hector okidoki
16:08 mveron See you later...
16:08 mveron Hector: I will look at thi bug later in the evening...
16:07 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14956 enhancement, P5 - low, ---, veron, Failed QA , Remove C4::Dates from files opac/*.pl
16:07 hector I was looking that QA doesn't aprove the las change for bug 14956
16:07 * mveron has to run away, invitation to diner.. will be back in a couple of hours...
16:07 mveron Hi Hector :-)
16:06 hector mveron: Hi Marc
16:01 cait also the delay given there needs to match with the due dates of your test items so a overdue notice gets generated
16:00 cait you want tot ake a look at the triggers in the tools section
16:00 cait did you configure the overdue notices?
15:57 nitz0 Hi people, I am testing to send an email to notice overdue. I read that if I run koha_common from crontab daily directory is enough but nothing happens. How can I test mail from koha?
15:41 mtompset tcohen: Nice support company page. It's a very clean look.
15:30 cait ugh?
15:28 tcohen this is what I call 'side effects' http://snag.gy/O2Hq1.jpg
15:23 huginn New commit(s) kohagit: Bug 14966: Table header broken at detail.tt <http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=390233a10c789a241f948f0f41df92fda3e51052> / Bug 14653: Acq planning export always use default active period <http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=852075d48e84c519c6bf0a28d492c1dafd291f0d> / Bug 14653: Acq planning filter always use default active period <http://git.koha-community.org/gitweb
15:22 reiveune bye
15:17 drojf later #koha
15:16 * drojf heads home
15:04 * cait got a long list of questions from a library
15:03 cait and why is the column with the number of ordered items named Pending order?
15:02 cait order status
15:01 drojf huh? that sounds weird? what context?
15:01 cait why did we translate ordered to Gebunden? :(
14:59 drojf i have not wrangled much bugs this term :/
14:59 cait btw... http://wiki.koha-community.org/wiki/Roles_for_3.24 :)
14:58 drojf i doubt it is necessary in this case
14:58 cait have to admit... we normally don't migrate history
14:58 drojf but good i checked before offering to do that :D
14:57 drojf not sure if the library wants to keep the old data at all, so maybe that is not needed in the end
14:57 cait nt sure there is a right way... but i think it could work :)
14:56 drojf thanks. cait++
14:56 drojf sure. just making sure that is the right way
14:55 cait and before you do issues, you set the counter like we did when introducing the feature
14:55 cait can you generate an id? just 1 ...
14:55 drojf *then
14:54 drojf ok but i have to set a fake id before import than? otherwise i will get an error for duplicate entry 0
14:54 cait drojf: i think the latter is probably better - circ history first and then make sure the first pk is correct in issues - an example should be in updatedatabase from when we added the pk to reserves/old_reserves
14:54 tcohen cait: ok
14:54 cait tcohen: you can migrate circulation history
14:53 tcohen cait: who can?
14:53 cait you import the history and then you can set the PK in issues to the needed value
14:53 wahanui i guess the other way is to pass the array as an arrayref
14:53 cait or the other way
14:53 cait and then you know which numbers to use
14:53 cait but i'd import the circs first
14:53 cait you can
14:52 drojf ah, i see. so it's not really possible to import circulation history from an old system?
14:52 cait same for items deleteditems and the other tables where we move lines from here to there
14:52 cait and they keep their id
14:52 cait because we move lines from issues to old_issues
14:52 cait drojf: correct
14:51 cait nope
14:51 tcohen cait, do u have the rights to add rel_3_22_candidate to bz's list of keywords?
14:51 drojf the issue_id in the issues table is auto incremented. the issue_id in old_issues is not. why?
14:43 andreashm cait++
14:43 andreashm thanks cait!
14:42 cait but ideally that shoudl not be done
14:42 cait there are some places in Koha that still write some English terms here - like wehn you do a writeoff
14:42 andreashm I guess we will need to change that in our web implementation then.
14:42 cait the description is often not ideal (yet)
14:42 cait hm not sure what SIP gives back - looking at the accountlines table the accounttype would be what i would use
14:41 cait and then translated in the templates
14:41 andreashm ah, ok
14:41 cait the codes are hardocded into Koha
14:40 cait the templates map the fines code to a description
14:40 cait ah
14:37 andreashm cait: We would want to change that to show our users when paying fines through our website.
14:36 cait the display shoudl be mostly translated by now - but not sure what you want to do
14:36 cait andreashm: hm in what context?
14:28 andreashm another question about fines: is it possible to change the description of the various fines somewhere? ("fines", "lost item" etc.)
14:17 huginn mtompset: Karma for "cait" has been increased 263 times and decreased 0 times for a total karma of 263.
14:17 mtompset @karma cait
14:16 huginn mtompset: Karma for "mtompset" has been increased 28 times and decreased 0 times for a total karma of 28.
14:16 mtompset @karma mtompset
14:10 andreashm We will want to use our current payment system (DIBS). We can fix the calls made to Koha, we just need the functionality set-up (either improve SIP2 or use something else).
14:08 cait but it will be directly in koha if pushed i think
14:08 cait andreashm: i think kyle has written a patch to pay via paypal
14:07 huginn andreashm: Karma for "andreashm" has been increased 7 times and decreased 0 times for a total karma of 7.
14:07 andreashm @karma andreashm
14:07 druthb not bad karma for someone who hasn't contributed a patch in gosh-knows-when.
14:06 andreashm not yet, checked here first. (yes, the lazy option)
14:05 cait i think ils-di doesn't include that... did you check?
14:05 cait all i can think of is sip2 right now hm.
14:05 andreashm anyone know if it is possible to pay fines through a web interface using any of Koha's API:s? (Other than SIP2)
14:04 * mtompset smiles.
14:04 huginn mtompset: Karma for "druthb" has been increased 8 times and decreased 0 times for a total karma of 8.
14:04 mtompset @karma druthb
14:02 amyk hello!
14:02 mtompset Greetings, amyk
14:02 mtompset Greetings, andreashm cait. :)
14:01 mtompset I just rechecked... You're right.
14:00 andreashm ah, darned
14:00 wahanui tomorrow is a mystical land where 99% of all human productivity, motivation and achievement is stored.
14:00 cait tomorrow
14:00 cait i think it's 14th
14:00 wahanui rumour has it mtompset is catching up on his other coding projects
14:00 mtompset mtompset?
13:59 mtompset mtompset is catching up on his other coding projects.
13:59 wahanui mtompset: I forgot mtompset
13:59 mtompset wahanui: forget mtompset
13:59 mtompset I think so.
13:58 andreashm oh, dev meeting now? nice timing from me - I had forgotten.
13:57 mtompset Dev meeting in 3 minutes, right?
13:57 wahanui somebody said mtompset was catching up in the non-coding aspects of his ministry.
13:57 andreashm hey mtompset
13:57 mtompset Greetings, #koha.
13:55 andreashm hi cait, tcohen
13:54 cait hi tcohen :)
13:53 tcohen hi cait
13:51 andreashm I'm here!
13:51 cait *pokes andreashm to see if he is really here now*
13:50 cait oh
13:50 * andreashm is back again. keep getting logged out today it seems.
13:48 Kchris I just tested a bug on the sandboxes (#2). I got an email that the sandbox was not ready, but it appears to me that the patch WAS applied. Does this make any sense?
13:47 cait hi Kchris
13:47 Kchris hi cait :)
13:40 cait hi andreashm :)
13:38 * Kchris waves
13:36 * andreashm waves
12:39 magnuse ...and therefore less damaging to the environment...
12:36 jcamins magnuse: that too.
12:35 magnuse jcamins: and shorter, i bet ;-)
12:34 nengard norway is better though :) hehe
12:33 jcamins magnuse: flights to Montreal are a whole lot cheaper.
12:32 nengard morning tcohen
12:32 tcohen morning
12:27 magnuse jcamins: noooo, come to norway!
12:26 jcamins [off] Bahahaha! "SharePoint is the new tool of the 21st century for information professionals!" <-- the twentieth century called and wants its technology back
12:20 jcamins We're thinking of a vacation in Montreal at the end of November.
12:19 jcamins It was excellent.
12:19 jcamins You should've let us know... you could've come to the milonga we went to on Saturday!
12:19 jcamins Yes I do.
12:19 francharb Do you still live there? jcamins
12:18 francharb And I was in NY this week end
12:18 francharb :)
12:18 francharb Hi jcamins! Yes I did! 2 years ago.
12:17 cait like... what if i want to add a debarment for a group of borrowers... hm.
12:17 cait this cati wonders how she can create debarment entries... when the patron import doesn't :(
12:17 jcamins francharb: hey, do I recall that you moved to Montreal?
12:08 druthb be nice to cait, Or Else.
12:08 wahanui magnuse is a Norwegian giant.
12:08 druthb magnuse!
11:49 cait hmpf
11:49 * magnuse declares "confuse cait" day
11:47 ashimema that's what I do best..
11:46 cait you are confusing me :)
11:46 ashimema lol
11:46 ashimema now you missed him?
11:46 cait where is over there? :)
11:45 cait hm?
11:41 ashimema he's over there
10:57 cait now i missed him
10:57 cait oh
10:57 cait here
10:41 andreashm cait: around?
10:41 * andreashm waves
10:30 drojf hi #koha
09:33 cait which time is the meeting anyway? *checks*
09:33 ashimema :(
09:32 cait it's just quite unusual here for us - skype or google hangout - i have had problems with that a few times
09:32 ashimema it's generally more fruitful to talk then to type I find :0
09:32 ashimema it's the audio I was really after.. not the video
09:32 ashimema always throwing spanners cait.
09:31 cait and no camera
09:31 ashimema :(
09:31 cait i have no access here to google hangouts at work
09:31 cait or do you want to do it in parallel?
09:31 cait hm might be good to annoucne then, if that's the plan
09:27 ashimema over google hangouts too if I get my way :)
09:27 ashimema :)
09:26 cait and reminder - dev meeting tomorrow!
09:26 * ashimema needs to look at them again soon
09:26 cait ashimema: love the interaction on the rest api patches - keep the ball rolling :)
09:21 huginn 04Bug 14034: normal, P5 - low, ---, martin.renvoize, Needs Signoff , User logged out on refresh after Shibboleth authentication
09:21 huginn ashimema: The operation succeeded.
09:21 ashimema @later tell pianohacker is that not related to http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14034
09:20 ashimema sure I've taling in main chat more recnelty that that
09:19 ashimema huggin just gave me some laters dating back weeks..
09:19 ashimema wow..
09:19 cait Joubu: will try to continue tonight - i already started checking some of hte pages it changes too
09:19 magnuse hiya ashimema
09:19 cait morning ashimema :)
09:18 ashimema morning cait
07:42 cait wow
07:42 cait morning dojobo
07:42 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12072 enhancement, P5 - low, ---, veron, ASSIGNED , New dateformat dd.mm.yyyy
07:42 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14870 enhancement, P5 - low, ---, veron, NEW , Delete C4/Dates.pm from System
07:42 * mveron did a search for 'Remove C4::Dates': 31 Bugs, 15 need Sign-off, 6 Signed-off, 1 Fail, 9 Pushed. 4 files left on Bug 14870. And Bug 12072 is ready for testing, but needs all C4::Dates removals.
07:38 dojobo morning cait
07:28 mveron Hi magnuse and paul_p
07:27 magnuse hiya cait atheia mveron paul_p
07:27 mveron ...and good morning / daytime to everybody
07:26 mveron cait: You are fast! Good morning :-)
07:26 cait morning mveron
07:24 cait morning atheia :)
07:24 atheia morning cait!
07:24 cait good morning #koha
07:01 magnuse yay
07:01 Viktor magnuse Not yet. But I'll try and give it a quick compile.
07:00 magnuse Viktor: is there a list of what you have come across, then? :-)
06:58 Viktor magnuse Not really. Think it's been discussed briefly somewhere. But since there's (not yet) any user group it's sort of what I come across while being "the guy who works with Koha"
06:58 dojobo 'morning (or whatever) everyone
06:57 Joubu hello
06:56 magnuse Viktor: is there a list somewhere of all the libraries in sweden that use koha?
06:49 reiveune salut magnuse rangi dcook
06:48 magnuse bonjour reiveune
06:48 reiveune hello
06:04 magnuse cdickinson++ for providing the right answer while i was elsewhere
05:47 dcook Actually, I'm going to overload my brain in a moment :p
05:45 dcook But as a unit I guess..
05:45 dcook Well not one big term...
05:45 dcook So that the "and" doesn't get interpreted as an operator
05:45 dcook I need those double quotes to specify that's one big term
05:45 dcook Host-item:"Criminology and criminal justice an international journal"
05:45 cdickinson lol
05:44 dcook More fun...
05:43 dcook As "" and "" are ignored
05:43 dcook ""This is a term"" is bad
05:43 dcook "This "is" a term" is good... it'll ignore the double quotes around is
05:43 dcook "This is a term" is good
05:43 dcook More fun?
05:42 dcook I guess it says ')' because it's treating ) as part of the term
05:42 dcook It's actually a " which is expected...
05:42 dcook That's a bit misleading
05:42 dcook H01215: [Tue Oct 13 16:48:50 2015] opac-search.pl: WARNING: query problem with (se,phr="Harry Potter ) not Suppress=1 ZOOM error 10014 "CCL parsing error" (addinfo: "')' expected") from diag-set 'ZOOM' at /home/mason/git/koha/3.20.x/C4/Search.pm line 384.
05:42 dcook For instance:
05:42 dcook cdickinson: Yeah some errors are easier to understand than others
05:41 dcook Single quotes are literals
05:41 dcook Double quotes denote a term
05:41 dcook You're missing a second double quote
05:41 dcook (se,phr="Harry Potter ) not Suppress=1
05:41 dcook It thinks you're saying 'pb is a qualifier
05:41 dcook It's the single quotes
05:41 dcook ('pb=Bloomsbury,') not Suppress=1
05:40 dcook mtj: I figured out your problems
05:40 mtj thanks for the zeb info dcook
05:40 cdickinson but they're unique at least so in that way they're helpful because you know what causes them
05:40 cdickinson gives cryptic error messages
05:39 dcook Sort of ;)
05:39 dcook You get used to it
05:39 cdickinson debugging Zebra is so annoying
05:39 cdickinson the machine I'm using now has some Koha test sites on it
05:38 dcook We use a non-standard Koha setup, so I never know what all y'all are doing
05:38 dcook I was too lazy to boot up a VM to check
05:38 dcook cdickinson: Sweet. Thanks :)
05:38 cdickinson dcook: /var/log/koha/{site_name}/zebra[-{error|output}].log?
05:31 dcook Does zebrasrv log anywhere?
05:31 dcook Cool!
05:30 * magnuse uses packages
05:29 magnuse yo yo!
05:29 dcook yo magnuse
05:29 * magnuse waves
05:27 dcook Koha seems to handle it fine?
05:27 dcook Well that's confusing. The semicolon thing appears to only be in yaz-client..
05:12 dcook That's slightly depressing
05:12 dcook I've investigated this before...
05:01 dcook Or anyone that uses packages...
05:01 dcook eythian: Are you still around?
04:44 dcook That's cool... * and ? really are both truncation characters after all..
04:43 dcook becomes: @and @and test @attr 5=2 "" test
04:43 dcook test * test
04:43 dcook Oh... but you can see it in the zebra logs..
04:39 dcook Without errors
04:39 dcook Interesting... lots of punctuation creates problems
04:35 dcook Which is why it's working...
04:35 dcook Because Zebra is being hit with this: @or @or @or @or @attr 1=36 @attr 4=1 @attr 6=3 @attr 9=32 @attr 2=102 "test : test" @attr 1=4 @attr 4=1 @attr 6=3 @attr 9=28 @attr 2=102 "test : test" @attr 1=36 @attr 4=1 @attr 9=26 @attr 2=102 "test : test" @attr 4=6 @attr 5=1 @attr 9=14 @attr 2=102 "test? : test? " @attr 4=6 @attr 9=14 @attr 2=102 "test : test"
04:35 dcook I'm guessing ZOOM::QUERY::CCL2RPN is converting the semicolon to a colon...
04:35 dcook Ahhh
04:31 dcook mtj: ^
04:31 dcook Of course it's not fixed until 5.14.5 2015/08/06
04:31 dcook Fix yaz-client: semicolon terminates arguments YAZ-851.
04:31 dcook Booyah...
04:29 dcook ZOOM::Query::CCL2RPN might do something..
04:23 dcook Which fails in yaz-client but works in Koha...
04:23 dcook (rk=(Title-cover,ext,r1="test ; test" or ti,ext,r2="test ; test" or Title-cover,phr,r3="test ; test" or wrdl,right-Truncation,r9="test? ; test? " or wrdl,r9="test ; test"))
04:23 dcook I wind up with this query:
04:23 dcook The weird thing is that if I plug in "test ; test"... it works
04:22 dcook mtj: Just got that same error and I'm quite confident it's because of that semicolon
04:11 dcook Yikes... yeah ";" is definitely bad news
04:09 dcook Hmm probably not related after all..
04:08 mtj chr, afaik
04:08 dcook mtj: ICU or CHR?
04:08 dcook Actually, this could be a normalization thing
04:08 * dcook ponders
04:07 dcook Ahh it just truncated my query
04:07 pastebot "dcook" at 127.0.0.1 pasted "Punctuation in Zebra" (16 lines) at http://paste.koha-community.org/107
04:07 dcook Yeah, Zebra does interesting things with ";"
04:07 dcook wtf...
04:07 dcook Not a good example for me as I have no Harry Potter...
04:06 * dcook looks up mtj's query
04:06 dcook I'm not getting errors per se but getting zero results (in yaz-client)
04:06 dcook Zebra definitely does something funny with "=" and ":" in a query...
04:05 wizzyrea cool, well hope you figure it out
04:04 dcook ^
04:04 mtj opac wiz, (i dont think opacsuppress is enabled in intra?)
04:03 wizzyrea mtj intranet or opac?
04:03 eythian :<
04:03 eythian I say this as I just typed 'vim C4/Search.pm' to try to fix something
04:03 eythian full of bees, dcook
04:02 dcook Search.pm is... arg
04:02 mtj anyhoo, thanks for the advice folks
04:01 wahanui it has been said that search.pm is full of bees.
04:01 eythian wahanui: search.pm
04:00 mtj seems hard to believe it wouldnt have been spotted before tho
03:59 mtj i'll check again
03:59 mtj looks like is been busted forever, i reckon wiz
03:58 wizzyrea iirc the fix wasn't super complicated.
03:58 dcook mtj: You might need to poke through Search.pm. I think that's where I might be headed next..
03:58 wizzyrea then it probably got regressed in bootstrap or something
03:57 mtj xslt is on
03:57 wizzyrea mtj are you possibly not using xslt?
03:57 dcook Ah stale logs me thinks..
03:57 dcook My log says I got a Zebra error, but I'm seeing search results
03:57 dcook wth...
03:57 mtj opac-search.pl?q=se,phr:"Harry Potter "
03:56 mtj if i remove the ';'... search works too :/
03:56 dcook eythian: Ahhh I gotcha. Yeah.
03:56 eythian it's easier to treat it as broken syntax
03:56 mtj opac-search.pl?q=se,phr:"Harry Potter ;"
03:56 eythian dcook: sure, but if it sees "se:(one two", is that broken syntax, or a literal string?
03:56 dcook Hence why I got ( ) not Suppress=1
03:55 dcook I have an extra ":" which is causing my entire query to disappear
03:55 dcook mtj: What on Earth are you searching, man? :p
03:55 mtj Title Harry Potter ;
03:55 mtj 440 #0 - SERIES STATEMENT/ADDED ENTRY--TITLE
03:55 mtj looks like its the trailing ';' in the search string thats causeing a problem too
03:55 dcook than how**
03:55 dcook thank how*
03:55 dcook So it works but it works differently than you think it does
03:55 dcook I mean... Zebra can be relaxed sometimes but that's because it forces defaults
03:54 dcook eythian: Possibly
03:54 dcook mtj: What's your query?
03:53 eythian Finding one with both syntax and relaxed-ness is a hard problem.
03:52 rangi thanks
03:52 mtj hey rangi, welcome home too ;0)
03:52 eythian I guess the problem generally is it's easy to have a simple parser that can accept anything but isn't flexible, or a complex one that can be made to do anything, but isn't very relaxed about what it accepts.
03:52 mtj yeah.. somewhere...?
03:52 dcook That looks like a missing double quote?
03:51 dcook Yikes..
03:51 mtj H01215: [Tue Oct 13 16:48:50 2015] opac-search.pl: WARNING: query problem with (se,phr="Harry Potter ) not Suppress=1 ZOOM error 10014 "CCL parsing error" (addinfo: "')' expected") from diag-set 'ZOOM' at /home/mason/git/koha/3.20.x/C4/Search.pm line 384.
03:51 mtj its the 'series:phr' search i was getting my error on
03:50 * eythian closes 2**8 tabs. This make things less annoying.
03:50 mtj ..i was mucking about with the opac-search.pl file then
03:49 mtj ooh, actually the pb: search is ok
03:48 dcook mtj: That's really weird
03:48 dcook eythian: Ahh
03:47 eythian dcook: oh, if a search part is marked as a "phrase" I do manually wrap quotes around it, I think that's all I do with them.
03:47 dcook mtj: Unknown qualifier, eh?
03:46 mtj AH01215: [Tue Oct 13 16:33:30 2015] opac-search.pl: WARNING: query problem with ('pb=Bloomsbury,') not Suppress=1 ZOOM error 10014 "CCL parsing error" (addinfo: "Unknown qualifier") from diag-set 'ZOOM' at /home/mason/git/koha/3.20.x/C4/Search.pm line 384.
03:46 mtj i get this error..
03:46 dcook WARNING: query problem with ( ) not Suppress=1 ZOOM error 10014 "CCL parsing error" (addinfo: "Search word expected") from diag-set 'ZOOM'
03:46 eythian I need to change that significantly to make it work with ES
03:46 dcook So I'm guessing mine has something suppressed
03:46 eythian opac suppression is currently done in the worst way possible :/
03:46 mtj yeah, i do
03:46 dcook rangi: Yeah, but if I do a different query, it works
03:46 rangi you have at least one item suppressed eh?
03:46 mtj }
03:46 mtj $query = "($query) not Suppress=1";
03:46 mtj } else {
03:46 dcook Host-item:Criminology and criminal justice : an international journal is saying something about opac suppression..
03:45 dcook Actually... mine is without parentheses
03:45 mtj http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=opac/opac-search.pl;h=81f2bbb4eff978a7302b05c2d6cb0c95fa543657;hb=HEAD#l532
03:45 mtj ..it seems to generate bad CCL, in opac search :/
03:45 dcook mtj: Yeah, I'm noticing that too
03:45 mtj my bug seems to be caused to having opacsuppression syspref = 1
03:45 * dcook is in favour of a query parser
03:44 dcook True dat
03:44 eythian this is what we need a query parser for, then these decisions can be made by koha itself :)
03:44 eythian I have a lot of query rewriting going on, I can't remember if I do things with quotes or not.
03:43 dcook I wonder what Koha is doing in the background here anyway..
03:43 dcook I take it you don't use quotes atm?
03:43 eythian not 100% sure though
03:43 eythian I think quotes would solve it in ES
03:43 eythian ah
03:43 dcook would work though
03:43 dcook Host-item:(Criminology and criminal justice : an international journal)
03:43 dcook And of course it's not working
03:42 dcook Host-item:Criminology and criminal justice : an international journal
03:42 eythian there's a more robust version, but then I lose a lot of necessary features.
03:42 dcook Yeah someone is trying to do the following:
03:42 dcook Dinger
03:42 dcook Ahh
03:42 dcook That's so weird that I would be thinking about this at this time..
03:42 eythian it's a fair bit more sensitive to malformed queries than zebra, the way I'm using it.
03:42 dcook hehe
03:42 eythian probably explode
03:41 dcook Where the query string contains parentheses?
03:41 dcook What would it do in the case of that bug mtj just mentioned?
03:41 eythian http://lucene.apache.org/core/3_0_3/queryparsersyntax.html
03:41 eythian it uses the lucene parser
03:41 eythian it does
03:41 dcook Whether it creates groups or what..
03:41 dcook eythian: I was just going to ask how your ES work copes with parentheses
03:41 eythian sure am
03:40 dcook Is that bug exactly what I was just thinking about?
03:40 dcook Whoa...
03:40 dcook eythian: Don't suppose you're around?
03:25 huginn 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5369 normal, PATCH-Sent (DO NOT USE), ---, katrin.fischer, CLOSED FIXED, se queries with paranthesis fail
03:25 mtj meh, i just bumped into bug 5369 on master
01:05 wizzyrea I need a frikkin holiday.
00:08 wizzyrea github is first that probably explains some things.
00:08 dcook Francesca: A holiday would be nice
00:08 * dcook finds <bf:hasAuthority rdf:resource="http://id.loc.gov/authorities/subjects/sh2008108600"/> a bit confusing
00:08 dcook Interesting... are authorities not a thing in BibFrame?
00:07 Francesca no uni means no early mornings yay
00:07 Francesca I am very much looking forward to my holiday
00:06 dcook Francesca: Awesome :)
00:05 wizzyrea gmcharlt++ awesome thank you for taking care of that
00:05 Francesca dcook: I'm good, trying to survive last week of uni them I'm freeeee!
00:04 gmcharlt wizzyrea: looks like the robots.txt tweak for git.k-c worked
00:04 wahanui You are welcome
00:04 dcook You?
00:04 dcook Werk
00:04 Francesca sup
00:04 dcook yo Francesca
00:04 * Francesca waves
00:03 * dcook is going to cut off his ranting now for the sake of the rest
00:02 dcook I would think you'd still need a thesaurus...
00:02 dcook I wonder how that would work with all the vocabularies...
00:00 dcook Well hopefully explicit biases...
00:00 dcook Let's point to All The Vocabularies!!! Each with their own implicit and explicit biases!