Time Nick Message 00:53 wizzyrea_ http://koha-community.org/support/koha-mailing-lists/ even 02:15 Genji hiya all. with tmpl engine is it possible to have a tmpl_var inside the name element of a tmpl_if? 02:15 Genji I'd want to do <!-- TMPL_IF NAME="jbranchid_<!-- TMPL_VAR NAME="jbranchid" -->" -->checked<!-- /TMPL_IF --> 02:15 chris no 02:17 Genji how do i do something like this? 02:18 * robin has a few things that are waiting on the move to replace that template engine. 02:21 chris http://git.koha-community.org/gitweb/?p=koha.git;a=blob;f=koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tmpl 02:21 chris check out from about line 57 on 02:56 Genji oh, by the way, translation of arabic staff po file fails on koha 3.2 02:56 Genji that is... tmpl_process3 segfaults. 02:57 robin Creating a koha installation the modern way: 02:57 robin robin@kohadev:~$ time sudo koha-create --create-db newtest 02:57 robin ... 02:57 robin real 0m5.820s 02:58 chris :) 02:58 robin 5.8 seconds from scratch :) 02:59 Genji impressive 02:59 Genji anyway, what would cause tmpl_process to segfault? 02:59 chris it wont be it segfaulting 02:59 chris it will be gettext 03:00 chris you have to work pretty hard to make perl segfault, the c libraries it use on the other hand 03:01 Genji what would cause gettext to segfault then? 03:01 chris probably a really long string or something 03:01 Genji hrm... 03:01 chris email me the .po file and ill test it 03:01 Genji its the one in the koha 3.2 distro. 03:02 chris easy then 03:02 Genji err... in Head? r master? 03:02 chris ill try it right now 03:02 chris master 03:02 Genji thanks. 03:02 Genji arabic - staff 03:03 chris ar ? 03:03 chris ar-Arab that is? 03:06 chris Creating /home/chrisc/git/koha/koha-tmpl/intranet-tmpl/prog/ar-Arab/xslt/compact.xsl... 03:06 chris Creating /home/chrisc/git/koha/koha-tmpl/intranet-tmpl/prog/ar-Arab/xslt/MARC21slim2RDFDC.xsl... 03:06 chris Creating /home/chrisc/git/koha/koha-tmpl/intranet-tmpl/prog/ar-Arab/xslt/MARC21slim2ATOM.xsl... 03:06 chris The install seems to be successful. 03:06 chris works for me 03:10 Genji hrm... 03:12 Genji Creating /home/mudrupal/kohaclone/koha-tmpl/intranet-tmpl/prog/ar/modules/cataloguing/value_builder/marc21_field_007.tmpl... 03:12 Genji Segmentation fault 03:14 chris how much ram do you have on that box? 03:14 Genji total used free shared buffers cached 03:14 Genji Mem: 1034896 916600 118296 0 332300 264560 03:14 chris wonder if thats it 03:15 Genji how much do i need for a small koha library anyway? 03:15 chris that'd be fine for running but that could be what is busting it 03:15 chris what version of Locale::PO do you have installed? 03:16 Genji how do i find that out? 03:17 chris Creating /home/chrisc/git/koha/koha-tmpl/intranet-tmpl/prog/ar-Arab/modules/cataloguing/value_builder/marc21_field_007.tmpl... 03:17 chris Creating /home/chrisc/git/koha/koha-tmpl/intranet-tmpl/prog/ar-Arab/modules/cataloguing/value_builder/unimarc_field_123g.tmpl... 03:17 chris cos it certainly gets past there for me 03:20 robin That sounds a lot like running out RAM to me. 03:20 chris *nod* 03:20 chris i have 3 gig 03:21 Genji Locale::PO::VERSION 0.21 03:22 chris yep, same 03:22 chris so yeah im suspecting ram 03:23 chris can you run top at the same time in another window, see if it runs out of ram 03:25 Genji goes from 113mb free to 98 mb free. 03:25 robin problem is, if there's a big malloc in there for some reason, it'll fail and gettext will crash if it doesn't expect it. 03:26 robin without obviously chewing up ram 03:26 Genji could it be something to dowith libxml? 03:26 chris ah true 03:26 chris nope, doesnt use that 03:26 chris heres something to try 03:26 chris move that file out of the en dir 03:26 chris and see if it does all the rest fine 03:26 Genji right.. cause my LibXML version and my libxml versions dont match... but all the tests succeded. 03:27 Genji hrmm... move 007 out/ 03:27 Genji ? 03:27 chris yep 03:27 Genji kay... 03:28 Genji yea 03:28 Genji its just that one file. 03:28 Genji it installed fine. 03:28 chris so now you just have to figure out what is wrong with that file 03:30 Genji its huge? 300kb or so big.. 03:30 Genji 5446 lines. 03:30 Genji 329kb 03:31 chris yep, same here and yet it works fine 03:40 Genji hrm.. would you be able to email me the produced arabic template? 03:42 chris yep 03:44 Genji thanks 03:44 Genji chris++ 03:44 chris done 03:45 Genji huh.. doesn't appear to have any arabic in it. 03:46 chris it may not have been translated in the .po file 03:46 chris http://translate.koha.org/ar/intranet3_1/ 03:46 chris very little has been 03:46 Genji1 ah 03:55 Genji Its so difficult trying to get people to understand the upgrade path, and how its broken by editing the non-english templates... and what a headache it will cause me. 03:57 chris *nod* 03:57 chris tell me about it 03:58 chris theres a whole thread on the mailing list over the last 2 days, tyring to explain why straying off the path just makes a mess 04:02 Genji hmm.. Koha releases? 04:04 chris yeah 04:05 Genji im thinking i need to move all my koha lists to my gmail account, to get the cool conversation threading thing happening. 04:05 chris its not a silly idea 04:05 Genji cause following conversations by flat is horrible. 04:06 chris mutt does an ok job of threading 04:06 robin everything does threading these days, I think. 04:06 Genji my koha list is coming to my yahoo mail account 04:06 robin oh. That might be an issue, yeah. 04:07 chris ah yeah, everything except yahoo mail that is :) 04:10 Genji .. four to five years for LEK features to come into koha... 04:12 chilts lol 04:12 chilts if you're lucky :) 04:12 richard Genji, do you have to do anything special for zebra to index arabic text? 04:13 Genji just a few rules to transcode... but eh... they should be putting some stemming into the Search.pm stemming routine... but they're not. 04:15 Genji 7 transliterate rules. 04:15 Genji i have no idea why .. i can't read arabic. don't know what they do. 04:15 richard :) 04:16 Genji you know arabic grammer, richard? 04:17 richard nope. we just had a query about zebra not working for chinese text and i was wondering if there were similar problems with other languages 04:17 richard other non-latin languages, that is 04:21 Genji ouch! 04:21 Genji "Today, someone from Liblime contacted me to explain that the estimate 04:21 Genji of 4 or 5 years as the time for the community to integrate such a 04:21 Genji large amount of code was a "humorous ad lib comment" rather than a 04:21 Genji serious answer to my question" 04:22 Genji translation.... someone from Liblime doesn't like the koha community. 05:42 cait hi koha 06:04 fredericd Genji: Do you succeed in handling properly Arabic language with Koha and Zebra? 06:05 cait good morning fredericd 06:06 fredericd hello cait 06:06 fredericd How is it in Germany today? 06:07 cait not sure, Im still at home hiding 06:09 fredericd Don't forget to look deeply affected 06:09 Genji by what? 06:09 cait :) perhaps I am deeply affected ;) 06:09 cait Genji: Germany:Spain 0:1 06:09 Genji fredericd; apparently, its fine, they've got icu transliteration in place... 06:10 Genji oh.... oh.. uhh.... shouldn't of allowed Octopus oracle paul a say. 06:11 cait yeah, the octopus oracle was right 06:11 fredericd Genji: Is it documented somewhere? 06:12 Genji ... no... people believed in the octopus.. and so it happened. 06:12 fredericd I could be tricky and would be nice to have it directly into Koha 06:12 fredericd octopus? 06:12 Genji fredericd: no, its not ducumented... i personally think its not enough to stem properly. 06:13 cait octopus oracle: http://www.spiegel.de/international/zeitgeist/0,1518,704954,00.html 06:14 cait I think we used this for icu: http://spedr.com/5hwak but have made some changes to transliteration files 06:14 cait to find ü as ue and make search without diacritics possible 06:15 * Genji nods. "Arabic icu transliterate apparently does a bit of stemming. 06:15 fredericd Yes, Arabic is different and not so simple 06:16 fredericd That's why it would be intersting to gather what's have been done 06:16 Genji fredericd: you know arabic grammer? 06:16 cait fredericd: I think some documentation would be really useful 06:16 cait fredericd: we use it for Hebrew 06:17 cait or better, we needed it because of our Hebrew records, German works fine withoug icu 06:17 fredericd Genji: I started and stopped few days later... 06:17 Genji fredericd: too complex? 06:17 fredericd yes and not enough time. But I will retry later 06:19 fredericd we have several projects with Catalogs containing a lot of Arabic biblio records. So we will have to improve that part of Koha-Zebra 06:19 fredericd Any feedback from others is welcome! 06:19 Genji there is a perl stemming module for arabic 06:20 fredericd cait: Could you consult the octopus about Koha 3.2 release date? 06:20 cait I think some search options dont work with icu or rtl languages 06:20 cait we had to deactivate some, I think the main problem is fuzzy 06:20 fredericd yes, same issue with any non-latin language 06:21 fredericd This issue is that Zebra ICU support is under-documented. 06:22 Genji oh... zebra truncation doesn't work with icuchain and rtl languages. 06:23 cait which severity for translation bugs? non-translatable strings in acq 06:26 cait no suggestions? :) 06:27 fredericd i would say minor 06:27 cait there are a lot in acq :( 06:29 cait ok, time for work, will be back later 06:29 cait bye fredericd and Genji 10:10 greenmang @wunder mumbai 10:10 munin greenmang: The current temperature in Mumbai, India is 28.0�C (3:10 PM IST on July 08, 2010). Conditions: Haze. Humidity: 84%. Dew Point: 25.0�C. Pressure: 29.74 in 1007 hPa (Steady). 11:08 druthb hi, #koha. 11:13 magnus hiya druthb 11:38 magnus hiya jwagner 11:40 jwagner Hi magnus 11:41 kf hi #koha 11:42 jwagner Guten tag, kf 11:42 kf guten Tag jwagner :) 11:42 druthb hi, kf! :D 11:52 hdl hi magnus 11:52 hdl hi all 11:54 kf hi hdl 11:57 magnus hi hdl 11:57 kf hdl: do you know if it is possible to edit a basket? (before you close, print...) 11:57 magnus kf: sorry you havn't heard from me about nz travel plans - havn't got round to it yet... 11:57 kf I wondered about that yesterday 11:58 hdl kf: yes it should be. 11:58 kf magnus: no problem. But would be nice if cou can let me know once you got round .) 11:58 magnus kf: will do! 11:58 kf hdl: perhaps it was me yesterday. I created an order and wanted to check my settings, found no way to edit it 11:59 kf for example change the price, change the fund 12:00 kf oh, I just read nicole's mail on the mailing list 12:00 kf I think she has a similar problem 12:01 kf hdl: I have an acq presentation next week, trying to understand how everything works 12:49 owen munun: Please examine the entire Koha codebase and file a new bug for each "TODO" comment you find. Thanks buddy. 12:50 druthb Hi, owen! 12:51 druthb @quote random 12:51 munin druthb: Quote #18: "<pianohacker> nitpicking synergy FTW" (added by gmcharlt at 01:35 PM, July 24, 2009) 12:51 owen Hi druthb 12:51 owen I'm surprised munin didn't have a smartass comeback for me 12:51 druthb @eightball Do you have a smartass comeback for owen? 12:51 munin druthb: What are you asking me for? 12:52 druthb whoa. I just got *served* by a bot. 12:52 owen It's entirely appropriate for bots to serve us. munin: Get me a scone please. 12:52 druthb @roulette 12:52 munin druthb: *click* 12:52 druthb @roulette 12:52 munin druthb: *click* 12:52 druthb hm. 12:52 druthb @roulette 12:52 munin druthb: *click* 12:53 druthb @roulette 12:53 munin druthb: *click* 12:53 * druthb raises an eyebrow. 12:53 druthb @roulette 12:53 * munin reloads and spins the chambers. 12:53 druthb That's better. 12:53 imp :D 12:55 kf @roulette 12:55 munin kf: *click* 12:55 kf :) 12:55 kf @wunder Konstanz 12:55 munin kf: The current temperature in Taegerwilen, Taegerwilen, Germany is 27.2�C (2:55 PM CEST on July 08, 2010). Conditions: Clear. Humidity: 42%. Dew Point: 13.0�C. Pressure: 30.11 in 1019.5 hPa (Steady). 12:55 imp @wunder hannover germany 12:55 munin imp: The current temperature in Hannover, Germany is 29.0�C (2:20 PM CEST on July 08, 2010). Conditions: Clear. Humidity: 29%. Dew Point: 9.0�C. Pressure: 30.09 in 1019 hPa (Steady). 12:56 imp and no wind... 12:57 imp owen: it'll generate 284 new tickets ;) 12:57 magnus @wunder bodo, norway 12:57 munin magnus: The current temperature in Bodo, Norway is 14.0�C (2:20 PM CEST on July 08, 2010). Conditions: Scattered Clouds. Humidity: 82%. Dew Point: 11.0�C. Pressure: 29.83 in 1010 hPa (Steady). 12:58 owen imp: We'll have munin use git blame to discover the author of the TODO note and assign accordingly 12:59 imp hehe :D 12:59 * owen wonders if munin has gotten started... Still don't have that scone... 13:00 druthb munin: Please bring me some wheat toast with a little orange marmalade, and a glass of OJ. 13:00 munin druthb: Error: "Please" is not a valid command. 13:00 * druthb chuckles. 13:01 gmcharlt munin: hop to it, people are waiting for their food 13:01 munin gmcharlt: Error: "hop" is not a valid command. 13:02 kf munin: icecream, now! 13:02 munin kf: Error: "icecream," is not a valid command. 13:02 kf ok, does not work, polite or impolite 13:03 druthb @karma munin 13:03 munin druthb: Karma for "munin" has been increased 8 times and decreased 3 times for a total karma of 5. 13:03 * imp is a little bit confused right now 13:03 imp diff -u koha/koha-tmpl/intranet-tmpl/prog/en/lib/yui/tabview/tabview.js koha/koha-tmpl/intranet-tmpl/prog/en/lib/yui/tabview/tabview-debug.js 13:04 imp sounds like the path to maintenance hell... 2 files, nearly same content 13:04 imp and some day, somebody will change only one... 13:05 * magnus wonders if there is some way to get at the complete SQL statement that was actually run, after doing $sth=$dbh->prepare("SELECT * FROM items WHERE items.itemnumber = ?"); $sth->execute($itemnumber); 13:07 jcamins_a Good morning, #koha 13:10 kf hi jcamins_a 13:11 Fred Hello 13:14 owen Hi Fred 13:15 hdl magnus: maybe in mysql logs 13:15 Fred What to do if we find an error in a xsl stylesheet, i mean about reporting 13:15 hdl Fred file a bug on bugs.koha-community.org 13:16 magnus hdl: thanks, that was just too obvious for my poor brain... ;-) 13:16 hdl If you happen to know what the problem is propose a solution. 13:16 hdl magnus: mysql is not logging all transactions by default. 13:16 hdl You have to enable that. 13:17 magnus hdl: yeah, i'm just on a vm anyway, so i'll try that 13:17 Fred ok, for now i ve corrected it, but i am wondering about the origin of the error 13:18 owen Anyone up for a Perl question? If a script already has "use C4::Dates;," why would it complain about format_date being undefined? Is it always necessary to say "qw(format_date)" ? 13:18 Fred cause the error is inside a translated xsl file 13:19 kf Fred: what problem do you have? 13:22 Fred UNIMARCslimUtils.xsl in fr-FR version got a little error 13:23 druthb owen: It might not be EXPORTed from C4::Dates; I've seen that kind of behavior when that's the case. 13:24 Fred which error doesn t exist in en version 13:24 owen druthb: So the "use C4::Dates" makes *some* of what's in Dates.pm available, and adding the "qw(format_date) ensures that format_date is available as well? 13:25 kf Fred: strange, im not aware of translation text in utils 13:26 druthb correct. Anything that's the subject of an EXPORT in Dates.pm will be available for freebies, with "use C4::Dates". If you have some routine that is not EXPORTed, adding the "qw(format_date)" will guarantee it. You can also call non-EXPORTed routines the long way with: $foo = C4::Dates::format_date($params); 13:26 druthb That's my understandin' anyway. 13:26 owen Thanks druthb 13:28 Fred the error is just a nbsp who magically appeared 13:34 owen Hi wizzyrea_ 13:34 wizzyrea_ Hi owen 13:40 kf Fred: check your po files 13:41 kf Fred: I noticed that there are  s in pootle (translate.koha.org) 13:45 Fred ok i will check them to look for some other  s 13:46 Fred does it come from copy/paste? 13:48 Fred Sorry got to go, i will file a bug for that later 13:49 Fred Thanks for your answers 14:10 Genji for some reason, the language selection div is not showing... 14:10 Genji in koha 3.2 14:11 owen Genji: OPAC or staff client? 14:11 * owen sees the language-selection footer in both the OPAC and staff client in his test system running HEAD 14:12 kf Genji: is opaclanguagedisplay on? 14:13 Genji yes, opac section - language display set to on. 14:19 kf and opaclanguages are selected? 14:20 Genji opac languages and intranet languages are both selected, and saved. 14:23 owen I notice my system preferences list opaclanguagesdisplay twice. I wonder if that is related. 14:24 owen Genji, can you try doing a search in system preferences for "opaclanguagesdisplay" ? 14:25 kf owen: there is a patch from nicole for that problem, but not pushed yet 14:26 owen If one was off and one was on which one would win? 14:26 Genji wheres opaclanguagesdisplay? 14:27 Genji err 14:27 Genji the search for/ 14:27 owen At the top of the page 14:28 kf owen: they work, just 2 entries 14:28 Genji only opaclanguagesdisplay at the top of opac section 14:30 owen Okay Genji never mind. kf is right--it just displays twice, it's not two which conflict 15:19 jcamins Does anyone have any idea why our catalog would say "1 suggestions waiting" when I'm in the acquisitions module, but when I click that link, none show up? 15:19 sekjal jcamins: that's a known bug, I believe 15:19 wizzyrea_ is it perhaps that you are logged in as the wrong branch? 15:20 wizzyrea_ like, if you log in as superlibrarian do you see it? 15:20 sekjal bug 4498 15:20 munin 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4498 normal, P5, ---, chris, NEW, Acq always shows '1 suggestions waiting' 15:20 jcamins Well, my user has superlibrarian. 15:20 jcamins Ah. 15:20 wizzyrea_ ya, then it's not that. it's the bug 15:20 jcamins Okay, as long as I'm not doing something stupid. 15:25 magnus not my best koha day. been researching my koc-problem on a vm, and now suddenly i get "Syck parser (line 2485, column 14): syntax error at /usr/lib/perl5/YAML/Syck.pm line 71." hrmpf?!? 15:44 mib_071gn 'lo all - any Authorities experts around willing to lend a hand? 15:46 hdl what kind of authorities ? 15:46 mib_071gn Well its more to do with the Authorities not being there when I try adding a new bib 15:47 mib_071gn in the Authorites link page 15:47 mib_071gn Author authorities 16:01 mib_071gn Anyone! 16:03 jcamins What is it you're trying to do? I don't really use authorities correctly, yet, but a second set of eyes might help. 16:04 mib_071gn When adding a new bib record and select the 245 tag $a I can click the "..." button to bring up another box........ 16:04 jcamins Right. 16:05 mib_071gn In this box I should be able to search for author authorites and link it to the new bib 16:05 jcamins Right. 16:05 mib_071gn whatever I search for in this box, the results are always 0 16:05 mib_071gn even though there are authorities setup 16:05 jcamins You made sure that the authorities you're search for are the ones you entered in? 16:06 mib_071gn do you mean I made sure I searched for authorites that exist? 16:06 jcamins Right. 16:06 magnus i've never used authorities, but have you indexed them with something like "rebuild_zebra.pl -a"? 16:07 mib_071gn just gonna check my crontab now...... 16:07 kf magnus is right, you need -b -a for bibliographic and authority records - we use authorities .) 16:08 jcamins You could try running rebuild_zebra.pl -a -r 16:08 mib_071gn I am using -b -z -a in my cron - running every 2 mins 16:08 jcamins That will rebuild the authorities index. 16:08 jcamins Actually, we should probably check... are you able to search for authorities in the authorities screen? 16:09 mib_071gn Just checking........ 16:10 jcamins jwagner, kf: It turns out my problem with searching for diacritics was a misconfiguration on our part. ByWater got us a server set up, and the searches work exactly the way they should. 16:10 jcamins (yesterday we were trying to figure out why searches with diacritics didn't seem to bring up one record) 16:10 jwagner jcamins, good to hear. 16:10 kf jcamins: :) 16:15 mib_071gn OK, that zebra rebuild didn't make a difference - when you say search in Authorities Screen, where do you mean? 16:17 jwagner Hmmmm. If I turn the autoMemberNum syspref off (i.e., don't automatically generate patron barcodes), and import a .csv file that doesn't have a barcode (long story), is Koha going to choke? 16:17 kf More > Authorities 16:18 mib_071gn Thanks - that is also not working 16:18 kf hm, perhaps try and ran -a and -v for verbose 16:19 kf ran = run 16:19 kf to see if authorities are indexed 16:20 mib_071gn yeah, I did that when I ran it a minute ago, it does say it added records but doesn't say what they were, a lot of these errors too ----->>>17:15:12-08/07 zebraidx(22403) [warn] Index 'Heading-Main' not found in attset(s) 16:20 jcamins jwagner: barcode isn't the primary key (thank goodness!), so Koha should be fine. 16:22 kf mib_071gn: I think there is your problem, the index is not ok 16:23 mib_071gn Just looking at the bug database and it appears to be a bug (3072) - nightmare! 16:23 kf http://lists.katipo.co.nz/public/koha/2009-November/021216.html 16:24 kf not sure this is stil the problem 16:24 kf it works in our 3.1.61 - which is older thant he bug 16:25 mib_071gn do you mean 3.06? 16:26 kf no, we run a development version of 3.2 16:27 jcamins mib_071gn: What version of Koha are you running? 16:27 kf sorry, I have to run, too late to be still at work 16:27 mib_071gn 3.06 16:27 kf bye all :) 16:29 jcamins mib_071gn: Did you try the fix that is described in that bug report? 16:30 mib_071gn just doing that now! will let you know....... 16:30 jwagner kf, thanks. We'll find out.... 16:31 jwagner Sorry, that was jcamins I needed to thank -- got confused on the screen. 16:31 jcamins Don't thank me yet... I could be wrong. 16:31 jwagner We'll have to do some experimenting. 16:31 owen Can someone remind me who is now hosting Bugzilla? 16:32 wizzyrea_ catalyst/linode, I believe 16:42 mib_071gn That fix didn't work for me. Is there any way to change index type from dom to grs etc? 16:42 jcamins I don't know, sorry. 16:42 jcamins We never got 3.0.x to work. 16:43 mib_071gn ok, thanks anyway! 17:20 druthb hi, pianohack and hdl! :D 17:21 cait hi all 17:21 druthb welcome back, cait. :) 17:21 cait :) 17:31 pianohack Hi druthb 17:36 collum @wunder 41011 17:36 munin collum: The current temperature in Newport Aquarium, Newport, Kentucky is 34.9�C (1:35 PM EDT on July 08, 2010). Conditions: Haze. Humidity: 39%. Dew Point: 19.0�C. Pressure: 29.99 in 1015.5 hPa (Falling). 17:39 brendan @wunder 93117 17:39 munin brendan: The current temperature in Northwest Goleta, Goleta, California is 15.8�C (10:36 AM PDT on July 08, 2010). Conditions: Overcast. Humidity: 80%. Dew Point: 12.0�C. Pressure: 29.93 in 1013.4 hPa (Steady). 17:40 jwagner @wunder 20817 17:40 munin jwagner: The current temperature in Langley Fork Park, McLean, Virginia is 34.6�C (1:40 PM EDT on July 08, 2010). Conditions: Scattered Clouds. Humidity: 53%. Dew Point: 24.0�C. Pressure: 29.99 in 1015.5 hPa (Steady). 17:40 * jwagner doesn't speak Centigrade, but that's HOT 17:42 * collum has decided anything of 30 C is hot 17:43 druthb @wunder 79603 17:43 munin druthb: The current temperature in ABI 5mi. true N of Downtown, Abilene, Texas is 28.6�C (12:37 PM CDT on July 08, 2010). Conditions: Mostly Cloudy. Humidity: 70%. Dew Point: 23.0�C. Pressure: 29.77 in 1008.0 hPa (Steady). Flash Flood Watch in effect from 7 am CDT this morning through Friday evening... 17:43 druthb Cooler in the west Texas plains than it is here. 17:44 jcamins @wunder 11105 17:44 magnus @wunder bodo, norway 17:44 munin jcamins: The current temperature in Astoria, Astoria, New York is 29.4�C (1:40 PM EDT on July 08, 2010). Conditions: Mostly Cloudy. Humidity: 66%. Dew Point: 22.0�C. Pressure: 30.01 in 1016.1 hPa (Steady). Heat advisory in effect until 5 PM EDT this afternoon... 17:44 munin magnus: The current temperature in Bodo, Norway is 16.0�C (7:20 PM CEST on July 08, 2010). Conditions: Partly Cloudy. Humidity: 68%. Dew Point: 10.0�C. Pressure: 29.86 in 1011 hPa (Steady). 17:44 jcamins Yay! It's not nearly so hot today. 17:54 collum jwagner++ and druthb++ Just for the heck of it. 17:55 fredericd jwagner: Reading mailing list... I should have prefered not to see my name embedded into your email :-( 17:56 jwagner fredericd, I can understand that, but your original message (with your name) went out to the list. I just quoted it. 17:56 fredericd It will be difficult now not to reply 17:57 jwagner Feel free 17:57 fredericd Even if it's what I'd prefer to do 17:57 * cait starts reading 17:58 * magnus finally figured out the koc-problem - bugzilla here i come! 17:58 jwagner Yay magnus! 17:59 magnus :-) 17:59 magnus chomp() seems to be leaving an \r at the end of the barcodes... 18:01 druthb thanks, collum! :) 18:03 pianohack magnus: Are these windows-style \r\n lines? 18:04 magnus pianohack: probably 18:04 pianohack magnus: All chomp does is remove the line ending on the platform you're running on 18:04 pianohack linux server, windows client? 18:04 magnus yup 18:04 magnus adding $command_line =~ s/\r//g; solves it 18:05 gmcharlt s/\r$//g; would be slightly more precise 18:05 pianohack magnus: You might consider just replacing chomp entirely with s/[\r\n]*$//g 18:05 pianohack No reason to have both, I don't think 18:06 magnus hm, i'm gonna have to just report the bug for now... 18:06 magnus i'll include your comments 18:06 cait hmpf. low battery. 18:07 * druthb hmpf-s back at cait. 18:08 cait ey, hmpf is mine :) 18:13 cait jwagner++ you make some good points 18:13 druthb Let's see...jwagner has "harrumph!", cait has "hmpf", and wizzyrea has assorted squee-ing sounds. Gonna have to find one all my own. 18:14 pianohack Are we trying to phase out patches@koha.org? 18:14 cait :) druthb++ 18:14 pianohack Quick to type, but I know we don't admin it anymore 18:14 gmcharlt pianohack: koha-patches@lists.koha-community.org 18:14 pianohack Okay, that's what I thought, thanks gmcharlt 18:15 * gmcharlt is still looking for your missing "er" 18:15 jwagner cait, thanks. I try to stay out of discussions as a rule, but... 18:18 druthb @karma druthb 18:18 munin druthb: Karma for "druthb" has been increased 35 times and decreased 0 times for a total karma of 35. 18:18 druthb @karma jwagner 18:18 munin druthb: Karma for "jwagner" has been increased 37 times and decreased 0 times for a total karma of 37. 18:18 pianohack Handy tip for anyone who only sends koha patches to the list: git config sendemail.to koha-patches@lists.koha-community.org 18:18 pianohack Skip some typing in git send-email 18:44 druthb hi, nengard! :D 18:44 nengard howdy 18:47 cait hi nengard 18:47 cait nengard: funny, I was asking hdl about editing baskets/orders the moment I saw your mail on the list 18:49 cait nengard: I was not able to edit an order - perhaps it has to do with item creation? but I think its a really bad thing. you can for example not find out which fund you chose, not all information from the order is shown on the screen after you saved. 18:49 nengard yea - it was a feature that has now disappeared 18:49 nengard i have to log off now though .. sorry 18:50 cait hm hope I did not scare her away :( 18:53 chris smorning 18:54 cait morning chris 18:55 pianohack good morning, chris 18:56 jcamins Morning. 18:56 pianohack wizzyrea_ or anyone else with koha on an ubuntu personal machine: do you have apache2 successfully starting on boot? 18:56 chris yes 18:57 pianohack Grr, okay. update-rc.d and dpkg-reconfigure have both failed to solve the problem, so I'll have to see if I can figure out what's what 18:58 jcamins If you're using regular Ubuntu, I seem to recall there being some GNOME control panel applet that does the trick. 18:58 chris i dont recall havng to do anything special on my laptop 18:59 cait I installed ubuntu with apache, mysql, ssh and it worked right from start 19:00 cait magnus: around? 19:00 magnus cait: a bit... ;-) 19:01 cait are you signed up for the road trip? 19:02 magnus yep 19:05 cait ah, ok. writing joann a mail now and asking if threre is room for one more :) 19:05 chris yay! 19:07 * druthb is off to catch the bus. 19:07 magnus cait: cool! 19:08 chris heh, its funny how we catch buses around the same time, me to work, druthb home :) we should punch in and punch out :) 19:08 cait :) 19:09 * jwagner thinks we should be careful about punching out :-) 19:10 chris magnus: sounds to me like the script is losing its db connection when processing, and not handling that cleanly 19:10 chris but thats just a guess without reading the code 19:10 magnus chris: could be, i'm afraid it's a bit above me 19:11 chris ill try to get some time today to look at it 19:13 magnus chris: very, very cool! 19:13 * magnus heads out to the little cabin in the woods again, for some more of that summer holiday... 19:15 chris_n pianohack: koha worked fine out-of-box on ubuntu here (several times in fact) 19:16 pianohack chris_n: Okay, so it's likely this laptop. Thanks, all 19:16 * chris_n hands pianohack a bigger hammer 19:16 pianohack Death to weird init bugs! 19:17 pianohack chris_n: Actually, are you on one of these ubuntu machines at the moment? 19:17 pianohack I was just wondering whether anything showed up in daemon.log or similar when they got started 19:17 chris_n yup 19:17 chris_n om 19:19 chris pianohack: the main apache2 error log shows it starting 19:19 hdl cait: sawwhat you wrote at 20:49 19:19 chris_n nothing in daemon.log 19:19 hdl mmmm... bad thing i think. 19:20 pianohack Bleh, will probably have to hack at this in single-user mode. Curse you upstart! 19:20 pianohack I might be running low on my curses and death for the day 19:20 chris heh 19:21 jwagner There are limits on curses? Rationing? 19:21 cait hdl: yes, if I dont missed something its bad 19:21 cait hdl: and should be repaired before 3.2 in my opinion 19:22 cait I wanted to do more testing today, but training session and travel plans for next week stole my time 19:22 hdl have you filed a bug? 19:22 cait wanted to test a bit more, perhaps with different settings for item creation 19:22 chris cait: id file the bug anyway 19:22 cait really tired today, but will try to file a bug later 19:22 chris cool thank you 19:22 chris then if i find anything i can update it 19:23 chris (the bug that is) 19:23 cait ok, let me first finish this mail 19:23 chris hopefully have a solution by the time europe wakes up again, or at least know where to start 19:23 chris :) 19:28 CGI745 Suddenly my Koha system won't let me search "history" and other specific words in the catalog. I had been able to search for these terms earlier in the day but now it brings up an error message. Any suggestions? 19:29 cait which error message? what koha version do you use? did you change something? 19:29 CGI745 Error: Can't call method "as_usmarc" on an undefined value at /home/koha/kohaclone/C4/Search.pm line 2384. 19:29 CGI745 I have Koha 3.01 19:30 CGI745 The weird things is that it allows me to search other terms 19:30 jcamins Are you using Zebra? 19:31 wizzyrea_ 745: that is usually a bad record 19:31 wizzyrea_ I would try to reindex and see if there are any errors, 19:31 * wizzyrea_ has seen this many times in our catalog 19:31 wizzyrea_ usually a full reindex fixes it 19:32 CGI745 I'm still pretty new at this and am not very computer savvy. How do I "reindex"? 19:34 wizzyrea_ usually it would be something like rebuild_zebra.pl -b -r -v 19:35 CGI745 I'm pretty sure we aren't using zebra 19:36 CGI745 Actually, I'm positive we aren't using Zebra 19:37 CGI745 Since I'm not using Zebra, I do not need to reindex. Correct? 19:37 jcamins Well, there's also a rebuild_nozebra.pl script. 19:37 wizzyrea_ no, I think that's incorrect 19:38 wizzyrea_ it would be rebuild_nozebra.pl -b or somesuch 19:38 CGI745 so should I input "rebuild_nozebra.pl script" from the command line? 19:38 wizzyrea_ right, it's located in misc/migration/tools 19:39 wizzyrea_ er migration-tools (sorry I'm not right in front of my install atm) 19:39 jcamins migration_tools 19:40 jcamins (I just checked) 19:40 wizzyrea_ ^^ that, yes lo 19:40 wizzyrea_ l 19:40 CGI745 ok, I'll try that and be back in a few minutes 19:40 jcamins wizzyrea_: I'm impressed you got that close. I just know the directory as mi<tab>mi<tab> 19:41 wizzyrea_ hehe 19:41 cait :) 19:49 CGI369 So I was just on here as "CGI1745"... 19:50 cait perhaps choose a better name with /name 19:51 CGI369 I got down to migration_tools and input "rebuild_nozebra.pl" but it said "command not found" 19:51 wizzyrea_ you probably need to perl rebuild_nezebra.pl 19:52 CGI369 I tried that as well and it failed... 19:53 jcamins perl ./rebuild_nozebra.pl 19:53 wizzyrea_ can you be specific about how it failed? 19:54 CGI369 It said "Can't locate C4/Context.pm in @INC..." 19:54 jcamins Oh. 19:54 jcamins You'll need to set your PERL5LIB and KOHACONF variables. 19:55 pianohack CGI369: What kind of installation did you do? The default? 19:55 jcamins When you installed Koha, it should have told you what to set them to. 19:55 wizzyrea_ ^^ you'll need to set the ENV vars 19:55 CGI369 pianohack: I believe so 19:55 CGI369 jcamins and wizzyrea: how do I set those? 19:57 jcamins What is the result of running the command pwd? 19:57 pianohack CGI369: Does the directory /usr/lib/koha/C4 exist? 19:57 wizzyrea_ http://koha-community.org/documentation/faq/searching/#18 19:57 CGI369 jcamins: what is "pwd"? 19:57 wizzyrea_ print working directory 19:59 wizzyrea_ so, according to the faq, you would "export PERL5LIB=/path/to/koha" and "export KOHA_CONF=/path/to/koha-conf.xml" 20:00 pianohack Though you have to find out what those two paths actually are first 20:00 wizzyrea_ yep 20:00 CGI369 how do I find out wha the paths are? 20:01 jcamins pwd will tell you what the first is. 20:01 jcamins And the following will help you find the second: 20:02 jcamins find / -name koha-conf.xml -print 20:02 CGI369 "/home/koha/kohaclone/misc/migration_tools" is what came up for the first 20:02 CGI369 does that help? 20:02 wizzyrea_ ah a dev install 20:02 jcamins Yup. So the path to koha is /home/koha/kohaclone 20:03 CGI369 so the firs thing i should input at this point is "export PERL5LIB=/path/to/koha/kohaclone"? 20:03 CGI369 (*first thing) 20:03 jcamins export PERL5LIB=/home/koha/kohaclone 20:03 wizzyrea_ no quotes of course, but yes 20:04 wizzyrea_ ^^ 20:04 pianohack CGI369: So your KOHA_CONF is likely in /home/koha/koha-dev/etc/koha-conf.xml 20:04 CGI369 Should I first scroll back up the directory to home? 20:04 wizzyrea_ so export KOHA_CONF=/home/koha/koha-dev/etc/koha-conf.xml 20:05 jcamins CGI369: No need to return to home. 20:05 CGI369 After "export PERL5LIB=/home/koha/kohaclone", I input "export KOHA_CONF=/home/koha/koha-dev/etc/koha-conf.xml"? 20:07 CGI369 (Sincere thanks to all of you for your patience and help) 20:07 CGI369 Is "export KOHA_CONF=/home/koha/koha-dev/etc/koha-conf.xml" the next step? 20:07 wizzyrea_ yep 20:07 jcamins Exactly. 20:08 CGI369 So now should I try "perl rebuild_nozebra.pl" again? 20:08 wizzyrea_ yep 20:09 CGI369 looks like it worked! Now I'll check if that same error occurs when I search certain terms 20:11 CGI369 The error doesn't come up anymore! You guys rock! 20:11 wizzyrea_ yay! 20:11 CGI369 How often should I reindex in the future? 20:11 jcamins How many records do you have? 20:12 wizzyrea_ lol 20:14 CGI369 I only have 9 records now but will have around 4000-5000 after I've input everything from our library 20:14 CGI369 So how often should I reindex with that amount? 20:15 jcamins My inclination would be to say "daily." 20:15 wizzyrea_ ok, you'll have to forgive me, I'm pretty sure on my nozebra system we have to run an index to have items show in the search 20:15 chris A totaly reindex, id cron it to run at midnight once a week 20:15 jcamins Is there an option for anything other than a total reindex? I've never used NoZebra, of course. 20:16 chris It indexes as it goes 20:16 jcamins Ah. 20:16 CGI369 Ok. Often...daily or at least weekly. When I do reindex, do I only need to scroll down the directory to "migration_tools" and input "perl rebuild_nozebra.pl"? Or do I need to go through the other two steps first? 20:16 chris But a reindex stops searching while its done 20:17 chris So not at busy times :) 20:20 CGI369 The two earlier steps I'm asking about are "export PERL5LIB=/home/koha/kohaclone" and "export KOHA_CONF=/home/koha/koha-dev/et/koha-conf.xml"...do I need to input those two commands every time before I reindex w/ "perl rebuild_nozebra.pl" in the future? 20:21 pianohack CGI369: Add them to the end of /home/koha/.bashrc 20:22 CGI369 How do I do that? 20:22 pianohack chris: You're the perl guru; do circular dependencies cause those random within-module undefined sub problems? 20:22 pianohack CGI369: Run nano ~/.bashrc 20:22 chris Sometimes 20:23 chris They are bad in other ways 20:23 pianohack Right, memory leaks, architectural nastiness, etc. 20:23 chris Stop us doing persistance 20:23 chris Yeah 20:23 chris Chocolate fish for any u fix 20:23 pianohack Just wondering if that was the reason that you sometimes have to write C4::Module::sub instead of sub for no good reason 20:24 CGI369 pianohack: if I don't do what you suggest, will I simply need to input those two commands each time I want to reindex? 20:24 chris I think yes 20:24 pianohack CGI369: Yes 20:24 chris We should bug any circular dependencies we have 20:24 chris Cos for performance its crucial to fix 20:25 CGI369 So I should input "nano ~/.bashr" and then what? 20:25 pianohack Ah, nano ~/.bashrc 20:25 chris On bus so can't type good and stuff 20:25 pianohack There should already be stuff in the file 20:26 pianohack I don't care, I'm only a grammar nazi for myself and those who ask ;) 20:26 pianohack CGI369: Once you have the file open 20:26 pianohack Hold the down arrow until you get to the bottom of the file 20:26 pianohack Then add each one of the export commands on a new line by themselves 20:28 chris U up for showing crontab -e next pianohack? 20:28 CGI369 I can't see my cursor...I'm just going to exit and remember to input the other two commands before reindexing in the future. Can I do that? 20:29 pianohack CGI369: Yes, you can, though it sounds like something strange is going on 20:29 pianohack Oh, hey, I know 20:30 CGI369 pianohack: what is it? 20:30 pianohack Run echo -e 'export PERL5LIB=/home/koha/kohaclone\nexport KOHA_CONF=/home/koha/koha-dev/etc/koha-conf.xml' | tee -a ~/.bashrc 20:30 CGI369 what does that do? 20:31 CGI369 do I need to exit out of nano first? 20:31 richard hi 20:32 jcamins It will add those two lines to the end of your .bashrc file. 20:32 chris Hi richard 20:32 jcamins Yes, exit nano. 20:34 CGI369 I think I'll just pass on that last step and just remember to input the two commands in the future...I don't want to get too confused or complicated. Thanks a ton to all of you though! 20:35 CGI369 What does reindexing actually do? 20:35 jcamins It creates the indexes that you're searching. 20:35 CGI369 Is it basically database maintenance? 20:37 CGI369 how do I exit bash without messing it up? 20:38 CGI369 It looks like I'm adjusting the bash code 20:39 jcamins Ctrl-X Ctrl-C 20:40 CGI369 Thanks. Thanks again for all of the help everyone. I'm sure I'll be back asking for help in the future 20:40 jcamins Good luck. 20:42 jcamins Should I have said something about NoZebra being deprecated? 20:53 cait hdl: Im really confused now - I see a link now to modify my order. not sure what differnt in this installation compared to my installation at work. will try to find out more tomorrow. 20:54 hdl cait: permissions, rights on the budget ? 20:54 cait hm, will check 20:54 cait but got a perl error before I saved... more tests needed 20:54 chris oh yes, that would make sense 20:55 cait filing a lot of bugs, just trying to get everything written down I see 20:58 chris thats great 20:58 chris bugs that turn out to be invalid, are no problem 20:58 chris they are much better than not reported ones 20:58 chris if you see what i mean 20:59 cait I hope so, dont want to make people get angry with me :) 21:01 chris who could get angry with you?? :) 21:01 cait oh, its really easy 21:01 cait :) 21:02 cait but not trying to make that happen 21:03 chris heh 21:09 jcamins Apparently the script that I carefully crafted to install Koha on FreeBSD doesn't actually work on other computers. 21:10 chris jcamins: so it installs on precisely 1 freebsd machine? :) 21:11 jcamins So it would seem. 21:12 jcamins I guess I'll strengthen my note about not recommending FreeBSD for Koha on the wiki. 21:14 chris :) 21:18 cait hdl: edit links show as root, as superlibrarian without additional permissions and with all permissions. will check my user at work tomorrow for missing permissions. perhaps I forgot to add permissions after update - hope it can be solved that easily! 21:19 hdl cait: so do i 21:20 cait chris made me change my xml parser settings, hope that will kill the other error I saw 21:21 chris i am the xml dictator 21:21 cait :) 21:22 cait bad news: error 500 page instead of parser error 21:22 chris check the error log 21:23 chris thats not really bad news, 500 errors are normally much easier to fix than 3rd party xml parsing errors :) 21:26 pianohack office_politics-- 21:26 cait bug 4955 21:26 munin 04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4955 critical, P5, ---, henridamien, NEW, adding to basket with no item throws error 21:31 cait same xml parser problem I think 21:36 sekjal goodnight, #koha! 21:57 cait good night all :) 21:57 chris night cait 21:58 pianohack jwagner: still around? 21:59 jwagner Yes 21:59 pianohack okay 21:59 pianohack Would you be up for increasing the pendingreserves range slightly, to 4 days ago to today? 21:59 pianohack I know the 10 years was excessive for large libraries 21:59 jwagner The default on the page? 22:00 pianohack And I'd rather not add yet another tiny syspref 22:00 pianohack yes 22:00 jwagner I was just going to write that I'd love this to be a syspref :-) so sites could control it themselves. 22:00 jwagner I have some large libraries that think even 2 days is excessive. 22:00 pianohack Hrrng okay 22:00 jwagner I'm all for giving sites as much control over the behavior as possible. 22:01 pianohack Less commits to rebase, right :/ 22:01 * jwagner isn't going there :-) 22:02 jwagner But we've talked at various times about moving some configuration out of individual sysprefs and into some kind of general module configuration. This would be another candidate for that kind of setup. 22:02 pianohack right 22:02 jwagner Trouble is (of course) the time to do it. 22:03 jwagner And even a configuration by library -- so branch A could have different settings from branch B 22:04 jwagner I think I'm envisioning something like a web interface (through staff client) to a .conf-type file. 22:08 pianohack jwagner: I just had a crazy idea 22:08 pianohack Are you in a crazy idea mode? 22:08 * jwagner cowers in fear 22:08 jwagner Go for it (my bolder side says)! 22:08 pianohack Have it, by default, show holds that have appeared since the last time the report was run 22:08 pianohack It would still have date granularity, so if the report was last run today, it would still show today's holds 22:09 pianohack It automatically adjusts for small libraries like ours that run the report weekly, and huge ones that run it twice a day :) 22:09 jwagner Oh, YES -- I think that would be the best solution. But I don't work in a library & run this myself in a work environment, so I'd pass that idea by some other folks for comment too. 22:09 jwagner wizzyrea_, you online? What would your libraries think? 22:10 wizzyrea_ which report is this? sorry I haven't been following all too closely 22:11 jwagner Holds to pull -- we're talking about the default date range. 22:12 wizzyrea_ ohhh... we don't use that one, we use the hold queue and the holds awaiting pickup reports 22:12 jwagner I had sent a patch a long time ago to change the default date range from 10 years to 2 days (1 day? I forget). pianohack wants a longer range for his library. 22:13 jwagner Any other large libraries online? May need to float the idea in different time zones for feedback. 22:14 wizzyrea_ well I think that making it configurable is a good idea (just scrolled back) 22:17 pianohack wizzyrea_: what do you think about since-report-last-run, just off the top of your head? 22:17 wizzyrea_ I don't feel like I can speak to that from a practical standpoint, since we don't use it :/ 22:18 wizzyrea_ theoretically it seems like a good idea 22:18 jwagner pianohack, out of curiosity, how would you do that? Set a flag somewhere on the server? 22:18 pianohack ahaha, well, there's the rub 22:19 pianohack A hidden syspref would be nice, but is global for all libraries and staff 22:19 jwagner It can't be a cookie or something on the workstation -- different staff at different desks can run this. 22:19 wizzyrea_ yea, and which last run 22:19 wizzyrea_ say you have 3 circ computers 22:19 pianohack Probably per-library is best; it's not so much that they were seen as that they were seen and assumed to be dealt with 22:19 jwagner Hmmm. How about some kind of specially formatted entry in the sessions table? Would that confuse the system? 22:21 jwagner Maybe something like Holds-BRANCH with the timestamp? Wouldn't work if you're running druthb's cleanup script on the sessions table every night, though. 22:21 jwagner (meaning it wouldn't work if you didn't run the report every day) 22:21 pianohack maybe just set a column on the branches table 22:22 pianohack I'll send a patch, and if it bounces, I'll revise :) 22:22 jwagner That might work. 22:24 jwagner I'm not logged into a system right now & can't remember -- do you have to select a branch when you run the report? 22:25 pianohack jwagner: Do you have independentbranches turned on for your libraries? That's the only time it filters out separate branches at all 22:26 jwagner I have it for some sites, not for others. I'd have to go look on those servers & see what it does for multilibrary setups. 22:27 jwagner Ping me tomorrow if you want me to check 22:28 pianohack k, thanks for your help 22:29 jwagner no problem -- sounds like a good improvement 22:45 munin New commit(s) kohagit: Fixes Bug 4978: longoverdues.pl claims undefined subroutine ModItem <http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=766e1475abd00f1a6006f22051d937a4a14ba742>