IRC log for #koha, 2013-06-04

All times shown according to UTC.

Time S Nick Message
00:00 mtj yes, very impressive
00:06 tcohen eythian: doesn't koha-rebuild-zebra --full|-f instancename do what is needed?
00:07 eythian tcohen: I think they're actually reinitialising the zebra indices from scratch there. If a rebuild_zebra -f doesn't, then koha-rebuild-zebra won't.
00:09 rangi just make sure their license doesn't preclude that
00:09 tcohen rebuild_zebra -r does the init thing
00:10 eythian oh, in that case you could just pass -r to koha-rebuild-zebra
00:11 tcohen if you run koha-rebuild-zebra, -r is passed to
00:11 tcohen maybe is a side effect of my rewrite...
00:11 rangi itd be nice if they actually put a license up
00:12 rangi
00:12 eythian tcohen: I think it's always been like that, but yeah, in this case it should just work.
00:13 tcohen it has :-D
00:13 jcamins There's a bug in the logic, that's why there's a problem. I think.
00:13 tcohen (always been there)
00:13 nengard wizzyrea still around?
00:14 wizzyrea yep - but I can't remember what it was I wanted to ask you >.<
00:14 eythian tcohen: I just read through the code in rebuild_zebra and you're totally right about it doing that.
00:15 jcamins There's something about the init not getting committed if there were no records.
00:15 jcamins I think.
00:16 mtj nice email eythian++
00:16 dcook rangi: Just noticed your comments in there. Good point.
00:17 tcohen you're right jcamins
00:17 tcohen do_indexing is triggered only on the presence of anything to index
00:20 dcook "The Library reserves the right to block IP addresses that fail to honor the Library's robots.txt files or submit requests at a rate that negatively impacts service delivery to all Library patrons. Current guidelines recommend that software programs submit a total of no more than 10 requests per minute to Library applications, regardless of the number of machines used to submit requests. The Library also reserves the right to terminate programs that re
00:20 dcook quire more than 24 hours to complete."
00:20 eythian that script needs some real perltidy'ing
00:21 * jcamins can do whatever he wants with the data on the LC website.
00:21 cjh wow 24 hours to complete, that is pretty generous.
00:21 jcamins No one else on at this hour can, though, it looks like.
00:21 dcook
00:21 dcook jcamins: Oh?
00:22 dcook It's vague, but it seems to say that you can do whatever you want with the info it displays within those above constraints
00:22 dcook And so long as you don't try to access non-public information or vandalize their pages
00:22 eythian LoC probably isn't allowed to copyright any of their stuff, I think
00:22 jcamins dcook: by definition, any data created by the Library of Congress is in the public domain for US citizens.
00:22 dcook jcamins: Yeah, that's how I read that as well
00:23 dcook eythian: Seems like it
00:23 dcook eythian: That is, I think you're right
00:23 jcamins So licensing terms are moot in my case (though as it turns out the license would allow anyone to scrape the MARC spec), but not in yours.
00:24 eythian though, I expect it's uncommon for them to put restrictions on for international use.
00:25 jcamins Yeah, it does seem kind of pointless.
00:29 dcook Plus, there is nothing explicit that I see about that
00:32 jcamins dcook: that's true for anything produced by the federal government, as I understand it.
00:34 dcook jcamins: Hmm?
00:34 dcook No copyright?
00:35 * dcook ponders
00:36 dcook Now that I think about it, I think a lot of Canadian federal information is open to the public (if they actually post it and keep it updated...)
00:36 dcook The provincial governments aren't quite
00:36 dcook Library and Archives Canada is also seeming to decrease the amount of information and service they're providing both to libraries and citizens..
00:37 jcamins dcook: yeah, the US doesn't have a Queen or Crown to reserve copyright.
00:38 dcook That would probably help
00:40 jcamins Mango-chocolate pudding?
00:40 jcamins Yes, I think so.
00:43 nengard left #koha
00:45 jcamins Also in the running: chocolate-mango smoothie
00:45 jcamins Chocolate-mango mousse is out because I don't want to wait for it to set up, and it's hot in here so anything involving the oven is out.
00:58 dcook Mmm, jcamins, you're making me long for summer
00:58 dcook Pudding might need to set too?
00:58 dcook Perhaps the smoothie
00:58 * dcook dislikes runny pudding
01:00 wizzyrea vine for android!
01:00 wizzyrea squee!
01:03 * dcook has turned down the coke in favour of water, but...the chocolate remains
01:03 jcamins dcook: I don't mind runny pudding.
01:03 dcook In that case, it would probably be delicious
01:03 dcook And gives me ideas...
01:04 dcook We have a mango tree in the backyard at home :). Won't have anything on it for ages since we're getting into winter, but...
01:04 dcook There will be mango bingeing when they're ripe again next summer
01:05 dcook What sort of chocolate are you using?
01:05 jcamins Just chocolate chips.
01:09 tcohen joined #koha
01:12 dcook Yumm
01:12 dcook I'm just thinking because I would need to use dark chocolate of some sort due to the requisite veganness
01:13 dcook Hmm, I'm sure there are 70-80% dark chocolate chips out there..
01:27 jcamins Mmmmm.
01:28 dcook Argh. Only problem with local forget to buy their demo,  you get a song stuck in your head, and you have no way to hear it again...
01:28 dcook Well, unless you're friends with a friend of the lead singer, but...that doesn't help me now
01:53 cait joined #koha
01:57 * dcook waves to cait
01:58 jcamins cait?!?
01:58 wahanui go back to bed, cait.
02:00 * dcook hopes it was just the computer and that cait is still sleeping
02:03 * jcamins thinks cait should turn her tablet off all the way so that it doesn't wake her.
02:06 rangi @wunder nzwn
02:06 huginn` rangi: The current temperature in Wellington, New Zealand is 14.0°C (1:00 PM NZST on June 04, 2013). Conditions: Partly Cloudy. Humidity: 72%. Dew Point: 9.0°C. Pressure: 29.50 in 999 hPa (Steady).
02:07 dcook jcamins: Yet we keep using her name...
02:09 jcamins True.
02:09 rangi[…]n/wellington-city
02:10 rangi its gonna get yucky
02:10 cjh eik
02:10 jcamins That's a lot of wind.
02:10 rangi southerly too
02:10 rangi so cold
02:10 dcook Wow...
02:11 rangi straight off antartica
02:11 cjh cold, windy and wet :(
02:17 eythian they were talking about 30mm+ of rain in an hour, though appear to have revised that.
02:31 wizzyrea holy crap that's a lot of wind.
02:31 wizzyrea wunder missed the spitting rain.
02:32 * wizzyrea is feeling toasty warm after soup and a coffee.
02:34 eythian yeah, it's not a good day to be biking.
02:35 eythian unless you're biking home, in which case you'll be passing traffic going up the hill.
02:36 ibeardslee you can steer with the wind blowing you backwards up the hill?
02:36 eythian ibeardslee: why are you going backwards?
02:37 ibeardslee seems standard around here
02:38 * ibeardslee wanders to sharpen knives
02:38 wizzyrea !
02:38 * wizzyrea makes a note to avoid ibeardslee's desk
02:38 ibeardslee .. not in here
02:38 ibeardslee mostly sane people in here
02:39 wizzyrea keyword: mostly
02:39 eythian ibeardslee: the knife sharpener person comes to Catalyst, you know
02:40 wizzyrea that's less fun than wandering around with knives.
02:45 mtompset joined #koha
02:45 mtompset Greetings, #koha.
02:46 mtompset Has there ever been a discussion about permissions related to patron types or groups?
02:46 eythian to what end?
02:46 eythian what can one patron do that another can't?
02:47 wizzyrea mtompset: yes, I hear that quite often
02:47 wizzyrea see certain things
02:47 mtompset Exactly.
02:48 wizzyrea I call that "views"
02:48 wizzyrea patron views
02:48 mtompset Or have people who can easily handle TWO independent branches.
02:48 wizzyrea well that sounds like it is for staff
02:48 dcook IE--
02:48 mtompset without having to through multiple user ids or superlibrarian at them.
02:48 mtompset ^through^throw^
02:49 mtompset well, it would be both a staff vs. volunteer staff type scenario.
02:49 mtompset Or a our corporate person vs. our partner organization person patron.
02:51 mtompset Or... patrons in country X only see branches in country X (based on a group set up).
02:52 mtompset because in addition to the SAML stuff I'm playing with... making slow progress, but progress nonetheless... the authentication problems ties into an authorization problem.
02:54 mtompset Imagine having people responsible for acquisitions different than cataloguers different than (other functionalities), and having those sets of permissions defaulting for the patron type, because you set up grades of staffing.
02:55 mtompset Does that make sense?
02:58 eythian no
02:58 eythian at least, not to me
02:58 eythian (as in, I can't actually parse it :)
03:00 wizzyrea yes, that makes sense to me
03:01 mtompset Well, okay... let's see... the Set Permissions page.
03:01 wizzyrea you are talking about permission profiles
03:01 mtompset Yes, permission profiles.
03:01 wizzyrea based on category
03:01 mtompset But linked to patron category.
03:01 eythian so, roles.
03:01 wizzyrea roles, sure
03:01 mtompset Yes, roles would be another word that works for me. :)
03:01 mtj peeps, can you import an authority file via the staff gui, in koha?
03:02 wizzyrea yes, in 3.12
03:02 mtj … or must you use the cli tool?
03:02 mtj aah, ok
03:02 mtj i thought it was a recent feature :d
03:02 wizzyrea mtompset: you would not be the first or last to wish for this
03:02 mtompset wizzyrea: I may be the one to try to implement it.
03:02 mtj thanks liz :)
03:02 wizzyrea I LIKE IT
03:02 wizzyrea yw :)
03:03 wizzyrea ...this commute is going to be pants.
03:04 mtompset I'm assuming that is slang for bad.
03:04 wizzyrea indeed.
03:04 wizzyrea that is, if it keeps doing what it's currently doing outside
03:04 wizzyrea 2 hours... there may be relief before then.
03:04 mtompset raining?
03:05 wizzyrea yep :)
03:05 mtompset It can't decide if it is spring or summer here.
03:06 mtompset Drive through pouring rain only to be greeted by nice sunshine 15 minutes later... repeat randomly.
03:06 eythian wizzyrea: the rain probably won't let up for a while, look how dark it is out there.
03:06 wizzyrea i know, I was noticing.
03:06 mtj off-topic - i just discovered a bunch of interesting docs from LOC, re: auth-records
03:06 mtj
03:06 mtj
03:07 eythian however, when the wind kicks in, it'll probably start going upwards anyway, so it might remain dry :)
03:07 wizzyrea ^.^
03:08 wizzyrea isn't that how you get hail?
03:08 wizzyrea rain getting bounced back up into the cold cloud and tossed around
03:08 mtj this was a bummer tho...
03:08 mtj "5) Does the Library of Congress provide Z39.50 access to authority records?
03:08 mtj No. Z39.50 access to authority records is not currently available. LC does expect to be able to offer Z39.50 access to authority records in a future release."
03:08 wizzyrea bother
03:09 eythian wasn't it dcook who was doing stuff with that?
03:09 eythian he might be able to tell you the useful sources
03:11 mtj yeah, i'll ask him next time
03:11 mtj bug 10096 has some info
03:11 huginn` Bug[…]_bug.cgi?id=10096 new feature, P5 - low, ---, dcook, Needs Signoff , Add a Z39.50 interface for authority searching
03:12 mtj aaaaah "Update: Jcamins has mentioned that it's actually possible to use the "Stage MARC records for import" tool for importing authorities as well starting from 3.10+"
03:12 dcook Hmm?
03:12 * dcook just got back to his desk and is seeing red
03:12 dcook In the nicest way possible
03:13 dcook Yeah, jcamins is awesome
03:13 dcook Yeah, I'm not 100% sure if that line about Library of Congress not providing Z39.50 access to authority records is bunk or not
03:14 dcook Because they do have a few authority databases that you can access through Z39.50
03:14 dcook I just wonder if they're "the" authority databases
03:15 dcook mtj: Unfortunately, LoC doesn't offer MARC downloads of its authorities
03:15 dcook They just have it in RDF, me thinks
03:15 dcook All the more reason to develop Semantikoha, I suppose
03:16 mtj you can get auth records via their website
03:16 dcook Individually
03:16 mtj um… yeah :/
03:17 dcook Yeah, another one of those scenarios of "wth, LoC"
03:18 dcook mtj:
03:18 mtj heres an auth records for 'king arthur' ->
03:18 mtj and in marcxml ->
03:19 dcook I can check quick to see if the name files listed here accord with that
03:19 mtj so, thats useful stuff
03:20 mtj lol, sorry thats 'Arthur King' not king arthur :)
03:20 dcook Interesting...apparently my backport is broken...
03:20 dcook That's...surprising
03:23 dcook Ok, let's see...
03:25 mtj dcook, have you had any success fetching auth records, with this general info? ->
03:25 dcook mtj: Yep
03:26 dcook I wish I would've kept the control number search field though...
03:26 dcook As I'm having difficulty locating that example of yours
03:27 dcook I just found PKD no problem though
03:28 mtj ok, thats surprisingly good news
03:28 dcook Hmm, the 005s are different though
03:29 dcook The rest of the information looks good though
03:29 dcook Although the z39.50 version is missing some of their local 9xx tags (which probably makes sense)
03:30 dcook Mmm, looks like the z39.50 version was last touched a day after the one you find in the catalogue
03:31 mtj promising
03:31 dcook I'm not retrieving all the King, Arthur entries though..
03:31 dcook Ohhh, unless I am
03:31 dcook And it's the backport that's messed up...
03:31 * dcook goes to try it with his dev install
03:31 dcook The backport only uses the top 20 hits
03:31 dcook Because 3.8 is inferior to 3.10 and 3.12 :p
03:34 dcook Hmm, and of course I nuked my old config when I reset my db. Silly me.
03:35 dcook mtj: Can you link me to the web page that says they don't provide z39.50 access?
03:35 dcook I've been wondering if that's just old info
03:39 dcook mtj: Yep, the z39.50 authority searching patch I have on bugzilla works
03:39 dcook It finds your King, Arthur
03:39 dcook (the backport was just cutting off at 20 records, while the version I posted in bugzilla actually retrieves all results)
03:40 dcook The records are identical. Even the 005s.
03:46 mtompset Have a good day (24 hour period), everyone.
03:46 mtj dcook++ awesome :)
03:46 dcook Thanks :). I was pretty happy with the end result.
03:52 wizzyrea[…]te_Administration -- if you have something here, or have been passed a torch to do any of this stuff, please update yourselves :)
03:53 * wizzyrea nudges eythian - wahanui isn't listed
03:53 eythian wahanui isn't a website
03:53 wizzyrea the other bots are listed :P
03:54 wizzyrea which... may be inappropriate
03:54 eythian <-- they are here
03:54 wizzyrea cool I'll remove them from there then
03:54 wizzyrea there = website admin
03:56 dcook Mmm, I was wondering if it was a Linode-based site
03:56 dcook Ack
03:56 dcook UK-based Linode site
03:56 dcook No wonder cait was getting super fast results and mine were taking a while
03:56 wizzyrea :)
03:57 * wizzyrea was warned away from dallas and atlanta
03:57 wizzyrea that left japan and UK
03:57 dcook UK seems to make sense
03:57 dcook Wow, I didn't know Bugzilla was on Linode, Dallas
03:58 dcook Blowing my mind-tank
03:58 wizzyrea O.o
04:02 eythian hmm, I just had git break a makefile on me
04:02 eythian (it turned tabs into spaces, which is a no-no)
04:03 wizzyrea erps
04:03 eythian I have auto-whitespace-cleaning on, it was probably that.
04:03 mtj hmmm, i wonder if theres an .ignore file, for that
04:04 eythian I don't know, it'd be good if there were
04:33 eythian @wunder nzwn
04:33 huginn` eythian: The current temperature in Wellington, New Zealand is 11.0°C (4:00 PM NZST on June 04, 2013). Conditions: Rain. Humidity: 94%. Dew Point: 10.0°C. Pressure: 29.56 in 1001 hPa (Rising).
04:34 eythian I'm surprise the hPa is rising.
04:34 eythian I'd expect falling through the floor.
04:37 wizzyrea maybe it's the bubble before the fall
04:38 eythian could be, not much of one though. My phone records it and it's been falling all day, just a small blip an hour or two ago.
04:39 wizzyrea weird!
04:39 eythian I wonder if the streetlights are on. They should be.
04:40 mtj peeps, anyone managed to import any marcxml files into koha, via the gui?
04:40 dcook Which kind?
04:40 wahanui Which kind is probably the right kind >.>
04:41 mtj hmm, either bib or auth
04:41 dcook Took me a second to realize what you were saying
04:41 dcook I've never tried anything but raw marc
04:41 mtj my hunch is, its a missing feature
04:41 dcook Very possibly
04:42 mtj … the cli tool handles marcxml, but not the gui?
04:42 dcook Have you tried it
04:42 dcook ?
04:42 mtj yep
04:42 mtj it failed
04:43 eythian yeah, I'm fairly sure it doesn't handle that.
04:43 mtj ill take a peek, and see if its an easy patch
04:44 wizzyrea mtj I'm pretty sure the gui doesn't handle xml
04:44 mtj ok, thanks all
04:45 dcook That shouldn't be a hard thing to change though
04:56 kathryn_ joined #koha
04:57 eythian I see it worked, kathryn_
04:58 * wizzyrea waves to kathryn
04:58 kathryn_ Yes thanks for that eythian  :)
04:58 wizzyrea and kathryn_
04:58 * kathryn_ waves back
04:59 kathryn_ it's making 80s computer noises
05:00 eythian <-- or 1979 computer noises?
05:00 * wizzyrea makes a crotchety old lady noise about getting off of her lawn
05:01 wizzyrea into the rain with me
05:01 wizzyrea later peeps
05:01 kathryn_ hehe byes
05:04 cait waves
05:04 eythian cait?!?
05:04 wahanui rumour has it cait is qam, not your secretary
05:04 eythian cait?!?
05:04 wahanui somebody said cait was qam, not your secretary
05:04 eythian cait?!?
05:04 wahanui go back to bed, cait.
05:04 cait no
05:13 kathryn_ hi cait :) rebel..with a cause?
05:14 cait yep have to get ready for work :-)
05:14 kathryn_ fair nuff  :)
05:31 cait joined #koha
05:31 * cait waves again
05:31 * dcook waves to cait
05:42 cait :)
05:56 kathryn_ joined #koha
06:29 christophe_c joined #koha
06:30 christophe_c hello #koha
06:33 cait hi christophe_c :)
06:33 cait and bbl :)
06:34 cait joined #koha
06:37 christophe_c hello cait ;-)
06:47 reiveune joined #koha
06:47 reiveune hello
06:47 wahanui que tal, reiveune
06:53 laurence joined #koha
06:57 dcook All right. Star Trek time!
06:57 dcook night folks
06:58 kathryn__ joined #koha
06:59 sophie_m joined #koha
07:02 asaurat joined #koha
07:02 asaurat hi
07:02 wahanui hola, asaurat
07:03 sophie_m bonjour
07:05 lds joined #koha
07:14 kenza joined #koha
07:18 irma1 joined #koha
07:22 gaetan_B joined #koha
07:22 gaetan_B hello
07:37 lds joined #koha
07:49 kf joined #koha
07:49 kf hi #koha
07:54 francharb joined #koha
07:54 rangi evening
07:54 paul_p joined #koha
07:55 francharb` joined #koha
07:57 kf evening rangi
08:05 gerundio joined #koha
08:06 gerundio good morning everyone
08:24 sivoais joined #koha
08:26 BobB paul_p about?
08:27 paul_p BobB not far ;-)
08:27 BobB :)
08:27 BobB Hi Paul.
08:27 BobB Irma and I would like to come to Marseille hackfest in 2014. Are we welcome?
08:28 BobB Just speculating at this stage, but it would be nice.  We'd like to see our daughter (in London).  :)
08:29 BobB paul_p, I am trying to use a sandbox (#7) to test a patch in the self checkout module.
08:30 paul_p BobB of course you would be more than welcomed to 2014 Marseille hackfest !!!
08:30 BobB But when I enter ...
08:30 BobB​cgi-bin/koha/sco/
08:30 BobB it sends me to  Any reason you know of?
08:32 paul_p BobB probably not a sandbox thing, but the sco syspref should be disabled probably
08:32 paul_p (dunno it's name, and i'm at a meeting, so can't investigate)
08:32 BobB ooops!!! Did not check the sys pref, that will be it for sure.
08:33 * BobB goes to investigate the sys pref (sheepishly)
08:33 BobB Thanks paul_p
08:38 lds joined #koha
09:10 rangi @wunder nzwn
09:10 huginn` rangi: The current temperature in Wellington, New Zealand is 10.0°C (9:00 PM NZST on June 04, 2013). Conditions: Rain. Humidity: 94%. Dew Point: 9.0°C. Pressure: 29.71 in 1006 hPa (Rising).
09:50 kf @wunder Konstanz
09:50 huginn` kf: The current temperature in APRSWXNET Friedrichshafen DE, Friedrichshafen, Germany is 11.7°C (11:15 AM CEST on June 04, 2013). Conditions: Mostly Cloudy. Humidity: 73%. Dew Point: 7.0°C. Pressure: 30.09 in 1019 hPa (Steady).
09:50 kf we got some sun!
09:50 kf haven't seen it in a while
11:25 jwagner joined #koha
11:25 kenza joined #koha
11:36 jcamins Nomnomnom... CSA starting today! We're getting a lettuce mix, salad turnips, bok choi, romaine lettuce, arugula, and red kale.
11:41 kf yay :)
11:44 jcamins I wish I didn't have to wait until tonight to get it. :/
11:47 Joubu left #koha
11:47 Joubu joined #koha
11:52 NateC joined #koha
11:54 tcohen joined #koha
11:56 * kf sends jcamins some bok choi
11:58 edveal joined #koha
12:03 samueld joined #koha
12:05 samueld hi everybody :-)
12:28 tcohen joined #koha
12:30 tcohen morning #koha!
12:33 drojf joined #koha
12:33 drojf good day #koha
12:37 kf hi drojf :)
12:37 kf hi tcohen and samueld :)
12:37 drojf hi kf :)
12:37 samueld hi kf
12:39 tcohen hi kf
12:40 tcohen eythian++ # for this mid-term packages update to support wheezy
12:43 drnoe joined #koha
12:53 Dyrcona joined #koha
13:03 tcohen @search
13:03 huginn` tcohen: There were no matching configuration variables.
13:03 tcohen @query
13:03 huginn` tcohen: Bug[…]w_bug.cgi?id=6172 critical, P5 - low, ---, gmcharlt, NEW , Zebra not indexed Unimarc-records
13:03 huginn` tcohen: Bug[…]w_bug.cgi?id=6435 major, P5 - low, ---, gmcharlt, NEW , False "no items" in search results [intranet]
13:03 huginn` tcohen: Bug[…]w_bug.cgi?id=8493 trivial, P5 - low, ---, gmcharlt, NEW , improve verbosity output of script
13:03 huginn` tcohen: Bug[…]w_bug.cgi?id=9511 critical, P5 - low, ---, gmcharlt, NEW , DOM indexing problem
13:03 huginn` tcohen: Bug[…]_bug.cgi?id=10161 normal, P5 - low, ---, gmcharlt, NEW , should (at least) exit 1 on error
13:05 tcohen jcamins, should I fill a bug for the script not resetting the indexes if zebraqueue empty
13:05 tcohen ¿
13:06 jcamins Sure.
13:22 Callender joined #koha
13:23 tcohen bug 10399
13:23 huginn` Bug[…]_bug.cgi?id=10399 normal, P5 - low, ---, gmcharlt, Needs Signoff , should reset the indexes with -r even if zebraqueue empty
13:24 kf tcohen++ :)
13:27 drojf kf: do you agree with the comment on bug 10361 about moving the query to
13:27 huginn` Bug[…]_bug.cgi?id=10361 enhancement, P5 - low, ---, mirko, Needs Signoff , Add Option to to purge search_history entries
13:28 kf hm
13:28 kf I am not sure really
13:28 kf if all other search related things are there it might make sense
13:28 kf but I am not sure i would have looked in for it :)
13:28 kf maybe gmcharlt is the person to ask here as he can tell you to redo it :)
13:31 drojf i would not look for anything in
13:31 drojf ;)
13:31 jcamins Wise.
13:31 drojf i was rather having in mind to put it into a larger privacy thing later
13:54 drojf @later tell gmcharlt could you have a look at the comments on bug 10361 please? do you agree i should move the query to
13:54 huginn` drojf: The operation succeeded.
13:55 * drojf drank club mate and coffee and is still tired :(
14:04 jwagner joined #koha
14:09 maximep joined #koha
14:15 gmcharlt drojf: good morning
14:15 talljoy joined #koha
14:16 gmcharlt to answer your question, if you don't want to spend too much effort at it, I agree with Srdjan that it should go into C4::Search -- that's where AddSearchHistory and GetSearchHistory live at the moment
14:17 gmcharlt if you want to take a little more time and refactor, maybe put it in a new module called Koha::Search::History on thel ike
14:17 gmcharlt @quote random
14:17 huginn` gmcharlt: Quote #154: "rangi: it's destined to be an eternal mystery" (added by wizzyrea at 04:53 AM, September 15, 2011)
14:22 kf good one :)
14:24 * wizzyrea waves sleepily
14:25 kf go to bed!
14:26 gmcharlt wizzyrea: so, about that use of the blink tag you were going to roll out on the website .. how is that coming along?
14:28 kf lol
14:29 wizzyrea :)
14:29 gmcharlt not sleepy enough, I see ;)
14:29 wizzyrea I sincerely hope that I'm dreaming that you said that
14:30 gmcharlt oops -- I meant to tease you, not give you nightmares
14:31 wizzyrea hehehe
14:34 jcamins Okay, updated the document to note that it's CC-BY-SA.
14:34 drojf gmcharlt: thanks! (for answering, not for making me do things in :P)
14:34 jcamins kf: ^^ that was for you
14:35 gmcharlt drojf: if you squint and look only at the search history bits, you can pretend that the rest of it doesn't exist ;)
14:35 drojf gmcharlt: lol i will try that :D
14:36 kf gmcharlt++ # good advice
14:36 druthb gmcharlt++
14:38 kf bye all :)
14:38 kf left #koha
14:41 rambutan1 joined #koha
14:57 jcamins @later tell cait One thing about the screenshots: I had bug 8884 applied when I took them.
14:57 huginn` jcamins: The operation succeeded.
14:59 Joubu drojf: I didn't follow the discussion, but it is funny, I created a C4::Search::History package (Why not in the Koha namespace... I don't know!) in one of our development last week (branch paris-sud/ft/MT11473 from the biblibre repo). Just in case...
14:59 Joubu The customer did not validate it at the moment, so I cannot submit it on Bugzilla
15:17 asaurat left #koha
15:24 laurence left #koha
15:25 smeagol joined #koha
15:30 reiveune bye
15:30 reiveune left #koha
15:31 * wizzyrea waves to oleonard, since he's probably around
15:32 wizzyrea i always always miss him by like 10 minutes in the morning
15:33 jcamins He is not.
15:33 wizzyrea the one time I'm up!
15:33 wizzyrea :)
15:36 jcamins wizzyrea: why _are_ you up at this hour?
15:36 smeagol Hi all, I'm having a little problem running php scripts from the opac browser. The will run at the command line, but not the browser. Do you have to make an edit to koha-httpd.conf, or something? thanks.
15:37 jcamins smeagol: Koha is written in Perl.
15:37 jcamins Why are you trying to run PHP scripts?
15:39 jcamins_ joined #koha
15:39 jcamins_ Am I onlinestill?
15:39 wizzyrea yarp
15:40 jcamins Thanks.
15:41 smeagol jcamins: I know it's written in perl, i'm just writing some scripts that pull data from mysql tables and format in php for booklists, and such..
15:41 jcamins Okay, so this is a script unrelated to Koha.
15:41 jcamins I have no idea how to configure Apache to run PHP scripts on the same virtual host.
15:41 smeagol Yeah, that's what I need to do, I guess.
15:42 jcamins I always thoguht that was automatic.
15:42 wizzyrea well you do have to have php installed on your serer
15:42 wizzyrea server*
15:42 jcamins wizzyrea: good call.
15:42 wizzyrea when you install, if you choose "LAMP" it is automagic
15:43 wizzyrea otherwise just look up "install a lamp stack"
15:43 wizzyrea and it will tell you what to install and how to config apache
15:44 jvr joined #koha
15:44 jvr Hi, need help again
15:44 jvr how do I render text box in 3.8 or 3.10 for
15:44 jvr WHERE items.itemcallnumber BETWEEN <<Call number between>> AND <<and>>
15:45 jcamins manual?
15:45 wahanui manual is at
15:45 jcamins jvr: ^^ you should be able to find instructions for how to use reports in the manual
15:46 jvr I not new in this business, but it just stop working correctly
15:47 jvr following the manual no longer works correctly
15:47 jcamins Really? That's not good.
15:47 pianohacker joined #koha
15:48 jvr I need a pipe for text box it was supose to be <<something>>
15:48 wizzyrea that should work - it just doesn't show the text box?
15:48 pianohacker does anyone have any strong feelings as far as comcast vs centurylink (qwest)?
15:48 jvr but now it do not work if there is no pipe
15:49 jcamins pianohacker: I think basically all ISPs are awful.
15:49 * wizzyrea checks
15:50 pianohacker jcamins: bleh, there's a truism if I've heard one
15:50 jcamins Works for me.
15:50 wizzyrea me too
15:50 wizzyrea what's your complete query?
15:51 wizzyrea I tested with this: SELECT surname,firstname FROM borrowers WHERE branchcode=<<Enter patrons library|branches>> AND surname LIKE <<Enter filter FOR patron surname (% IF none)>>
15:51 wizzyrea I got one drop down and one text box
15:51 pianohacker has good chance of non-awfulness, but only a chance :)
15:52 jcamins XKCD/806 compliant. Heh.
15:53 pianohacker after hours wasted on comcast tech support, wishing I could talk with someone who'd heard of the OSI layer cake, that's a beautiful idea
15:53 jvr I just use your SQL
15:53 jvr Enter filter FOR patron surname (% IF none): text
15:54 jvr this is the result no text box, just the word "text"
15:54 pianohacker jcamins: which awful do you use?
15:54 jcamins pianohacker: we have Time Warner.
15:54 * jcamins hates TW.
15:54 pianohacker urgh, yeah, I've heard stories
15:54 jcamins Unfortunately, Verizon has stated categorically that FIOS is not going to be available to our building for the foreseeable future.
15:54 wizzyrea what browser?
15:55 pianohacker the latest was the whole youtube-throttling thing, but nothing good
15:55 jvr Chrome wizzyrea
15:55 pianohacker jcamins: ouch, I'm sorry. it's in your area, though?
15:55 jcamins And RCA stops offering service across the street.
15:55 jenkins_koha Starting build #51 for job Koha_3.12.x (previous build: SUCCESS)
15:56 jcamins pianohacker: Verizon keeps on sending out announcements that FIOS is in our area, but I'm not sure that it actually is. There seems to be a dearth of people who actually have it.
15:56 wizzyrea not sure jvr, it works for me in 3.8, 3.10, 3.12, and master :/
15:56 wizzyrea do you have chrome plugins installed that might interfere?
15:56 pianohacker jcamins: sorry to hear, that sounds irritating
15:56 * wizzyrea can't imagine what that would be
15:57 wizzyrea but it's very early, my imagination might be broken
15:57 jvr wizzyrea try also Firefox with same result
15:57 jcamins jvr: do you have some sort of customization? That's the only explanation I can think of, if you copied and pasted wizzyrea's exact query.
15:58 wizzyrea yea, customised templates or un-updated translations could do that I suppose
15:58 wizzyrea are you using a translation?
15:59 jvr yes to portuguese it was gerundio o made it
15:59 wizzyrea aha
15:59 wizzyrea for fun, if you can
15:59 wizzyrea flip it to en and see if it works
16:00 jcamins wizzyrea: good call!
16:02 jvr be back in a moment, can flip production to english, I will try in my developing server
16:02 mcooper joined #koha
16:02 wizzyrea if that works - you might consider rerunning the translation install
16:02 oleonard joined #koha
16:03 jcamins Yay! wizzyrea can get some sleep!
16:03 wizzyrea woo! oleonard!
16:03 * oleonard shakes wizzyrea awake again!
16:03 * wizzyrea was musing about how she always missed oleonard these days
16:03 wizzyrea by like, 15 minutes every morning
16:05 oleonard Yup. That is a bummer.
16:06 jcamins oleonard: is there any reason we couldn't add <div>s with ids around all the user-modifiable regions in the OPAC?
16:06 jcamins Also, hello.
16:06 wizzyrea they don't have them?
16:06 oleonard They should have them, and we should add any missing ones.
16:06 jcamins wizzyrea: one or two are missing.
16:07 jcamins Okay, so that's just a bug.
16:07 jcamins I'll check which ones were missing ids, and report bugs.
16:08 jcamins OpacNav, and OpacNavBottom.
16:10 wizzyrea clearly I need to go back to bed. I just considered "deep fried smores"
16:10 jcamins wizzyrea: sounds very Scottish.
16:10 jcamins I need lunch.
16:11 * oleonard wonders what he was working on way back on Friday
16:14 jvr joined #koha
16:15 jvr back again
16:15 jvr it worksperfectly in en
16:16 jvr want are the steps I need to perform for the portuguese installation
16:16 jvr what are the steps sorry
16:16 jcamins You'll need to update the translation. I don't know the exact commands, but basically you just do exactly what you did to install the Portuguese translation in the first place.
16:16 * jvr slaps wizzyrea around a bit with a large fishbot
16:17 jcamins The command is something like: ./translate install pt-PT
16:17 jcamins But that depends on how you installed Koha, and other things I'm not sure of.
16:17 jcamins translations?
16:17 wahanui translations is
16:17 jcamins installing translations?
16:17 wahanui installing translations is, like,[…]ANET_staff_client
16:17 jcamins ^^ that page might help
16:18 wizzyrea what he said
16:19 wizzyrea right and with that glorious victory, i'm going back to bed.
16:19 jvr i will tell 'gerundio' to reinstall the translation package
16:20 jvr thank you all
16:20 christophe_c left #koha
16:20 wizzyrea yw, laters peeps
16:20 oleonard See ya wizzyrea
16:34 * druthb just finished a presentation about the awesomeness of the #koha world.
16:36 fALSO joined #koha
16:37 jenkins_koha Project Koha_3.12.x build #51: SUCCESS in 42 min: http://jenkins.koha-community.[…]b/Koha_3.12.x/51/
16:37 jenkins_koha * Owen Leonard: Bug 10218 - In OPAC XSLT search results, add class to 'online access'
16:37 jenkins_koha * Kyle M Hall: Bug 10262 - fine calculation at checkin not respecting CircControl
16:37 jenkins_koha * Galen Charlton: bug 10292: improve fallback logic for picking XSLT
16:37 huginn` Bug[…]_bug.cgi?id=10218 minor, P5 - low, ---, mathieu.saby, ASSIGNED , In OPAC XSLT search results, add class to 'online access'
16:37 huginn` Bug[…]_bug.cgi?id=10262 critical, P5 - low, ---, kyle.m.hall, Pushed to Stable , fine calculation at checkin not respecting CircControl
16:37 huginn` Bug[…]_bug.cgi?id=10292 normal, P5 - low, ---, gmcharlt, Pushed to Stable , XSLT files always taken from 'prog' theme for English
16:44 gaetan_B bye
16:48 jcamins oleonard: reported bug 10405.
16:48 huginn` Bug[…]_bug.cgi?id=10405 normal, P5 - low, ---, oleonard, NEW , User-editable sections should have ids
16:49 jcamins You don't have to patch it, I just thought you'd want to know that I'd reported it so that there was a record.
16:53 sivoais joined #koha
16:58 oleonard Yeah, jcamins isn't the boss of me!
17:08 * tcohen heads to updating that translation install wiki page
17:10 oleonard tcohen++
17:10 oleonard Karma for anyone who [accurately] updates a wiki page!
17:11 * oleonard give tcohen benefit of the doubt on the accuracy point
17:11 pianohacker is there a conversion rate? If I update 5 wiki pages inaccurately, do I get one karma? :)
17:12 oleonard No! No karma for you!
17:14 pianohacker awww
17:17 tcohen I did a whole wiki page from scratch, that has to count!
17:19 jvr joined #koha
17:20 tcohen jvr, are u using 3.12 packages?
17:20 jvr only 3.8 and 3.10
17:21 tcohen because 3.12 ships the koha-translate command
17:22 jvr i will still 3.12 very soon
17:28 oleonard Either "Course reserves" is important enough to put on the staff client home page or it shouldn't be in the global "More" menu.
17:29 * oleonard starts this argument again
17:29 oleonard Or since it is related to circulation how about on the circulation home page?
17:29 tcohen is 'onwards' used or does it sound sounds weird?
17:29 jcamins It's not on the staff client home page?
17:29 jcamins tcohen: it depends on the context.
17:29 tcohen like in '3.12 onwards'
17:30 jcamins "From 3.12 onward..."
17:30 tcohen '3.12 or newer versions' maybe
17:36 oleonard So you would vote to put course reserves on the staff client home page jcamins?
17:37 jcamins Yes, absolutely.
17:37 oleonard Why?
17:38 jcamins Because universities have a full-time course reserves staff member.
17:38 jcamins Similar to acquisitions or cataloging.
17:38 jcamins It's a central functionality of an ILS.
17:39 jcamins BTW, if anyone ever wondered what it looked when you made the body tag's background color black in the Koha OPAC:
17:40 oleonard Lovely.
17:40 jcamins oleonard: the reason that's interesting is that I changed the custom CSS using javascript.
17:44 drojf joined #koha
17:51 tcohen should I leave 3.0.6 translation install instructions
17:51 jcamins With a note that they're for 3.0.6 and therefore refer to no-longer-supported versions, yes.
17:52 tcohen Packages installs (3.12 and newer versions)
17:52 tcohen Packages (pre-3.12 versions)
17:52 tcohen Tarball/Git install (3.2 and newer versions)
17:53 tcohen are those sections fine?
17:53 jcamins I think so, yes.
18:03 tcohen jcamins, i'm refactoring the introduction
18:04 tcohen but I commited the rest of it if you could give it a fast check...
18:05 tcohen installing translations?
18:05 wahanui installing translations is[…]ANET_staff_client
18:08 jcamins That looks good to me.
18:09 tcohen glad to hear :-D
18:09 dani joined #koha
18:10 jcamins Okay...
18:10 jcamins I thought I fixed the French PO files?
18:11 jcamins Oh, that was on 3.12.
18:12 jcamins German has the greatest words.
18:12 jcamins "hinzuzufügen"
18:15 oleonard pianohacker: Did you ever find out anything more about Bug 10338?
18:15 huginn` Bug[…]_bug.cgi?id=10338 normal, P3, ---, oleonard, NEW , Search history can cause "Out of memory" errors
18:15 tcohen jcamins, finished refactoring/breaking the intro :-P
18:16 pianohacker oleonard: Urgh, no. Only the workaround, the cause of the bug itself remains a mystery
18:17 pianohacker worse, running the exact thaw call that causes the error doesn't break when done from a perl -de 1
18:18 pianohacker and there are no strict ulimits in place on the CGI
18:20 jcamins pianohacker: and you tried using something other than Storable, right?
18:21 pianohacker jcamins: Haven't tried converting it to something different, just noticed the bug, went wtf, filed it and went on with my day
18:22 jcamins I'm not sure what's going into it, but if the data structure is simple enough, JSON is an easy replacement.
18:22 pianohacker is there anything else that can decode Storable objects?
18:22 jcamins No, but there are lots of alternatives to Storable.
18:22 pianohacker jcamins: I would love JSON. No idea why someone thought url-encoded binary serializations in a cookie were a great idea
18:22 jcamins lol
18:23 jcamins pianohacker:[…]rk-serialize-perl
18:24 pianohacker wow, I didn't think JSON would do that well
18:24 jcamins Nor did I when I started researching it.
18:25 pianohacker (or storable that poorly...)
18:25 jcamins But it turns out that when caching things, a staggering amount of time is spent in storable.
18:25 pianohacker caching as in the memcached stuff we do?
18:25 jcamins Right.
18:25 jcamins Which is why we now use JSON::XS for caching if at all possible.
18:26 pianohacker sounds like a very good idea
18:27 mtj hey jcamins, i have a little authorites Q for you...
18:27 jcamins Oh?
18:28 mtj if you import a bib into koha,  must you always manually link to your koha's auth records?
18:28 jcamins The answer to that is, definitely maybe.
18:29 jcamins The import procedure does not automatically link records.
18:29 mtj ok
18:29 jcamins However, there is more than one way to link a bib to authorities, and depending how you define "manual," some of those methods might not qualify.
18:30 mtj sure, running the script, would automate that...
18:30 jcamins Right.
18:30 mtj but thats the job of a sysadmin
18:31 tcohen bye #koha
18:31 mtj ciao tcohen  :)
18:32 drnoe joined #koha
18:32 mtj i was wondering if some linking was attempted, for that single bib, on import
18:33 mtj thanks for confirming :)
18:37 mtj it should be a pretty straight-forward feature to add
18:39 jcamins Yes.
18:39 mtj i'll log a bug/feature for it
18:41 jcamins Go for it.
18:42 huginn` New commit(s) kohagit: Bug 10307 - z39.50 server search tab shows z390.50 <[…]3965576af1e6ed9c8>
18:44 jcamins oleonard: Does this seem mostly correct to you: http://cpbibliography.freshdes[…]omizing-your-opac ?
18:45 jcamins When I have time I'd like to send it as a patch for the manual, but time is something I don't have a lot of at the moment.
18:47 oleonard Looks good to me
18:48 jcamins Thanks.
18:53 cait joined #koha
18:56 jenkins_koha Starting build #1216 for job Koha_master (previous build: FIXED)
19:05 cait joined #koha
19:05 drnoe joined #koha
19:05 dani joined #koha
19:05 drojf joined #koha
19:05 sivoais joined #koha
19:05 fALSO joined #koha
19:05 oleonard joined #koha
19:05 mcooper joined #koha
19:05 pianohacker joined #koha
19:05 rambutan1 joined #koha
19:05 talljoy_lunch joined #koha
19:05 maximep joined #koha
19:05 jwagner joined #koha
19:05 Callender joined #koha
19:05 edveal joined #koha
19:05 NateC joined #koha
19:05 Joubu joined #koha
19:05 lds joined #koha
19:05 wahanui joined #koha
19:05 kathryn joined #koha
19:05 khall joined #koha
19:05 JesseM_Lunch joined #koha
19:05 BigRig joined #koha
19:05 Buddhist joined #koha
19:05 janPasi joined #koha
19:05 druthb joined #koha
19:05 berick joined #koha
19:05 senator joined #koha
19:05 eythian joined #koha
19:05 bshum joined #koha
19:05 chris_n joined #koha
19:05 aquaman joined #koha
19:05 phasefx joined #koha
19:05 moodaepo1 joined #koha
19:05 tater joined #koha
19:05 cjh joined #koha
19:05 rangi joined #koha
19:05 huginn` joined #koha
19:05 gmcharlt joined #koha
19:05 trea joined #koha
19:05 wizzyrea joined #koha
19:05 halcyonCorsair joined #koha
19:05 thd-away` joined #koha
19:05 fredy joined #koha
19:05 tweetbot joined #koha
19:05 mtj joined #koha
19:05 jajm joined #koha
19:05 jeff joined #koha
19:05 jenkins_koha joined #koha
19:05 matts_away joined #koha
19:05 alohalog` joined #koha
19:05 jcamins joined #koha
19:05 ibeardslee joined #koha
19:05 slef joined #koha
19:05 clrh joined #koha
19:05 magnus_away joined #koha
19:05 pastebot joined #koha
19:05 csharp joined #koha
19:05 tsbere joined #koha
19:05 fredericd joined #koha
19:12 pastebot "oleonard" at pasted "Uh..." (5 lines) at
19:13 jcamins Whoops!
19:13 * oleonard will fix in another patch for Bug 2774
19:13 huginn` Bug[…]w_bug.cgi?id=2774 normal, P3, ---, oleonard, ASSIGNED , Path to theme is hard-coded in many places
19:13 jcamins Clearly that should be "http://kohadev:8080/...approve.gif"
19:14 oleonard :P
19:14 cait i have to boot into windows fo the distance study... wish me luck
19:15 * oleonard wonders if cait is studying "How to boot into Windows"
19:15 tcohen joined #koha
19:15 cait the course touches animation and they have decided that having us use the 30 day trial of flash is a good idea
19:17 oleonard I hope they have a unit on hand-drawn cel animation too, since that format is almost completely obsolete too
19:18 cait joined #koha
19:18 cait eew
19:22 drojf flash. hehe
19:22 drojf i have heard of that
19:23 drojf always good to know that teaching is up to date
19:24 pianohacker fun fact I learned the other day; flash, which is up to 11.8, stopped being released for linux at version 11.2
19:24 * pianohacker is eagerly waiting for websites to start growling at him
19:24 cait my android doesn't like it either :(
19:25 pianohacker that actually made me happy, flash for android was always crappy
19:25 pianohacker ... though it was a bit of a pain
19:25 drojf what do you need flash for? even youtube managed to get html5 video
19:25 jcamins drojf: restaurants.
19:25 cait drojf: there are flash animations in the chapters about flash animation in the course..
19:26 drojf flashception
19:26 drojf lol
19:26 jcamins There's this trend of restaurants having horrible flash websites.
19:26 oleonard The only reason to want Flash is in case ever gets updated.
19:26 drojf jcamins: yeah with download-only pdf menus
19:26 jcamins I use that as a way to choose which restaurants not to go to.
19:27 drojf a reasonable way of selevtion
19:27 drojf selection even
19:27 pianohacker drojf: well, youtube's html5 support is buggy and doesn't support about half their videos
19:27 pianohacker I'd happily use it otherwise
19:29 drojf pianohacker: i know, but it supports more and more. at least that is my impression. disclaimer: i don#t like youtube, i am definitely no "browse youtube as an evening entertainment" person
19:30 cait not?
19:30 wahanui rumour has it not is maybe removed from my search
19:30 pianohacker yeah, I'm eagerly awaiting the day when I can banish flash to a separate firefox profile that I load up once in a while for the occasional mindless flash game. for now, I watch enough shows and music on youtube that I have to keep the accursed thing
19:32 cait using windows makes me grumpy
19:32 pianohacker which windows?
19:32 cait and i have only been using it for like... 10 mins? weirdly i use it at work and it's ok, but i hate it on the laptop
19:33 cait windows 7
19:33 wahanui i guess windows 7 is starting to tick me off
19:33 paul_p joined #koha
19:34 pianohacker hah!
19:34 cait hah?>
19:36 cait @wunder Konstanz
19:36 huginn` cait: The current temperature in Taegerwilen, Taegerwilen, Germany is 16.0°C (9:35 PM CEST on June 04, 2013). Conditions: Clear. Humidity: 62%. Dew Point: 9.0°C. Pressure: 30.04 in 1017 hPa (Steady).
19:36 pianohacker just an apropos comment from the bot
19:37 drojf cait: i use windows at work sometimes. it is ok as long as it is on "their" computers. it takes seconds to minutes to make me angry if i have to start the vm on my own computer
19:37 drojf i think it's a "revier"-thing ;)
19:37 cait heh
19:37 cait that makes sense actually :)
19:38 oleonard If you can't create a new course for course reserves when there are no departments to choose from, why display the course reserves entry form at all? Just show an error message and direct the user to authorised values.
19:38 cait bug>?
19:38 cait hm is course reserves pushed?
19:39 oleonard Yes, looking at it now for the first time.
19:39 cait i am way behind on my bug mails because of the flash....
19:39 cait oleonard: it sounds like a usability issue worth a bug
19:40 oleonard I guess we need a new bug component for course reserves. Who makes that happen?
19:41 gmcharlt oleonard: one moment
19:43 gmcharlt oleonard: et voila
19:43 oleonard Awesome, thanks gmcharlt
19:43 drojf gmcharlt: are you the happening-maker of bug components? i still think we should have something for the livedvd. i'm not sure if the person in charge would look at it though
19:43 jcamins drojf: I'm going to go with "they would not."
19:44 jcamins Is there any way to make Perl always print out the complete call stack when it dies?
19:44 drojf jcamins: maybe making that an obligation for future live-disk managers would make sense?
19:45 gmcharlt drojf: IMO, that component should exist only if somebody has explicitly stated that they will look over such bugs
19:45 jcamins drojf: sure, because people actually do what they're supposed to when elected.
19:46 drojf jcamins: they might…
19:46 drojf gmcharlt: i think you are right
19:47 gmcharlt and a general lesson, I think: no future project positions should get created without some indication of what that position does
19:48 cait gmcharlt: very good rule
19:48 cait can someone add that as a quote?
19:49 drojf i really don't know… on the one hand, everyone that volunteers for whatever is someone who spends at least some of their time for community work… on the other hand, is that something that is always better than nobody working on that particular thing? we have something labelled "official" livedvd now that has no relation to the community besides ~3 anouncements to the list and one longish thread
19:50 jcamins drojf: except when it's someone who doesn't actually volunteer any of their time for the community, of course.
19:50 tcohen what's the problem? livecd non-functional or something?
19:50 jcamins tcohen: nope, no problem.
19:51 jcamins I mean, beyond the usual "people think that the livecd is a viable option for production."
19:51 tcohen oh, *that* problem
19:52 tcohen our local koha community has come up with a nice .deb setup inside a DVD that can be installed on hte filesystem
19:52 jcamins Okay, this is absurd.
19:52 tcohen it is based on mint or smth similar
19:52 jcamins I have a script that prints things out to STDOUT and STDERR.
19:52 jcamins I want to capture all the output to a file.
19:52 jcamins How do I do that?
19:53 jcamins Short of replacing all the "prints" with "warns"
19:53 tcohen 2>&1 > file
19:54 jcamins Drat.
19:54 jcamins That's what i had.
19:54 jcamins It doesn't work.
19:54 jcamins STDERR does not get redirected at all.
19:54 tcohen its a cron script?
19:55 tcohen i mean, is it run from a cron definition?
19:55 jcamins Nope.
19:55 pastebot "jcamins" at pasted "command" (1 line) at
19:55 pianohacker This is just running a script from the command line? That's crazy.
19:56 jcamins pianohacker: I know... so what am I doing wrong?
19:57 pianohacker I have no idea, that's bizarre
19:58 jcamins Well, there's more than one way to skin a cat.
19:58 * jcamins replaces "say" with "warn".
20:00 Dyrcona joined #koha
20:00 mtj gmcharlt, i think some semi-regular #irc presence should be expected, for people that hold 'offical' positions
20:02 gmcharlt mtj: meh -- I see where you're coming from, but I'd phrase it as folks are expected to be reachable, in particular by those who most use their work
20:02 gmcharlt but not necessarily IRC
20:03 pastebot "tcohen" at pasted "Reproduced jcamins" (8 lines) at
20:04 jcamins tcohen: oh, so say messes with STDOUT/STDERR?
20:04 mtj gmcharlt, when i say 'semi-regular #irc presence'  - i just mean a bot
20:05 tcohen i think is warn
20:05 mtj … i dont mean they are required to chat about the weather on #koha, for 30 mins per day
20:06 jcamins warn?
20:06 jcamins I'm sure I've used warn in scripts and had redirect work.
20:06 gmcharlt mtj: from my POV IRC is useful but not necessary -- somebody could perform their responsibilities entirely via email and still be effective
20:07 gmcharlt more broadly, I think we should be careful about *over*-specifying expectations for official positions
20:07 tcohen this works as expected: perl 2> /dev/null
20:07 tcohen this too: perl 1> /dev/null
20:08 tcohen this doesn't: perl 2>&1 > /dev/null
20:08 gmcharlt what about perl > /dev/null 2>&1
20:08 gmcharlt that's the pattern I've always used
20:08 mtj gmcharlt, yes, i agree with both your points
20:09 tcohen > /dev/null 2>&1
20:09 tcohen heh
20:09 tcohen i put it the wrong way, well spotted gmcharlt
20:09 gmcharlt hmm, where did tcohen go, I can't hear anything from him? ;)
20:10 tcohen heh
20:10 jcamins Why does the redirect go in that order?
20:10 Dyrcona gmcharlt: You forgot | tee
20:10 Dyrcona jcamins: First you redirect standard output somewhere, then you redirect standard to a duplicate of standard output.
20:11 Dyrcona ...standard error to a duplicate of....
20:11 jcamins Dyrcona: but wouldn't you want to do it in the other order, so that your stderr goes into the same stdout that is going into the file?
20:11 tcohen the problem is that &1 is a pointer
20:11 Dyrcona jcamins: It dups stdout at the time it sees &1. At that point stdout would still be the console.
20:12 Dyrcona man dup
20:12 jcamins Ohhhh.
20:12 tcohen that references STDOUT during evaluation
20:12 jcamins Now I understand.
20:12 gmcharlt Dyrcona++ # now I have fewer bit of cargo-cult
20:13 jenkins_koha Project Koha_master build #1216: SUCCESS in 1 hr 17 min: http://jenkins.koha-community.[…]Koha_master/1216/
20:13 jenkins_koha Owen Leonard: Bug 10307 - z39.50 server search tab shows z390.50
20:13 huginn` Bug[…]_bug.cgi?id=10307 trivial, P5 - low, ---, oleonard, Pushed to Master , z39.50 server search tab shows z390.50
20:14 pianohacker ^ why writing shells is harder than it first appears
20:14 pianohacker dup2 is deep, picky magic
20:15 tcohen shells where designed by hackers
20:15 tcohen not computer scientists with good semantics background :-P
20:16 jcamins Right, in hindsight I realize that running the dedup script on a file containing 213k authorities wasn't the best idea.
20:17 tcohen I should have restored the stdout/stderr redirection before starting a flame war
20:18 pianohacker tcohen: I think that statement applies to the entire POSIX API, not just shells
20:18 jcamins It takes ages and ages and ages to get to the end so that you can run it again.
20:18 pianohacker it all fits together, but the semantics are funky
20:19 tcohen heh, it is physicist's fault, that's for sure
20:20 * tcohen hopes dijkstra is not reading this somewhere
20:22 tcohen (or Reynolds heh)
20:24 cait wow
20:24 cait starting flash takes forever
20:29 oleonard See you later #koha
20:32 cait hi druthb
20:32 druthb Hi, cait! :)
20:34 rambutan joined #koha
20:34 rhcl joined #koha
21:04 jcamins Time to pick up the CSA!
21:04 jcamins :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D
21:10 pianohacker ? Canadian Space Agency? Cartan Subalgebra?
21:11 jcamins Community-Supported Agriculture.
21:11 jcamins Back in forty.
21:31 jatara joined #koha
21:39 jcamins Twenty-eight, actually, apparently.
21:42 cait did you get everything?
21:42 jcamins Yup.
21:42 jcamins Mixed lettuce, romaine, bok choy, red kale, salad turnips, and arugula!
21:42 jcamins :D
21:50 jcamins wizzyrea++ # great article on getting user feedback
21:51 rambutan joined #koha
21:52 rhcl joined #koha
21:52 wizzyrea oh yea that was fantastic eh
21:53 wizzyrea I'd like to see us doing more of that
21:53 jcamins So so so good.
21:53 * jcamins is totally doing guerilla usability testing at the next library conference he goes to.
21:54 jcamins "I'll buy your latte if you tell me what you think of this iPad app."
21:54 cait hm?
21:54 jcamins cait:[…]h-tiny-tests.html
21:55 cait thx will take a look later
21:55 maximep left #koha
22:02 moodaepo joined #koha
22:14 dani_away left #koha
22:29 eythian hi
22:31 eythian wahanui: refactoring is <reply>http://devopsreactions.tumblr.[…]his-piece-of-code
22:31 wahanui ...but refactoring is not rewriting it is abstracting....
22:31 eythian wahanui: refactoring is also <reply>http://devopsreactions.tumblr.[…]his-piece-of-code
22:31 wahanui okay, eythian.
22:33 wizzyrea \o/
22:33 jcamins lol
22:33 trea lol
22:33 wizzyrea refactoring?
22:33 wahanui somebody said refactoring was not rewriting it is abstracting.
22:33 wizzyrea refactoring?
22:33 wahanui http://devopsreactions.tumblr.[…]his-piece-of-code
22:33 wizzyrea ^ greatest tumblr ever
22:33 trea so satisfying
22:34 * wizzyrea is old, doesn't understand tumblr.
22:35 wizzyrea probably also apt for koha: http://devopsreactions.tumblr.[…]-coding-standards
22:43 pianohacker wait, we have coding standards? shoot
22:45 cait coding guidelines?
22:45 wahanui coding guidelines are[…]Coding_Guidelines
22:48 Irma joined #koha
22:51 mtj hi peeps, ive got a general git/patch question for the borg...
22:52 pianohacker shoot
22:52 eythian ask?
22:52 wahanui Don't ask to ask, just ask.
22:52 mtj sorry, crafting my Q...
22:53 mtj can anyone explain what happens, when you attempt to apply a patch and it fails... but you dont get an expected file(s) with any merge-markers?
22:54 pianohacker mtj: Only certain kinds of patch application will give you the merge markers
22:54 pianohacker are you using git aplly?
22:54 pianohacker *apply?
22:55 mtj hmm, im using 'git bz apply' and 'git am ./myfile.patch'
22:55 eythian mtj: in those cases, I usually take the patch file and apply it with a 3-way merge, it's more likely to give merge markers.
22:55 pianohacker yup. add the -3 option to am to do that
22:55 mtj i have a recent example, bug 10096
22:55 huginn` Bug[…]_bug.cgi?id=10096 new feature, P5 - low, ---, dcook, Patch doesn't apply , Add a Z39.50 interface for authority searching
22:56 mtj hmm, i'm actually using 'git am -iu3  ./myfile.patch'
22:56 eythian if it's a patch on top of a private branch, or expects another patch you don't have, then 3-way won't work.
22:59 mtj ok, i guess thats whats going on here - dcook has missed a patch in his series
22:59 drnoe left #koha
22:59 mtj "fatal: sha1 information is lacking or useless (koha-tmpl/intranet-tmpl/prog/en/modul​es/cataloguing/
22:59 mtj Repository lacks necessary blobs to fall back on 3-way merge.
22:59 mtj Cannot fall back to three-way merge."
23:00 mtj ive never quite known what caused that scary error
23:00 wizzyrea git fetch?
23:00 wizzyrea then try?
23:00 mtj wiz, i did it on a fresh clone
23:02 wizzyrea that probalby has to do with how he did the followup
23:02 mtj so yeah, ive checked all the obvious stuff
23:03 cjh @marc 942 k
23:03 huginn` cjh: unknown field/subfield combination (942/k)
23:04 cjh @marc 942 o
23:04 huginn` cjh: unknown field/subfield combination (942/o)
23:04 wizzyrea i am not a git expert, but when I've had problems like that (in between followups) it's because I did something like (i think!) rebase in between attaching patches when master had moved
23:04 wizzyrea but that could be wrong
23:05 mtj wizzyrea, yeah its a weird one… eyeballing the second patch, there doesnt seem to be too much wrong with it?!
23:06 papa joined #koha
23:06 eythian @marc 952 o
23:06 huginn` eythian: unknown field/subfield combination (952/o)
23:07 wizzyrea not sure, the error has to do with git being unable to match the previous commit hashes to what is existent on your repo, which suggests rebase trickery to me
23:07 wizzyrea i.e. probably not your issue
23:07 wizzyrea but the patch's
23:08 wizzyrea < not a git expert, really, that could all be nonsense.
23:08 eythian or that when it was written it wasn't actually written against master
23:08 wizzyrea ^
23:13 rhcl left #koha
23:15 NateC joined #koha
23:15 mtj thanks, thats all good info :)
23:17 mtj fyi, i edited the 2nd patch slightly, and got it to apply (with a merge error)
23:17 mtj so ill fix that, then upload it
23:18 mtj i removed the troublesome diff block, for the  '' file
23:19 wizzyrea dcook should be around soon
23:20 mtj …from the patch, then re-ran 'git-am -3 '
23:20 mtj yeah, he should :)
23:21 mtj anyhoo, i learnt something there... :D
23:35 pianohacker good night
23:35 wahanui If you feel like someone is looking through your window, it's OK, it's just me.
23:50 trea hey #koha, anyone know of a simple way to determine if a file is encoded in marc-8 vs. utf-8?
23:51 jcamins trea: look for the most common MARC-8 codepoints?
23:51 trea which are?
23:52 eythian jcamins: do you mean outside of looking at the header?
23:52 eythian err
23:52 eythian trea ^
23:52 jcamins eythian: that doesn't work at all.
23:52 jcamins 99% of the time it's wrong.
23:52 jcamins \xE8{something} I think.
23:52 eythian jcamins: maybe he's in some happy-go-lucky fantasy land where they're all right? You don't know until you ask!
23:52 jcamins lol
23:52 trea lol
23:52 * trea doubts it.
23:52 cjh trea: flipping a coin should get it right every now and then...
23:53 wizzyrea is there a reference?
23:53 * trea searches for his wooden nickel.
23:53 ibeardslee double headed?
23:54 trea ^
23:54 eythian <-- trea, this is what I use to convert strings to UTF-8. It's not perfect, but usually good enough (it also does one or two other fixups)
23:54 jcamins There's probably something on LC's site.
23:54 trea strange. that URL doesn't resolve
23:55 eythian do
23:55 eythian doh
23:55 cjh lol
23:55 eythian wrong pastebin
23:55 jcamins That URL doesn't resolve.
23:55 cjh trea: if you bring your laptop to catalyst it may
23:55 trea ha
23:55 wizzyrea hm probably not actually :P
23:55 trea not on the guest wireless
23:55 cjh yeah, I dont think it is on the wireless
23:55 wizzyrea he's on the wireless :P
23:55 pastebot "eythian" at pasted "try this one..." (25 lines) at
23:55 cjh trea: if you walk here you can look over wizzyrea's shoulder :)
23:55 wizzyrea ooh la la
23:56 * trea is surprised you're not using MARC::Charset to do this.
23:56 eythian I am
23:56 trea gah
23:56 eythian marc8_to_utf8 is a function in that
23:56 trea reading fail
23:58 trea that would certainly handle a conversion, which through inference would solve the problem
23:58 trea but i guess the answer is, there isn't an easy way to tell.
23:59 eythian yeah, I just force everything to UTF-8 I can because MARC-8 needs to go away.

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