IRC log for #koha, 2012-09-29

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
00:04 tcohen joined #koha
00:40 melia left #koha
01:10 eythian http://www.stuff.co.nz/dominio[…]-at-Levin-protest <-- looks like an annoying start for the new HLT library
02:40 Oak joined #koha
04:57 rangi eythian: https://picasaweb.google.com/1[…]uralCentreInLevin  <-- looks like the rest of it went well
05:10 jenkins_koha Starting build #858 for job Koha_master (previous build: UNSTABLE -- last SUCCESS #856 19 hr ago)
05:33 spycherf joined #koha
05:50 mtompset joined #koha
05:50 mtompset Greetings, #koha.
06:11 harit joined #koha
06:13 harit IS there a way to customize the koha ils webpage.  Is it done via the administration module? or editing is necessary? . I can see a section called important links.
06:16 jenkins_koha Project Koha_master build #858: STILL UNSTABLE in 1 hr 7 min: http://jenkins.koha-community.[…]/Koha_master/858/
06:23 Oak joined #koha
06:45 mtompset Greetings, Oak
06:56 Oak greetings mtompset :)
06:56 magnuse
06:56 mtompset @seen magnuse
06:56 huginn mtompset: magnuse was last seen in #koha 19 hours, 16 minutes, and 43 seconds ago: <magnuse> and in the irc logs for that matter :-)
06:57 mtompset I don't he'll be answering. :)
06:57 don't THINK he'll...
06:57 Oak hmm :)
07:15 drojf1 joined #koha
07:18 mtompset greetings, drojf
07:19 Back to working on bug 459
07:19 huginn 04Bug http://bugs.koha-community.org[…]ow_bug.cgi?id=459 enhancement, P4, ---, mtompset, In Discussion , No uninstall script
07:19 * mtompset grumbles about caring about security.
07:23 mtompset Oh, and I did fix one tiny problem in the Uninstall instructions for http://wiki.koha-community.org[…]ubuntu_-_packages
07:23 I forgot to mention sudo apt-get remove koha-common. DOH!
07:46 * mtompset sighs, "There are so many stupid things people can do. Writing an uninstall script is hard."
08:10 * magnuse waves
08:16 cait joined #koha
08:28 magnuse kia ora cait
08:29 cait kia ora magnuse :)
08:33 mtompset Greetings, magnuse and cait
08:33 magnuse hiya mtompset
08:33 * magnuse wanders off in search of food
08:34 cait hope you find some :)
08:34 hi mtompset
08:34 * mtompset hands magnuse virtual buko pie. ;)
08:40 SzosszeNET joined #koha
08:40 SzosszeNET morning! :)
08:41 cait morning
08:42 SzosszeNET what was last night's deceison? :) Will be a rasbpi cluster? :)
08:46 cait I don't know
08:46 was too sleepy to follow the discussions
08:47 SzosszeNET me too, also quite busy with experiencing koha :)
08:49 cait where are you from SzosszeNET?
08:50 SzosszeNET missed yesterday, told to jcamins ;)
08:50 cait yeah, too tired
08:50 and busy getting my proposal in place
08:50 SzosszeNET ;)
08:50 cait I am from germany
08:50 SzosszeNET but of course I won't leave you without answer :)
08:51 I'm from Hungary, but live in Scotland
08:51 cait oh interesting :)
08:51 * cait was in scotland for kohacon this year - it was awesome
08:52 SzosszeNET wow, so are you getting married?
08:52 cait ?
08:52 SzosszeNET Scotland or Kohacon? :D
08:52 cait you got me really confused now
08:52 SzosszeNET :D
08:52 sorry
08:53 to propose usually refers to the act when the partner is asked about... :)
08:54 well could be anything else btw
08:54 cait hm
08:54 I didn't say anything about proposing?
08:54 SzosszeNET sometimes English in confusing - don't get how scotish people understand each other sometimes :D
08:54 "<cait>: and busy getting my proposal in place"
08:54 cait oh right
08:54 for qam
08:55 SzosszeNET :D
08:55 it's too early :)
08:55 http://www.imdb.com/title/tt1041829/
08:55 cait it is
08:55 SzosszeNET the proposal :)
08:56 http://www.youtube.com/watch?v=sAz_UvnUeuU do you know this? :)
08:56 cait not yet
08:56 SzosszeNET good for mornings :) kickstarter :D
08:59 cait heh
09:00 SzosszeNET yup, nice proposal :)
09:00 almost like marriage :D
09:00 cait it's only supposed to last 6 months
09:00 thankfully
09:01 mtompset cait++ # nice proposal
09:01 cait thx
09:05 SzosszeNET and cait, what part of Germany are you from?
09:06 cait southern germany - I live in Konstanz
09:06 SzosszeNET hmm, next to Bodensee :)
09:07 cait yep
09:07 right at the lake
09:07 SzosszeNET :D
09:07 must be lovely
09:07 I live in Edinburgh ;)
09:07 cait ah
09:08 you weren't at kohacon, were you?
09:08 SzosszeNET no, I just started with koha
09:08 cait ah
09:08 I really liked the city, even if the weather was not very nice to us
09:08 SzosszeNET did not even know that kohacon exists :)
09:09 cait right now it's a yearly thing which is great
09:09 SzosszeNET have heard of comicon tho :)
09:09 cait next one will be in reno
09:09 lol
09:10 SzosszeNET why? :) I'm a geek, and? :D
09:11 cait hm?
09:13 SzosszeNET thought the "lol" is for comicon, and you laughed because of the fact I'm interested in it - also it's quite geek/nerd/etc stuff :D
09:14 cait nope
09:14 only laughed about the connection between kohacon and comicon
09:14 SzosszeNET my bad :)
09:14 cait we are all geeks here :)
09:15 SzosszeNET apparently that's true...
09:15 :D
09:15 cait and some of the koha people are my super heros... so it kinda fits
09:15 SzosszeNET lol :D
09:15 cait we should bring some capes to next kohacon
09:15 did you find the superlibrarian in koha yet? ;)
09:16 SzosszeNET hm? you mean the permission level?
09:16 cait yep
09:16 SzosszeNET long ago :D
09:17 kind of funny, but cool :)
09:17 bit like w40k :)
09:18 http://warhammer40k.wikia.com/wiki/Librarians
09:20 cait heh
09:21 SzosszeNET I'll get some breakfast
09:21 cait good idea
09:21 I am still working on that
09:24 SzosszeNET go for simple :D roll + cheese + microwave :D
09:24 cait no microwave :)
09:25 SzosszeNET that's also a working idea
09:25 hmm...maybe you should look for lunch...
09:25 not breakfast :D
09:25 cait oh right
09:25 true
09:27 SzosszeNET hmm, any idea what would be the easiest way to migrate from Koha 3.01.00.061 to Koha 3.08.05.000?
09:28 cait hm
09:28 there are different ways
09:28 what you can do is get a test system with 3.08 up and running
09:28 then dump the old database
09:28 and load it into the new installation
09:28 oh
09:28 and run the remove... something... items script
09:29 because that's required for updates from 3.4 and pre 3.4
09:29 it's noted in the release notes
09:29 after running the script, you run the webinstaller to get your database updated
09:29 and all should be ok
09:29 SzosszeNET hmm
09:30 cait well, you can do that on your real installation too fo course, but i would always do a test run on a test installation
09:30 and it's a good time to switch to something like packages
09:30 well, switch to packages if that makes sense for you
09:30 and are we talkeing development environment or production system?
09:30 SzosszeNET :D
09:31 there is a server currently running multiple roles (wiki,svn,koha,jira, etc)
09:32 the problem is that most have different dependencies, thus the maintenance is quite hard stuff
09:32 cait hm yes
09:32 SzosszeNET so it was decided to split it
09:32 cait have koha on a separate server?
09:32 SzosszeNET indeed
09:33 but the multirole server runs koha 3.01, and the dedicated runs 3.08
09:34 cait well the dump the database from old and load into new would work then
09:34 SzosszeNET also as I found has e-books uploaded and videos, but those I assume are stored as attachments or something
09:34 cait important is to not miss running the script I mentioned
09:34 and koha will take care of the database updates itsef
09:34 hm
09:34 this early koha has no option to upload files
09:34 that's a feature in the works now, not yet in
09:34 either it's a customization or they only put links in the records?
09:35 that's the usual way of doing it
09:35 SzosszeNET ie : Item typeLocationCall NumberStatusLast seenBarcodeURL Electronic bookshelf Available2012-07-13/media/isbn/9999900739
09:36 cait hm
09:36 unusual
09:36 there is an URL field in items
09:36 SzosszeNET so might be better to export marc than import
09:36 cait but I wonder about the relative URL?
09:37 if you export the marc out it will still be the same
09:38 SzosszeNET indeed, but we are talking approx 500 records I think...so not a huge manual work to re-upload the e-content
09:39 cait I am still sticking to the plan I recommended and then you will see how it turns out :)
09:39 does the library do circ? has patrons?
09:41 SzosszeNET circ - no idea...noob on koha remember? :) Have patrons, but I'll get rid all of them and restart with ad intregrated user managment
09:42 cait if you have patrons they probably circulate items :)
09:44 SzosszeNET well, under overdue there is some entry - probably we should improve on koha usage
09:59 hmm, seems the marc import is not 100% good, the manifests are missing (where the book is available, number of copies, item type...)
10:01 cait you imported into 3.8?
10:01 did you check the check for items checkbox?
10:03 SzosszeNET yes, I did import to 3.8  from 3.1, where is that checkbox? :)
10:05 cait I think when you stage the import
10:05 at the bottom
10:05 and I think when you export, you need to check something too maybe
10:07 SzosszeNET ah, it's set to "always add items"
10:07 cait hm
10:07 and your data had items data?
10:10 SzosszeNET think so, tho I can imagine that the current Koha instance is not used/filled properly that that causes import issues
10:10 #File nameCommentsStatusStaged# Bibs# ItemsAction 3koha.mrcimported2012-09-29 12:06:34381428 (Create label batch)
10:10 cait do you have your branchcodes and itemtypes configured?
10:10 SzosszeNET I do
10:12 hmm...now seems ok...
11:07 hmm koha 3.1 does not allow opac borrow?
11:09 mtompset 3.8 from 3.1?
11:09 Did you remember to run the scripts?
11:10 SzosszeNET just did a marc import :)
11:10 mtompset Oh, okay.
11:10 No scripts necessary then. :)
11:10 cait SzosszeNET: what do you mean by opac borrow?
11:10 and it does allow everything the earlier version did andmore
11:10 it's probably just not configured
11:12 SzosszeNET so in 3.1 I put the title to cart, open cart tick the title, hit on "place hold"  Result : Koha error  The following fatal error has occurred:  Can't use an undefined value as a HASH reference at /opt/koha/harley/opac/cgi-bin/opac/opac-reserve.pl line 96.
11:12 in 3.8, same title, same steps  Result : Sorry, none of these items can be placed on hold. Title Paul Wilmott on quantitative finance. , by Wilmott, Paul. No available items.
11:13 cait yeah
11:13 probably missing configuraton
11:13 or I hope that's it
11:13 the item
11:13 wahanui rumour has it the item is supposed to be overdued over two days already
11:14 cait does it look right?
11:14 descriptions for the itemtype show?
11:14 have you set up your circulation rules?
11:14 SzosszeNET cait, i don't know how should it like :D
11:14 cait you said you set up your itemtypes :)
11:15 SzosszeNET I'm getting to the conclusion that I would make use a koha expert for a few days :D
11:15 cait well
11:15 there are experts you could hire
11:15 I think
11:16 SzosszeNET :D I'm also an external consultant at the company :)
11:17 and probably the current db is a mess, that's the reason it works like as I see...
11:17 the expert would leave with gray hair :D At least I don't see the actual mess :D
11:17 cait maybe
11:17 I still think it's fixable
11:18 so have you set up circulation rules?
11:18 under administration
11:18 make sure you enter at least a rule for all librareies all itemtypes and all patron categories
11:18 also
11:18 are you working with the root user or a real staff account?
11:19 SzosszeNET could work with any (actually using the root)
11:19 cait yeah don#t do that
11:19 ever
11:19 SzosszeNET :D
11:19 ok
11:19 cait well
11:20 only if it prompts you for a database update
11:20 SzosszeNET so I have item types, but cannot see hear circ rules
11:20 cait the roo user is no borrower in the borrowers table
11:20 it has no borrowernumber
11:20 so the system gets really confused
11:20 SzosszeNET oh, the borrow was attempted by a real patron
11:20 cait always work and configure using a staff patron
11:20 ok
11:20 but still :)
11:20 SzosszeNET just the admin interface is used with root
11:21 cait you will see weird things happening with the root user
11:21 also in staff
11:21 SzosszeNET okay
11:21 cait create yourself a staff account with all permissions
11:21 SzosszeNET done ;)
11:21 I mean superlibrarian :)
11:22 should be sufficient :)
11:22 so I'm at Home › Administration › Item types administration
11:22 cait one step back
11:22 thre are the circulation rules
11:22 and oyu should have entries for patron categories, branches and itemtypes first of course
11:23 SzosszeNET oh yes
11:24 hmm
11:24 there were no circ rules
11:25 than all borrow was done I think via the staff interface in 3.1
11:35 cait with no circ rules it will never work
11:36 SzosszeNET made circ rules in the 3.8, but still tells that "Sorry, none of these items can be placed on hold."
11:39 and with a real (staff) parton, Borrowernumber : 22, however the card number is "mag" (ad login name...)
11:39 cait did you allow holds in the circ rules?
11:39 is the itemtype marked as not for loan maybe?
11:40 there are lots of reasons why the system would prevent a hold
11:40 legitimate reasons
11:40 SzosszeNET it's a book type, not marked not for load
11:40 cait and you set the maxreservesallowed higher than 0?
11:41 SzosszeNET for staff/admin it's 100
11:41 cait it's a bit hard to diagnose
11:41 can you set a ahold in staff client?
11:42 is the staff patron from the same branch as the item?
11:44 SzosszeNET no "Cannot place hold" + "Too Many Holds: Gabor Majoros has too many holds." + "No copies are available to be placed on hold"
11:44 cait ok
11:44 check your maxreserves system preference
11:45 SzosszeNET Home › Administration › System preferences ? which tab?
11:46 got it
11:46 50
11:46 cait hm
11:46 running out of ideas a bit
11:46 SzosszeNET maybe the title is not properly recorded...
11:47 can't it be?
11:47 cait hm
11:47 I think th title is not so likely to be the problem
12:42 SzosszeNET great :)
12:42 so I'll convince the company I work for to hire a koha expert for this :D
12:44 cait heh
12:45 SzosszeNET No chance that I could familiarize myself in few months with Koha to build a working system :)
12:45 cait hm
12:45 it depends
12:45 it's not impossible
12:46 SzosszeNET sure, but this was meant as a side task :) the main task is now to build a debian powered, zfs based NAS :)
12:47 on the other hand I'm not sure where to start the learing of koha
12:48 I mean I need to understand it on sysadmin level
12:48 cait I think you ar enot doing bad so far
12:48 ok, but I have to run, buy food
12:48 SzosszeNET have luck :)
12:57 mtompset ping?
12:58 The Ubuntu instructions create an /etc/cron.d/koha cronjob using sudo. Should all git and tarball installs use user crontab files and not /etc/cron.d /etc/cron.hourly or /etc/cron.daily? Feedback needed.
12:58 jcamins_away mtompset: that is correct. Use the user's crontab.
12:58 * jcamins_away leaves again
13:12 Waylon joined #koha
13:13 Waylon greetings all. Is there a sub somewhere, that, given a code, retrieves all data in borrower_attributes where code=given code for a borrowernumber?
13:16 ahh
13:16 C4::Patroncards::Libs::get_borrower_attributes
13:16 yeah, ill use that.
13:17 cait Waylon: perldoc?
13:17 wahanui perldoc is at http://perldoc.koha-community.org for the C4 modules and more
13:17 cait :)
13:18 Waylon hm.. theres basically no commenting, for it... but its easily readable code. yay.
13:19 cait oh
13:19 maybe consider documenting it :)
13:20 Waylon eh? its fairly selfdocumented, for a developer.
13:21 cait yeah, but if there is no pod it should have some
13:21 Waylon though... what the, asking for branchcode, gives you branchname instead?!
13:21 drojf think of noobs like me, document everything
13:21 cait Waylon: maybe it was designed to pass the data somewhere for display
13:21 mtompset drojf: You're a noob? What does that make me?
13:21 cait drojf: you outgrew noob status :)
13:22 Waylon but what if i actually want the branchcode?
13:22 cait what are you trying to do?
13:22 Waylon get the branchcode
13:22 cait from what for what?
13:22 drojf mtompset: all the little perl i know i learned from my import. a programmer would kill me if i showed it to them
13:22 cait I heard they refer to it as baby perl
13:22 mtompset Oh, okay... that's what you mean.
13:23 Waylon or codes, that a user has in borrower_attributes and in their homebranch field.
13:23 cait hm
13:23 not usre, but i would keep looking
13:23 I think there sure is one for getting the branchcode for a borrower
13:24 Waylon well.. i did a search for borrower_attributes, and this is the only sub that actually got attributes.
13:24 but yea, rather stupid serious bug.
13:24 with no override.
13:26 hmmm.
13:26 cait well probably not a bu
13:26 g
13:26 just designed for something else
13:26 Waylon $b->{'a'} can still have data even when $b->{'a'}->{'a'} exists with different data?
13:27 cait you lostme
13:27 Waylon okay....
13:27 $borrower_attributes->{'branchcode'} = $sth->fetchrow_hashref()->{'branchname'};
13:27
13:27 C4::Patroncards::Libs::get_borrower_attributes says that
13:28 so overwriting the data i actually want with the name...
13:28 jcamins_away Waylon: that has nothing to do with extended attributes.
13:29 Waylon oo.... your right...
13:29 okay, name was misleading.
13:30 * Waylon just now read the SELECT statement.
13:31 jcamins_away Not very. It _is_ in C4::Patroncards.
13:31 * jcamins_away leaves again.
13:31 Waylon ah... found C4::Members::Attributes::GetAttributes
13:32 oh.. not the one
13:32 C4::Members::Attributes::GetBorrowerAttributeValue
13:32 rightyo!
13:33 mtompset That's why that perldocs link is so useful.
13:34 Waylon if im calling a sub by its full path, do i need to 'use' it at the top of the perl file?
13:35 mtompset It's probably a good idea? That's my gut feeling, but I could be wrong.
13:35 Waylon will do.
13:36 mtompset Declare, define, state, initialize before use -- All generally good things. :)
15:00 tcohen joined #koha
15:00 mtompset Greetings, tcohen.
15:00 tcohen hi mtompset
15:00 mtompset Sorry for being slow yesterday.
15:00 tcohen ?
15:01 mtompset You left at 11 after the hour, and I didn't get a patch and plan posted until 30 minutes or so later.
15:01 tcohen its ok for me
15:02 mtompset Take a look at the patch, make sure it is working for you.
15:02 tcohen i preferred the patch wasnt marked as done by you
15:02 the patch works perfectlyk
15:03 mtompset Redo the same patch on your machine.
15:03 obsolete mine.
15:03 As long as it works. :)
15:04 tcohen i just hope it gets accepted
15:04 mtompset Why wouldn't it?
15:04 No sudo calls.
15:05 Mimics and corrects old behaviour.
15:05 Frankly, it's much easier to say: run script X, and cut and paste the command it gives you.
15:06 than have to install dselect.
15:11 * jcamins_away isn't here, but:
15:11 jcamins_away tcohen: you can change the author of the patch by doing `git commit --amend --author=<tcohen@email.com>`
15:12 mtompset And I have no problem with that, because frankly, you found the problem... I merely helped with a couple pieces.
15:12 * jcamins_away uses that frequently when rebasing complicated patches. Sometimes it's easier to repeat the changes in another patch than it is to merge them.
15:13 mtompset Before you aren't here again, jcamins_away. Why do you keep coming in and out?
15:13 jcamins_away (note: I have no idea what we're talking about, and I'm leaving again posthaste)
15:13 Hehe.
15:13 I occasionally walk by and glance at IRC.
15:13 mtompset bug 8840
15:13 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8840 normal, P5 - low, ---, tomascohen, NEW , ubuntu-pkg-check.sh fix and extend functionality
15:13 jcamins_away I'm heading out to the World Maker Faire (http://makerfaire.com/newyork/[…]edule/index.html) in just a few minutes, though.
15:13 mtompset was broken for non-english setups.
15:14 because it greped for "Install"
15:14 * jcamins_away really leaves.
15:14 mtompset Enjoy.
15:16 tcohen mtompset, jcamins: attending to an 'asado', gotta leave!
15:16 mtompset Bye.
15:17 tcohen have a nice weekend
15:25 tcohen joined #koha
15:26 mtompset So fast... Did you bring some BBQ back for us? ;) -- too slow. :)
15:33 mtompset joined #koha
15:33 mtompset Nice power blip on my end.
15:45 mysql -u root -p\
15:45 Oops.. wrong window.
16:14 chris_n joined #koha
16:42 * mtompset frowns.
16:42 mtompset Mock modules didn't make it into Ubuntu lists.
16:42 Guess I'll bug report that later. Time to sleep.
16:43 Test::MockModule, DBD::Mock, unzip.
16:43 First two 'make test' failures. Last one, runtime failures.
17:54 libsysguy joined #koha
17:55 libsysguy I stumbled across this today: http://modernperl.net/develope[…]-development.html
17:55 looks like koha is on the right track
17:55 plack, mod_perl, DBIx::Class
17:55 we just need a framework :p
17:57 cait1 joined #koha
17:57 libsysguy hey cait
17:57 I heard the good news
17:57 !!
17:57 :D
17:57 cait1 ^^ oops
17:58 cait1 sorry
17:58 I killed my network :)
17:58 good news?
17:58 wahanui good news is it looks like it's running properly.
17:58 libsysguy yeah you're running for QAM right?
17:58 cait1 you mean that I went totally crazy ?
17:58 oh right, that :)
17:59 libsysguy i'm digging the what would I do section
17:59 "Be Annoying" :p
18:00 cait1 lol
18:00 that be annoying seems to really stick with people
18:00 libsysguy well somebody needs to do it
18:00 I was afraid I was going to have to do it :p
18:00 cait1 I will do my best :)
18:00 heh
18:00 libsysguy now I can be lazy and you can be annoying :p
18:00 cait1 you can still level up your proposal
18:00 I really liked it too :)
18:01 libsysguy level it up?
18:01 cait1 from qaa to qam
18:01 libsysguy heh
18:01 umm
18:01 cait1 or you can hlep me be annoying :)
18:10 drojf i wonder how long we will be happy about our annoying cait1
18:11 cait1 well
18:11 how muc more annoying can I get? :)
18:11 drojf and when it starts to be _really_ annoying :P
18:11 it's all fun until you actually fail my patches ;)
18:12 cait I am sorry
18:12 I have quite a bad fail rate
18:14 * drojf gets scared
18:15 cait hehe
18:15 libsysguy you should be scared drojf, she always fails my patches :p
18:15 cait but I am trying to be nice about it and constructive!
18:15 libsysguy actually paul_p fails more of them than cait does.  I always forget to remove the tabs and replace them with spaces
18:16 drojf that reminds me, i should bribe him somehow to re-qa mine that he failed
18:21 cait :)
18:42 SzosszeNET bye, have a nice weekend!
18:56 jcamins_1way joined #koha
18:57 bshum joined #koha
18:59 chris_n joined #koha
19:07 wizzyrea joined #koha
19:08 khall joined #koha
19:10 jenkins_koha joined #koha
19:19 chris_n joined #koha
21:52 drojf joined #koha
23:50 tcohen joined #koha
23:51 tcohen rangi, tell your guys to give us a break!
23:55 rangi heh
23:56 we gave you a try to start! :)

← Previous day | Today | Next day → | Search | Index

koha1