IRC log for #koha, 2012-02-09

All times shown according to UTC.

Time S Nick Message
00:32 libsysguy joined #koha
00:36 libsysguy left #koha
00:47 hankbank left #koha
01:11 melia left #koha
01:14 atz joined #koha
01:16 luisb left #koha
01:16 luisb joined #koha
01:18 luisb left #koha
01:26 atz left #koha
02:06 Space_Librarian Argh. Negative staff. Such a downer.
02:06 THE_ago43_away is now known as ago43
02:21 fmarier joined #koha
02:22 fmarier left #koha
02:37 Soupermanito left #koha
02:44 Space_Librarian Oh great and glorious community. Do we know of any library who catalogues articles individually who may have a framework to share...?
02:45 jcamins_away Space_Librarian: the American Numismatic Society does, but they switched to using the new analytics code.
02:45 jcamins_away is now known as jcamins
02:45 jcamins They catalog articles individually, I mean.
02:45 Space_Librarian yes, that's what we do.
02:45 jcamins The new analytics feature is awesome.
02:46 Space_Librarian eythian mentioned it, but I need to know more.
02:46 jcamins Turn on EasyAnalytics.
02:46 * Space_Librarian searches
02:47 jcamins EasyAnalyticalRecords.
02:47 jcamins In the cataloguing tag.
02:48 jcamins tab.
02:48 Space_Librarian found it!
02:48 Space_Librarian is that it? That's all? And that'll make life easier?
02:48 jcamins Pull up the serial record in your catalogue.
02:49 jcamins (staff client)
02:49 jcamins Click the Edit button.
02:49 jcamins No, New button.
02:49 Space_Librarian okay...
02:49 jcamins Then click Analyze items.
02:50 jcamins There's a "Create analytics" link.
02:50 jcamins (that now shows up)
02:50 Space_Librarian yup...
02:50 jcamins Go to the 7xx tab and be amazed at the populated 773.
02:51 jcamins :D
02:51 Space_Librarian Well I'll be...
02:52 jcamins Nice, innit?
02:52 Space_Librarian But, still, do you have a framework for the individual articles that can be used with the analytics?
02:52 Space_Librarian And it's awesome.
02:52 jcamins No, everyone I know uses Default.
02:53 Space_Librarian cool. GTK. I have some very new to anything but DB Textworks and never encountered MARC before librarians that I need to soothe, but the analytics will totally help.
02:53 Space_Librarian That is just fantastic.
02:54 eythian Space_Librarian: when you've got a few of those analytics set up, can you let me know? I'd like to see it working in practice (I've really only done it the hard way before)
02:55 jcamins Since you can't add fields that aren't in the framework, using limited frameworks just doesn't make sense.
02:56 Space_Librarian eythian absolutely. I've got to sort out the serials here first, but that analytics is definitely going to be used.
02:57 Space_Librarian jcamins this is very true. But, as I said my cataloguing librarian has never seen MARC before, she's actually refusing to catalogue anything at the moment.
02:57 Space_Librarian very headache-inducing.
02:57 jcamins Space_Librarian: that's a nuisance.
02:58 Space_Librarian you have no idea. Everybody else is loving the system, she's dug her heels in and just won't budge. Does not like change at all.
03:10 ibeardslee I've come across those people before .. doesn't do the soul any good
03:10 Space_Librarian nope.
03:11 Space_Librarian She's actually going to be the biggest problem about this migration. This is already very evident.
03:14 eythian there's often one of those people per migration.
03:15 Space_Librarian yep, I hear ya.
03:20 wizzyrea1 joined #koha
03:20 wizzyrea is now known as Guest1988
03:20 wizzyrea1 is now known as wizzyrea
03:21 * Space_Librarian waves at wizzyrea
03:21 wizzyrea hiyas :)
03:22 Amit_Gupta joined #koha
03:22 Amit_Gupta heya bag
03:22 Amit_Gupta :)
03:25 jcamins is now known as jcamins_away
04:03 ago43 left #koha
04:08 libsysguy joined #koha
04:09 Space_Librarian good evening all! :)
04:09 Space_Librarian left #koha
04:09 libsysguy ok lets say for the sake of saying that something nasty happened to a debian based server…like the kernel went awol and committed suicide…do you think my best option would be do launch a live cd, backup all the data, make a backup partition and push it all there…keeping in mind that I have no network connections since its on a VM...
04:11 ibeardslee with the goal to reinstall?
04:12 libsysguy yes and migrate that data when the network is back
04:12 ibeardslee so was the kernel removed via apt-get or somesuch?
04:12 libsysguy no, i seriously just restarted and there was magically no kernel
04:13 ibeardslee it could just be that grub didn't deal to things properly, the kernel could be there but grub dones't know about it
04:13 libsysguy well, I tried all the other kernel headers that existed in grub
04:14 libsysguy it couldn't find those either, or their recovery partitions
04:14 stuartyeates joined #koha
04:14 ibeardslee booting from a livecd would be the first start
04:14 libsysguy yeah I got that working
04:15 ibeardslee from there you can check to see the state of the filesystems themselves
04:15 libsysguy and I have been plunking at the shell…the filesystem is fine
04:15 libsysguy i even managed to dump the database
04:15 ibeardslee it could be possible to chroot to the / partition and then apt-get install the kernel
04:16 libsysguy i tried that…no network
04:16 libsysguy and the one on the live cd was a no-go as well
04:16 ibeardslee sometimes the packages are cached on disk
04:16 stuartyeates the first thing you want to do is get a good backup...
04:16 ibeardslee true
04:16 stuartyeates or have you already done that?
04:16 libsysguy that would be nice to have
04:16 libsysguy I am in the process of trying to get the data out
04:16 stuartyeates database dump + config files for important apps
04:17 stuartyeates copy them to a USB key or simialr?
04:17 libsysguy yeah that is exactly what I am doing…no the server is running Hyper-V
04:17 libsysguy so there is no support for that :-\
04:17 eythian what is hyper-v?
04:17 libsysguy but I think i can mount another HDD and install ubuntu to it, then mount its dead counterpar
04:18 libsysguy hyper-v is microsofts answer to VM-Ware
04:18 eythian ah right.
04:18 eythian Sounds like a terrible idea
04:18 ibeardslee heh
04:18 eythian (hyper-v, not your suggested recovery method)
04:18 libsysguy haha it is…actually its not terrible when it works :p
04:18 eythian 'cept it deletes your kernels?
04:19 libsysguy exactly
04:19 eythian could you just run grub-install?
04:19 libsysguy i did reinstall grub
04:19 stuartyeates can you scp the data to another machine?
04:19 libsysguy no network
04:19 stuartyeates oh, of coruse
04:19 libsysguy the only connection I have is the console view from hyper-v
04:20 libsysguy which is great…let me tell you :-/
04:20 stuartyeates does hyper-v let you take a snaphot of the thing in case your next step looses data?
04:20 eythian why is there no network?
04:20 eythian can't you bring up a network?
04:20 libsysguy yes it does, I did make a snapshot
04:20 stuartyeates "ifup --all" will try bringing up the network
04:20 libsysguy and to get hyper-v to run the network you have to have an addition to the kernal on a debian based system
04:21 libsysguy and since the kernel is gone...
04:21 stuartyeates oh, i see
04:21 stuartyeates can you compile a new kernel?
04:21 libsysguy I could…if i could get the source to the machine
04:22 libsysguy that is what I was trying to do with the live cd
04:22 eythian the addition to the kernel will be a .ko file somewhere, right? can you find it and just insmod it?
04:22 eythian or just stream all the data up the screen using xmodem, screenshot it regularly, reassemble.
04:23 libsysguy haha
04:23 eythian s/xmodem/QR codes/
04:23 libsysguy actually I think i have it
04:23 libsysguy the other install is working and I think ill be able to see the other drive
04:23 eythian can you export the disk as a VM appliance thing, import it into virtualbox, which will give you a network.
04:23 eythian then throw away hyper-v and use virtualbox
04:24 libsysguy now there is an idea…perhaps
04:25 wizzyrea O.O libsysguy what did you DO
04:26 wizzyrea I think perhaps you are even better at breaking things than I am
04:26 libsysguy wizzyrea i broke-ed it
04:26 libsysguy i swear this wasn't my fault
04:26 wizzyrea I believe you :)
04:27 libsysguy the server was being all laggy running tomcat and I was like..i know ill just restart it
04:27 wizzyrea sorry, less talk, more fixing.
04:27 libsysguy that'll teach it…but it taught me
04:45 libsysguy HAHA! i got it!!
04:45 libsysguy sorry…I just had a moment
04:46 wizzyrea noice!
04:47 libsysguy except…I still don't have network
04:47 libsysguy jesus !@#$$%#%@#$@$% christ
05:21 libsysguy for the record, it all got saved and transfered
05:22 eythian how?
05:30 libsysguy I created a second HDD, installed ubuntu to it, then mounted the old one
05:30 eythian OK
05:30 libsysguy now I just have to rebuild that system
05:30 cait joined #koha
05:30 eythian hi cait
05:30 libsysguy hi cait
05:31 cait hi eythian, hi libsysguy :)
05:31 Amit_Gupta wheya eythian, cait
05:31 cait hi Amit_Gupta
05:32 eythian hello Amit_Gupta
05:34 libsysguy cait I was going to tell you I installed that patch you recommended
05:34 libsysguy for acquisitions
05:35 libsysguy and the acquisitions librarian loves it
05:35 cait oh :)
05:35 cait yeah, it sure sounds like a nice feature
05:35 cait I am way behind with my todo lists :(
05:35 cait really wanted to test that
05:35 libsysguy haha welcome to the club
05:35 cait and then my glasses broke last friday... and that practically killed my weekend
05:35 libsysguy I am trying to test that and jcamins linker script
05:35 cait now it's even worse than before
05:35 libsysguy oh no :'(
05:35 cait I have new glasses now
05:36 libsysguy oh ok…so you can see
05:36 cait it's only I am missing a few days
05:36 libsysguy lol that is what I am going to tell my girlfriend when she says we have to hang out on the weekends
05:36 wizzyrea left #koha
05:36 libsysguy "but hun the community needs me :p"
05:39 libsysguy ok im out for the night…cya in the AM #Koha
05:39 libsysguy left #koha
05:41 * cait starts reading about ethernet
05:42 eythian watch wireshark on a not busy network for a while, it'll help you understand the upper layers.
05:43 cait ?
06:52 eythian cait: wireshark is a network sniffer tool
06:53 eythian shows you all the network traffic.
06:53 * eythian builds packages
07:03 Amit_Gupta slef around
07:07 * eythian fails to build packages because some tests are still broken :/
07:12 Amit_Gupta left #koha
07:13 Amit_Gupta joined #koha
07:20 laurence joined #koha
07:30 eythian left #koha
07:33 reiveune joined #koha
07:33 reiveune hello
07:35 Guillaume joined #koha
07:43 Guillaume left #koha
07:44 * cait goes to wokr
07:44 cait work even... bbiab
07:44 cait left #koha
07:47 julian_m joined #koha
07:53 hdl joined #koha
07:56 sophie_m joined #koha
08:03 mbalmer joined #koha
08:09 asaurat joined #koha
08:09 asaurat hello
08:09 wahanui hola, asaurat
08:15 francharb joined #koha
08:16 francharb hi all
08:22 matts joined #koha
08:26 stuartyeates left #koha
08:29 kf joined #koha
08:29 kf hi #koha
08:33 kf hmm
08:33 kf is there a way to link to the english opac version? I was playing around with the url, but while the start page is correct, the templates aren't
08:37 drojf joined #koha
08:37 drojf good morning #koha
08:37 kf good morning drojf
08:38 drojf hi kf :)
08:39 kf hm
08:39 kf do you have an idea about constructing an url to the english opac?
08:44 drojf what do you mean? without the changelanguage perl script?
08:47 kf just an url
08:47 kf that opens the english opac version directly
08:47 kf circumventing the browser detection and the cookie
08:47 kf I have not managed to find one yet :(
08:48 drojf i think it won't work because the info is only in the cookie. you have KohaOpacLanguage and then the language code, like en-EN. it would be nice to be able to use ?KohaOpacLanguage=en-EN on every page of the opac but that would need a code change i guess
08:49 kf yeah
08:49 kf I feared it was not possible
08:49 kf still... going to repeat that question a bit today, perhaps someone has an idea
08:49 kf or if it's really not possible I can file a bug
08:49 drojf maybe there is some secret way to do so, i would be very interested to know that too
09:01 matts_ joined #koha
09:02 matts left #koha
09:04 mbalmer left #koha
09:10 drojf kf: i don't know where output_html_with_http_headers (in is defined, but you could probably wrap it in an "if/else" looking for an url parameter similar "my $language = $query->param('language');" (in, so that you use an url parameter if given and look for a cookie otherwise. you need to know how to pack that for the output_html_with_http_headers though. or maybe i'm completely wring. *throwing around gefährliches
09:10 drojf *wrong
09:12 kf heh
09:12 kf drojf: if they insist, I will have to go there
09:13 kf collecting ideas today and waiting for feedback
09:13 kf I explained the language detection
09:16 drojf kf: who is "they"? one of your libraries?
09:18 kf yep
09:19 gaetan_B joined #koha
09:19 gaetan_B hello #koha
09:20 kf hi gaetan_B
09:20 fredericd kf: You could do it without changing Koha, by using Apache mod_rewrite. You can define a virtual host, with a rule appending a cookie forcing the language
09:21 kf ok
09:21 kf this sounds complicated
09:21 fredericd it is
09:21 kf so perhapsI will go and file an enh request
09:21 kf because this might be something other libraries would find useful too
09:22 kf and it seems confirmed that it's not possible right now?
09:22 slef kf: fredericd is right, though. Probably simpler to do it in Apache.
09:23 slef drojf: I think to do it Koha-side, you'd need to do it when $query is parsed, not at output time.
09:23 slef if you really want it, I'll go look at the code and find out when that it ;-)
09:23 kf ok
09:24 kf my english is broken
09:24 kf no idea how to call that bug
09:24 drojf what would it be in german? ;)
09:24 slef huh?
09:24 slef ja, wir können übersetzen...
09:25 slef veilleich
09:25 drojf :)
09:26 kf slef: :P
09:26 kf Direct URL to OPAC in specified language
09:26 kf ?
09:27 drojf Choose OPAC language with URL parameter?
09:27 kf oh
09:27 kf that is better
09:27 kf but
09:27 kf I already hit save
09:27 kf meh.
09:28 kf bug 7514
09:28 huginn` Bug[…]w_bug.cgi?id=7514 enhancement, P5 - low, ---, frederic, NEW , Direct URL to OPAC in specified language
09:28 drojf :D
09:28 kf updated
09:28 kf staff meeting
09:28 kf is now known as kf_mtg
09:28 slef kf: why :P ???
09:29 kf_mtg :)
09:29 slef I think it would be best in C4::Auth::get_template_and_user
09:29 kf_mtg make it a smiley
09:29 kf_mtg I felt a bit teased :)
09:29 slef nah it's serious... I wouldn't be able to write all this stuff in German without help ;)
09:30 slef and ppl are meant to translate into their native languages
09:32 drojf off to do non-koha work :/
09:32 fredericd And modifying a little bit
09:32 fredericd cgi-bin/koha/
09:33 fredericd with a redirection to the main page
09:33 slef probably moving some of that out to C4::Languages
09:34 drojf where is a good place to learn about all these magical C4-things?
09:35 fredericd If you change line 25 to: my $url      = $query->referer() || '/';
09:35 fredericd it works
09:57 hdl drojf:
09:57 hdl could be a place.
09:57 hdl otherwise perldoc is your friend
09:58 hdl maybe adding a kind of order in the system preference language system would help.
10:04 drojf hdl: thanks, that looks very useful
10:09 mbalmer joined #koha
10:13 Amit_Gupta left #koha
10:15 Amit_Gupta joined #koha
10:16 kf_mtg fredericd++
10:17 chris_n left #koha
10:19 chris_n joined #koha
10:57 Amit_Gupta left #koha
11:18 Amit_Gupta joined #koha
11:41 slef wahanui: perldoc is at for the C4 modules and more
11:41 wahanui OK, slef.
11:41 slef wahanui: documentation?
11:41 wahanui documentation is at
11:46 Amit_Gupta left #koha
11:47 Amit_Gupta joined #koha
12:01 Amit_Gupta left #koha
12:23 jwagner joined #koha
12:30 vfernandes joined #koha
12:30 vfernandes hi guys :) anyone has experienced to install Koha 3.2.X in CentOS?
12:32 tcohen joined #koha
12:36 nengard joined #koha
12:37 kf_mtg hmm
12:37 kf_mtg can someone here help with permissons?
12:37 kf_mtg if I have this:      flagsrequired   => { serials => 1 },
12:37 kf_mtg does it mean that I have to give full serial permissions for the template?
12:37 kf_mtg and having all but not routing lists will not work?
12:45 kf_mtg hm will find it out .)
12:46 vfernandes left #koha
12:55 Oak joined #koha
13:01 hdl @later tell vfernandes we did. But would not like to do it again... It depends on the CentOS version. But the version we tried to install Koha on was much behind in PERL version
13:01 huginn` hdl: The operation succeeded.
13:02 hdl kf_mtg: iirc, 1 should be changed into *
13:07 Oak kia ora #koha
13:11 matts_ kf_mtg, with *, any of the serials permission will be enough for the template
13:19 asaurat is the translated columns.def working good for non english users ?
13:20 asaurat looks like the file in prog/en is always used
13:22 oleonard joined #koha
13:26 mbalmer ji from the weekly koha workshop ;)
13:27 mbalmer here is a question:  we have user groups and media types.  here we have rules to allow certain books for children, others for adults etc.
13:28 mbalmer do we have to create a media type for each age or is there a third criterion we can use, besides user group and media type?
13:28 oleonard With regard to circulation rules mbalmer?
13:28 mbalmer yes.
13:29 mbalmer e.g. dvds for childrens, books for juveniles etc.
13:29 oleonard What you see is what you get: user category + item type
13:29 * oleonard wonders why that is labeled "user category." We don't use that phrase anywhere else...
13:30 mbalmer so no third "category"?
13:30 oleonard There is no hidden feature which you don't see on the Circulation and Fine rules page.
13:30 mbalmer ok
13:31 mbalmer are there any plans to have age restrictions per title?
13:31 oleonard Not that I'm aware of.
13:31 mbalmer so that the age restriction is with the item, not the item type?
13:31 mbalmer ok, tnx.
13:39 druthb joined #koha
13:39 druthb o/
13:40 oleonard Hi Dr. B.
13:40 druthb :)  hi, Owen.
13:44 JesseM joined #koha
13:47 mbalmer in switzerland, fines are not fixed, but increase over time.  e.g. CHF 2 for the first reminder, CHF 4 for second reminder, CHF 9 for the third reminder to bring back a book.
13:56 collum joined #koha
13:57 JesseM @wunder 06614
13:57 huginn` JesseM: The current temperature in Brewer Stratford Marina, Stratford, Connecticut is 0.5�C (8:55 AM EST on February 09, 2012). Conditions: Clear. Humidity: 57%. Dew Point: -7.0�C. Windchill: -4.0�C. Pressure: 30.06 in 1017.8 hPa (Rising).
13:57 oleonard @wunder 45701
13:57 huginn` oleonard: The current temperature in Ohio University, Athens, Ohio is 0.0�C (8:50 AM EST on February 09, 2012). Conditions: Clear. Humidity: 79%. Dew Point: -3.0�C. Windchill: 0.0�C. Pressure: 30.23 in 1023.6 hPa (Steady).
14:00 oleonard nengard: You here for real?
14:01 nengard yes
14:01 oleonard I wondered if you would be willing to test Bug 5877 again sometime?
14:01 huginn` Bug[…]w_bug.cgi?id=5877 enhancement, P1 - high, ---, paul.poulain, Needs Signoff , Offline circulation improvements : upload all files, apply at once
14:03 nengard oleonard, i was away all week and am catching up today, i'll put it on the list but might not get to it today
14:03 oleonard I think the functionality is there, but I submitted a patch too so I don't feel I can sign off
14:04 ago43 joined #koha
14:04 oleonard nengard: Were you doing training?
14:04 nengard yuppers
14:05 nengard got home at midnight
14:05 nengard brain not working right yet
14:05 * oleonard doesn't blame you for feeling that way
14:11 * oleonard has lost, in his old age, the ability to stay up too late
14:12 maximep joined #koha
14:12 Oak left #koha
14:16 trea1 joined #koha
14:17 talljoy joined #koha
14:18 Soupermanito joined #koha
14:19 NateC joined #koha
14:33 trea1 is now known as trea
14:45 kf_mtg hdl + matts: thx!
14:45 kf_mtg hdl + matts: I will test on latest master and file a bug :)
14:46 kf_mtg is now known as kf
14:46 jcamins_away is now known as jcamins
14:47 kf mbalmer: it's something we have in Germany too - increasing fines. At the moment it's not possible.
14:47 jcamins Good morning, #koha.
14:47 kf and good morning jcamins :)
14:48 kf mbalmer: there is a field for restrictions in items - but I don't think there is a function tied to it atm - perhaps using this field + development might be an option for age restrictions?
14:49 oleonard Is there authorities sample data available?
14:49 Guest1988 interesting that you would ask that I had the same desire.
14:49 Guest1988 is now known as wizzyrea
14:50 jcamins oleonard: I don't think there is, actually.
14:50 * wizzyrea gets all defeatist
14:50 wizzyrea it's probably all copyrighted
14:50 jcamins There should be.
14:50 jcamins wizzyrea: not in the US. Most authority data is from LC.
14:51 jcamins From whom you can buy a $10k hard drive with the public domain authority records on it.
14:51 wizzyrea see: buy.
14:52 trea morning all o/
14:52 hdl kf mbalmer for wiw We have done a devlopment coping with "stacked" (can't find the correct word) fines
14:53 istvan joined #koha
14:53 hdl[…]n/nimes/ft/MT5989
14:53 hdl here you are.
14:54 hdl See staticfines in misc/cronjob
14:54 hdl s
14:54 jcamins wizzyrea: yeah, but it's not copyrighted.
14:54 trea can anyone shed some light on what "[warn] yaz_poll [No child processes]" means in the koha-zebradaemon-output.log?
14:55 istvan left #koha
14:56 NateC left #koha
14:58 NateC joined #koha
15:03 jcamins trea: at a guess, your server is crashed.
15:03 jcamins I mean, zebrasrv.
15:05 nengard left #koha
15:07 trea interesting. thanks jcamins i'll do some more digging
15:07 jcamins trea: good luck. What's the status of the zebrasrv process?
15:07 mbalmer hdl, thanks!
15:08 trea not sure yet jcamins. i'll check into it and report back
15:12 Guillaume joined #koha
15:15 oleonard Alright, I think I've correctly imported a few authority records... I see data in auth_header... But no search results.
15:15 jcamins oleonard: did you reindex with -a -r?
15:15 hdl oleonard: dom or grs1 indexing ?
15:16 jcamins bulkmarcimport doesn't add things to zebraqueue.
15:16 oleonard Whta is the -r jcamins ?
15:16 jcamins Rebuild.
15:16 hdl reset
15:16 jcamins Reset.
15:16 jcamins That's what I meant.
15:17 jcamins "Start over from scratch." ;)
15:17 hdl does the init on database ... only when one record exported.
15:18 oleonard Okay, that's what I needed. But why do I only get results when I search using "search main heading?"
15:19 oleonard (in the staff client)
15:19 jcamins oleonard: did you install the patch for bug 7284 yet?
15:19 huginn` Bug[…]w_bug.cgi?id=7284 major, P3, ---, jcamins, Needs Signoff , Authority matching algorithm improvements
15:20 jcamins (if not, that's probably why)
15:21 jcamins (if you did, they probably don't show up because you didn't install the Zebra config files to koha-dev)
15:30 oleonard Is it not possible to get name authority results from the OPAC without 7284 jcamins ?
15:30 jcamins oleonard: no, you can get name authorities, you just can only search using the main entry.
15:31 oleonard What is "main entry?"
15:31 jcamins 1xx.
15:32 jcamins (that's authority 1xx, not bib 1xx)
15:32 jcamins No see-froms or see-alsos.
15:32 jcamins And the "anywhere" doesn't actually search "anywhere."
15:34 jcamins It only searches 1xx.
15:34 oleonard I have an authority record where 100a = "Leonard, A. Byron", but an OPAC search for Personal Name + contains + "leonard" doesn't return anything
15:34 oleonard the OPAC this time
15:35 oleonard I get results in the staff client if I use "search main heading."
15:35 jcamins Oh, that's a very old bug.
15:35 jcamins When did you last update your koha-dev zebra configuration?
15:36 oleonard Never :P
15:36 jcamins Okay.
15:36 jcamins I fixed that a few months ago.
15:36 jcamins You'll need to copy over the new Zebra authority configuration files then reindex.
15:37 jcamins etc/zeradb/authorities/etc/bib1.att,
15:37 jcamins etc/zebradb/marc_defs/marc21/author​ities/authority-koha-indexdefs.xml,
15:37 jcamins etc/zebradb/marc_defs/marc21/authori​ties/authority-zebra-indexdefs.xsl,
15:37 jcamins etc/zebradb/marc_defs/marc21/author​ities/koha-indexdefs-to-zebra.xsl, and
15:37 jcamins etc/zebradb/marc_defs/unim​arc/authorities/record.abs
15:37 oleonard Can you tell me how?
15:37 jcamins Hm. That didn't quite work as hoped.
15:37 jcamins I'll use paste.
15:39 pastebot "jcamins" at pasted "oleonard: install Zebra authority config" (3 lines) at
15:41 jcamins Then reindex with -a -r
15:43 oleonard Thanks, that worked like a charm
15:43 jcamins Good!
15:43 * oleonard is reminded why he doesn't like testing authorities
15:43 oleonard Maybe it'll be easier now :)
15:44 jcamins oleonard: you could sign off on bug 7501 too, so you don't feel like you did all this for only one thing. :)
15:44 huginn` Bug[…]w_bug.cgi?id=7501 normal, P5 - low, ---, jcamins, Needs Signoff , OPAC authority browser should mark alternate rows as highlighted
15:44 oleonard That's exactly what I'm doing :)
15:44 oleonard Then I'll try 7284
15:45 jcamins :)
15:45 jcamins oleonard++
15:46 Guillaume left #koha
15:49 jcamins Woohoo!
15:52 mbalmer left #koha
15:53 * oleonard sits down with a six-pack of Red Bull and a bowl of chocolate-covered espresso beans to read the test plan for bug 7284
15:53 huginn` Bug[…]w_bug.cgi?id=7284 major, P3, ---, jcamins, Needs Signoff , Authority matching algorithm improvements
15:53 wizzyrea O.O
15:53 wizzyrea you will be a hummingbird soon.
15:53 mbalmer joined #koha
15:54 jcamins lol
15:54 jcamins Is it that bad?
15:55 mbalmer left #koha
15:55 wizzyrea lol we just can't get down past 67 can we
15:55 trea
15:57 mbalmer joined #koha
15:57 jcamins wizzyrea: you can help with this!
15:57 mbalmer left #koha
15:58 jcamins wizzyrea: bugs 6919 and 7284 are both interesting. :)
15:59 mbalmer joined #koha
16:00 adnc joined #koha
16:02 trea is now known as trea-away
16:02 mbalmer left #koha
16:04 Soupermanito left #koha
16:05 druthb left #koha
16:05 libsysguy joined #koha
16:06 oleonard Actually jcamins the test plan is excellent for it's detail because it makes me feel much more comfortable that I'm testing something properly which I seldom use
16:06 oleonard jcamins++
16:06 libsysguy ditto
16:06 libsysguy jcamins++
16:06 jcamins :)
16:06 * oleonard reaches back to erase that errant '
16:07 mbalmer joined #koha
16:11 reiveune bye
16:11 mbalmer left #koha
16:11 reiveune left #koha
16:12 mbalmer joined #koha
16:17 sophie_m left #koha
16:17 mbalmer left #koha
16:18 mbalmer joined #koha
16:21 libsysguy left #koha
16:23 libsysguy joined #koha
16:24 kf jcamins++ :)
16:27 oleonard What is the difference between BiblioAddsAuthorities  and AutoCreateAuthorities? Is it BiblioAddsAuthorities that enables Koha to automatically link to an existing authority record if the input matches one?
16:28 jcamins oleonard: BiblioAddsAuthorities is what allows you to edit an authority-controlled heading directly.
16:28 jcamins I would like to change its name.
16:29 kf jcamins: I never understood how that worked until I got there in your test plan
16:29 oleonard So if BiblioAddsAuthorities is on you can either enter your own data or choose an existing authority
16:35 jcamins Right.
16:39 asaurat left #koha
16:43 matts_ left #koha
16:43 julian_m left #koha
16:44 kf hmm bug 3142
16:44 huginn` Bug[…]w_bug.cgi?id=3142 normal, P5 - low, ---, gmcharlt, NEW , standardize how OPAC and staff determine requestability
16:45 kf if branch a has that the item can be requested from all branches... shouldn't it be holdable?
16:45 oleonard Sounds right to me
16:45 kf oh
16:45 kf I misread
16:45 kf ignore me
16:45 kf I should go home
16:46 oleonard Me too!
16:46 * oleonard quits 5 hours early
16:46 kf heh
16:46 kf good idea .)
16:49 oleonard No, I'll need all that time to test this bug
16:54 laurence left #koha
16:58 gaetan_B bye !
16:58 gaetan_B left #koha
16:59 melia joined #koha
17:00 edveal joined #koha
17:01 juan_sieira joined #koha
17:04 Guillaume joined #koha
17:04 atz joined #koha
17:05 talljoy is now known as talljoy_lunch
17:08 mbalmer left #koha
17:10 atz left #koha
17:20 kf left #koha
17:25 drojf1 joined #koha
17:31 drojf left #koha
17:35 Guillaume left #koha
17:36 Johnindy joined #koha
17:48 edveal I am having a hard time getting one on of the jQuery scrips in the library two work properly. ([…]e_OPAC_login_link)
17:48 edveal Any hints?
17:50 cait joined #koha
17:50 cait hi #koha
17:57 fredericd cait: Your a specialist of 773 field in mAR
17:57 fredericd in MARC21?
17:57 cait hm
17:57 cait perhaps :)
17:57 cait what is your question?
17:58 fredericd Do you have sample MARC21 biblio records containing 773 field propermy populated?
17:58 cait hm let me find one
17:58 fredericd I try to figure out how to use it
17:59 fredericd $g subfield seems not to be displayed with HEAD MARC XSL
17:59 cait ?
17:59 cait which version are you on?
17:59 fredericd dev
18:00 fredericd I have fields like that: 773 $t Kroeber Anthropologivcal Society Papers $g vol. 99-100, pp. 104-128
18:00 fredericd and I'm not sure it's valid MARC21
18:00 jcamins fredericd: that looks right to me.
18:01 francharb left #koha
18:01 fredericd jcamins: thanks
18:01 cait fredericd: hm it should show... if it didn't get messed up again
18:01 cait I had to load my sample file first
18:03 cait fredericd: sorry, I messed up my test installation :(
18:04 tcohen left #koha
18:05 cait and my test data apperently
18:06 fredericd Hope it's not my fault...
18:07 oleonard edveal: What problem are you having?
18:07 edveal is now known as edveal-phone
18:07 cait 773$g shows  for me in staff
18:07 cait with xslt view
18:09 fredericd Not for me, xslt enabled
18:09 cait hm
18:09 jcamins fredericd: probably the 773 display was revised to match the standard again.
18:09 cait but 773 shows?
18:10 cait the oter fields?
18:10 jcamins Oh, wait, I'm confused.
18:10 jcamins What's the problem?
18:10 wahanui the problem is its human beings doing it
18:10 jcamins I thought the 773 wasn't showing up?
18:10 cait jcamins: should your indexing changes break rcn search?
18:10 jcamins cait: no.
18:10 cait http://localhost/cgi-bin/koha/[…]l?q=rcn:015151123
18:10 cait gives me a 404
18:10 cait I mean no results - yes
18:10 cait but 404?
18:10 wahanui 404 is better for opac
18:11 jcamins cait: I didn't touch anything to do with bib searching.
18:11 cait I hate finding bugs like this
18:11 jcamins If it is my patch, though, definitely let me know, because that means an unrelated change crept in.
18:12 fredericd I don't understand how it works in the XSL
18:12 fredericd 245$a is dislayed rather than 773$t
18:12 jcamins fredericd: that's definitely wrong.
18:12 oleonard If a search leads to a 404, doesn't that imply that the search returned 1 record but that record wasn't found?
18:12 cait ok
18:12 jcamins fredericd: maybe git blame will tell you who did that?
18:12 cait any search link gives me a 404
18:13 jcamins cait: just after applying my patch?
18:13 jcamins I didn't touch it.
18:13 cait i know
18:13 cait didn't switch back to master
18:13 cait checking the logs now
18:14 * jcamins has to run to get to his next client's.
18:14 jcamins Probably back in 30.
18:14 jcamins is now known as jcamins_away
18:15 cait [Thu Feb 09 19:11:39 2012] [error] [client] [Thu Feb  9 19:11:39 2012] Use of uninitialized value $biblionumber in concatenation (.) or string at /home/katrin/kohaclone/opac/ line 577., referer: http://localhost/cgi-bin/koha/[…]biblionumber=9809
18:15 cait *sigh*
18:15 fredericd my biblio records have 'c' in leader position 19...
18:15 cait does the open book icon show?
18:16 cait fredericd: that seems right to me
18:16 cait I am still wondeirng why my opac is totally broken :(
18:16 fredericd thanks all for your help
18:16 fredericd I give up for tonight
18:18 cait fredericd: I could mail you my sample record?
18:18 * chris_n talks bad about the labels code
18:18 fredericd cait: yes. I would be grateful for that.
18:18 cait your email from bugzilla?
18:19 fredericd chris_n: I know what you mean. I will finish crafting a specific XSL...
18:19 fredericd cait: yes, it works
18:21 cait done
18:23 chris_n the real problem is UTF*
18:23 chris_n UTF8 rather
18:23 * chris_n thinks his typing is a problem too
18:24 chris_n my catalogers picked up a bad record from somewhere and now i have to find it... <grumble>
18:24 cait chris_n: do you have an installation on latest master?
18:25 cait never mind
18:25 cait it seems the error just disappeared
18:25 cait spookiy
18:25 cait spooky
18:30 * chris_n removes the two offending records
18:30 chris_n I suspect the MARC records were imported and in a format other than that advertised
18:30 chris_n encoding rather
18:31 jcamins_away cait: well, at least it's working now.
18:33 edveal-phone is now known as edveal
18:33 talljoy_lunch is now known as talljoy
18:35 cait hmpf
18:35 cait I hate bugs that appear and disappear like that
18:35 cait normally means I only did something different
18:35 jcamins_away is now known as jcamins
18:36 jcamins Yeah, I hate those too.
18:37 jcamins cait: at least the testing can now resume.
18:37 jcamins :)
18:37 * jcamins is always looking on the bright side.
18:38 cait heh
18:39 * chris_n momentarily wonders about a function to be called on all imported records during import to validate encoding and warn of potential errors/pitfalls/etc
18:40 jcamins chris_n: that would be really useful.
18:40 hdl edveal: my best bet would be to try and ask oleonard.... but he might be busy.
18:41 jcamins chris_n: a pity there isn't actually a way to recognize UTF-8 versus MARC-8.
18:42 chris_n jcamins: running it thorough several "problem" sections of koha's code might turn up common "wide char" type errors
18:42 * oleonard inquired about details
18:42 chris_n or through some tests fashioned after those portions of code
18:42 jcamins chris_n: that makes sense.
18:42 jcamins chris_n++ # validating encoding even while planning an upgrade to master!
18:42 chris_n the problem is that different records break in different places iirc
18:42 chris_n nice idea!
18:43 chris_n sounds like a line for "how to win friends"
18:44 jcamins chris_n: I guess real world MARC-8 actually uses a fairly limited space, so I guess one thing you could test for is characters outside that range, and identify the record as UTF-8.
18:46 jcamins And maybe if we're lucky two byte characters with \xe8 as their first byte are all unusable in UTF-8.
18:47 * chris_n hates working with encoding foo :P
18:48 jcamins Oh god... I just said that without looking up the common value of the first byte.
18:48 chris_n maybe there is a significant enough difference to "filter" on
18:53 jcamins Here's a thought: does MARC-8 have only one canonical way to represent any given glyph?
18:53 jcamins If so, try converting to Unicode and back.
18:54 jcamins If the input matches the output, it's MARC-8.
18:54 jcamins Otherwise, UTF-8.
18:55 chris_n maybe the difference in order of space and non-space chars would provide an clear indication?
18:55 * chris_n feels like he is sinking beneath the waves :-/
18:56 jcamins chris_n: ooh, that's clever.
18:57 jcamins Actually, it wouldn't work, never mind.
18:57 jcamins It was a good thought, but how do we know which character the accent is supposed to be applied to?
18:57 chris_n if it was that simple it would be done already
18:57 chris_n right
18:57 jcamins Right.
18:57 chris_n I wondered about that
18:57 hdl left #koha
18:58 chris_n you'd have to make an assumption somewhere
18:58 jcamins Right.
18:58 chris_n and if the encoding happens to be mixed up
18:58 chris_n ...
18:58 chris_n ie.. a mixture
18:58 chris_n non-homogeneous at that
19:06 edveal is now known as edveal-lunch
19:15 chris_n interesting
19:15 wahanui interesting is good
19:15 chris_n not in this case wahanui
19:16 chris_n doing a hex comparison of the same marc record retrieved from loc in utf-8 and then in marc-8 shows zero difference
19:16 jcamins chris_n: are there extended characters?
19:17 chris_n no, as you might expect
19:17 chris_n but it serves to point out how challenging the task of verification might be
19:18 jcamins chris_n: well, if there are no extended characters, it doesn't matter.
19:18 chris_n in practice, it does not
19:18 * chris_n goes off to find a record with extended chars in it
19:19 nengard joined #koha
19:21 ago43 is now known as ago43_lunch
19:39 jcamins is now known as jcamins_away
19:43 luisb joined #koha
19:45 * oleonard goes back to testing after meetings, lunch, etc.
19:46 mbalmer joined #koha
19:47 * chris_n wonders if it would be enough to know the record is not UTF-8
19:51 * oleonard thinks he got lost somewhere in the 7284 test plan...
19:51 chris_n did you leave a trail of bread crumbs?
19:52 edveal-lunch is now known as edveal
19:52 oleonard I expected a minotaur at the end chris_n, so I brought string
19:53 chris_n lol
19:53 * oleonard could use jcamins_away's advice
19:56 libsysguy is testing that too oleonard
19:56 libsysguy where are you lost at
19:56 libsysguy bug 7284
19:56 wahanui hmmm... bug 7284 is the first step to making that happen.
19:56 huginn` Bug[…]w_bug.cgi?id=7284 major, P3, ---, jcamins, Needs Signoff , Authority matching algorithm improvements
19:56 oleonard I'm under === Testing ===
19:57 libsysguy ok just step 1?
19:57 oleonard ...and adding an author from an authority record is not giving me the expected link
19:58 oleonard Or does the link only happen if AutoCreateAuthorities is on?
19:59 oleonard Okay, that seems to be the case. I wonder if that is how it's supposed to be...
20:00 Space_Librarian joined #koha
20:00 Space_Librarian o/
20:00 libsysguy hmm
20:01 luisb left #koha
20:01 cait night #koha
20:01 oleonard Step 4, "to check this, look at the bib record you edited earlier, and check that the authid in the field you edited hasn't changed"
20:01 libsysguy im not sure, I'm still working throught a different set of linking issues :-\
20:01 cait left #koha
20:05 adnc left #koha
20:06 chris_n @seen rangi
20:06 huginn` chris_n: rangi was last seen in #koha 2 days, 19 hours, 25 minutes, and 20 seconds ago: <rangi> so far so good
20:06 * chris_n wonders if it is still going good for rangi
20:09 Space_Librarian It's pretty early where rangi  is...
20:09 Space_Librarian unless he's back from Melbourne...
20:10 ago43_lunch is now known as ago43
20:19 trea-away left #koha
20:23 jcamins_away oleonard: did you figure it out?
20:23 oleonard No, do you have a moment?
20:23 jcamins_away I do indeed.
20:24 jcamins_away It took a bit for the mention of bug 7284 to penetrate my brain, but when I did, I came!
20:24 huginn` Bug[…]w_bug.cgi?id=7284 major, P3, ---, jcamins, Needs Signoff , Authority matching algorithm improvements
20:24 jcamins_away :)
20:25 oleonard I'm at the step === Testing ===
20:25 jcamins_away Step 1?
20:25 wahanui i guess Step 1 is done. :)
20:25 oleonard Step 1 is done, doing step 2
20:26 jcamins_away Okay.
20:26 oleonard When I save the record, then go back and open it for editing again, should there still be data in $9?
20:26 * jcamins_away checks.
20:26 jcamins_away No.
20:27 jcamins_away I think there may have been a copy and paste error on my part.
20:27 jcamins_away Step 1 should read turn LinkerKeepStale *on*.
20:27 jcamins_away Step 2a should read turn LinkerKeepStale *off*.
20:28 jcamins_away Sorry!
20:28 oleonard Step 2a?
20:28 jcamins_away Right, there isn't one.
20:28 jcamins_away You do that after step 2, because I copied the wrong step into this test plan.
20:29 oleonard Step 1 turn LinkerKeepStale on, step 2 edit bib, step 2a turn it off, step 3 run the linking script?
20:29 jcamins_away (I had two test plans, and made the complete test plan by combining them)
20:29 jcamins_away Right.
20:30 jwagner left #koha
20:34 kyle left #koha
20:36 kyle joined #koha
20:37 oleonard jcamins_away: Can you think of any reason why I should be prevented from updating a bib record to use a different authority in 100a?
20:37 oleonard ...because I can't seem to do so.
20:37 jcamins_away oleonard: no I cannot.
20:38 jcamins_away oleonard: if you have BiblioAddsAuthorities set to off, you have to find one using the selector plugin, though.
20:39 oleonard BiblioAddsAuthorities is set to "allow," and I am using the selector plugin
20:39 jcamins_away Hm. And it won't let you save, or won't let you select?
20:39 oleonard It appears to work fine but after I save the old data is there
20:40 jcamins_away Hm.
20:40 jcamins_away That would be a bug.
20:40 jcamins_away Odd I never encountered it.
20:40 jcamins_away After I finish signing off on 6919 I'll see if I can replicate.
20:41 jcamins_away And to confirm, you're looking at the details page, right?
20:41 oleonard Sounds like some kind of matching problem, because if I choose to replace the author with a very different one (instead of a slightly different one) it works
20:41 jcamins_away Hrm.
20:41 jcamins_away What are the authors that work/don't work?
20:43 oleonard I have what I think is an auto-generated authority for "Leonard, A. Byron 1904- (Arthur Byron)," and an 'official' authority, "Leonard, A. Byron (Arthur Byron), 1904-"
20:43 jcamins_away Oh, that's a display issue.
20:44 jcamins_away Those are identical authority headings. The "Default" linker refuses to match things when there are more than one exact heading matches.
20:44 oleonard But there really are two different authority records in my database
20:45 jcamins_away Yeah, that's possible.
20:45 jcamins_away The display issue is that they look like they're not identical.
20:45 jcamins_away If you change LinkerModule to LastMatch or FirstMatch, it'll match one or the other.
20:46 oleonard But if I edit my record and explicitly choose one of those two similar authorities, shouldn't it save with the one I chose, not with the other one?
20:46 jcamins_away It probably should, yes.
20:46 jcamins_away I would consider this a bug.
20:46 jcamins_away I am right now trying to figure out how to fix it.
20:47 oleonard So... separate issue?
20:47 jcamins_away I'll do a follow-up patch.
20:47 oleonard (from 7284)
20:48 jcamins_away Yeah, but it's easy to fix with the framework I've set up with the initial patch.
20:48 jcamins_away I'll do the follow-up when I get home.
20:48 jcamins_away (half an hour)
20:49 jcamins_away Ooh, I could even make what it does in that situation configurable!
20:49 oleonard Thanks for the signoff on 6919
20:50 jcamins_away You're welcome.
20:50 jcamins_away Thanks for the testing of bug 7284!
20:50 huginn` Bug[…]w_bug.cgi?id=7284 major, P3, ---, jcamins, Needs Signoff , Authority matching algorithm improvements
20:51 jcamins_away Okay, better put my jacket on since we're about to get to my stop.
20:51 jcamins_away Back in a few.
20:51 libsysguy @later tell jcamins_away the script worked after a full reindex.  everything appears to be showing up
20:51 huginn` libsysguy: The operation succeeded.
20:55 edveal is now known as edvea-phone
20:55 jcamins_away Woohoo!
20:55 * jcamins_away exits bus
20:57 maximep and then walks
20:57 maximep -_-
21:07 oleonard Yay, step 5!
21:14 jcamins_away is now known as jcamins
21:14 jcamins maximep: yep.
21:15 oleonard jcamins: Problem at step 9 I think
21:15 jcamins oleonard: uh-oh!
21:15 oleonard I did step 7, "Change the modified heading back to whatever it was, but don't use the authority control plugin to populate $9"
21:15 jcamins Is this still the guy with two authority records?
21:15 oleonard I got rid of the extra one
21:16 jcamins Okay.
21:16 oleonard Started with a new bib record too
21:16 jcamins It didn't link?
21:16 oleonard I did step 8, but at step 9 I found that the record was not linked
21:17 jcamins Hm.
21:17 jcamins That would be a sign that there's a problem.
21:17 jcamins What is the heading you're testing it with?
21:17 oleonard misc/ --link-report --verbose --bib-limit="biblionumber=3748"
21:17 jcamins I mean, in the bib record.
21:18 oleonard Sorry, that wasn't in answer to your questions, just wanted to make sure that looked correct
21:18 jcamins Ah.
21:18 jcamins Yes, that looks correct to me.
21:19 oleonard What do you mean by what is the heading I'm testing with?
21:20 jcamins In step 7 you modified a heading in the bib record.
21:20 oleonard Yes, still working with an author entry
21:21 jcamins What's the exact heading? (I'll create an authority record and try linking that same heading)
21:21 oleonard
21:25 jcamins (downloading now)
21:29 chris_n well, fwiw I now have a script that will walk through the entire catalog, checking every subfield of every bib and item validating UTF-8
21:30 nengard left #koha
21:30 jcamins oleonard: I just tried and it worked.
21:31 jcamins oleonard: you have rebuild_zebra running with -a in your crontab, right?
21:31 oleonard misc/migration_tools/rebuild_zebra -z -b -a
21:31 jcamins Okay, that should do it.
21:32 oleonard gotta pick this up again tomorrow, sorry.
21:32 jcamins That's okay.
21:32 jcamins Thanks for looking at it.
21:32 * oleonard is off to retrieve children
21:32 jcamins oleonard++
21:33 oleonard left #koha
21:34 * chris_n heads out too
21:36 eythian joined #koha
21:41 * jcamins ponders bug 7518.
21:41 huginn` Bug[…]w_bug.cgi?id=7518 enhancement, P5 - low, ---, gmcharlt, NEW , searches with quotation marks don't work
21:42 jcamins melia: around?
21:42 melia yep
21:43 eythian left #koha
21:43 jcamins melia: what were you getting at with bug 7518? If Koha ignored quotation marks, it would break the principle of least surprise- Google (and other search engines) uses quotation marks to mark phrases.
21:43 jcamins I mean, if it entirely ignored.
21:44 jcamins So I'm wondering what you would want it to do.
21:44 melia maybe I don't understand how the quotation marks are supposed to work
21:44 melia but no matter what I put in quotation marks, I get no results
21:44 melia is that normal?
21:44 jcamins (disclaimer: without a complete rewrite of C4::Search, the behavior can't be changed, but I'm curious)
21:44 jcamins Like, if you put a single word in quotation marks?
21:44 melia yes. like "arts" or "health"
21:45 melia one library pointed me at this:[…]pl?q=%22health%22
21:45 melia which returns results even if "health" is inside of quotation marks
21:45 melia but when I try searching with "health" I get no results
21:46 eythian joined #koha
21:46 eythian left #koha
21:46 jcamins Is this a public OPAC?
21:46 melia yes. I think so.
21:47 jcamins I mean, the one with the problem.
21:47 eythian joined #koha
21:48 edvea-phone is now known as edveal
21:48 jcamins melia: so, the short answer is that the behavior you're describing is not normal for Koha.
21:49 jcamins It's almost certainly an ICU misconfiguration or -- much less likely -- a typo in
21:49 melia ok. that helps. I tested on my test system (which is master). but let me test on a few more public opacs and see what happens.
21:50 jcamins So you're seeing this on latest master?
21:50 melia yes I did this morning. but let me do a bit more checking to make sure.
21:50 * jcamins tries.
21:50 jcamins Huh.
21:50 melia is it working for you?
21:50 jcamins No.
21:50 melia darn
21:51 * jcamins feels foolish.
21:51 jcamins I was so busy working on something else in my VM that I just tested that on a production server, which, of course, worked fine.
21:51 melia don't feel foolish! this is only the first or second bug I've ever reported, and I wasn't sure if it was just me doing something wrong, or if it was really a bug.
21:53 melia ok here is a public OPAC on the latest master where it definitely doesn't work: http://booksearch.americanalpi[…]pl?q=%22health%22
21:54 jcamins Well, what's foolish is that I didn't think to try it on master first. ;)
21:54 jcamins It doesn't work on my VM, so that simplifies testing.
21:54 jcamins And is bad.
21:54 jcamins Almost certainly ICU.
21:55 jcamins Orr... not.
21:55 melia I think it works on stable 3.6. here's a public OPAC running stable 3.6 that seems to work fine: http://catalog.shasta.bywaters[…]pl?q=%22health%22
21:56 jcamins Yeah, it works in 3.6.3.
21:57 * collum just tried it on latest master and it works fine.  Very odd.
21:57 JesseM left #koha
21:57 jcamins collum: I'm still hoping it's ICU.
21:57 collum yep
21:58 * jcamins is using ICU on his VM.
21:58 libsysguy left #koha
21:58 melia I'm hoping it was broken but has already been magically fixed again :)
21:59 * jcamins rebuilds his Zebra indexes without ICU.
22:01 jcamins Hm.
22:01 jcamins I have a corrupt record.
22:01 jcamins tcohen++ # because I think he's responsible for the useful warning about corrupt records.
22:13 melia is now known as melia_lunch
22:21 eythian <-- in case anyone is still running it, security support for lenny is no longer available
22:22 jcamins That seems awfully fast.
22:22 eythian a year after the release of the next one is their general policy.
22:23 jcamins Huh.
22:23 eythian There has been talk of long-term support for some releases, but I don't think it's in place yet.
22:23 * jcamins switched to Squeeze immediately.
22:23 jcamins The lack of MySQL 5.1 was a pretty big issue for me with Lenny.
22:23 jcamins Okay, that's weird.
22:24 eythian We started on testing and switched to squeeze when it came out, to avoid the need of doing a real upgrade.
22:24 jcamins I disabled ICU and "smith" (with quotes) still doesn't return any results.
22:28 jcamins eythian: do you have a master install handy?
22:28 eythian jcamins: I do, although its zebra config is a bit out of date.
22:28 jcamins Okay, never mind.
22:28 jcamins Actually, you might as well try searching for a single word in quotes.
22:28 eythian I should probably update it.
22:28 jcamins Another data point.
22:28 eythian OK, booting it up now.
22:29 jcamins I'm wondering if there isn't a problem in the latest Zebra config.
22:30 jcamins collum: around?
22:30 collum jcamins: The koha instance I am working on is about a month old.  I have not updated Zebra since the installation.
22:30 eythian jcamins: �kw,wrdl: "health" � returned 951 results.
22:30 collum yep
22:31 eythian jcamins: �kw,wrdl: health � returned 951 results.
22:31 jcamins collum: ah, that was the question.
22:31 collum thought so
22:31 jcamins eythian: is that with updated zebra config?
22:31 eythian (assuming that's what you were asking for)
22:31 jcamins eythian: that is.
22:31 eythian no, this is an old config
22:31 jcamins Okay.
22:31 eythian I'll update the config, reindex, and see what happens
22:31 jcamins Thanks!
22:31 lculber joined #koha
22:32 * jcamins waves to lculber.
22:32 lculber waves back at jcamins
22:33 jcamins Wow. I've contributed to 19 books in my test catalog. I think it may be about time to use someone else's name for testing authority-related things.
22:33 lculber We are still having problems rebuilding zebra on our production server for biblios using -b -x -v -r on one instance only. All other instances work
22:33 jcamins Oh, wait, no, some of them are my brothers.
22:33 jcamins lculber: and you checked permissions?
22:34 lculber yes and the permissions are okay. We restored the indexes from backup and are  up for the day and cataloging normally but need to do a reindex tonight if possible
22:35 jcamins Can you reindex authorities without a problem?
22:35 lculber zebrsrv works as far as we can tell, but the rebuild empties the index and doesn't rebuild
22:35 lculber and only on the one instance
22:36 lculber we haven't tried to reindex authorities, only biblios.  since we use -x we do them separately
22:36 jcamins Hm.
22:36 jcamins I'd be curious to know whether the problem is the database or Zebra.
22:37 jcamins Did anything change between when it worked and when it didn't?
22:37 lculber We copied the database over to the other instances and reindexed them there - no problem. So I don't think it is the database.  Also did it in 3.6 with no problem
22:37 jcamins 3.6 running in parallel on the same machine?
22:37 jcamins To clarify, I meant Zebra database.
22:37 lculber 3.6 is on another machine than the 3.4 instances
22:38 jcamins Oh, but is there another instance on this machine that successfully reindexed?
22:38 lculber 2 instances on the same machine with the same data reindexed successfully
22:39 jcamins Okay.
22:39 jcamins That rules out a systemic Zebra problem.
22:39 jcamins So it's not permissions on /dev/null
22:40 * jcamins doesn't know why, but if /dev/null isn't world writable, Zebra does weird things.
22:40 lculber We also have been cataloging all day, so the permissions in zebra itself work.  Its the rebuild that is broken
22:40 jcamins Oh, so it even works with -z?
22:41 lculber It has been doing the records as they have been cataloged, yes.  But when we do the -r, it cleans the database, and then stops.  It never rebuilds the index
22:42 jcamins Wow.
22:42 jcamins That's an original.
22:42 jcamins (not what you wanted to hear, I know)
22:42 lculber We've run a diff on the scripts and they appear to be the same
22:42 eythian Some recent change to rebuild_zebra has stopped it outputting a lot of useful diagnostics I think.
22:42 jcamins eythian: but this is on 3.4.
22:42 jcamins This is 3.4, right?
22:42 lculber Yes this is 3.4
22:42 eythian oh right
22:43 jcamins I can't think of *any* explanation for this.
22:43 eythian <-- that was the output
22:43 lculber Right
22:44 eythian Some time long in the past, I edit rebuild zebra to output the commands it was running, and did it all by hand.
22:44 eythian In order to solve a similar problem
22:44 lculber I found zebraidx -c /etc/koha/zebradb/zebra-biblios.cfg -g iso2709 -d biblios init on http://manual.koha-community.o[…]n/resetzebra.html would that help?
22:44 eythian it's very tedious, but was helpful.
22:44 eythian lculber: it might help, hard to say. It probably won't make things worse.
22:45 jcamins lculber: it's worth a try.
22:45 lculber I could try that zebraidx -c /path/to/zebra-biblios.cfg drop biblios again too maybe
22:45 wizzyrea1 joined #koha
22:45 wizzyrea is now known as Guest2078
22:45 wizzyrea1 is now known as wizzyrea
22:46 eythian perhaps try moving the whole zebra database out of the way and creating a new one
22:46 jcamins Remind me never to use -v -v again.
22:46 eythian heh
22:47 jcamins On the other hand, -v doesn't provide any output at all.
22:47 eythian on what command?
22:47 jcamins rebuild_zebra.
22:47 wahanui rebuild_zebra is already there but only every 10 mins....
22:47 jcamins I mean, it provides the super-brief output.
22:47 lculber eythian:  moving it out of the way.  - you mean maybe renaming so it will go to a different place on the drive or what?
22:47 eythian -v gives some output for me, but not as much as I'd like
22:47 eythian lculber: exactly, yeah
22:47 jcamins Agreed.
22:47 eythian rename it to "biblios_broken" or something
22:48 jcamins lculber: how much disk space do you have left on /tmp?
22:48 eythian ohh, good though
22:48 eythian t
22:48 jcamins That will fail completely silently.
22:49 lculber jcamins: we have about 12G in tmp
22:49 jcamins Hm. That should be enough for it to at least get part of the way through.
22:49 * jcamins looks closer.
22:49 cait joined #koha
22:49 jcamins Actually, you don't need that much space on /tmp.
22:50 jcamins What about on /var?
22:50 * cait waves
22:50 jcamins cait: what time is it?
22:50 cait ...
22:50 lculber jcamins:  my bad. 312G in /tmp
22:51 eythian that's a very huge /tmp
22:51 jcamins lculber: definitely enough space!
22:51 jcamins That's a lot of space.
22:51 lculber We wanted room to grow and that' where it sits
22:52 jcamins How much space on /var?
22:52 eythian (I just did a rebuild of 40,000 records with 863MB free :)
22:52 maximep so maybe we need a -v, a -v -v  and a -v -v -v
22:52 maximep :p
22:53 jcamins maximep: agreed.
22:53 jcamins Ugh.
22:53 maximep id like something that shows the biblionumber when one fails to rebuild
22:53 jcamins I'm so tired I apparently can't handle truth tables.
22:53 jcamins maximep: someone added that.
22:53 jcamins Didn't they?
22:53 maximep i'm so tired i'm doing koha translations
22:54 jcamins eythian: are you awake enough to help me with a truth table?
22:54 jcamins Never mind.
22:54 jcamins Drawing it out helped.
22:54 eythian jcamins: well, it's a bit early in the morning for me, but I can try :)
22:54 eythian ah right
22:54 maximep but then again, I need a bit of energy to rant agains the translating system
22:54 lculber we have space 80GB hard drive in there that is empty
22:54 jcamins Okay, it's not a disk space issue.
22:55 jcamins There's something we're missing here.
22:55 jcamins When will you be able to do a rebuild?
22:55 lculber right. Not a space issue.  Its a weirdness issue
22:55 * jcamins likes to check, just to be sure.
22:55 lculber At 5PM CST
22:55 lculber 6 minutes
22:56 melia_lunch is now known as melia
22:56 jcamins Okay, we're going to make a small change to rebuild_zebra and then try a rebuild.
22:56 jcamins Lemme identify the change.
22:58 mbalmer left #koha
22:59 jcamins Somewhere in is a line that looks something like "-v none,warn" -- do you see that?
23:00 lculber my $zebraidx_log_opt = " -v none,fatal,warn ";
23:00 jcamins Yes.
23:00 jcamins Change that to "-v none,fatal,warn,all"
23:00 wahanui jcamins: that doesn't look right
23:00 wahanui left #koha
23:00 wahanui joined #koha
23:01 eythian jcamins: did you just crash wahanui?
23:01 lculber Okay done
23:01 jcamins eythian: I did.
23:02 cait bad jcamins, no cookie for you ;)
23:02 eythian [12304] exchange got response(that doesn't look right)
23:02 eythian [12305] </#koha> jcamins: that doesn't look right
23:02 eythian [12305] Connecting to port 6667 of server (
23:02 eythian [12306]  connected.
23:02 jcamins lculber: okay, now we want to run: misc/migration_tools/ -b -x -r > ~/rebuild.log
23:02 eythian odd, it doesn't know what happened
23:02 wizzyrea left #koha
23:03 jcamins Then in a different window run tail -f ~/rebuild.log
23:03 jcamins (so you can see what it's doing)
23:03 lculber should I try to do the move or any of the other scripts first?
23:04 eythian probably not
23:04 eythian this'll give you research data at the least
23:04 jcamins No, better to do rebuild_zebra in situ.
23:06 eythian hmm, -v -v is a bit over the top, you're right
23:06 jcamins eythian: ya think?!?
23:07 eythian it should just add the 'log' part back in. Then -v -v -v for having all
23:07 edveal is now known as edveal-dinner
23:07 jcamins Agreed.
23:07 lculber jcamins:  so far rebuild log is empty
23:07 jcamins It's empty?
23:08 jcamins Entirely?
23:08 eythian what's on the screen of the rebuild?
23:08 eythian maybe everything goes to stderr
23:08 jcamins eythian: ooh, could be.
23:09 lculber eythian: the screen on the rebuild just shows the command
23:10 jcamins Hm.
23:10 eythian that's weird
23:10 jcamins That's very weird.
23:10 jcamins Wait...
23:10 jcamins I know what it is.
23:10 jcamins Hit Ctrl-C.
23:10 jcamins This is 3.4.
23:10 jcamins The -v switch did something different.
23:10 eythian it did?
23:10 eythian I don't recall it doing anything different
23:10 jcamins Yeah, it was required for any output at all.
23:10 cait @wunder Konstanz
23:10 huginn` cait: The current temperature in Taegerwilen, Taegerwilen, Germany is -7.6�C (12:09 AM CET on February 10, 2012). Conditions: Light Snow Showers. Humidity: 81%. Dew Point: -10.0�C. Windchill: -8.0�C. Pressure: 30.57 in 1035.1 hPa (Steady).
23:11 jcamins Add "-v" to the command I gave you earlier.
23:11 * jcamins looks embarrassed.
23:11 jcamins Or it's possible that I've been doing my zebra testing with a hacked up version.
23:11 eythian oh, of course
23:11 jcamins <.<
23:11 jcamins >.>
23:11 lculber jcamins:  I think it is still running. It looks like it is
23:11 jcamins lculber: yeah, but we need the output.
23:12 jcamins So if you Ctrl-C it, we'll start over with the -v.
23:12 jcamins melia: do you know if you're using ICU on your VM?
23:12 melia not sure jcamins. sorry
23:13 jcamins melia: well, I'm going to assume you are since all reports point to bug 7518 applying only to ICU-enabled installations.
23:13 huginn` Bug[…]w_bug.cgi?id=7518 enhancement, P5 - low, ---, gmcharlt, NEW , searches with quotation marks don't work
23:13 melia okey doke
23:14 eythian I'm almost done with updating/rebuilding my zebra stuff
23:14 lculber jcamins:  So /usr/share/catalog/bin/migra​tion_tools/ -b -x -r -v  > ~/rebuild.log
23:14 jcamins Exactly.
23:15 jcamins Is there anything in ~/rebuild.log now?
23:15 eythian jcamins: fwiw, with the default zebra config in koha, quotes don't break things
23:15 lculber jcamins:  Okay.  Now I am getting the biblio numbers just like I do in a normal rebuild in the rebuild.log
23:15 jcamins eythian: thanks. That's what I thought.
23:16 jcamins lculber: okay, good.
23:17 maximep left #koha
23:26 lculber left #koha
23:26 ago43 is now known as ago43_away
23:27 lculber joined #koha
23:35 cait left #koha
23:36 NateC left #koha
23:37 Johnindy left #koha
23:37 Johnindy joined #koha
23:38 lculber jcamins there?
23:38 wahanui jcamins there are lots of tools - i use screenflow
23:38 jcamins lculber: yup.
23:39 lculber jcamins:  at the end of the the it shows CLEANING  and then nothing.  Just like before.
23:40 jcamins lculber: I'm interested in the part under REINDEXING zebra.
23:40 jcamins There's going to be a lot.
23:40 lculber Before it has Records exported: 1048688.   REINDEXING zebra   Cleaning       Then nothing else
23:41 jcamins *nothing*?
23:41 jcamins That's not even as much as you got before
23:41 YoungPublicLibrarian joined #koha
23:41 lculber nothing.  and our indexes have been empty
23:41 jcamins Hm.
23:41 eythian lculber: can you post the output somewhere?
23:42 lculber The whole thing or just he last part?  The rest is just the numbers of biblios.
23:42 lculber he/the/
23:43 eythian all of it is best
23:44 lculber the rebuild log is 109K
23:44 YoungPublicLibrarian my library is just getting ready to convert to Koha...We are currently using Voyager/ExLibris.
23:45 jcamins lculber: can you share it via a public dropbox or the like?
23:45 jcamins YoungPublicLibrarian: congratulations!
23:45 YoungPublicLibrarian Thanks, we will acutally move to the new system in march. Right now we have a test site up and are looking at it for training...we're both excited and nervous!
23:46 lculber Could I send it to you and you do it?
23:46 jcamins lculber: sure.
23:46 jcamins You have my e-mail message. :)
23:46 jcamins *address
23:47 jcamins Well, at least the word had the right number of 'a's and 's's.
23:48 lculber yes.  I just emailed it to you
23:48 jcamins Hrm.
23:48 * jcamins is looking.
23:48 jcamins That's *really* weird.
23:49 jcamins There's not even an error message back in the export.
23:49 * jcamins was hoping.
23:50 talljoy left #koha
23:51 jcamins Okay... is it possible that the change to rebuild_zebra didn't do what we wanted?
23:51 collum left #koha
23:53 jcamins zebraidx--
23:55 jcamins Okay, let's try a different modification.
23:55 jcamins Open up and find the "$zebraidx_log_opt = ''" line.
23:55 jcamins Should be around line 100.
23:56 jcamins (I'm still deciding what to put in there.
23:57 lculber okay
23:57 jcamins Put "-v all" in those quotes.

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary