IRC log for #koha, 2012-01-15

All times shown according to UTC.

Time S Nick Message
01:30 logbot joined #koha
01:30 Topic for #koha is now Koha 3.6.2 & 3.4.7 & 3.2.11 are now available ; Next General IRC Meeting 8 February at 2:00 UTC+0 | http://www.koha-community.org | http://paste.koha-community.org
01:45 mtj later tell slef http://support.google.com/webm[…]=en&answer=139066
01:45 mtj later tell slef google does have some other handy method for handling duplicated content, too
01:46 * rangi hands mtj an @
01:46 mtj @later tell slef http://support.google.com/webm[…]=en&answer=139066
01:46 huginn mtj: The operation succeeded.
01:47 mtj @later tell slef google does have some other handy method for handling duplicated content, too
01:47 huginn mtj: The operation succeeded.
01:47 mtj bah! ;P
02:09 druthb joined #koha
03:53 Soupermanito left #koha
06:12 cait joined #koha
06:16 Callender left #koha
06:21 Callender joined #koha
07:32 druthb left #koha
09:31 bigbrovar left #koha
09:42 stuartyeates left #koha
09:44 ibeardslee left #koha
09:48 cait left #koha
09:48 cait joined #koha
09:51 tfaile left #koha
09:52 mtate left #koha
09:52 tfaile joined #koha
09:52 Callender_ joined #koha
09:52 mtate joined #koha
09:56 ibeardslee joined #koha
09:58 Callender left #koha
09:58 Callender_ is now known as Callender
10:02 mtate left #koha
10:07 Callender left #koha
10:07 mtate joined #koha
10:07 tfaile_ joined #koha
10:10 tfaile left #koha
10:10 Callender joined #koha
10:32 cul_away joined #koha
10:33 cul_away is now known as Culiforge
10:36 Culiforge Is biblios.net/org defunct... I get rerouted to the google gears blog stating that gears has stopped in favor of html5 but there's no where to go from there....
10:37 cait I think it relied on gears so might be 'dead' now
10:38 Culiforge bummer...
10:38 rangi when chris catalfo left liblime (along with pretty much everyone else) liblime stopped doing any work on it, and let it die
10:40 rangi chris catalfo put the code up in a git repo on github though, so if people wanted to port it to html5 they can
10:40 Culiforge I was hoping it would allow me to do what I needed to do.. is there a way to take a csv db and search/convert to marc21?
10:40 rangi yes, lots of ways
10:41 Culiforge anything with a low curve since i'm still learning my way around...
10:42 rangi they all involve a knowledge of marc21
10:42 cait you have to map your csv to the proper marc21 fields
10:43 rangi http://git.catalyst.net.nz/gw?[…]b4c59735e49737ee5
10:47 Culiforge hmm, with all the .pl stuff I assume this is perl? I really know nothing about perl.
10:47 cait it's perl scripts that can help with conversion
10:47 cait you can also use a tool like marcedit
10:48 cait but the scripts are more flexible I think
10:50 Culiforge is there some documentation somewhere I can peruse... I don't see any type of readme or manual among the link from rangi
10:50 cait I think the manual is probably in the code
10:50 cait ye
10:50 cait p
10:51 cait it's in the file
10:51 cait look at csvtomarc
10:51 Culiforge so if I download the csvtomarc.pl.. and run it how.. to access documentation?
10:52 cait I think you will need more than that file alone
10:52 cait because it is probably using other scripts
10:52 cait running it with -h should give you documentation
10:53 cait or with man
10:56 matts_away left #koha
10:59 Culiforge so.... (low curve.. remember) running it...
10:59 cait I fear I can't help you much in using it
10:59 cait because I have never used it
11:00 Culiforge but running perl scripts in general.. how do I invoke it
11:00 cait ./your script
11:00 cait or
11:00 cait perl your script
11:00 cait should both work I think
11:00 Culiforge ok, thx
11:00 cait hopefully I gave you the rght answer :)
11:01 Culiforge with the ,pl extension or no
11:01 cait witz
11:01 cait with
11:01 matts_away joined #koha
11:04 Culiforge it tells me that it can't find csvutils.pm in @INC...  what's @inc?
11:04 cait your path
11:05 cait it means you need this file too
11:05 Culiforge ok I got it.. wher should I put it?
11:05 cait I would put it in the same directory
11:05 cait because it's like that on the repo
11:06 Culiforge ahh, now comes the finding of all the files it needs....
11:08 Culiforge am I wrong in thinking that by doing an apt search for these files it'll turn up a package with them.. or am I barking up the wrong tree with that?
11:08 cait hm I don't think those are packaged
11:09 cait not sure what it's complaining about now
11:09 Culiforge issn.pm
11:09 cait sorry - wrong person to ask
11:10 Culiforge no problem.. just trying to figure out where to look to find the files it's asking for as they're not in the git tree presently
11:10 cait if you search for csv and marc21 you will find more hints I guess
11:10 Culiforge I shall pray to the google got
11:10 cait people do it in different ways
11:10 Culiforge got
11:10 Culiforge god
11:10 cait heh
11:34 Culiforge ok.. I got it... now I just need to figure out the syntax and mapping
11:38 Culiforge so when I see something like this: [--format=*MARC format*] is the item in *-*'s variable input from me?
11:39 cait I would think so
11:39 cait replacing *MARC format* with MARC21 probably
11:39 cait but you will have to try
11:39 Culiforge alright, I'll give it a go and see what turns to mush
11:42 Culiforge hmm, it all seems easy enough.. like you said though.. knowledge of marc format needed.. back to the google altar...
11:45 cait heh
11:45 cait I can point you to some common fields
11:45 cait loc.gov/marc is the official documentation
11:49 Culiforge well, let me ask you this.. if I convert isbn field to marc, can I not use the Z39.5 to search matching records? or doesn't it work that way...
12:01 cait you can search for records by isbn
12:01 cait I think there might be even a script for that in the repo
12:01 cait but it will not do it automatically
12:01 cait for all
12:01 cait you would have to do it one by one manually with koha
12:01 cait or use a script before you import the data into koha
12:36 Culiforge ok, I've got some marc records imported to koha but I can't seem to find them.. is there some process command I need to use to enter them into the catalog?
12:37 cait how have you imported them?
12:37 cait with which tool?
12:37 cait stage marc imports under tools?
12:38 cait if yes then next you want to go to tools > manage staged imports and finish your import :)
12:38 Culiforge yes, stage. followed it all and got successfully imported 56 records
12:38 Culiforge yes, did that
12:38 cait ok
12:38 cait did you set up the cronjobs for indexing?
12:38 cait does a manually imported record from z39.50 show up?
12:38 Culiforge not that i can find anywhere
12:39 cait search faq?
12:39 wahanui search faq is at http://koha-community.org/docu[…]on/faq/searching/
12:39 cait probably they are not imported
12:39 cait umindexed
12:39 cait sorry
12:39 cait normally the cron will pick them up and index them
12:39 cait depending on the time you have set there
12:39 Culiforge so I should set up a cron job?
12:39 cait yes
12:39 cait there is an example file
12:39 cait in
12:39 cait misc/cronjobs
12:40 Culiforge do this through koha or command line
12:40 cait command line
12:44 Culiforge ... where do I find misc/cronjobs?
12:45 cait in your koha folder
12:47 cait hm directory
12:50 Culiforge I have kohaclone in my home dir
12:50 Culiforge thats what the git install setup
12:51 cait yes
12:51 cait in there
12:52 Culiforge crontab.example?
12:52 cait yes
12:53 cait you will want to make the paths in there match yours
12:53 cait for the export lines
12:53 cait and perhaps comment out  some things
12:55 Culiforge zebra index updates?
12:56 cait you want that, yes
12:56 Culiforge this is what I have */10 * * * *  $KOHA_CRON_PATH/../migrati​on_tools/rebuild_zebra.pl -b -a -z >/dev/null
12:57 cait yep
12:57 cait that should be ok
12:57 jcamins_baking_compulsively is now known as jcamins
12:57 jcamins o/
12:57 cait there are 2 lines on top
12:57 cait export... you want tohave the correct paths there
12:57 cait hi jcamins :)
12:57 cait you are so much better at this than me ... want chocolate?
12:57 jcamins Yes please!
12:58 * cait hands over some yummy swiss chocolate
12:58 jcamins Mmm.
12:58 jcamins Much needed.
12:59 Culiforge "export... you want tohave the correct paths there" I don't see anything like that
12:59 cait jcamins: can you help set up the cronjobs?
12:59 cait ah
12:59 jcamins cait: I can try.
13:01 cait Culiforge: i was wrong I think, no export but the 2 varialbes should be defined somewhere
13:01 cait jcamins knows
13:01 cait :P
13:02 pastebot "jcamins" at 98.14.120.176 pasted "Culiforge: crontab" (4 lines) at http://paste.koha-community.org/204
13:02 jcamins Whoops, let me try that again.
13:02 * jcamins is still mostly asleep.
13:02 pastebot "jcamins" at 98.14.120.176 pasted "Culiforge: crontab" (4 lines) at http://paste.koha-community.org/205
13:02 jcamins There we go.
13:03 jcamins Change /home/culiforge/kohaclone to point to your actual kohaclone, and /home/culiforge/koha-dev/etc/koha-conf.xml to point to your actual koha-conf.xml.
13:03 wahanui jcamins: that doesn't look right
13:03 wahanui left #koha
13:03 wahanui joined #koha
13:03 jcamins change something to something else
13:03 wahanui jcamins: that doesn't look right
13:03 wahanui left #koha
13:03 wahanui joined #koha
13:04 jcamins Woohoo! The wahanui bug has reappeared and I can take out my frustration on it.
13:07 Culiforge I don't have a koha-dev in my home folder...
13:07 jcamins Culiforge: change it to wherever you did install Koha.
13:07 wahanui jcamins: that doesn't look right
13:08 wahanui left #koha
13:08 wahanui joined #koha
13:11 Culiforge /etc/koha/koha-conf.xml  does that seem right?
13:11 Culiforge there's only one koha-conf.xml  file right?
13:12 jcamins That sounds right.
13:13 jcamins In that case, instead of ~/kohaclone you probably want /usr/share/koha
13:14 Culiforge and the */5 line goes under the zebra index updates section?
13:15 jcamins Yes.
13:17 adnc joined #koha
13:17 adnc left #koha
13:18 Culiforge I'm not finding migration_tools
13:19 Culiforge /migration_tools/ that is
13:19 jcamins Culiforge: well, in that case run `find / -name "rebuild_zebra.pl" -print` and use that as the path.
13:22 Culiforge /home/gary/kohaclone/misc/mig​ration_tools/rebuild_zebra.pl
13:22 Culiforge /home/gary/kohaclone/blib/SCRIPT_NONDE​V_DIR/migration_tools/rebuild_zebra.pl
13:22 Culiforge /usr/share/koha/bin/migrat​ion_tools/rebuild_zebra.pl
13:22 cait It's in the same folder
13:22 cait as the cronjobs directoy
13:22 cait in the same directory...
13:23 cait ok
13:23 cait I am confused now
13:25 jcamins Culiforge: in that case use /usr/share/koha/bin/migrat​ion_tools/rebuild_zebra.pl
13:25 Culiforge ok, to clarify.. since I used the git install instrucions.. should I be looking at all in kohaclone... it should be ins just a koha dir right?
13:25 jcamins No. If you used a "dev" install, you use what's in kohaclone.
13:25 jcamins If you used a "standard" install, you use the standard bit.
13:26 Culiforge standard here
13:26 Culiforge so koha and not kohaclone then?
13:26 jcamins /usr/share/koha/bin/migrat​ion_tools/rebuild_zebra.pl it is.
13:27 Culiforge so my zebra section line looks like => */5 * * * *  /usr/share/koha/bin/migrat​ion_tools/rebuild_zebra.pl -b -a -z >/dev/null
13:28 jcamins Looks good to me.
13:29 Culiforge so now we save the file as ? and in the usr/share/koha/bin/cronjobs ?
13:30 jcamins Culiforge: I thought you were editing your crontab.
13:30 Culiforge cait had me open the crontab.example
13:30 jcamins Culiforge: I suggest reading `man 5 crontab`
13:31 Culiforge will do
13:31 Culiforge so we're not saving anything we've just done
13:31 cait you can change the example and copy from that later
13:32 Culiforge right
13:32 cait I would save it
13:32 jcamins Yeah, that would be a good idea.
13:32 Culiforge so i'll save it on my desktop then after I checkout the man 5 crontab I "should" know which end is up?
13:33 jcamins Yes, that should clarify things for you.
13:33 Culiforge rock on... thanks you two
13:33 Culiforge time for me to go.. enjoy your day
13:34 jcamins You too.
13:34 cait bye Culiforge
13:34 Culiforge is now known as cul_away
13:37 jcamins Cheese bread is a truly inspired concept.
13:37 cait :)
13:37 cait yum
14:19 cul_away is now known as Culiforge
14:20 Culiforge ok, I read the man.. I'm understanding much better now what's going on
14:21 Culiforge from what I think I understand, running: /usr/share/koha/bin/migrat​ion_tools/rebuild_zebra.pl -b -a -z >/dev/null should update indexes right away correct?
14:21 jcamins Right.
14:21 jcamins You'll have to decide which crontab to put it in based on which user you're running Koha as.
14:21 Culiforge and the crontab line you provided updates it every 5 min. correct?
14:21 jcamins Exactly.
14:22 Culiforge it may just be me not quite understanding how things are done but every 5 min seems quite often... or is that the norm
14:22 * jcamins runs it every five minutes.
14:23 jcamins Actually, I often run it from the command line because I don't want to wait five minutes for changes to show up.
14:24 Culiforge that makes sense too
14:24 Culiforge one problem though. when I run: /usr/share/koha/bin/migrat​ion_tools/rebuild_zebra.pl -b -a -z >/dev/null I get: http://pastebin.com/PurbGtg2
14:25 jcamins You need to do `export KOHA_CONF=/etc/koha/koha-conf.xml` and `export PERL5LIB=/usr/share/koha/lib` (or whatever the proper paths are)
14:26 jcamins (in the crontab, remove the "export")
14:26 Culiforge so for my sanity, what does that do?
14:27 jcamins That sets two variables.
14:27 jcamins PERL5LIB makes sure that the Perl interpreter knows where to find the Koha LIBraries (C4::whatever).
14:28 jcamins KOHA_CONF tells the system where to find the configuration file.
14:34 Culiforge so running rubuild_zebra.pl from command line I get : http://pastebin.com/wi1WU04C
14:35 jcamins Culiforge: you need to run it as the same user you're running Koha as.
14:35 druthb joined #koha
14:35 Culiforge yes, I'm doing so.. this user is the same
14:35 druthb o/
14:36 Culiforge or does it need to be the koha user (as in the one actually named koha)
14:36 jcamins Culiforge: that error mesage means that Koha is running as a different user.
14:36 jcamins Yes, the Koha user.
14:37 jcamins If you have a user called koha, that's the one you need to be running it as.
14:38 Culiforge nope, currently I'm the only user in the system
14:38 Culiforge so when I setup I made gary the default koha user
14:39 jcamins Culiforge: hm. Perhaps you set the Zebra up to be owned by root accidentally.
14:40 jcamins Culiforge: the problem is definitely permissions. I'd suggest reviewing all the instructions, see if you missed a step.
14:40 Culiforge are we talking system user or koha user... I created a second koha admin for within koha so as to not run in there as root
14:41 jcamins System user.
14:42 Culiforge .. I just logged out my superlibrarian and back in with first account and indexes updated...
14:44 jcamins Well, good!
14:46 Culiforge indeed, but i'm still not finding the marc records I imported
14:46 jcamins searching faq?
14:46 wahanui it has been said that searching faq is at http://koha-community.org/docu[…]on/faq/searching/
14:46 jcamins That's a good document to look at.
14:48 druthb wahanui: druthb?
14:48 wahanui She finally snapped, like we all knew she would.
14:48 druthb okay, just checkin'.
14:52 Culiforge ok, I think zebraqueue daemon was setup during install..
14:52 jcamins Culiforge: ah.
14:53 jcamins You need to disable that.
14:53 Culiforge someone pointed out that it was no longer appropriate but since I was just following the gin install instructions.. it was already done
14:54 Culiforge gin/git
14:55 Culiforge so the faq reveals what the problem is.. where can I find out how to undo it?
14:55 jcamins sudo /etc/init.d/koha-zebraqueuedaemon stop
14:56 jcamins (or whatever the command is)
14:56 jcamins sudo rm ${said command}
14:56 jcamins Remembe, I have never used Zebraqueue daemon.
14:56 jcamins So you might need to look around a bit to figure out what the zebraqueue script in init.d is called.
14:57 Culiforge looking now
15:00 Culiforge koha-zebra-daemon is what it's called
15:00 jcamins That sounds right.
15:01 jcamins Wait, no it doesn't.
15:01 jcamins That's the zebra daemon, not the zebraqueue daemon.
15:01 Culiforge nope, not it
15:01 Culiforge just stopped zebra server
15:01 Culiforge hehe :)
15:01 Culiforge haha, looking some more
15:05 Culiforge so to back up a bit... on my system, i'm logged in as i am, as the primary koha user.. in koha I was logged in as my user/patron/librarian and it wouldn't pass the index update. but when I logged into koha as my originally created user (the one people said not to use for general running) it passed.
15:13 Culiforge I find a koha-zebraqueue-ctl.sh and a zebraqueue_daemon.pl
15:13 jcamins Culiforge: koha-zebraqueue-ctl.sh is probably what you're looking for.
15:14 jcamins Culiforge: I'm not really sure what the problem is.
15:14 jcamins Culiforge: regardless, I need to focus on work for my paying clients now.
15:15 Culiforge right on, take care
15:15 jcamins Good luck.
15:15 Culiforge thanks
15:17 Soupermanito joined #koha
16:35 jcamins Better begin the process of getting us out of the city for my grandfather's birthday party.
16:35 jcamins Have a good day, #koha.
16:35 jcamins is now known as jcamins_away
16:35 cait have fun jcamins_away :)
17:11 Guillaume1 joined #koha
17:31 Guillaume1 left #koha
18:08 bigbrovar joined #koha
19:47 hdl joined #koha
19:56 hdl left #koha
20:21 kathryn joined #koha
20:41 trea joined #koha
20:42 trea left #koha
20:59 cait @wunder Konstanz
20:59 huginn cait: The current temperature in Taegerwilen, Taegerwilen, Germany is -1.6�C (9:54 PM CET on January 15, 2012). Conditions: Clear. Humidity: 80%. Dew Point: -5.0�C. Windchill: -2.0�C. Pressure: 30.24 in 1023.9 hPa (Steady).
21:03 rangi @wunder nzwn
21:03 huginn rangi: The current temperature in Wellington, New Zealand is 15.0�C (9:00 AM NZDT on January 16, 2012). Conditions: Partly Cloudy. Humidity: 63%. Dew Point: 8.0�C. Pressure: 30.09 in 1019 hPa (Rising).
21:25 druthb @wunder 66049
21:25 huginn druthb: The current temperature in Lawrence Live-Courtesy of the Khoury's, Lawrence, Kansas is 17.4�C (3:24 PM CST on January 15, 2012). Conditions: Clear. Humidity: 24%. Dew Point: -3.0�C. Pressure: 29.83 in 1010.0 hPa (Steady).
22:09 cait @wunder Konstanz
22:09 huginn cait: The current temperature in Taegerwilen, Taegerwilen, Germany is -2.1�C (11:05 PM CET on January 15, 2012). Conditions: Clear. Humidity: 82%. Dew Point: -5.0�C. Windchill: -2.0�C. Pressure: 30.25 in 1024.3 hPa (Steady).
22:41 cait left #koha
23:03 druthb left #koha

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