← Previous day | Today | Next day → | Search | Index
All times shown according to UTC.
Time | Nick | Message |
---|---|---|
01:29 | logbot joined #koha | |
01:44 | mtj | later tell slef http://support.google.com/webm[…]=en&answer=139066 |
01:45 | later tell slef google does have some other handy method for handling duplicated content, too | |
01:45 | * 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:46 | mtj | @later tell slef google does have some other handy method for handling duplicated content, too |
01:46 | huginn | mtj: The operation succeeded. |
01:46 | mtj | bah! ;P |
02:08 | druthb joined #koha | |
06:11 | cait joined #koha | |
06:20 | Callender joined #koha | |
09:48 | cait joined #koha | |
09:51 | tfaile joined #koha | |
09:51 | Callender_ joined #koha | |
09:51 | mtate joined #koha | |
09:56 | ibeardslee joined #koha | |
10:06 | mtate joined #koha | |
10:06 | tfaile_ joined #koha | |
10:10 | Callender joined #koha | |
10:32 | cul_away joined #koha | |
10:35 | 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:36 | 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:39 | 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:40 | Culiforge | anything with a low curve since i'm still learning my way around... |
10:41 | 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:46 | 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 | you can also use a tool like marcedit | |
10:47 | but the scripts are more flexible I think | |
10:49 | 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:49 | cait | I think the manual is probably in the code |
10:50 | ye | |
10:50 | p | |
10:50 | it's in the file | |
10:50 | look at csvtomarc | |
10:50 | Culiforge | so if I download the csvtomarc.pl.. and run it how.. to access documentation? |
10:51 | cait | I think you will need more than that file alone |
10:51 | because it is probably using other scripts | |
10:52 | running it with -h should give you documentation | |
10:52 | or with man | |
10:58 | Culiforge | so.... (low curve.. remember) running it... |
10:59 | cait | I fear I can't help you much in using it |
10:59 | because I have never used it | |
10:59 | Culiforge | but running perl scripts in general.. how do I invoke it |
10:59 | cait | ./your script |
10:59 | or | |
10:59 | perl your script | |
10:59 | should both work I think | |
11:00 | Culiforge | ok, thx |
11:00 | cait | hopefully I gave you the rght answer :) |
11:00 | Culiforge | with the ,pl extension or no |
11:00 | cait | witz |
11:00 | with | |
11:00 | 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:04 | it means you need this file too | |
11:04 | Culiforge | ok I got it.. wher should I put it? |
11:04 | cait | I would put it in the same directory |
11:04 | because it's like that on the repo | |
11:06 | Culiforge | ahh, now comes the finding of all the files it needs.... |
11:07 | 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:08 | not sure what it's complaining about now | |
11:08 | Culiforge | issn.pm |
11:08 | cait | sorry - wrong person to ask |
11:09 | 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:09 | cait | if you search for csv and marc21 you will find more hints I guess |
11:09 | Culiforge | I shall pray to the google got |
11:09 | cait | people do it in different ways |
11:09 | Culiforge | got |
11:09 | god | |
11:09 | cait | heh |
11:33 | Culiforge | ok.. I got it... now I just need to figure out the syntax and mapping |
11:37 | so when I see something like this: [--format=*MARC format*] is the item in *-*'s variable input from me? | |
11:38 | cait | I would think so |
11:38 | replacing *MARC format* with MARC21 probably | |
11:38 | but you will have to try | |
11:39 | Culiforge | alright, I'll give it a go and see what turns to mush |
11:42 | 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 | I can point you to some common fields | |
11:45 | loc.gov/marc is the official documentation | |
11:48 | 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:00 | cait | you can search for records by isbn |
12:00 | I think there might be even a script for that in the repo | |
12:00 | but it will not do it automatically | |
12:00 | for all | |
12:01 | you would have to do it one by one manually with koha | |
12:01 | 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:36 | cait | how have you imported them? |
12:36 | with which tool? | |
12:36 | stage marc imports under tools? | |
12:37 | if yes then next you want to go to tools > manage staged imports and finish your import :) | |
12:37 | Culiforge | yes, stage. followed it all and got successfully imported 56 records |
12:37 | yes, did that | |
12:37 | cait | ok |
12:37 | did you set up the cronjobs for indexing? | |
12:38 | does a manually imported record from z39.50 show up? | |
12:38 | Culiforge | not that i can find anywhere |
12:38 | cait | search faq? |
12:38 | wahanui | search faq is at http://koha-community.org/docu[…]on/faq/searching/ |
12:38 | cait | probably they are not imported |
12:38 | umindexed | |
12:38 | sorry | |
12:38 | normally the cron will pick them up and index them | |
12:38 | 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 | there is an example file | |
12:39 | in | |
12:39 | misc/cronjobs | |
12:39 | Culiforge | do this through koha or command line |
12:39 | cait | command line |
12:43 | Culiforge | ... where do I find misc/cronjobs? |
12:44 | cait | in your koha folder |
12:46 | hm directory | |
12:49 | Culiforge | I have kohaclone in my home dir |
12:49 | thats what the git install setup | |
12:50 | cait | yes |
12:50 | in there | |
12:51 | Culiforge | crontab.example? |
12:52 | cait | yes |
12:52 | you will want to make the paths in there match yours | |
12:52 | for the export lines | |
12:52 | and perhaps comment out some things | |
12:55 | Culiforge | zebra index updates? |
12:55 | cait | you want that, yes |
12:56 | Culiforge | this is what I have */10 * * * * $KOHA_CRON_PATH/../migration_tools/rebuild_zebra.pl -b -a -z >/dev/null |
12:56 | cait | yep |
12:56 | that should be ok | |
12:56 | jcamins | o/ |
12:56 | cait | there are 2 lines on top |
12:56 | export... you want tohave the correct paths there | |
12:56 | hi jcamins :) | |
12:57 | you are so much better at this than me ... want chocolate? | |
12:57 | jcamins | Yes please! |
12:57 | * cait | hands over some yummy swiss chocolate |
12:57 | jcamins | Mmm. |
12:57 | Much needed. | |
12:58 | Culiforge | "export... you want tohave the correct paths there" I don't see anything like that |
12:58 | cait | jcamins: can you help set up the cronjobs? |
12:58 | ah | |
12:58 | jcamins | cait: I can try. |
13:00 | cait | Culiforge: i was wrong I think, no export but the 2 varialbes should be defined somewhere |
13:00 | jcamins knows | |
13:00 | :P | |
13:01 | pastebot | "jcamins" at 98.14.120.176 pasted "Culiforge: crontab" (4 lines) at http://paste.koha-community.org/204 |
13:01 | jcamins | Whoops, let me try that again. |
13:01 | * 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:02 | 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:02 | wahanui | jcamins: that doesn't look right |
13:02 | wahanui joined #koha | |
13:02 | jcamins | change something to something else |
13:02 | wahanui | jcamins: that doesn't look right |
13:02 | wahanui joined #koha | |
13:03 | jcamins | Woohoo! The wahanui bug has reappeared and I can take out my frustration on it. |
13:06 | 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:07 | wahanui joined #koha | |
13:11 | Culiforge | /etc/koha/koha-conf.xml does that seem right? |
13:11 | there's only one koha-conf.xml file right? | |
13:12 | jcamins | That sounds right. |
13:12 | 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:16 | adnc joined #koha | |
13:16 | adnc left #koha | |
13:18 | Culiforge | I'm not finding migration_tools |
13:18 | /migration_tools/ that is | |
13:18 | 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/migration_tools/rebuild_zebra.pl |
13:22 | /home/gary/kohaclone/blib/SCRIPT_NONDEV_DIR/migration_tools/rebuild_zebra.pl | |
13:22 | /usr/share/koha/bin/migration_tools/rebuild_zebra.pl | |
13:22 | cait | It's in the same folder |
13:22 | as the cronjobs directoy | |
13:22 | in the same directory... | |
13:23 | ok | |
13:23 | I am confused now | |
13:24 | jcamins | Culiforge: in that case use /usr/share/koha/bin/migration_tools/rebuild_zebra.pl |
13:24 | 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 | If you used a "standard" install, you use the standard bit. | |
13:25 | Culiforge | standard here |
13:25 | so koha and not kohaclone then? | |
13:25 | jcamins | /usr/share/koha/bin/migration_tools/rebuild_zebra.pl it is. |
13:26 | Culiforge | so my zebra section line looks like => */5 * * * * /usr/share/koha/bin/migration_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:29 | jcamins | Culiforge: I thought you were editing your crontab. |
13:29 | Culiforge | cait had me open the crontab.example |
13:30 | jcamins | Culiforge: I suggest reading `man 5 crontab` |
13:30 | Culiforge | will do |
13:31 | so we're not saving anything we've just done | |
13:31 | cait | you can change the example and copy from that later |
13:31 | Culiforge | right |
13:31 | cait | I would save it |
13:31 | 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:32 | jcamins | Yes, that should clarify things for you. |
13:33 | Culiforge | rock on... thanks you two |
13:33 | time for me to go.. enjoy your day | |
13:33 | jcamins | You too. |
13:33 | cait | bye Culiforge |
13:36 | jcamins | Cheese bread is a truly inspired concept. |
13:36 | cait | :) |
13:36 | yum | |
14:19 | Culiforge | ok, I read the man.. I'm understanding much better now what's going on |
14:20 | from what I think I understand, running: /usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -a -z >/dev/null should update indexes right away correct? | |
14:20 | jcamins | Right. |
14:21 | 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:22 | 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:23 | Culiforge | that makes sense too |
14:24 | one problem though. when I run: /usr/share/koha/bin/migration_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:25 | (in the crontab, remove the "export") | |
14:25 | Culiforge | so for my sanity, what does that do? |
14:26 | jcamins | That sets two variables. |
14:27 | PERL5LIB makes sure that the Perl interpreter knows where to find the Koha LIBraries (C4::whatever). | |
14:27 | KOHA_CONF tells the system where to find the configuration file. | |
14:33 | Culiforge | so running rubuild_zebra.pl from command line I get : http://pastebin.com/wi1WU04C |
14:34 | jcamins | Culiforge: you need to run it as the same user you're running Koha as. |
14:34 | druthb joined #koha | |
14:34 | Culiforge | yes, I'm doing so.. this user is the same |
14:34 | druthb | o/ |
14:35 | Culiforge | or does it need to be the koha user (as in the one actually named koha) |
14:35 | jcamins | Culiforge: that error mesage means that Koha is running as a different user. |
14:36 | Yes, the Koha user. | |
14:36 | If you have a user called koha, that's the one you need to be running it as. | |
14:37 | Culiforge | nope, currently I'm the only user in the system |
14:37 | so when I setup I made gary the default koha user | |
14:38 | jcamins | Culiforge: hm. Perhaps you set the Zebra up to be owned by root accidentally. |
14:39 | 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:40 | jcamins | System user. |
14:41 | Culiforge | .. I just logged out my superlibrarian and back in with first account and indexes updated... |
14:44 | jcamins | Well, good! |
14:45 | Culiforge | indeed, but i'm still not finding the marc records I imported |
14:45 | jcamins | searching faq? |
14:45 | wahanui | it has been said that searching faq is at http://koha-community.org/docu[…]on/faq/searching/ |
14:45 | 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:51 | Culiforge | ok, I think zebraqueue daemon was setup during install.. |
14:52 | jcamins | Culiforge: ah. |
14:52 | 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:53 | gin/git | |
14:54 | 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:55 | (or whatever the command is) | |
14:55 | sudo rm ${said command} | |
14:55 | Remembe, I have never used Zebraqueue daemon. | |
14:56 | So you might need to look around a bit to figure out what the zebraqueue script in init.d is called. | |
14:56 | Culiforge | looking now |
14:59 | koha-zebra-daemon is what it's called | |
14:59 | jcamins | That sounds right. |
15:00 | Wait, no it doesn't. | |
15:00 | That's the zebra daemon, not the zebraqueue daemon. | |
15:00 | Culiforge | nope, not it |
15:00 | just stopped zebra server | |
15:00 | hehe :) | |
15:01 | haha, looking some more | |
15:05 | 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:12 | 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:13 | Culiforge: I'm not really sure what the problem is. | |
15:14 | Culiforge: regardless, I need to focus on work for my paying clients now. | |
15:14 | Culiforge | right on, take care |
15:14 | jcamins | Good luck. |
15:14 | Culiforge | thanks |
15:16 | Soupermanito joined #koha | |
16:34 | jcamins | Better begin the process of getting us out of the city for my grandfather's birthday party. |
16:34 | Have a good day, #koha. | |
16:35 | cait | have fun jcamins_away :) |
17:11 | Guillaume1 joined #koha | |
18:07 | bigbrovar joined #koha | |
19:46 | hdl joined #koha | |
20:20 | kathryn joined #koha | |
20:40 | trea joined #koha | |
20:58 | cait | @wunder Konstanz |
20:58 | 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:24 | druthb | @wunder 66049 |
21:24 | 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:08 | cait | @wunder Konstanz |
22:08 | 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). |
23:02 | druthb left #koha |
← Previous day | Today | Next day → | Search | Index