IRC log for #koha, 2012-06-29

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

All times shown according to UTC.

Time Nick Message
00:01 papa joined #koha
00:02 mtompset Cache/Memcached/Fast.pm missing
00:02 jcamins Hrm.
00:02 There's a patch for that, I think.
00:02 sudo apt-get install libcache-memcached-perl
00:03 mtompset yep.
00:03 doing that.
00:03 i hate man-db triggers. They are so slow!
00:06 dcook joined #koha
00:06 dcook Allo allo
00:06 jcamins o/
00:07 mtompset Greetings from yesterday. ;)
00:07 dcook Hi mtompset!
00:07 jcamins mtompset: isn't it tomorrow there, too.
00:07 dcook Quick question...has anyone else been unable to alter marc bibliographic frameworks in 3.8?
00:07 mtompset I define a day by sleeping at night. ;)
00:07 No sleep, no next day. :)
00:07 jcamins dcook: never tried it.
00:08 mtompset Sorry. Neither have I.
00:09 jcamins And I'm on 3.6 at the moment.
00:09 mtompset Technically it is already tomorrow now, but since I haven't sleep, I'm still in yesterday.
00:09 3.6.3 here.
00:09 dcook Dinger. Thanks anyways
00:09 Where are you mtompset?
00:10 mtompset I'm in the Philippines.
00:10 Yourself?
00:10 dcook Australia, so I'm in the future as well
00:10 mtompset Yes, but you probably slept, so I am experiencing localized time dilation. ;)
00:10 * dcook chuckles
00:11 dcook I had my supper around midnight, so it worked out in the end
00:12 mtompset See, you experienced some time dilation too, just not as drastic as I.
00:12 I'll be experiencing an extremely rapid progression into today in the next couple of hours. :)
00:13 dcook Did you get that problem resolved last night at least?
00:14 mtompset Most of it, I think so.
00:14 C4::Barcodes::PrinterConfig.pm
00:14 There were some uninitialized value warnings in the tests.
00:15 Waylon joined #koha
00:15 mtompset C4::Labels::Labels.pm
00:15 Waylon hiya all.
00:16 mtompset C4::Languages.pm
00:16 Greetings again, Waylon.
00:16 Waylon Okay, boss has wrote as a task: upgrade to koha 3.8 and adapt. WooT!
00:16 So, now i need to look at koha 3.8's code. get to know it.
00:16 mtompset NICE!
00:16 dcook What the...
00:16 wahanui the is a stop word
00:17 dcook Hi Waylon. I'm doing the same thing ;)
00:17 Welcome to hell...
00:17 Actually, it's not that bad.
00:17 Waylon dcook, your upgrading from koha 3.0.0pre2?
00:18 jcamins dcook: you're still better off than you would have been if you were trying to stick with the hacked up version.
00:18 dcook Mmm 3.0 and 3.2
00:18 mtompset C4::Ris::intype
00:18 dcook hacked up version?
00:18 As in our hacked up version?
00:18 jcamins mtompset: you can ignore the warnings about uninitialized variables.
00:19 dcook: well, I don't know if you have a hacked up version, but that's what Waylon's been battling.
00:19 Waylon yup
00:19 you probably have a straightforward upgrade to look forward to, dcook
00:19 mtompset C4::Search::PazPar2
00:19 dcook Not in the slightest, lol
00:20 jcamins mtompset: the warnings are nothing to worry about.
00:20 dcook We made about 300-400 changes to the code
00:20 Waylon ahhh
00:20 mtompset Are you sure?
00:20 dcook Fortunately, we're not going to try cutting all of them across, but it's still a bit of a headache
00:20 jcamins mtompset: yes.
00:20 Waylon git commited them?
00:20 dcook Sadly not
00:20 Definitely the policy going forward though
00:20 There just wasn't the time or staff before
00:21 Waylon well... did you import cherrypicked koha patches?
00:21 * jcamins still doesn't understand that reasoning.
00:22 mtompset do I need to sudo make install or will make install be fine for a dev install?
00:23 dcook Waylon: I'm still not very familiar with how to fully use git. I haven't cherrypicked but I'm not sure about anyone else
00:23 jcamins mtompset: just make install, I think.
00:23 git?
00:23 wahanui hmmm... git is http://wiki.koha-community.org[…]Control_Using_Git
00:23 jcamins dcook: read that.
00:24 Every single thing I've read about git is linked to on that page, and I've been told that I'm now one of the "git experts" on #koha.
00:24 dcook Intriguing
00:24 I have read it before, but I still find that I don't understand the conceptual structure of git
00:24 Waylon hmm.. well. then, you could possibly figure out what version of koha you have, and git commit everything youve changed in one blob... then upgrade via git? jcamins ?
00:25 jcamins Waylon: no.
00:25 Waylon I can't do that  because of the forementioned cherrypicking.
00:25 jcamins Waylon: well, sort of.
00:25 * Waylon nods.
00:25 dcook We are coming off of 3.0 and 3.2, so all the template changes are virtually useless. Plus, there are a lot of hacky changes that we don't really want to bring forward anyway
00:25 jcamins You *could*, but it wouldn't be worth it.
00:25 * dcook is scowling at the Marc Bibliographic Framework in 3.8
00:25 jcamins ... and the upgrade past 3.4 is going to be painful.
00:26 dcook: I'm testing that now.
00:26 dcook Sweet. Thanks, jcamins.
00:26 jcamins What am I trying to do?
00:26 Waylon whats wrong with the marc framework, dcook?
00:26 dcook Change the subfield structure of any framework
00:26 wahanui dcook: that doesn't look right
00:26 wahanui joined #koha
00:26 dcook I change the mandatory flag and the hidden status, but I see no changes when I edit or make a new record
00:27 The changes are written to the database, but Koha doesn't seem to pick it up...
00:27 jcamins dcook: it's working properly.
00:27 You should shut down memcached on your development machine.
00:28 sudo service memcached stop
00:28 dcook I was thinking that it might be a memcached issue :/
00:29 While stopping it might solve the problem now, wouldn't this still be an issue going forward?
00:30 jcamins If you change your frameworks often, yes.
00:30 However, if you do that, you're doing something wrong.
00:30 dcook Makes sense
00:30 Yet...
00:30 I just wanted to make the 863 appear in my Serial framework
00:31 jcamins So, restart memcached.
00:31 dcook If I can't make one change one time, that seems to be a fairly big impairment
00:31 All right. I'll give it a whirl.
00:31 jcamins dcook: you can, there's just a lag.
00:33 mtompset How much RAM is in your koha installations, folks?
00:33 I was telling my supervisor that 512MB is too small, and he wanted to know what size people were generally using.
00:33 melia left #koha
00:33 mtompset Does the Koha documentation suggest a minimum?
00:34 jcamins mtompset: it doesn't suggest a minimum, but I use 1GB.
00:34 Well, actually, I use a good deal more than 1GB.
00:35 But I'd consider that the minimum for a production server.
00:35 mtompset OK VM is rebooted and ready to make install.
00:35 I figure mysqldump size * 2 round up should be minimum.
00:36 jcamins mtompset: I'm not sure that will work for either large databases or small databases.
00:36 dcook Good call, jcamins. Do you know what kind of lagtime we're talking about?
00:36 jcamins dcook: 10 minutes.
00:37 dcook Ahh. That's considerably better than what I imagined.
00:42 Wonderful. Thanks again, jcamins, for helping me out on that one.
00:45 jcamins dcook: you're welcome.
00:46 mtompset jcamins++
00:48 dcook? How much ram is on your koha server?
00:49 It seems that the make install worked.
00:49 dcook Good question, mtompset. I don't handle any of the server administration, so I'm not sure.
00:49 mtompset if you have a command prompt.
00:49 free -m
00:50 for debian and ubuntu at least.
00:53 dcook Hmmm
00:54 It says 12GB for total Mem
00:56 It's a pretty active server, mtompset. over 11GB of that seems to be in use
00:59 mtompset Thanks for the feedback.
00:59 dcook No worries
01:03 Have a good one
01:08 jcamins Hm.
01:08 I need updated caching code.
01:09 dcook Sorry?
01:10 jcamins dcook: oh, I'm cherry-picking caching code back onto my 3.6.x-based branch, and I'd really like better caching for sysprefs.
01:14 dcook Ahh. Alas, I'm no help there, jcamins. I have been pondering about sysprefs quite a bit lately though. I find it odd that they seem to be passed in different ways sometimes.
01:14 Waylon wow.. how many records do you do, on your koha server, dcook?
01:14 dcook Also a good question
01:15 That server runs multiple instances, but I would estimate around a million
01:15 Total
01:17 Actually, I'm probably off on that, Waylon. I have no idea.
01:31 mtj hi all - does this work for anyone, on firefox  ?-> https://twitter.com/about/reso[…]ts/widget_profile
01:32 i get a 'o.styleSheet is undefined' error, on FF :/
01:32 jcamins I have no idea what it is doing.
01:33 But it seems to work fine.
01:33 mtj do you successfully get a 'twitter' window, on that page?
01:33 right side of screen
01:33 jcamins Yes I do.
01:33 mtj ok :) wot verzion of FF?
01:34 jcamins Latest.
01:34 It just updated itself.
01:34 mtj (i'm on 13.0.1, osx)
01:34 i guess you are too :)
01:34 jcamins I do have noscript installed.
01:35 I temporarily enabled the scripts.
01:36 mtj meh, thats my error -> https://dev.twitter.com/discussions/8498 :/
01:37 jcamins Wait, I just released 3.6.6.
01:37 Time to merge that in.
01:38 Waylon ohkay, as a developer of 3.0.. what do i need to know about 3.8's coding style/conventions
01:38 ?
01:38 like.. 3.8 uses TT?
01:38 jcamins coding guidelines?
01:38 wahanui coding guidelines are http://wiki.koha-community.org[…]Coding_Guidelines
01:38 jcamins ^^ :D
01:39 No real point in testing 3.6.5.4, if I'm merging in 3.6.6.
01:41 dcook I really wish I would've looked at those guidelines sooner.
01:41 jcamins dcook: uh-oh. hadn't seen 'em before?
01:42 dcook Nope. I just used other people's patches as a guideline
01:42 I've adopted most of these conventions as a result, but it's good to see them explicit liike this, jcamins
01:42 jcamins Ah.
01:42 We have a syntax error in master, don't we?
01:42 dcook ?
01:42 jcamins misc/cronjobs/check_url.pl
01:43 Try running perl -c misc/cronjobs/check_url.pl for me?
01:44 mtj woo! , created a new FF profile, twitter widget works now?!
01:47 dcook jcamins, it looks like 3.8 has check-url.pl rather than check_url.pl. That said, what am I looking for?
01:48 syntax error at misc/cronjobs/check-url.pl line 168, near "$agent;" syntax error at misc/cronjobs/check-url.pl line 170, near ")"
01:49 Semi-colon rather than a comma?
01:49 jcamins dcook: yes, that's what I was wondering about.
01:49 Thanks.
01:49 * jcamins grumbles about broken master.
01:50 dcook In this instance, what's the best way to proceed? Wait for a patch?
01:50 Or make one, but I admit that I'm a bit focused..
01:51 jcamins dcook: fix it. I actually don't need the script, I just was doing some release maintaining.
01:52 I'll post a fix in a bit.
01:53 Maybe.
01:53 Clearly no one has used that script in two months.
01:53 dcook Good call
01:54 jcamins Possibly more... I didn't actually look to see when it was pushed.
01:55 dcook Since you're a git guru, could you tell me a bit more about how the fix should be handled?
01:55 jcamins Easy peasy.
01:55 First, you report a bug.
01:56 dcook I don't think that I've changed my 3.8 git since my install...should I rebase and then commit this change
01:56 * jcamins will do it while explaining.
01:56 * dcook cheers
01:56 jcamins You're developing on 3.8?
01:56 Don't ever do that.
01:56 *Ever*.
01:56 Develop on master.
01:56 dcook I'm not sure that I follow
01:56 jcamins Only.
01:56 Current development is done on the master branch.
01:57 The 3.8 branch is a "stable" branch which contains only those fixes that rangi considers safe.
01:57 dcook Mmm, I follow you now
01:57 jcamins If you develop on 3.8, you'll still have to rebase and try to integrate your work into master, or you'll be little better off than you are now.
01:57 So, here's how we rescue this:
01:57 dcook I call it my 3.8 git, but I develop from the master
01:57 jcamins Oh, okay then.
01:57 Nothing to worry about.
01:58 However, it's always a good idea to rebase against latest master when developing.
01:58 * dcook has a background in English literature and Library Studies. He's only been coding since last October.
01:58 jcamins So you do your work, commit it, and then, instead of doing git pull, you do git fetch && git rebase origin/master
01:58 oleonard has a nice blog post on this...
01:58 dcook git fetch and rebase after the commit?
01:59 jcamins dcook: http://www.myacpl.org/koha/?p=558
01:59 Waylon: http://www.myacpl.org/koha/?p=558
01:59 dcook: right.
01:59 dcook: you should have one branch for each feature you are working on.
01:59 If that is not the way you have it set up, it is time to change your setup to match that.
02:02 Okay, returning to that bug:
02:02 Step 1: I file a bug.
02:02 Bug 8333
02:02 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8333 major, P5 - low, ---, jcamins, ASSIGNED , Syntax error in misc/check-url.pl
02:02 jcamins Step 2: create a branch for my development.
02:02 > git checkout -b bug_8333 kc/master
02:03 Hm. Fix is in master, not 3.6.
02:03 If it weren't in master, I would make the change, commit the result, then attach the patch to the bug.
02:05 * dcook listens
02:05 jcamins And that's it. :)
02:05 dcook So when did you fetch and rebase there?
02:05 According to Owen's blog, it looks like he does it before and after doing a change
02:05 jcamins Right.
02:06 I keep master up-to-date pretty much all the time.
02:07 dcook So, git fetch downloads all of the changes
02:07 jcamins Right.
02:07 dcook rebase then merges the downloads into the master branch?
02:07 jcamins Then git checkout -b bug_whatever origin/master gets the latest version.
02:09 * dcook ponders
02:09 jcamins rebase is to combine the current changes in master into your current branch, and then put your changes at the end.
02:11 * jcamins calls it a night.
02:11 dcook Thanks for all the help, jcasmins
02:32 ago43 joined #koha
02:47 Waylon if i have changes that im not going to commit back to the community, but i use myself, what do i do?
02:48 same pattern of branch and rebase or is one branch okay in that situation?
02:54 dcook I admit that I've been pondering the same thing.
02:55 Actually, if you're not going to commit them, why change your git at all?
02:56 This coming from a git newb, of course
03:01 libsysguy joined #koha
03:03 Waylon so you can easily rebase, dcook?
03:04 and know what you've done.
03:04 other developers come along, can do stuff.
03:08 libsysguy left #koha
03:37 dcook Makes sense. I'm not familiar enough with git to know how to track things.
03:38 Right now, I'm trying to figure out how to re-submit a patch for 7839...
03:38 I've made the changes that Paul suggested, re-added the Serials.pm and routing-lists.pl files, but when I create a patch, none of my changes are evidenced :/
03:45 Tried git reset HEAD^1 routing-lists.pl and git reset HEAD^1 Serials.pm. That seems to work. I suppose I'll see how it goes...
03:48 cjh if you have local changes in git you can 'git stash' to store them away and take the files back to the branch version
03:48 then git pull
03:48 and then 'git stash pop' to apply your changes over the top again
03:49 having them in another branch or a patch could also be useful if things get messy
03:51 dcook :S
03:51 cjh can also use 'git stash apply' to keep the changes in the stash and just appy them, quite a neat tool
03:52 dcook I didn't really follow any of that. I had made my original changes in a branch
03:53 So I went back to that branch, rebased, fixed the code, unstaged the changed files, re-staged them, and ran the commit command
03:53 cjh git stash is for saving and restoring unstaged (and uncommited) changes.
03:54 dcook Wouldn't those unstaged/uncommitted changes just stay in that separate branch?
03:54 cjh you cant switch branches when you have unstaged/uncommited changes
03:55 dcook Mmmm, I see I see
03:56 So the idea is that you're working on one branch and you're done of the moment, so git stash, so that you can move to a different branch and work on another project?
03:57 cjh yes :)
03:57 dcook Nice!
03:57 cjh and the stash is shared across branches, so you can 'bring them with you'
03:57 dcook Could you tell me more about how git commit works?
03:57 Ahh, that could also be handy
03:57 cjh what in particular would you like to know?
03:57 dcook I staged my files and committed them. Does that mean that they're just committed to my git repository?
03:58 cjh yes, git can do almost everything locally
03:58 dcook And that the way to update the official Koha git is to e-mail/post that patch file
03:58 cjh pull, push and fetch are teh commands that do things with the remote server.
03:58 checkout, add, commit and most other commands are local only (and you then use push to share them with the server)
03:58 dcook: yes, when using git with koha you cant push
03:59 dcook Perfect :)
03:59 cjh so you add, commit and then make a patch
03:59 usually uploaded to bugs.koha-community.org
03:59 dcook Thanks for the information :)
03:59 That really helps put things more in perspective
04:00 cjh dcook: if you are working with the koha git it is set up so that you cant do any damage so dont worry :)
04:00 dcook I'm just a bit of a control freak, so I want to know which data exists in which place :)
04:00 cjh I know what you mean :)
04:01 the idea of accidentally sharing some half finished work is scary :)
04:01 dcook Very true
04:01 wahanui I know. That's why I said it.
04:01 cjh heh
04:01 * dcook chuckles
04:01 Waylon just siege testing my live server.... zebra isn't showing above 40% io usage.
04:01 dcook The past few days are the first time that I've used IRC in over 10 years..
04:01 Waylon yet there is still timeouts
04:02 so yea.. the timeouts have nothing to do with zebra i think.
04:02 its just koha being slow.
04:03 interesting.. zebra is using alot of cpu.
04:07 Oak joined #koha
04:12 dcook Now that I think about it...how would you have multiple commits on one branch?
04:27 mtj Waylon:  your system does seem a little slow
04:28 have you thought about getting a newer ver. of zebra?
04:28 Waylon whats latest?
04:28 wahanui well, latest is 3.6.4
04:28 Waylon ...
04:28 mtj pass?
04:28 Waylon zebra?
04:28 wahanui i think zebra is a fielded free text indexing and retrieval engine with a Z39.50 front-end. You can use any compatible, commercial, or freeware Z39.50 client to access data stored in Zebra. or the search engine koha uses
04:29 mtj wat u got?
04:29 ason@xen1:~/g/soba1$ dpkg -l|grep zeb
04:29 ii  idzebra-2.0                                2.0.50-1indexdata
04:29 Waylon 2.0.52 is latest
04:29 i have 2.0.43
04:30 mtj ok, not tooo old...
04:31 ive never seen a slow koha box , where zebra has been the problem
04:32 you have some mods to your zebra config, for arabic too, yeah?
04:32 Waylon icu.xml mods i think
04:33 mtj see, if you want a real sanity test....
04:33 dump your bib+items out as marc, and load them into a shiny new 3.8
04:34 then siege-test both, compare the results
04:34 Waylon oh also.. how does plack starman do virtuhosts?
04:35 mtj then show the performance increase to your boss, as a justification to upgrade
04:35 it doesnt
04:35 Waylon hmm
04:35 mtj afaik, thats a job for apache
04:36 Waylon right. so still need apache in my case.
04:36 mtj or nginx , or whatever httpd you put in-front of it
04:37 Waylon plack only works via its own tcp port? or can apache and plack comm over unix socket?
04:37 or whatever?
04:37 wahanui rumour has it whatever is most appropriate for the situation
04:37 mtj yeah, probably
04:37 Waylon which?
04:37 wahanui which is most stable version
04:39 mtj ... have a guess which part of the statement i was referring too ;)
04:39 cjh dcook_away: multiples commits on one branch are possible, if you type git log it will show you all the commits of your current branch.
04:40 mtj Waylon: ive only used plack with apache, and via tcp
04:41 Waylon ahh
04:41 Plack::App::Apache::ActionWrapper - Wrapper for Apache2 Action directive for running PSGI apps on shared hosting with FastCGI
04:41 mtj yep, there you go...
04:41 Waylon so.. whats FastCGI?
04:42 nevermind.
04:42 Plack::Handler::Apache2 - Apache 2.0 handlers to run PSGI application
04:42 ah.. for mod_perl
04:42 koha 3.8 is mod perl safe?
04:43 mtj almost - the opac code looks to be safe - staff has some small bugs to be sorted
04:44 gotta scoot now...
04:44 Waylon ahh..
04:45 FastCgiExternalServer /virtual/filename/fcgi -socket /path/to/my/socket and plackup -s FCGI --listen /path/to/my/socket --nproc 10 /path/to/my/script.psgi
04:45 mtj dpavlin's lib is running staff and opac with plack, on prod
04:47 Waylon hmmm
04:47 interesting.
04:47 wahanui interesting is sometimes good and sometimes bad
04:47 cait joined #koha
05:02 cait hi #koha
05:04 Oak hello cait !
05:04 sandeepbhavsar joined #koha
05:04 sandeepbhavsar hi all
05:05 Good Morning
05:05 cait hi Oak :)
05:05 Oak :)
05:05 cait good morning sandeepbhavsar
05:05 sandeepbhavsar I have just gone through the past messages of "MARC Import problem"
05:05 and found that 20MB is the maximum limit to import data through web interface
05:06 is it true
05:06 because mine file size is 21MB
05:06 and struggling to import the data from last 2 days
05:07 please help
05:10 cait you can use command line jobs or maybe split your file up into smaller files
05:11 sandeepbhavsar can you guide about how can i use commandline step by step
05:22 Oak joined #koha
05:28 mtompset joined #koha
05:28 mtompset Greetings, #koha
05:28 Hey, Oak, you there?
05:29 Oak yup
05:29 greetings mtompset
05:29 mtompset How much memory do you have on your koha server?
05:30 Oak 2GB :-|
05:30 mtompset how much memory is free?
05:30 "free -m" should help answer that. :)
05:31 Oak oho, i don't have Linux installed on my new laptop now... I use SSH to connect to my server. I'm downloading Debian right now...
05:32 mtompset Just SSH over, and type 'free -m'
05:32 It will show total, used, free memory in megabytes.
05:32 If you have windows, why not use putty?
05:33 http://www.chiark.greenend.org[…]tty/download.html
05:33 Oak oh well, i'll install firessh now and let you knoe
05:33 okay i'll use putty
05:35 mtompset: total: 1961, used: 664, free: 1297
05:40 mtompset Thanks...
05:41 Out of curiosity... Does your koha server run anything other than koha?
05:41 And how many items does your DB have?
05:46 Have fun with the Debian install, Oak.
05:46 Oak mtompset: the DB has around 520 items
05:47 and the system runs nothing except Koha...
05:47 and a mail server
05:47 wahanui i think a mail server is back !
05:47 Oak mtompset: i'll be back after breakfast... sorry was away
05:48 i mean did not see your messages... was afk
05:51 mtompset Not a problem. Enjoy breakfast. :)
06:11 laurence joined #koha
06:22 alex_a joined #koha
06:22 alex_a bonjour
06:38 druthb joined #koha
06:38 mtompset Salut?
06:38 cait hi alex_a :)
06:39 mtompset hi, cait.
06:39 alex_a bonjour cait !
06:39 :)
06:42 reiveune joined #koha
06:42 reiveune hello
06:44 cait hi reiveune :)
06:44 and brb
06:44 cait left #koha
06:51 BobB joined #koha
06:54 papa joined #koha
06:54 francharb joined #koha
06:56 gaetan_B joined #koha
06:56 francharb hi
06:57 druthb joined #koha
07:00 mib_r71m4s joined #koha
07:00 gaetan_B hello
07:01 mtompset AH! There's a GOTO in C4::AuthoritiesSearch.pm
07:02 I mean C4::AuthoritiesMarc.pm
07:02 Still waking up. :)
07:03 dcook_away Did you actually sleep, mtompset?
07:12 mtompset Yes.
07:12 3 hours.
07:12 dcook I wish that I had your stamina ;)
07:13 mtompset Mountain Dew and Tea help. :)
07:15 http://mibpaste.com/SryG3U
07:15 The code that is ticking me off.
07:15 dcook Your library has a lot of lost items?
07:15 mtompset Who in their right mind does so may conditions in one line of code?
07:16 We marked them lost, but the probably haven't been inventoried yet.
07:16 We're in the early stages of doing thing.
07:16 things.
07:16 dcook Ahhh, I gotcha
07:16 mtompset Some of this data came from Athena.
07:16 * mtompset cringes.
07:17 mtompset Some of it came from a custom Access DB.
07:17 * mtompset cringes even more.
07:17 dcook O_O
07:18 paul_p joined #koha
07:31 ropuch Morning #koha
07:34 mtompset Greetings, ropuch.
07:39 Is items.itype supposed to be the same set of values as biblioitems.itemtype?
07:39 sophie_m joined #koha
07:39 druthb joined #koha
07:40 ropuch Going for some "3-days-no-sleep-still-coding" badge? ;-)
07:40 kf joined #koha
07:40 kf hi #koha
07:40 ropuch Guten Tag, kf [;
07:40 dcook Have a good day, everyone! I'm off to enjoy my Friday night :)
07:41 kf hi ropuch :)
07:47 sophie_m hi #koha
07:48 kf hi sophie_m :)
07:48 rangi hi all
07:48 kf hi rangi
07:48 gaetan_B joined #koha
07:49 druthb Hi rangi!
07:49 kf rangi: ignore her, she should sleep
07:49 rangi @later tell slef I have a static copy of the site somewhere but I have no intention of putting it back up anywhere, do you want the wget of it?
07:49 huginn rangi: The operation succeeded.
07:49 druthb Harrrumph!
07:50 rangi, kf is bein' mean to me!
07:51 rangi hehe isnt it the middle of the night?
07:51 kf no... it's almost morning again
07:51 * kf glares at druthb
07:51 druthb 03:00, almost
07:52 * druthb is just not sleepy
07:54 's bed is also being occupied.  Two furry cat-beings, both purring like cement mixers
08:05 paul_p good morning #koha
08:05 kf hi paul_p :)
08:21 hdl joined #koha
08:21 kf hi matts and hdl
08:22 hdl hi
08:23 matts hi there !
08:25 kf perl days starting today? :)
08:26 eythian joined #koha
08:26 hdl kf: yep
08:28 kf have fun :)
08:31 mtompset Greetings everyone. :)
08:33 What do you folks know about 942$c and 952$y subfields?
08:34 kf what do you want to know?
08:34 mtompset are they generally identical?
08:34 kf no
08:34 there is a system preference
08:35 item_level-itypes or similar
08:35 that lets you choose if you want to use itypes on record or item level
08:35 so when you set it to record, you don't have 952$y
08:35 mtompset So when one is set, the other isn't?
08:35 kf if you use item level itypes the relevance of 942 is not so high
08:36 but it is still used to suggest an itype in your item creation form for example
08:36 and maybe in some other places
08:36 I normally set it to the most used itype by defalt - but other people might do it differently
08:36 mtompset Because NULL is causing me a headache.
08:36 It's flooding my error log. :(
08:37 And I'm only a lowly programmer, not a librarian.
08:38 kf you can file a bug - but the logs in general have errors and warns
08:38 it will not the last thing you walk into
08:38 and whie it would be good to have them cleaned up, it's curerntly not the case
08:38 mtompset Hey... I want to wake up in the morning tail the error log and see nothing.
08:38 kf what you can do for this specific thing is make your catalogers catalog it, use a default value in your frmeworks to always set it...
08:39 then you will have to spent time on fixing things - I did some patches for that, but it's not high priority for developers right now
08:39 mtompset http://mibpaste.com/SryG3U
08:40 This is the piece of headache.
08:40 kf where is this from?
08:41 mtompset opac-detail.
08:41 kf hm interesting
08:41 wahanui hmmm... interesting is sometimes good and sometimes bad
08:41 kf I am suspicous of this part
08:41 && ($itm->{'itemnotforloan'}<0 || not $itm->{'itemnotforloan'} )
08:41 && (not $itemtypes->{$itm->{'itype'}}->{notforloan} )
08:41 to be worng
08:41 because I think it should probably be dependent on former mentioned system preference
08:41 mtompset $itm->{'itype'} is NULL.
08:42 system preference? What tab is it?
08:42 kf ah no
08:43 it's probably correct, it checks the item field and the itype...
08:43 never mind
08:43 you could fix the warn but I think generally it's good to set 942
08:43 so settng it would fix your problem and possibly some others too
08:44 mtompset biblioitems.itemtype
08:44 kf yes
08:44 if you change it using sql
08:44 mtompset right... have some of those NULL too. :)
08:44 kf you will have to reindex
08:44 completely
08:45 mtompset not a problem, jcamins helped me fix the indexing problem last night. :)
08:45 * mtompset curses permissions.
08:48 drojf1 good day #koha
08:48 drojf heh mtompset still around?
08:49 * magnuse waves
08:49 drojf hei magnuse
08:49 magnuse guten tag drojf
08:49 @wunder boo
08:49 drojf :)
08:49 huginn magnuse: The current temperature in Bodo, Norway is 11.0°C (10:20 AM CEST on June 29, 2012). Conditions: Partly Cloudy. Humidity: 58%. Dew Point: 3.0°C. Pressure: 29.86 in 1011 hPa (Falling).
08:49 drojf @wunder berlin, germany
08:49 huginn drojf: The current temperature in Berlin Pankow, Weissensee, Germany is 29.3°C (10:49 AM CEST on June 29, 2012). Conditions: Clear. Humidity: 52%. Dew Point: 18.0°C. Pressure: 29.86 in 1011 hPa (Rising).
08:49 drojf summerday
08:49 kf hi drojf and magnuse
08:50 drojf hi kf
08:50 eythian joined #koha
08:50 kf morning eythian
08:50 magnuse kia ora kf and eythian
08:51 BobB joined #koha
08:51 eythian hello all
08:51 lamiette morena
08:52 rangi hi lamiette and eythian
08:53 kf hi lamiette :)
08:53 mtompset yes.
08:53 But I got 3 hours sleep, thank you.
08:54 drojf aaah, good, healthy night sleep :D
08:54 lamiette hi all
08:54 drojf i know :D
08:55 mtompset kf, was just explaining the differences between itype and itemtype. :)
09:02 does it make sense that itype is filled in more than itemtype?
09:03 laurence1 joined #koha
09:04 mtompset I guess so when item-level_itypes is 'specific item', correct?
09:08 26?! When did that kernel version come out?
09:08 3.2.0.26 I believe is the full.
09:10 kf the last number references to database updates
09:11 mtompset So, if itype is set, kf,should itemtype be NULL or the same?
09:11 kf it can be the same or it can be something else
09:12 it should preferably not be NULL if you want to avoid the error logs filling up
09:12 mtompset the values you would expect in itype and itemtype come from the itemtypes table, correct?
09:15 I think the "Sponsor KohaCon12" needs to be updated now on the webpage. :)
09:16 rangi dude get some sleep, you are all over the place
09:16 mtompset Actually, "Sponsor KohaCon12" is just a few inches to the right, so it isn't all over the place.
09:18 I'll go to bed early tonight. :)
09:18 drojf i guess it includes the paypalobjects.com thing that my browser is blocking so i would not mind that to go away :)
09:19 kf we can ask liz to remove it nwo that kohacon is over
09:21 @later tell wizzyrea can you please remove the donation button for kohacon12 from the kc start page when you have time? thank you!
09:21 huginn kf: The operation succeeded.
09:21 drojf kf++
09:21 mtompset yes.
09:21 kf++
09:29 * mtompset waits for his "source db_backup.sql" to finish.
09:30 slef morning
09:30 drojf hi slef
09:30 mtompset Morning, slef.
09:30 Greetings, matts.
09:36 slef :( about kohacon10 website being down for good
09:39 mtompset It's not down for good, if you've cached it in your heart. :)
09:40 magnuse lol
09:42 drojf heh
09:47 * mtompset thinks "In The Shadows" by The Rasmus makes good "waiting for my db import" music.
09:50 eythian it's not even in the wayback machine :/
09:50 mtompset Probably cause there was a "Robots don't touch this" type file.
09:58 rangi https://gitorious.org/kohacon/[…].kohacon10.org.nz
10:02 mtompset rangi++
10:04 jcamins Morning.
10:04 wahanui morning is probably a state of mind. or whenever the cat wants breakfast.
10:04 magnuse kia ora jcamins
10:04 mtompset Greetings, kcamins.
10:05 jcamins.
10:05 wahanui jcamins is, like, A-Grade developper on Koha willing to rewrite it from top to bottom. Good Luck jcamins
10:11 * Waylon is djing guys, on www.subspace-radio.net if you guys want to listen in.
10:11 Waylon The voice of startrek online.
10:11 Chill music, 115 - 90 bpm.
10:12 mtompset What's that, Waylon?
10:13 Ah...
10:13 jcamins rangi: there is a problem with misc/cronjobs/check-url.pl in both 3.8 and 3.6.
10:13 mtompset Checking it out...
10:18 eythian hello jcamins
10:19 jenkins_koha Starting build #769 for job Koha_master (previous build: UNSTABLE -- last SUCCESS #767 3 days 17 hr ago)
10:19 sophie_m joined #koha
10:20 jcamins eythian: do you have libtest-unaccent-perl on the 3.8 apt repo?
10:20 eythian it's in debian I think
10:20 jcamins You're right.
10:20 That's not the package I meant to ask about.
10:20 I meant...
10:21 Template::Plugin::HtmlToText.
10:21 drojf template-plugin-htmltotext
10:21 heh
10:21 hi jcamins
10:21 jcamins At least one of us is awake right now. ;)
10:21 mtompset Template:: Plugin::HtmlToText (without the space)
10:23 eythian squeeze|main|i386: libtemplate-plugin-htmltotext-perl 0.03-1koha1
10:23 yes
10:23 huginn New commit(s) kohagit: Bug 8315 - fix 'C4::Output 3.02' errors in Koha <http://git.koha-community.org/[…]37363707423c6c110> / 7161 Followup for indentation openlibrary.js <http://git.koha-community.org/[…]75b70834b5b7327ba> / Bug-7161 Open Library - Larger image, Read, borrow and checked-out status <http://git.koha-community.org/gitweb/?p=k
10:23 jcamins Nifty, thanks. :)
10:25 mtompset Just finished the 3.6.3 db import.
10:25 Now to web install. :)
10:27 jcamins mtompset: you just have to run updatedatabase.
10:28 You won't be going through the entire webinstaller.
10:30 Waylon you liking, mtompset ?
10:32 drojf in an array of hashes, is there some fancy way to compare all values for a certain key of a hash for all elements of the array? like, there is the same $myhash{mykey}=myvalue in each element of the array and i would want to check if myvalue is the same for all entries. or do i have to walk though that using foreach? does that question make sense at all?
10:33 jcamins first question?
10:33 wahanui "What are you trying to do?"  "What is the goal?" or "What problem are you experiencing?"
10:34 mtompset just run updatedatabase?
10:35 drojf i want to check if the type of element is the same for all given 856 fields in a record. like, are they all "video" or "audio".
10:35 jcamins mtompset: when you try to log in to the staff client, it will do that for you.
10:35 Ah.
10:36 You could do something fancy with map, but I would just iterate through.
10:36 drojf :)
10:36 mtompset Need to finish the cron job setup, etc.
10:36 drojf ok
10:36 mtompset Then I'll try a staffclient.
10:46 * mtompset checking environment variables.
10:51 is tweaking apache configuration files.
10:52 jcamins mtompset: wouldn't it be better to make sure everything is working before doing too much tweaking?
10:53 drojf nah he can just install all from scratch if something goes wrong ;)
10:55 mtompset tweaking to get graphic browser access as compare to lynx.
10:55 jcamins mtompset: okay, that makes sense.
10:56 mtompset we have web installer page. YAY!
10:57 The git I cloned was 3.9?
10:57 clicking update your database.
10:58 It correctly identified 3.6.3 :)
10:58 eythian the current version is just a special syspref field
10:59 mtompset Ah, okay.
10:59 * mtompset likes the blinky lights. :)
11:00 wishes it would run faster.
11:00 mtompset I am going to have a patch posted before I go to bed tonight. :)
11:02 Wow... 56MB free? I made my VM have 768MB... I guess I really should have told it 1GB.
11:03 kf 1 gb is a bit small
11:03 drojf just start over
11:03 :P
11:03 kf well. it's too small really if you want to load test data
11:03 mtompset I already loaded data.
11:04 I suppose I'll be able to find the optimal size for this data set tonight with this VM.
11:04 jenkins_koha Starting build #75 for job Koha_3.8.x (previous build: SUCCESS)
11:07 mtompset Why is the git at 3.9, but the latest stable release is 3.8.2?
11:07 drojf because git is newer than the stable release i suppose?
11:07 rangi cos you didnt check out the 3.8.x branch
11:08 eythian yeah, if it wasn't you'd never have a stable release
11:09 mtompset git?
11:09 wahanui git is http://wiki.koha-community.org[…]Control_Using_Git
11:09 mtompset I was just following the instructions there.
11:09 "git clone git://git.koha-community.org/koha.git kohaclone"
11:09 "git clone git: //git.koha-community.org/koha.git kohaclone"
11:09 kf mtompset: if your goal was to do a dev install to make patches with, you are on the right branch
11:09 mtompset okay.
11:10 kf if you want a installation to use in production, you want to checkout the branch with the stable release
11:10 mtompset Just want to make sure.
11:10 what is the git clone for 3.8.X?
11:11 jcamins mtompset: you would do: git checkout -b 3.8.x origin/3.8.x
11:11 However, don't do that.
11:12 mtompset Shoot... Gateway Timeout on the DB update.
11:13 updatedatabase.pl is still running.
11:13 Okay... so, I'll wait for the updatedatabase.pl to finish.
11:13 Then try going back to the staff client.
11:14 jenkins_koha Yippie, build fixed!
11:14 Project Koha_master build #769: FIXED in 56 min: http://jenkins.koha-community.[…]/Koha_master/769/
11:14 * oleonard: Bug 8288 - showmarc.tt should not include full doc-head-close.inc
11:14 * matthias.meusburger: Bug 8279: CAS Debugging improvements
11:14 * jcamins: Bug 8205: Add OPACShowUnusedAuthorities syspref
11:14 * paul.poulain: Bug 8205 follow-up DBRev number
11:14 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8288 minor, P5 - low, ---, oleonard, Pushed to Stable , showmarc.tt should not include full doc-head-close.inc
11:14 jenkins_koha * colin.campbell: Bug 6939 DefaultClassificationSource should be default in 942
11:14 * kyle: Bug 8130 - attach PDF files to a patron record
11:14 * paul.poulain: Bug 8130 follow-up DBRev number
11:14 * nengard: Bug 8319: Update headings on Patron Statistics tab
11:14 * mtj: Bug 8313 - add ASHS to 'Koha team' page, for sponsorship of the 'star-ratings' feature
11:15 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8279 enhancement, P5 - low, ---, matthias.meusburger, Pushed to Master , CAS Debugging improvements
11:15 jenkins_koha * nengard: Bug 8321: Fix OPACShowBarcode description
11:15 * amit.gupta: Bug-7161 Open Library - Larger image, Read, borrow and checked-out status
11:15 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8205 enhancement, P5 - low, ---, jcamins, Pushed to Master , Should be possible to hide unused authorities in OPAC
11:15 jenkins_koha * m.de.rooy: 7161 Followup for indentation openlibrary.js
11:15 * mtj: Bug 8315 - fix 'C4::Output 3.02' errors in Koha
11:15 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6939 normal, P5 - low, ---, colin.campbell, Pushed to Stable , DefaultClassificationSource not used in 942$2
11:15 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8130 enhancement, P5 - low, ---, kyle.m.hall, Pushed to Master , attach PDF files to a patron record
11:15 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8319 enhancement, P5 - low, ---, nengard, Pushed to Master , headings on statistics tab are confusing
11:15 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8313 trivial, P5 - low, ---, nengard, Pushed to Stable , add ASHS to 'Koha team' page, for sponsorship of the 'star-ratings' feature
11:15 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8321 enhancement, P5 - low, ---, nengard, Pushed to Master , fix OPACShowBarcode description
11:15 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8315 major, P5 - low, ---, dpavlin, ASSIGNED , fix 'C4::Output 3.02' errors in Koha
11:16 kf build fixed - nice
11:16 magnuse \o/
11:24 mtompset okay... my web installer steps failed, but the db got updated.
11:24 Is there anything past step 3?
11:25 jcamins Nope.
11:25 That's it.
11:25 mtompset Okay... I seem to be in...
11:25 jcamins Now you log into the staff client.
11:26 mtompset Okay... I guess that means I can attempt a patch now?
11:28 pulled up my bugs list.
11:30 kf there are instructionson the wiki
11:30 mtompset I figured I should do a 'git pull' first.
11:30 kf remember to never make changes on your master branch, create a new branch
11:30 yes, paul pushed new things today
11:31 mtompset Trying to see what the Version Control Using Git page says...
11:32 jcamins mtompset: http://www.myacpl.org/koha/?p=558
11:34 jwagner joined #koha
11:34 mtompset So you branch for each bug fix?
11:35 jcamins Yes.
11:36 I have 146 branches in my development repo.
11:36 Probably due for some cleaning.
11:36 I deleted 70 a few months ago.
11:36 mtompset Okay... makes sense... but how do you switch the main branch?
11:36 jcamins git checkout -b whatever origin/master
11:36 mtompset Because obviously you'll want to keep doing git pulls.
11:36 jcamins That creates a branch called whatever.
11:37 Then you download the latest version of the code with git fetch origin
11:37 And when you want to make sure that the code you're working on applies on latest master, you do git rebase origin/master
11:37 mtompset so once you create a branch you git rebase?
11:38 jcamins No, when you create a branch it has the newest version of code.
11:38 It's *later* when master has been updated further that you need to do the git fetch origin && git rebase origin/master
11:38 nengard joined #koha
11:39 mtompset okay... so let's say I got this running yesterday.
11:39 jcamins You know how using IE used to really suck?
11:39 It still does.
11:39 mtompset there's stuff being git pulled down now.
11:39 If I did a patch yesterbase....
11:39 yesterday...
11:39 jcamins I think you're using the wrong terminology.
11:39 A "pull" is what you, as someone developing against master does.
11:40 mtompset yes.
11:40 jcamins What paul_p does as release manager is "push."
11:40 So let's say you started development yesterday.
11:40 mtompset I don't care about pushing.
11:40 jcamins Right.
11:40 mtompset I'm worried about pulling right now
11:40 I have kohaclone
11:40 jcamins Since then, paul_p pushed some changes.
11:41 mtompset I branch.
11:41 jcamins You want to update your code.
11:41 mtompset paul pushs.
11:41 I branch again.
11:41 jcamins No.
11:41 No additional branching.
11:41 mtompset Yes... a branch for each bug fix.
11:41 jcamins Oh, I thought we were talking about one bug fix.
11:41 mtompset no...
11:41 jcamins That is correct. One branch for each fix.
11:42 mtompset last year kohaclone
11:42 yesterday git pull
11:42 branch bug A
11:42 generate patch blah blah
11:42 branch bug B today.
11:42 rebase branch B?
11:43 jcamins Before you create the branch for bug B, you should do "git fetch origin."
11:43 Then it will be up-to-date as soon as you check it out.
11:43 mtompset but what does that mean for branch A?
11:43 what happens to the patch I just did?
11:43 jcamins Branch A is now a little behind the times.
11:44 When you go back to working on bug A, you're going to do "git rebase origin/master"
11:44 This will update branch A to the latest master, and try to stick your patch on at the end of it.
11:44 If there is a conflict, it will tell you and you'll be given the opportunity to fix it.
11:46 mtompset Ah so rebasing is an attempt make current but keep your patch.
11:47 jcamins Right.
11:47 mtompset but only in that branch.
11:47 jcamins Right.
11:48 mtompset how do you switch branches?
11:48 jcamins git checkout branchname
11:50 mtompset what if the branchname doesn't exist?
11:50 Typos happen.
11:51 eythian try it and find out :)
11:51 kf you can see your branches with git branch
11:51 and tab complete works too
11:52 eythian also, it'll say that it can't do that
11:52 mtompset git branch -r lists a WHOLE bunch of branchs.
11:52 eythian that's because there's a lot
11:52 mtompset So, I've done my git pull.
11:52 My kohaclone is current.
11:52 git pull would blow away my patches in a branch, right?
11:53 jcamins No.
11:53 eythian nope
11:53 git tries hard to never lose your work
11:53 in this case, it'll merge it in
11:53 jcamins It takes real work to remove patches.
11:53 Oh, drat.
11:53 * jcamins finds a syntax error in his Javascript.
11:54 jcamins kf: bug 2060 will be ready for sign off in a few minutes...
11:54 kf will you be around tomorrow?
11:56 jcamins Chances are good.
11:56 It's an easy sign off, though.
11:57 Ugh.
11:57 Apparently the rebase resulted in the manage staged records not showing up right, either.
11:57 mtompset dumb question... which file do I fix? ./blib/INTRANET_CGI_DIR/members/moremember.pl ./members/moremember.pl?
11:58 jcamins members/moremember.pl
11:58 blib was created by make.
11:58 mtompset right.
11:58 Okay.
12:00 jenkins_koha Project Koha_3.8.x build #75: SUCCESS in 56 min: http://jenkins.koha-community.[…]ob/Koha_3.8.x/75/
12:00 * oleonard: Bug 8288 - showmarc.tt should not include full doc-head-close.inc
12:00 * colin.campbell: Bug 6939 DefaultClassificationSource should be default in 942
12:00 Starting build #76 for job Koha_3.8.x (previous build: SUCCESS)
12:03 mtompset That was a surprise... I forgot about doing a git pull while using the staff client... I was transported to a DB update screen.
12:04 jcamins Right, it will automatically detect when your database is out of date.
12:09 mtompset Okay... confirmed the bug is still in latest version.
12:10 Now to save my tiny change.
12:11 Okay... I have fixed the file... next step... let's see...
12:12 eythian git add <file>, git commit
12:12 http://wiki.koha-community.org[…]_bz_configuration <-- I also strongly recommend setting this up
12:14 mtompset AAAAA! Nano editor. I don't know how to use it.
12:16 jcamins mtompset: you can change your editor with export EDITOR=vim
12:17 Or, you know, that other one.
12:17 mtompset That one shall not be named! GAH!
12:17 hdl joined #koha
12:19 eythian mtompset: nano tells you how to use it
12:19 the key list is at the bottom of the screen
12:20 mtompset I don't like it. I know vi well enough.
12:20 eythian despite that, my commits on new machines always end up with ZZ at the bottom.
12:20 mtompset Some of my config files are being listed as changed.
12:20 How do I get git to ignore them?
12:21 jcamins mtompset: none of the config files you are using should be controlled by git.
12:21 paul_p mtompset = create .gitignore file
12:21 jcamins No, don't do that.
12:21 eythian no bad
12:21 bad paul_p, bad :)
12:21 mtompset but I don't want ../etc/... included.
12:21 jcamins paul_p: mtompset just started using git, and didn't know not to edit those config files.
12:21 paul_p eythian ? why ?
12:22 jcamins ah, OK
12:22 jcamins paul_p: the files he edited are the ones in kohaclone/etc
12:22 mtompset: the configuration files used by your installation are the ones in koha-dev/etc
12:22 eythian also, if you make a .gitignore, it ends up getting committed
12:22 * jcamins didn't know that.
12:22 jcamins However, the wrong files were edited.
12:23 paul_p eythian ??? I have a .gitignore to itnore *.*~ or things like that in the list of untracked files
12:23 jcamins mtompset: see what changes you made with "git diff"
12:23 paul_p (and I told .gitignore to ignore .gitignore ;-) )
12:23 eythian ahh
12:23 that'll work then :)
12:23 magnuse there also .git/info/exclude...
12:23 eythian I think there's a "proper" way of doing it
12:23 yes, that's the way
12:24 mtompset http://mibpaste.com/qw7Eb3
12:24 That's a sample difference.
12:24 * paul_p is on bug 6557 and will probably push it soon...
12:24 jcamins paul_p++
12:24 eythian mtompset: don't commit that
12:24 mtompset duh! I know that.
12:24 eythian :)
12:24 jcamins mtompset: what did you do?
12:25 mtompset Nothing.
12:25 jcamins I mean, I don't see how you could end up with files that looked like that.
12:25 mtompset I did an INSTALL.
12:25 jcamins Did you copy files from koha-dev to kohaclone?
12:25 mtompset the perl script relabels.
12:25 jcamins Not in place.
12:25 eythian I suspect you didn't provide another directory for put the config files into, or something
12:25 *to put
12:25 jcamins eythian: but it's installed to koha-dev by default...
12:25 mtompset obviously not.
12:26 I did a git clone.
12:26 and then perl make, make, make test, make install inside the kohaclone.
12:26 jcamins mtompset: no, really, when you ran the installer it suggested koha-dev as the default.
12:26 kf paul_p: did the same with my gitignore heh
12:26 mtompset the web installer?!
12:26 It jumped immediately to step 3.
12:27 eythian no, the make
12:27 * paul_p also impatient to see bug 7167 pushed, because he's tired of editing updatedatabase everytime there is a DB update...
12:27 jcamins No, with make.
12:27 paul_p: hehe. Me too.
12:27 mtompset okay...
12:27 Let's clean this up.
12:27 paul_p jcamins = if you could take a few minuts to signoff again the 7167, that would be nice (because jonathan updated it to fix QA comments)
12:27 mtompset How do I delete a branch, and just git pull?
12:28 I'll do the reinstall over.
12:28 * magnuse uses .git/info/exclude by default, except for things like config files in new projects
12:28 jcamins paul_p: I can't do it right now, since I have to leave in five minutes, but I will as soon as I can, if no one beats me.
12:28 eythian mtompset: you probably don't need to delete a branch
12:29 mtompset I'd feel more comfortable doing that.
12:29 eythian and I'm not sure what "just git pull" means.
12:29 mtompset My change is very trivial.
12:29 make it like a fresh git clone.
12:29 eythian git branch -D branchname will delete a branch
12:29 mtompset git rebase?
12:29 eythian git rebase will not delete a branch
12:30 kf you can also do git reset --hard HEAD^ that will undo the last commit
12:30 and throw away your changes
12:31 jcamins In this case, you just need git reset --hard
12:31 That will remove all the changes you haven't committed.
12:31 eythian the branch, however, will still be there and so it won't be like a fresh git clone.
12:31 (it'll just point to a previous place.
12:31 )
12:32 mtompset I deleted the branch.
12:32 I only have master.
12:32 So...
12:33 git checkout master
12:33 git branch -D bug_7630
12:33 git reset --hard
12:33 eythian you don't need to reset
12:33 (assuming you haven't changed master)
12:33 mtompset I did the install process in master.
12:34 that's the problem.
12:34 eythian that doesn't matter
12:34 jcamins eythian: no, the git reset --hard is necessary because the configuration was installed to kohaclone rather than koha-dev.
12:34 eythian ohh
12:34 mtompset right.
12:34 eythian yeah, my bad
12:34 jcamins I think.
12:34 eythian doing two things at once.
12:34 * jcamins too.
12:34 mtompset so it should say something like koha-dev in the perl Makefile.PL step?
12:34 jcamins And, I need to be leaving right now.
12:35 mtompset: right.
12:35 mtompset there it is.
12:36 kf mtompset: it will suggest paths, just ok them
12:36 eythian but read them first so you know what you're looking at :)
12:37 kf right :)
12:37 mtompset I think I changed the dev not understanding why it was what it was.
12:37 kf reading first is always a good plan
12:39 mtompset I was so close to my first patch!
12:41 kf you still are
12:41 and when you have done it once, second time will be a lot easier
12:41 mtompset Not with the speed of my VM. :)
12:51 jenkins_koha Project Koha_3.8.x build #76: SUCCESS in 50 min: http://jenkins.koha-community.[…]ob/Koha_3.8.x/76/
12:51 mtj: Bug 8313 - add ASHS to 'Koha team' page, for sponsorship of the 'star-ratings' feature
12:51 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8313 trivial, P5 - low, ---, nengard, Pushed to Stable , add ASHS to 'Koha team' page, for sponsorship of the 'star-ratings' feature
12:51 mtompset at the make test stage. (running it just for proper processing)
12:56 tcohen joined #koha
13:02 mtompset hopefully this is the correct make install.
13:12 Now to correct the softlinks.
13:17 drojf is there a way to sort the sysprefs for my patch other than the default (alphabetically)? looks kind of stupid to have the syspref to turn the thing on in between other parameters instead of on top of all
13:17 kf drojf: first question?
13:17 wahanui "What are you trying to do?"  "What is the goal?" or "What problem are you experiencing?"
13:18 kf are you creating more than one syspref that belong together?
13:18 drojf well, what i said basically. i have syspref a, b and c
13:18 yes
13:18 kf hm
13:18 drojf but b is the one to turn all on
13:18 kf maybe: name them so they sort correctly or introduce a new subheading in the yaml file
13:18 hm but that won't fix the sorting
13:19 I thought they sorted like listed in the file, but I never checked it
13:19 drojf no they dont :( i thought so too
13:19 renaming the sysprefs means changing the db also :(
13:22 kf hm what are the names of your prefs?
13:25 oh
13:25 you could perhaps group them
13:26 drojf: let me try and find an example?
13:27 drojf: look at the syntax for AltenrateHoldingsField maybe?
13:27 and if you have a separate syspref to turn it on and others, maybe leaving some empty might work to turn off?
13:28 z3950NormalizeAuthor is another example
13:29 * mtompset cries, "Why?! Oh why?!"
13:29 mtompset Something somewhere still thinks it isn't kohaclone.
13:30 kf ?
13:30 if you could give more informatoin
13:30 we could try to help you
13:30 and there are files outside of kohaclone
13:30 mtompset did the perl makefile, make, make test, make install.
13:30 there are koha-dev files.
13:30 kf yes
13:30 drojf kf: thanks, the grouping should do
13:30 kf you shoudl end up with 2 directories
13:30 mtompset BUT... something is still pointing to kohaclone.
13:31 kf 1 lives under git, the other does not
13:31 can you specify something?
13:32 mtompset I can't get to the staff client, because has the _DB_HOST_ stuff.
13:33 I restarted apache... works now.
13:33 * mtompset sighs a big sigh of relief.
13:34 mtompset AH! ... let me check... I probably missed a softlink.
13:35 nope... just failed to restart to point it to the right place.
13:35 git diff shows nothing.
13:35 kf that's good
13:35 mtompset YES!
13:35 kf it should work
13:35 using the files from the koha-dev directory
13:35 ok, time to start the weekend :) bye all!
13:36 kf left #koha
13:36 mtompset Enjoy your weekend... I just want to get a patch.
13:38 Okay... confirmed error.
13:38 patron search..
13:41 maximep joined #koha
13:42 mtompset oh shoot!
13:42 I forgot to create the branch.
13:45 whew! changing it back gives a blank git diff.
13:48 NateC joined #koha
13:57 mtompset Okay... so, I do I post the patch as an attachment to bugzilla?
13:58 paul_p bug 6557 pushed, but some work still needed...
13:58 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6557 normal, P3, ---, jcamins, Pushed to Master , biblioitems.totalissues unused
14:04 mtompset I think I got it.
14:14 Hi, matts.
14:14 YAY! I generated my first patch.
14:20 cait joined #koha
14:23 drojf mtompset: congratulations
14:31 cait left #koha
14:32 salsa joined #koha
14:32 JesseM joined #koha
14:33 mtompset And I've generated a second...
14:33 And I'm working on my third.
14:38 magnuse mtompset++
14:39 mtompset I want my bugs to get pushed and closed!
14:39 It's not like these are HUGE!
14:39 a simple \ was the fix for one of them.
14:40 slef yengh... what's the code for the serial claims notice? I need it to test something
14:41 claimissues?
14:42 might be CLAIM ISSUE
14:42 hrm
14:42 ah no I see
14:42 it's module "claim serial issue" not module "serial"
14:43 I think I'll have to test this on a live server :-/
14:43 * slef wanders off, muttering into his beard
14:44 gaetan_B joined #koha
14:58 mtompset Three patches, jcamins. :)
14:58 jcamins mtompset: well done!
14:59 Did you mark them "needs signoff"?
15:00 mtompset I attached them to the bug reports.
15:00 Should have I changed the status?
15:00 I'm the reporter.
15:00 jcamins You'll need to change the status of each of those bugs to "Needs signoff," or no one will know to look at them.
15:00 Yeah, you're saying "there's a patch that needs to be tested."
15:01 Anyone can do that. :)
15:02 eythian wahanui: bug workflow is <reply>http://wiki.koha-community.org[…]nt-patch_Workflow
15:02 wahanui ...but bug workflow is http://wiki.koha-community.org[…]nt-patch_Workflow...
15:02 eythian oh right
15:02 wahanui: as you were then
15:02 wahanui eythian: sorry...
15:02 jcamins bug workflow?
15:02 wahanui i heard bug workflow was http://wiki.koha-community.org[…]nt-patch_Workflow
15:02 jcamins ^^ see that page
15:03 mtompset Okay,,, what if one of the bugs I think is a duplicate?
15:03 eythian then you can use the "duplicate" status
15:03 mtompset but duplicate puts it to RESOLVED.
15:04 I don't like that.
15:04 jcamins Yes, RESOLVED/DUPLICATE.
15:04 That's what it is.
15:04 It's a duplicate.
15:04 eythian it's saying "this one is resolved so ignore it, look over there for the real happenings"
15:05 reiveune bye
15:05 reiveune left #koha
15:05 eythian "resolved" doesn't mean "fixed", "fixed" means that :)
15:07 jwagner joined #koha
15:10 mtompset okay...
15:10 I was thinking...
15:10 what's your take on line 264 of catalogue/details.pl
15:11 if ($item->{'materials'} ne ''){
15:11 eythian it might be worth putting a sample into a pastbin
15:11 oh
15:11 that could be made nicer
15:11 jcamins That's... awful.
15:11 eythian by dropping off the ne ''
15:11 mtompset I was thinking no need for ne.
15:11 jcamins Yup.
15:11 I agree.
15:11 mtompset Okay... that will be my patch.
15:12 eythian it'll also improve error handling in corner cases that'll probably never come up anyway
15:12 jcamins And remove a warning.
15:13 mtompset bug 8175
15:13 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8175 normal, P5 - low, ---, gmcharlt, NEW , Missing defined check in catalogue/details.pl
15:13 mtompset Okay... I thought of adding defined... but I realized a drop the ne is better.
15:14 eythian yeah
15:19 mtompset bug 8200
15:20 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8200 trivial, P5 - low, ---, gmcharlt, NEW , /home/chris/git/koha.git in /usr/share/koha/misc/translator/update.pl
15:20 mtompset Wasn't someone saying update.pl is old?
15:20 jcamins I think it might be.
15:22 mtompset I already quoted you in the comment I put. :)
15:23 Well, that means that bug and bug 8192 are the only one's of mine outstanding.
15:23 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8192 enhancement, P5 - low, ---, gmcharlt, NEW , Update libraries and Missing library in install_misc/ubuntu.packages
15:26 mtompset Oh, and since I think you changed the status of bug 6840 jcamins, perhaps you could read through the commentary and decide if it really needs to be assigned at all.
15:26 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6840 minor, PATCH-Sent (DO NOT USE), ---, paul.poulain, ASSIGNED , error in Template.pm in logs
15:26 mtompset The code is already live.
15:26 I think Fred P was confused.
15:27 bug 7630 deals with his issues, I think.
15:27 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7630 minor, P5 - low, ---, kyle.m.hall, Needs Signoff , Warning on moremember.pl about param without key
15:27 mtompset And now... after that most excellent coding run...
15:27 jcamins The patch for bug 7630 hasn't been pushed yet.
15:28 mtompset I know. I just did it. :P
15:28 jcamins Right, therefore, bug 6840 should not be closed yet.
15:29 You should change the assignment on that bug to you, and then once 7630 is closed, we can test it, and close both.
15:29 mtompset but the code for 6840 is already live.
15:29 jcamins Oh, you're saying the code that fixes 6840 is already in master?
15:29 mtompset YES.
15:29 jcamins Okay.
15:29 * jcamins was confused.
15:29 paul_p time to go back home. see you on monday guys !
15:29 mtompset Au revoir, paul_p.
15:30 jcamins If the error isn't appearing anymore, you should go ahead and close the bug with a message something along the lines of "working in latest master."
15:30 mtompset Okay... let me try...
15:30 There is an error...
15:30 alex_a left #koha
15:30 mtompset generated by that patch, intentionally to prevent a NASTY error.
15:31 i.e. a warn statement versus bad code.
15:32 I think I documented some other cases on bug 7352.
15:32 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7352 normal, P5 - low, ---, kyle.m.hall, RESOLVED DUPLICATE, moremember.pl generates error in Template.pm related to missing $key value
15:33 jcamins Got it.
15:33 Actually, there's an easier way to fix this problem in the future:
15:33 coding guidelines?
15:33 wahanui coding guidelines are http://wiki.koha-community.org[…]Coding_Guidelines
15:33 jcamins Actually, it might not be there.
15:33 @quote search typo
15:33 huginn jcamins: 2 found: #135: "rangi: $tempate->{VARS}->{'LoginBranchname'} -..." and #82: "<pianohack> nengard: If you were using a..."
15:34 jcamins @quote get 135
15:34 huginn jcamins: Quote #135: "rangi: $tempate->{VARS}->{'LoginBranchname'} - without the typo" (added by cait at 07:30 PM, May 20, 2011)
15:34 jenkins_koha Starting build #770 for job Koha_master (previous build: FIXED)
15:34 jcamins ^^ you can use that instead of the params(key => $value) if $value;
15:34 mtompset you mean $key=> value if $key.
15:34 jcamins However, yes, you should go ahead and close the bug report you just asked about, because it is working now even without your patch.
15:35 Yes.
15:35 That's what I mean.
15:35 Wait... that's not what the example was.
15:35 * jcamins is frazzled... he has an unusable shower which he only just found out does not have to be replaced.
15:35 huginn New commit(s) kohagit: Revert "Bug 7444: Update circ/circulation.pl to use KohaDates TT Plugin" <http://git.koha-community.org/[…]66e9c822522f49a72> / bug 6350 (history.txt) fixing typo <http://git.koha-community.org/[…]953859eb8836c7698> / Bug 6350 : Updating history <http://git.koha-community.org/[…]itdiff;h=2d3c51e1
15:36 jcamins (this is good news... up until five minutes ago I thought we were going to be remodeling the bathroom)
15:36 brylie joined #koha
15:37 mtompset I'll just leave it then.
15:37 It's 11:37pm here. I should have gone to bed earlier.
15:37 jcamins Yes, you should've.
15:37 mtompset But you can't stop a good coding run.
15:37 jcamins lol
15:37 I must give it to you, that was impressive.
15:38 mtompset And now, I can submit patches with bug reports in the future. :)
15:38 jcamins Yup.
15:39 mtompset I should probably do a diff -r against 3.6.3 and our 3.6.3 to see if I made any other changes I forgot to bug report.
15:39 jcamins That would be a good idea.
15:39 mtompset But one thing I really want to change is the staff client "login" div AFTER login.
15:40 I want to lay out my login screen custom.
15:40 jcamins You don't need to patch the code for that.
15:40 mtompset So, I don't want it messing up my menu bar at the top.
15:40 jcamins You should just use CSS.
15:41 mtompset How do you distinguish between login and login?!
15:41 that's the CSS.
15:41 jcamins Okay, a patch will be required to change one of those ids.
15:41 mtompset exactly.
15:41 jcamins *Then* you do the styling with CSS.
15:41 :)
15:41 mtompset YES!
15:41 eythian having two ids the same is doubleplusungood anyway
15:42 jcamins eythian: it's really bizarre having you in this time zone.
15:42 mtompset That's probably something I'll submit next week.
15:42 Waylon what the.... sysadmin writes back.. latest koha version is 4.10?!
15:42 mtompset What timezone is he normally in?
15:42 jcamins Waylon: no, it isn't. That LibLime's fork.
15:43 mtompset: New Zealand's.
15:43 mtompset So why is a NZ in the US?
15:43 jcamins He's in Europe, actually. Visiting satellite offices, I think. :)
15:44 mtompset Ah.
15:44 eythian Yeah, it's summer in Europe, winter at home.
15:44 mtompset anyways... good day (24 hour period)
15:44 Thanks for the help and feedback guys.
15:44 eythian later
15:44 jcamins Good night.
15:45 slef bug 7717 and bug 7494 and bug 6460 and bug 7613
15:45 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7717 enhancement, P3, ---, mjr, ASSIGNED , Multiple Identical Holds
15:45 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7494 enhancement, P5 - low, ---, mjr, In Discussion , Use partial barcode or callnumber as a fallback for the barcode search in checkout
15:45 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6460 normal, PATCH-Sent (DO NOT USE), ---, januszop, RESOLVED FIXED, No log generated if Action set to All or Modify or Delete
15:45 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7613 enhancement, P5 - low, ---, ruth, Needs Signoff , OCLC Connexion Gateway, including extension svc/import_bib
15:45 Waylon okay, so sysadmin wants to bare metal the koha servers, no xcp.
15:46 slef xcp?
15:46 * Waylon cringes.
15:46 Waylon XCP, Xen Cloud Platform.
15:46 VM host
15:46 drojf Waylon: going from pre 3.0 with lots of local changes to liblime fork would be ironic ;)
15:46 eythian it would be terrible :)
15:46 * jcamins doesn't know what xcp is, but as long as you are working on Koha and not LibLime's fork you should... survive, anyway.
15:46 slef didn't KVM beat Xen yet? ;)
15:46 jcamins eythian: terribly ironic, even..
15:46 Waylon i swear, if they move to liblimes branch, i quit working for them.
15:47 drojf they just googled koha :(
15:47 eythian I was talking to a maybe-client who said he had done a bit of digging around about Koha, and couldn't see much sign of documentation or community or anything.
15:47 Then I showed him the proper website
15:47 jcamins Waylon: if they do want to go with LibLime's Koha, jwagner can probably put them in touch with the sales people.
15:47 eythian It was like a whole new world.
15:48 Waylon "Debian squeeze 64 bit is the most common Koha OS, the most supported." yes?
15:48 eythian yeah
15:48 it's what I deploy on
15:48 jcamins slef: you should sign off on bug 7613. I would like to, but couldn't get Connexion to start.
15:48 slef 7613 is in master now isn't it?
15:49 jcamins slef: not the follow-up.
15:49 slef: it doesn't actually work with Connexion client.
15:49 slef jcamins: I'd need to wait for an OCLC-using client to report back again :-/
15:50 jcamins slef: if I ever have a Windows installation that works, I'll try again.
15:52 It may one day come to the point where I actually have to buy the MSDN OS collection (ugh!), but we're putting that off as long as possible.
15:57 melia joined #koha
16:00 talljoy joined #koha
16:05 salsa left #koha
16:09 laurence1 left #koha
16:11 gaetan_B bye !
16:23 jwagner cfouts, one other pivotal that came back up -- can you take a look at https://www.pivotaltracker.com[…]ry/show/22673905?
16:23 It's sporadic and not reproducible, but it's too much to be user error or a stuck keyboard
16:23 sorry, wrong screen :-(
16:23 jenkins_koha Project Koha_master build #770: SUCCESS in 49 min: http://jenkins.koha-community.[…]/Koha_master/770/
16:23 * jcamins: Bug 6557: Record bib popularity in totalissues
16:23 * paul.poulain: Bug 6557 follow-up DBRev number
16:24 * paul.poulain: Bug 6557 follow-up UNIMARC 942$0 in default french frameworks
16:24 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6557 normal, P3, ---, jcamins, Pushed to Master , biblioitems.totalissues unused
16:24 jenkins_koha * jcamins: Bug 8311: Fix scoping error in C4::Auth
16:24 * semarie-koha: Bug 3280 Restrict Send basket feature
16:24 * paul.poulain: Bug 8318: Update StatisticsFields preference language
16:24 * jonathan.druart: Bug 8217: Followup: move code to the document.ready function
16:24 * Chris Cormack: Bug 6350 : Updating history
16:24 * paul.poulain: bug 6350 (history.txt) fixing typo
16:24 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8311 normal, P5 - low, ---, jcamins, Pushed to Master , Mis-scoped function call in C4::Auth
16:24 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=3280 normal, P3, ---, semarie-koha, Pushed to Master , opac/opac-sendbasket.pl security leaky
16:24 jenkins_koha * paul.poulain: Revert "Bug 7444: Update circ/circulation.pl to use KohaDates TT Plugin"
16:24 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8318 minor, P5 - low, ---, nengard, Pushed to Master , update StatisticsFields description
16:24 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8217 minor, P5 - low, ---, jonathan.druart, Pushed to Master , Focus on search box in Detail page (staff search)
16:24 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6350 trivial, P5 - low, ---, nengard, Pushed to Master , Bug for tracking updates to the history file
16:24 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7444 enhancement, P5 - low, ---, koha.sekjal, Pushed to Master , Use T::T date plugin to display dates omnibus
16:32 * jcamins considers adding another section to the administration module.
16:50 slef @query zebra-biblios-dom.cfg
16:50 huginn slef: 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7818 critical, P1 - high, ---, robin, Needs Signoff , support DOM mode for Zebra indexing of bibliographic records
16:51 jcamins slef: that's the patch for making packages cope with the DOM indexing.
16:51 slef jcamins: and presuably why packages of 3.8.x aren't building at the moment?
16:52 jcamins Right.
16:52 * slef reviews
17:05 mveron joined #koha
17:07 mveron joined #koha
17:08 Ccorrales joined #koha
17:08 mveron Hi #koha
17:13 nengard MT 2763 can anyone think of why suppression wouldn't be working?
17:13 oops - wrong window :) hehe
17:20 Ccorrales joined #koha
17:22 jcamins nengard: Zebra config wasn't updated?
17:23 nengard hehe
17:23 Yeah, that's what we're thinking
17:23 jcamins It's easy to overlook when using dev installs.
17:23 (and this is why using dev installs in production is a bad idea!)
17:29 * mveron ponders if someone can stumble oveer soething that does not exist?
17:29 stumbled over missing file PR.png, see Bug 8335
17:29 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8335 minor, P5 - low, ---, oleonard, NEW , Missing Icon PR.png or typo in MARC21slim2OPACDetail.xsl
17:30 jcamins What does PR stand for?
17:30 Periodical?
17:30 mveron Do not know...
17:31 slef aren't periodicals CR for Continuing Resource?
17:31 jcamins slef: yes.
17:33 Some sort of music.
17:33 Not sure what PR would stand for.
17:34 Maybe jwagner or cait would know... I seem to recall them both talking about sheet music at some point.
17:34 slef test="$leader6='c' or $leader6='d'"
17:34 @marc leader
17:34 huginn slef: unknown tag leader
17:34 slef @marc LDR
17:34 huginn slef: unknown tag LDR
17:34 jcamins @marc ldr
17:34 huginn jcamins: unknown tag ldr
17:34 slef marc21?
17:34 wahanui marc21 is at http://www.loc.gov/marc/biblio[…]hic/ecbdlist.html , http://www.loc.gov/marc/authority/ecadlist.html
17:34 jcamins @marc 000
17:34 huginn jcamins: unknown tag 000
17:35 slef c - Notated music
17:35 d - Manuscript notated music
17:35 jcamins Yeah... something to do with sheet music.
17:36 * jwagner perks up ears
17:36 jwagner I show that combo labelled Score
17:37 jcamins jwagner: that seems a very logical thing to call it. I wonder where PR came from, and what happened to that file.
17:37 slef MU.png looks like closest we have
17:38 unless we go with AR.png
17:38 jcamins slef: maybe PR.png was deleted recently?
17:38 slef MU is a speaker, AR is a little book
17:38 jcamins bgkriegel specifically added PR.
17:39 Which makes me think there must have been a PR.png at that time.
17:39 slef jcamins: searching...
17:39 wahanui i guess searching is not working
17:39 slef Pattern not found
17:40 drojf is it safe to assume that when a cataloguer uses 856$u, s/he would include a possible user/password string right into that url and not (only) into subfields h/l and k?
17:40 jcamins drojf: with catalogers, there are no safe assumptions. ;)
17:40 slef: yeah, I don't see any sign of it either.
17:40 drojf i knew that would be the answer :D
17:42 slef jcamins: check out the date bgkriegel added it and see if it existed in the tree at that time?
17:42 * jwagner dives back into OPAC customizations :-(
17:43 slef jcamins: looks like an error to me...
17:44 drojf is it maybe more safe to assume that when using 856 subfields a, d, f AND subfield u, the url in $u and the url i can construct from ind.1+ a + d + f would be the same?
17:45 well, it is now, and i call it drojfs law
17:45 jcamins slef: agreed.
17:45 drojf: good law. :)
17:45 drojf :)
17:47 slef or see if you can see one from http://famfamfam.com/lab/icons/ to use
17:47 biab
17:47 bbl
17:47 jcamins mveron: pick your favorite score-y icon from http://famfamfam.com/lab/icons/ :)
17:48 drojf heh
17:48 mveron jcamins: OK, will do...  :-)  It is about music notes on paper, yes?
17:48 jcamins mveron: yup.
17:51 cait joined #koha
17:52 * jcamins waves enthusiastically to cait, and comments on just how incredibly cool bug 2060 is. :)
17:52 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=2060 enhancement, P3, ---, jcamins, Needs Signoff , Ability to import Authorities from Staff Client
17:53 jcamins :D
17:57 cait I am sure it is
17:58 jcamins So is IT law.
18:23 SJeffery joined #koha
18:25 mveron Bug 8335 done, using file music.png form http://famfamfam.com/lab/icons/
18:25 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8335 minor, P5 - low, ---, oleonard, NEW , Missing Icon PR.png or typo in MARC21slim2OPACDetail.xsl
18:25 jcamins mveron++
18:25 cait mveron++ indeed :)
18:25 mveron Thanks :-)
18:28 chris_n @wunder 28334
18:28 huginn chris_n: The current temperature in Erwin, North Carolina is 39.0°C (2:15 PM EDT on June 29, 2012). Conditions: Clear. Humidity: 31%. Dew Point: 19.0°C. Pressure: 29.81 in 1009 hPa (Falling). Heat advisory in effect until 6 am EDT Saturday...
18:28 mveron @wunder Allschwil
18:28 huginn mveron: The current temperature in Basel, Basel, Switzerland is 30.7°C (8:25 PM CEST on June 29, 2012). Conditions: Partly Cloudy. Humidity: 48%. Dew Point: 18.0°C. Pressure: 29.86 in 1011 hPa (Steady).
18:29 nengard @wunder 19030
18:29 * chris_n cracks a few eggs on the sidewalk
18:29 huginn nengard: The current temperature in Highland Park, Levittown, Pennsylvania is 37.8°C (2:29 PM EDT on June 29, 2012). Conditions: Clear. Humidity: 41%. Dew Point: 22.0°C. Pressure: 29.68 in 1005 hPa (Falling). Excessive heat warning in effect until 8 PM EDT Sunday...
18:29 nengard :(
18:29 jcamins @wunder 11375
18:29 huginn jcamins: The current temperature in APRSWXNET Jackson Heights NY US, Corona, New York is 33.9°C (2:02 PM EDT on June 29, 2012). Conditions: Partly Cloudy. Humidity: 47%. Dew Point: 21.0°C. Pressure: 29.65 in 1004 hPa (Falling). Heat advisory in effect until 7 PM EDT this evening...
18:29 drojf @wunder berlin, germany
18:29 nengard guess the heat is going south :)
18:29 huginn drojf: The current temperature in Berlin Pankow, Weissensee, Germany is 29.2°C (8:29 PM CEST on June 29, 2012). Conditions: Clear. Humidity: 49%. Dew Point: 17.0°C. Pressure: 29.80 in 1009 hPa (Rising).
18:30 * mveron needs some Ice Cream
18:30 * nengard had some already
18:30 nengard :)
18:30 mveron :-)
18:30 * drojf needs to put some scottish ale in the fridge
18:30 chris_n its supposed to be ~41*C here tomorrow and Sunday
18:31 nengard negative?
18:31 jcamins Yikes.
18:31 It's plenty hot here.
18:33 cait @wunder Konstanz
18:33 huginn cait: The current temperature in Taegerwilen, Taegerwilen, Germany is 26.9°C (8:30 PM CEST on June 29, 2012). Conditions: Clear. Humidity: 71%. Dew Point: 21.0°C. Pressure: 29.83 in 1010 hPa (Steady).
18:33 cait feels much warmer out there
18:33 SJeffery @wunder 85705
18:33 huginn SJeffery: The current temperature in Ironwood Hill/Grannen Rd., Tucson, Arizona is 38.7°C (11:30 AM MST on June 29, 2012). Conditions: Clear. Humidity: 20%. Dew Point: 12.0°C. Pressure: 29.82 in 1010 hPa (Falling).
18:33 SJeffery It is supposed to be 110 here today:(
18:34 jcamins @wunder lawrence, ks
18:34 huginn jcamins: The current temperature in Channel 6 Downtown, Lawrence, Kansas is 37.1°C (1:33 PM CDT on June 29, 2012). Conditions: Haze. Humidity: 33%. Dew Point: 18.0°C. Pressure: 29.86 in 1011 hPa (Falling). Excessive heat warning in effect until 8 PM CDT this evening...
18:34 * jcamins will keep the 34degree weather.
18:34 SJeffery Lol, you get to my temps and it is an "excessive heat warning", but for us it iis just another day
18:34 nengard hehe
18:34 I noticed that
18:35 tcohen hi nengard
18:35 nengard over here I know the concern is that a lot of people in the city don't have air conditioning - so the elderly and children are at risk when it gets this hot
18:35 tcohen what was the field for setting a field to be collapsed in the frameworks?
18:35 nengard hi tcohen
18:35 hidden
18:35 jcamins tcohen: hidden.
18:35 drojf so its hot everywhere…
18:35 @wunder nuuk
18:35 huginn drojf: Error: No such location could be found.
18:35 jcamins tcohen: even odds that it will help, though.
18:35 drojf @wunder nuuk, greenland
18:35 huginn drojf: Error: No such location could be found.
18:35 drojf hm
18:36 tcohen but I want the field to appear, its just that i want it collapsed by default
18:36 jcamins tcohen: right, you set that using hidden.
18:36 It's documented in the manual.
18:36 tcohen mad librarians are talking about too much noise in the frameworks
18:36 jcamins Unfortunately, it only works randomly.
18:37 nengard tcohen - i've been complaining about that for years now
18:38 drojf its free software, change what you dont like :P
18:38 nengard don't have the skills to do that
18:38 cait I have to agree with nengard on that
18:38 nengard Frameworks are way way way too integrated
18:38 too much to change
18:38 cait and have you noticed that the hidden works much nicer for authorities?
18:38 that's insane
18:38 jcamins cait: I'm not surprised.
18:38 cait: less bolted on.
18:38 SJeffery Sounds like someone should de-integrate it:)
18:39 jcamins SJeffery: agreed. We just need a coalition of libraries that's *really* interested in the problem.
18:39 And a second chris_n. :)
18:39 * jcamins considers.
18:39 jcamins Maybe a third as well.
18:39 cait heh
18:39 why a second chris_n?
18:40 I was thiking about cloning you :)
18:40 jcamins cait: so one can do chris_n's job, and the other can work on the MARC editor.
18:40 nengard hehe
18:40 jcamins However, I'm thinking having two chris_ns working on the MARC editor might be necessary.
18:40 nengard well i'm an interested librarian
18:40 jcamins nengard: by "*really* interested" I meant "willing to devote a very large amount of money to the problem."
18:41 * chris_n could use another one of himself, but is not sure he could live with another one of himself ;-)
18:41 nengard well I'm willing to devote a "really large amount of opinions"
18:41 :)
18:41 SJeffery I hate when people say "a really large amount of money" in reference to Koha development. What constitutes a large amount varies by the library
18:41 drojf more than one opinion is problems ;)
18:42 jcamins SJeffery: I think it's probably a ~$20k problem, though that's just a guess off the top of my head.
18:43 drojf either we have libraries sponsor it or we have libraries complain so much to vendors that they change it. nobody touched that "for fun" and nobody ever will i suppose.
18:43 jcamins drojf: other than chris_n. ;)
18:44 cait drojf: good summary I gues
18:44 drojf heh
18:44 cait I think there is a patch for an alternative editor
18:44 i think this could be a way of doing it
18:44 add another basic editor and enhance step by step?
18:45 * chris_n has started some work, but it is very early and very pre-alpha
18:45 chris_n and subject to radical changes with no notice or even less
18:45 jcamins cait: yeah, that would be the way to go, but even that would take too much work to be a weekend project.
18:46 cait there is a rebased patch from piano hacker i think
18:46 in bugzila
18:46 chris_n cait: a total rewrite does appear best and what you've suggested is the basic approach I was taking
18:46 cait maybe as a starting point?
18:46 jcamins cait: I looked at that.
18:46 Unfortunately, it doesn't provide an architecture to build on. :(
18:46 cait ah ok
18:47 I am not a cataloging expert
18:47 because we hardly use the module
18:47 chris_n https://github.com/cnighswonge[…]mmits/marc_editor
18:47 * jcamins thought he'd redo the cataloging module about a year and a half ago by building on pianohacker's work.
18:47 chris_n in case anyone gets really curious
18:47 * jcamins was wrong.
18:47 cait libraries are using the union catalog software and only do basic cataloging in Koha
18:48 * jcamins thinks that is a good choice.
18:49 cait yeah, but now I have to teach cataloging in less than 2 weeks
18:49 ...
18:49 it always get to you in the end
18:51 SJeffery More work on the cataloging module interface would be awesome:)
18:57 tcohen what's actually the problem with hidden? i guess it is not used by the XSLT's
18:58 cait no it never was supposed to
18:58 hank_bank joined #koha
18:58 cait I think
18:58 libsysguy joined #koha
18:58 cait not used by the normal view too I think
18:59 only the marc views
18:59 ok... I think too much
18:59 :)
18:59 * cait goes to watch a documentaton about cake
18:59 tcohen ciat: but OPAC / Intranet / Collapsed seem to be the options, so its confusing
19:00 http://manual.koha-community.o[…]marcbibframeworks
19:00 ciat = cait
19:00 jcamins tcohen: it's not used in regular mode at all.
19:00 Rather, it's not used for any non-MARC view.
19:00 And it's not used for the raw MARC view.
19:01 So basically it is the cataloging module and expanded MARC views only.
19:01 tcohen so, it works, but is not well documented
19:01 jcamins tcohen: no, it doesn't work for those three things I listed either.
19:02 Well, sometimes it does.
19:02 But sometimes it doesn't.
19:02 And there doesn't seem to be any rhyme or reason to when it works and when it doesn't.
19:02 At least, that's been my experience.
19:03 hank_bank joined #koha
19:03 Oak_afk joined #koha
19:03 Oak_afk cait!
19:03 magnuse
19:04 Oak jcamins!
19:04 wahanui i guess jcamins is A-Grade developper on Koha willing to rewrite it from top to bottom. Good Luck jcamins
19:04 cait hi Oak
19:04 Oak good to see everyone :)
19:04 drojf1 joined #koha
19:04 jcamins Oak!
19:04 Oak not everyone
19:04 wahanui not everyone is youtubing at this time of day
19:04 cait jcamins: i agree with your experience
19:04 Oak i mean Brooke is not here
19:04 druthb
19:04 others
19:05 tcohen jcamins: collapsed/!collapsed seems to work deterministicaly
19:05 Oak @wunder islamabad
19:05 huginn Oak: The current temperature in Islamabad, Pakistan is 31.0°C (12:00 AM PKT on June 30, 2012). Conditions: Partly Cloudy. Humidity: 40%. Dew Point: 16.0°C. Pressure: 29.53 in 1000 hPa (Falling).
19:06 tcohen @wunder cordoba, argentina
19:06 huginn tcohen: The current temperature in Cordoba Aerodrome, Argentina is 22.0°C (3:00 PM ART on June 29, 2012). Conditions: Clear. Humidity: 27%. Dew Point: 7.0°C. Pressure: 29.80 in 1009 hPa (Falling).
19:06 tcohen mmm, think of levaing to play some tennis :-D
19:08 Oak like, real tennis?
19:12 maximep yay, time to upgrade to 3.8 and send a ton of patches to the community. This should be fun =)
19:14 jcamins maximep: woohoo!
19:15 cait maximep: woohoo :)
19:15 maximep hmmm I forgot... do I have to do a git format-patch or is a git diff in a .patch enough ?
19:16 jcamins git format-patch.
19:16 git diff is pretty much useless.
19:16 maximep well then it's time to squash commits -_-
19:16 cait that's not so bad, keep smiling :)
19:17 maximep is there an easier way than a rebase -i ?
19:17 jcamins maximep: nope.
19:18 liw maximep, do a new branch of your branch, then rebase the one -- that way, if you make a mistake in the rebasing, you can easily go back
19:18 maximep sure
19:18 jcamins Right, that's a good idea.
19:18 * liw learned that the hard way
19:18 * jcamins too.
19:18 maximep yeah I did too haha
19:18 liw (several times)
19:20 maximep oops, squashed all of them instead of leaving one. it's friday after all -_-
19:25 tcohen Oak: I play top spin 4 :-P
19:25 but I really play *real* tennis
19:25 (i was talking about real tennis this time :-P)
19:31 maximep yay @ me for my first patch in months
19:31 cait :)
19:31 maximep++
19:37 * mveron has rebased Bug 7563 for the nth time...
19:37 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7563 enhancement, P5 - low, ---, veron, Signed Off , Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference
19:38 cait is it waitin gfor qa?
19:38 tcohen i love that feature mveron!
19:38 can't belive someone took it
19:40 cait @later tell sekjal could you please take a look at bug 7563? Lots of rebasing done already - would be good to see that moving forward :)
19:40 huginn cait: The operation succeeded.
19:41 mveron cait: Yes. signed off by Chris, then see comments 17, 18, 19
19:42 cait: Thanks  :-)
19:42 cait not sure it will be any help :)
19:54 nengard left #koha
20:18 mbalmer joined #koha
20:20 libsysguy left #koha
20:21 mveron Good night everybody  :-)
20:21 mbalmer ha!
20:22 just missed him...
20:49 cait left #koha
20:55 maximep left #koha
21:12 rangi melia_lunch: patch attached
21:21 melia_lunch yay! thank you so much
21:23 rangi if you could look at bug 8087
21:23 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8087 normal, P2, ---, henridamien, NEW , Calendar not working in dropbox mode
21:23 rangi from the name its a duplicate
21:23 but albert added something about even and odd .. which makes no sense to me, so i didnt close it
21:24 melia yes. makes no sense to me either.
21:24 I'll try and find out what albert is talking about on monday.
21:25 rangi thanks :)
21:34 jenkins_koha Starting build #77 for job Koha_3.8.x (previous build: SUCCESS)
21:46 jcamins Bug 8311
21:46 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8311 normal, P5 - low, ---, jcamins, Pushed to Master , Mis-scoped function call in C4::Auth
21:48 JesseM left #koha
21:50 rangi hmm
21:50 bug 3280
21:50 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=3280 normal, P3, ---, semarie-koha, Pushed to Master , opac/opac-sendbasket.pl security leaky
21:51 rangi +    'X-Orig-IP' => $ENV{'REMOTE_ADDR'},
21:51 i dont think thats right
21:52 thats putting the ip of the user, not the mailserver that send the mail
21:52 and its gonna be things like proxies or all sorts of other things
21:53 jcamins No, that's correct to the extent that it can be correct given that I don't think my patch for bug 7800 ever made it.
21:53 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7800 enhancement, P5 - low, ---, dpavlin, Pushed to Master , admin/matching-rules.pl plack scoping
21:53 jcamins Hm.
21:53 Bug 7400?
21:53 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7400 enhancement, P3, ---, matthias.meusburger, Pushed to Master , Add auto-completion on auth_finder
21:53 jcamins Hm.
21:53 @query reverse proxy
21:53 huginn jcamins: No results for "reverse proxy."
21:53 jcamins @query remote ip
21:53 huginn jcamins: 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=3068 minor, P5 - low, ---, koha.sekjal, NEW , Auth.pm:  IP address matching overly generous
21:53 jcamins: 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=5511 normal, PATCH-Sent (DO NOT USE), ---, amit.gupta, Failed QA , Check for Change in Remote IP address for Session Security. Disable when remote ip address changes frequently.
21:53 jcamins @query handle proxies
21:53 huginn jcamins: No results for "handle proxies."
21:54 jcamins Bug 6800.
21:54 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6800 major, P3, ---, jcamins, RESOLVED WONTFIX, Koha authentication should handle proxies better
21:54 jcamins There we go.
21:54 rangi im just wondering if it is usual or even expected practice to set the ip of the originating email, to not be where it originated, but the ip of some user who is using the website instead
21:54 jcamins Yes.
21:55 I've noticed that on sites I've used.
21:55 rangi its supposed to be of the client, the client is the webserver
21:56 its of the client connecting to the mailserver, not the browser connecting to a website
21:56 jcamins Hm.
21:56 In that case it would be wrong.
21:57 * jcamins _has_ noticed that behavior on other websites, though.
21:57 rangi yep, its some MS thing, that they introduced to hotmail in 99
21:58 thats become a defacto standard
21:58 so there probably arent any actual rules
21:58 :)
21:58 jcamins And it's an MS thing, so they probably wouldn't make sense anyway.
21:59 rangi hmm not sure wether to push it to 3.8.x or not
21:59 not because of that
22:00 more because it makes it impossible to send a cart without being logged in
22:00 which is a big behaviour change
22:00 and not something i want to slip in, mid cycle
22:00 jcamins Agreed.
22:04 I'm not sure I like the idea of not allowing anonymous users to send carts.
22:05 What if they find a book they are interested in while browsing another library's catalog?
22:07 * jcamins calls it a day.
22:13 * magnuse calls it a summer
22:13 magnuse see you guys in 3 weeks time!
22:26 jenkins_koha Project Koha_3.8.x build #77: SUCCESS in 52 min: http://jenkins.koha-community.[…]ob/Koha_3.8.x/77/
22:26 mtj: Bug 8315 - fix 'C4::Output 3.02' errors in Koha
22:26 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8315 major, P5 - low, ---, dpavlin, ASSIGNED , fix 'C4::Output 3.02' errors in Koha
22:26 jenkins_koha Starting build #78 for job Koha_3.8.x (previous build: SUCCESS)
22:41 brylie joined #koha
22:45 hankbank joined #koha
23:19 jenkins_koha Project Koha_3.8.x build #78: SUCCESS in 52 min: http://jenkins.koha-community.[…]ob/Koha_3.8.x/78/
23:19 * jcamins: Bug 8311: Fix scoping error in C4::Auth
23:19 * Chris Cormack: Bug 6350 : Updating history
23:19 * paul.poulain: bug 6350 (history.txt) fixing typo
23:19 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8311 normal, P5 - low, ---, jcamins, Pushed to Stable , Mis-scoped function call in C4::Auth
23:19 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6350 trivial, P5 - low, ---, nengard, Pushed to Master , Bug for tracking updates to the history file
23:48 stuartyeates joined #koha
23:49 jcamins_away Hm. Is there a good reason why /var/spool/koha/$instance/ belongs to root and not $instance-koha?

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

koha1