IRC log for #koha, 2014-11-04

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

All times shown according to UTC.

Time Nick Message
00:01 dcook Trying to recall how to develop with DBIC when you're adding DB tables... :S
00:04 Also trying to recall if we can import MARCXML into Koha...
00:04 I guess that's an easy one to test
00:29 wajasu wanting to run the installer on the command line to get my db schema setup for t tests.  i can't recall what script i can run.
00:31 wizzyrea koha-upgrade-schema <site>
00:31 (for a package)
00:32 * wajasu trying
00:36 kmlussier joined #koha
00:47 talljoy left #koha
00:48 wajasu found it.  installer/debian/data/mysql/kohastructure.sql  ;)
00:52 rocio left #koha
00:56 mtj hmm, i'm not sure that would work so well
00:57 ...you'll  be missing some stuff from your db still
00:57 dcook ^
00:58 mtj tho, having said that... i cant offer a better solution
00:59 ... other than prep a clean db, and dump it - for testing
00:59 (its what i do)
01:01 its a bummer there is (afaik) no command-line equiv. of the web-installer
01:02 * dcook loves underdocumented CPAN modules
01:02 dcook mtj: I think that koha-upgrade-schema script works for Debian?
01:02 Maybe not... maybe that's just for updates...
01:02 * dcook just uses a clean db and dumps too usually
01:03 mtj would be very handy to automate the initial web-install steps, from a script
01:03 dcook totes
01:04 mtj you could pass koha-create some args, or a config-file to make all the correct selections
01:04 dcook Probably :)
01:05 mtj koha-upgrade-schema assumes a pre-installed db, afaik
01:05 dcook Probably :)
01:06 I don't use Debian at work, so I don't know much about the Debian scripts
01:07 mtj i'm talking about a script to do the inital db configuration steps (that the web-installer currently handles)
01:08 ok, no probs
01:09 dcook tcohen, gmcharlt: I don't suppose either of you are around atm?
01:09 Or rangi maybe?
01:10 Hmm, maybe I'll just find a sample patch for DBIC..
01:12 http://koha.1045719.n5.nabble.[…]ss-td5779577.html
01:12 :)
01:13 wizzyrea note I haven't tried it, can't you koha-create --populate-db <site>
01:13 well I mean I know you can
01:13 but I"m not sure what exactly it does.
01:13 it *seems* like it would do mostly what you're thinking of.
01:18 BobB_ joined #koha
01:19 barton_a1ay joined #koha
01:21 wajasu hooray! i built a koha package with passing tests.   using docker!     now i can build packages more easily, and test installs into fresh distributions more quickly.
01:24 gonna have to tweak and document this.  will have to see if i can build ubunto too.
01:25 * wajasu time for dinner
01:26 dcook Dinger, I wanted to do the Docker workshop at OSDC...
01:26 :/
01:28 wajasu once i tweak it, the pkg maintainer can take it and decide to run with it.   i learned too much about package building.   did not use pbuilder, but just dpkg-buildpackage.
01:29 so i don't need a fakeroot, since i am in a docker root with a minimum debian squeeze.
01:29 dcook I occasionally think about learning more about building RPMS, but seeing as there are at least two different types of RPMs, I decided on a big nope
01:33 wajasu i am runnign a laptop with wheezy amd64  and wheezy-backport linux kernel to get docker running.
01:33 this might be a quicker sandbox, since its using lxc.
01:35 mtj wizzyrea: populate-db  does loads a  default  koha.sql file,  but takes no options
01:36 but, yeah - its a good start, afaik
01:36 wizzyrea hey, a thing to extend :)
01:37 mtj i guess its a oldish db - but can be updated with the koha-upgrade-schema script, after loading
01:40 yep, a thing to extend :)
01:42 hmm, but i dont think a default koha.sql exists in the repo - you might need to add one yourself
01:45 wizzyrea I would hesitate on that, I'm not super clear (it's one of those things I should look into, honestly) on the details of how the database is built up these days, but it isn't as straight forward as it used to be as far as I can tell.
01:46 * dcook is also curious about how the DB works these days
01:49 wajasu i looked at the koha-upgrade-schema and it ran updatedatabase.sql and it only had 57 tables.  so i ran mysqladmin ... <  installer/data/mysql/kohastructure.sql       first.
01:51 mtj youll be missing some stuff wajasu
01:51 sysprefs, frameworks, branches
01:53 probably saner to just do a web-install, then dump/load your db, for testing
01:53 that way, you know its correct
01:54 wizzyrea that's what most people do
01:54 mtj would be a bummer to waste time testing on a glitched db :/
01:54 wajasu ok.
01:54 wizzyrea nice for people to routinely check the web installer though
01:55 i did, once, do an install of koha using lynx
01:55 it seemed to work ok
01:55 mtj yeah, ive done that ok too
01:56 wajasu maybe www mechanize ...?
01:56 mtj yeah,  good call wajasu - (or selenium)
01:58 wajasu i'm going to plod through to test bug 12856
01:58 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=12856 normal, P5 - low, ---, gmcharlt, Needs Signoff , koha-disable fails without disabling site
01:59 mtj this looks interesting too... -> http://phantomjs.org/
01:59 (a bit off-topic)
01:59 wizzyrea \o/
02:33 * dcook wonders what the "z3950queue" is...
02:33 dcook Hmm, maybe that's a local thing
02:33 And that's what I get for not using a clean DB
02:34 * wizzyrea doesn't have that one
02:34 dcook Hmm, definitely local then
02:34 I remember we had a custom Z39.50 thingo
02:34 Wondering about terminology for this OAI harvester...
02:35 "oai_harvest", "import_oai", "oai_queue", "OAIqueue"
02:35 I guess we don't use CAPS so the last one is out
02:36 Mmm, "oai_harvest" it is
02:43 NateC joined #koha
02:55 dcook Interesting...I can't install resolve some Perl dependencies when installing fresh... but it's not an issue when upgrading? :S
02:56 Any  FriBidi gurus around at the moment?
03:07 Anyone else having issues installing Text::Bidi?
03:40 NateC joined #koha
03:42 trea joined #koha
04:10 mtj seems to work ok on deb-stable, dcook
04:10 dcook I figured it probably would on Debian :)
04:10 mtj # apt-get install libtext-bidi-perl
04:10 dcook Oh, the perils of not using a Debian-based OS
04:13 mtj sorry to torment you, dcook
04:13 dcook No worries :p
04:13 I figured there would be an uproar if it didn't work on Debian ;)
04:14 mtj hey, do peeps have a good suggestion for xml2csv.pl conversions, for koha
04:14 dcook O_o
04:14 Why would you want to do xml2csv?
04:14 Also, what's xml2csv.pl? :)
04:15 mtj im looking thru this at the mo.. -> https://gitorious.org/koha-too[…]migration-toolbox
04:16 why?, i have a reliable workflow to convert csv to marc
04:16 but no workflow to convert xml to marc
04:17 so, if i can convert xml to csv - then i'm good
04:18 xml2csv.pl is an imaginary name of a perl script... that converts xml to csv
04:25 jcamins mtj: use XSLT.
04:26 mtj i've been using some homemade perl scripts, using  anydata - with some success...
04:26 jcamins Or, if the XML is actually equivalent to a CSV, use a regular expression.
04:26 mtj http://search.cpan.org/~sdowid[…]11/lib/AnyData.pm
04:26 ..but, i was curious if anyone else had a better way
04:27 xslt sounds a bit... labour intensive
04:28 i think i would have to write the xslt myself
04:28 jcamins: thanks for the reply
04:29 do you know of any examples, using xslt, on the webs?
04:29 jcamins Well, yeah. If you want to take advantage of the structure of generic XML, there's no way around it. If you don't want to take advantage of the stucture, regular expressions would most likely be fine.
04:29 mods?
04:29 wahanui hmmm... mods is a zillion times more sane
04:29 jcamins mods?
04:29 wahanui mods is probably a zillion times more sane
04:30 jcamins Eh. Well, find the MODS2MARCXML stylesheet that LC has.
04:31 dcook XSLTs aren't that bad to write after you play around for a bit.
04:32 mtj fwiw, ive played with xslt a bunch - i hate it
04:32 * dcook shrugs
04:32 dcook You could use LibXML to read the data and then write it out to a MARC::Record object
04:32 That would also be heaps easy
04:35 mtj hmm, ok - thanks for the suggestion guys
04:35 i'll let you know how i get on
04:36 dcook :D
04:36 I figured out my issue in the end as well
04:36 Well, I lie
04:36 Someone else figured it out for me :P
04:36 Had the fribidi package installed but not fribidi-devel
04:37 fribidi?
04:37 Hmm, probably not relevant to anyone else really..
04:39 Yay! Now I can finally install Koha again...
04:50 Oh my... I didn't realize "update_dbix_class_files.pl" would refresh the whole thing...
05:17 Oh DBIC...
05:32 wajasu mtj: maybe xmlstarlet can help convert your xml to csv http://www.joyofdata.de/blog/t[…]using-xmlstarlet/
05:37 mtj: http://stackoverflow.com/quest[…]ting-xml-into-csv
05:48 cait joined #koha
06:08 dcook DBIC grrr
06:14 Interesting... I wonder how find_or_new works for DBIC...
06:14 irma joined #koha
06:17 dcook Identical content but there must be some difference... control characters or encoding or something...
06:17 Neato burrito in any case
06:42 BobB joined #koha
06:44 NateC joined #koha
06:44 laurence joined #koha
07:24 * magnuse waves
07:24 magnuse @later tell bag HI
07:24 huginn magnuse: The operation succeeded.
07:25 * cait waves at magnuse
07:25 * magnuse waves at cait
07:26 magnuse dcook: https://metacpan.org/pod/DBIx:[…]ltSet#find_or_new ?
07:28 mtj: https://metacpan.org/pod/Catmandu::Importer::XML -> https://metacpan.org/pod/Catmandu::Exporter::MARC
07:29 irma joined #koha
07:35 reiveune joined #koha
07:35 reiveune hello
07:36 cait left #koha
07:36 magnuse bonjour irma et reiveune
07:37 reiveune salut magnuse dcook and everybody
07:54 lds joined #koha
07:56 alex_a joined #koha
07:57 alex_a bonjour
07:57 Joubu joined #koha
07:57 Joubu hello
07:59 sophie_m joined #koha
08:06 magnuse @wunder boo
08:07 huginn magnuse: The current temperature in Bodo, Norway is 2.0°C (8:50 AM CET on November 04, 2014). Conditions: Partly Cloudy. Humidity: 60%. Dew Point: -5.0°C. Windchill: -3.0°C. Pressure: 29.44 in 997 hPa (Rising).
08:13 bigbrovar joined #koha
08:22 paul_p joined #koha
08:28 gaetan_B joined #koha
08:28 gaetan_B hello
08:46 NateC joined #koha
09:10 ashimema morning #koha
09:14 mtj thanks for the links magnuse ^
09:15 bensinober morning ashimema, still excited by the discussion on APIs from yesterday, we will continue on koha-restful but on the idea of migrating to Koha::Service in due course
09:15 mtj hey Joubu, do you think we should start to use bugzilla for the qa-tool?
09:15 bensinober please dont hesitate if you need us to test code or help in any other way
09:15 we realize its 100% focus on qa and 3.18 now..
09:16 Joubu mtj: Hi, why? :) I don't have a lot of request
09:16 cait joined #koha
09:16 mtj Joubu: i was thinking of making some :)
09:16 cait hi #koha
09:17 mtj perhaps the tool is critical enough now, that we should?
09:18 i understand its a bit more work... :/  but perhaps its worth it?
09:20 ashimema What are you suggesting mtj...
09:20 integrating the qa tool into bz to autorun upon bug uploads or somthing like that?
09:20 mtj no
09:21 Joubu I think we can use github to do it
09:21 mtj we can use github, but im suggesting to use bz instead
09:22 (just a suggestion)
09:23 ashimema care to explain then?
09:23 mtj ie; use bz's workflow to accept patches foe the qa-tool - rather than githubs issue-tracker
09:23 Joubu what kind of stuffs do you want to add?
09:23 ashimema rangi et al seems fairly set against moving too much workflow into github btw..  not being open soruce itself..
09:24 mtj Joubu: basically, more verbosity
09:24 ashimema there are similar efforts out there though ;)
09:25 mtj better descriptions of the FAILS, line numbers...
09:25 that kind of stuff..
09:25 Joubu mtj: won't be easy to do
09:26 ashimema Is that not what Splinter Review is for?
09:26 that's what I use it for
09:26 mtj some stuff will be easy, Joubu... like line numbers
09:26 Joubu mtj: it's quite trivial to find the line numbers, just run perl -wc and perlcritic and they will give us the ln
09:26 mtj: not sure it's easy :)
09:27 but if you think it's easy, go
09:29 mtj i agree, its trival to find the line number of some errors
09:30 so.. we should display that helpful info in the qa-tool's output
09:32 Joubu mtj: the problem is that we don't have the line numbers when we display le report
09:33 mtj hmm, really? but why not?
09:33 perhaps i can fix that then
09:33 Joubu hum, not sure I can explain you easily.
09:34 mtj ok, no probs
09:34 Joubu but quickly: we launch perl -wc (for instance) on file.pl, before the patches applied
09:34 we kept the error message (warn XXX at line L1)
09:35 after the patches applied, perl -wc file.pl
09:35 we kept the error message (warn XXX at line L1 AND warn YYY at line L2)
09:35 we don't want to warn the XXX warning/error
09:35 it's not a new one
09:35 mtj *nod*
09:36 so, we have a new YYY warn...
09:36 Joubu but if the L1 is not L1 (the patches added/removed lines before the warn)
09:36 we will warn it
09:37 so the script removes the line numbers from the messages
09:37 but maybe we can store them somewhere on the second pass
09:38 I don't remember the structure we used
09:38 mtj sure, store them in a file - for starters?
09:39 but, yeah - it sounds do-able to compare the before/after errors
09:40 we may get some false-positives, but thats worth it, for helpful line numbers
09:41 Joubu not sure :)
09:41 mtj anyhoo Joubu... no need for you to explain to me - ill take a look myself
09:41 ...and see if i can make some improvements
09:42 thanks for the explaination
09:44 Joubu: i should take a look first - before i say how easy it will be!
09:45 ashimema: btw whats  'Splinter Review',? i get no luck using google
09:46 its something for bz?
09:46 magnuse mtj: there is a link to the right of every patch on bz
09:47 "Details | Diff | Splinter Review"
09:47 NateC joined #koha
09:48 mtj aah, ok
09:49 ..that looks a bit different than what we are talking about here
09:49 basically, the ability for qa-tool to give line-numbers for its various errors
09:57 ashimema Sounds like you found it ;)
09:58 It's for reviewing patches inline on bz..
09:58 so your takling about he qa tool spitting out line numbers..
09:58 how does it relate to bz is my question..
09:58 just wondering as it sounds like an interesting idea :)
10:01 magnuse i think mtj wants to add the line number feature, and is asking where he should be reporting that bug/enh? in bz or on github
10:08 mtj yep, thats it magnuse
10:10 ashimema: fyi, i think getting the qa-tool to autorun on newly sumbitted patches is a great idea
10:11 ... but that was not what i was talking about before, (thats all)
10:13 people have mentioned that (at some stage) the qa-tool code might be merged into the koha repo itself
10:22 Joubu mtj: it is: http://git.koha-community.org/[…]ols.git;a=summary
10:25 mtj Joubu:  i mean merged into the koha.git repo - rather than hosted on the kc.org git server
10:47 ashimema I see now... i was really getting wires corssed then..
10:47 thanks for the clarifications.
10:48 cait I think i like it separate
10:49 becuse i am testing qa against various versions
10:49 and i alays want to use the most recent qa tool
10:49 well on the main repo, but not part of Koha is what i meant :)
10:50 NateC joined #koha
11:02 papa joined #koha
11:23 magnuse bonjour khall
11:23 khall mornin!
11:24 cait morning khall!
11:24 khall morning cait!
11:25 cait khall: can I attack you with a bug fix wish?
11:26 khall sure!
11:26 cait bug 10382
11:26 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=10382 critical, P5 - low, ---, kyle, Failed QA , collection not returning to null when removed from course reserves
11:27 khall ooh, that one is wicked difficult! I'll have to revisit it
11:28 cait i think it's quite an evil one tho
11:52 NateC joined #koha
12:09 carmenh joined #koha
12:23 tcohen joined #koha
12:23 tcohen morning!
12:23 @wunder cordoba, argentina
12:23 huginn tcohen: The current temperature in Cordoba Aerodrome, Argentina is 14.0°C (9:00 AM ART on November 04, 2014). Conditions: Scattered Clouds. Humidity: 36%. Dew Point: 3.0°C. Pressure: 30.11 in 1020 hPa (Rising).
12:24 cait good morning tcohen :)
12:24 tcohen hi cait
12:27 cait hm hi tcohen... whenever you come back :)
12:28 Joubu: i think we wrote a comment almost at the same time - bug 12851
12:28 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=12851 normal, P5 - low, ---, jonathan.druart, In Discussion , order tags are not removed on claiming serials/orders
12:31 Joubu cait: yep :)
12:33 meliss joined #koha
12:39 tcohen joined #koha
12:49 oleonard joined #koha
12:50 fridolin joined #koha
12:50 fridolin hie all
12:54 oleonard Hi #koha
12:57 NateC joined #koha
13:02 tcohen joined #koha
13:02 collum joined #koha
13:05 lds joined #koha
13:10 magnuse bug 13194 - easiest signoff evvah!
13:10 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=13194 trivial, P5 - low, ---, magnus, Needs Signoff , Tiny typo in POD for SetMessagingPreferencesFromDefaults
13:17 tcohen_ joined #koha
13:36 kmlussier joined #koha
13:39 tcohen joined #koha
14:08 talljoy joined #koha
14:14 burdsjm joined #koha
14:19 alex_a_ joined #koha
14:23 alex_a__ joined #koha
14:25 Dyrcona joined #koha
14:35 alex_a joined #koha
14:36 alex_a joined #koha
14:42 cait left #koha
14:43 cma joined #koha
14:43 rocio joined #koha
14:54 ColinC joined #koha
15:13 fridolin left #koha
15:20 smrt joined #koha
15:24 gerundio joined #koha
15:33 ashimema is the wiki down?
15:33 hmm.. appears to just be me
15:33 odd
15:37 @later tell eythian Could you take a look at bug 7904 possibly.. I'd be interested to hear your view on how it may affect packages.
15:37 huginn ashimema: The operation succeeded.
15:38 ashimema bug 7904
15:38 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7904 enhancement, P5 - low, ---, colin.campbell, Needs Signoff , SIP modules handling of @INC is confused
15:47 BigRig joined #koha
15:57 tgoat joined #koha
16:17 bag @notes khall
16:17 huginn bag: Error: I have no notes for that nick.
16:17 ashimema is anyone lese getting dns error for the wiki..
16:17 I can't for the life of me get to it at the moment.
16:18 bag khall: http://bugs.koha-community.org[…]_bug.cgi?id=12971
16:18 huginn 04Bug 12971: critical, P5 - low, ---, kyle, NEW , Printing member information lacks data
16:19 hbraum joined #koha
16:22 reiveune bye
16:22 reiveune left #koha
16:31 bag @later tell gmcharlt http://bugs.koha-community.org[…]_bug.cgi?id=11944  Is waiting for some feedback from you
16:31 huginn bag: The operation succeeded.
16:31 04Bug 11944: major, P5 - low, ---, jonathan.druart, Passed QA , Cleanup Koha UTF-8
16:41 oleonard So it looks like "Always show checkouts  immediately" option means "...until the next browser session"
16:41 Not the same definition of "always" that I work with
16:44 smrt left #koha
16:46 smrt joined #koha
16:48 hbraum oleonard we’ve found it’s set that way until you clear the browser cache….so if the cache is cleared on the browser closing, yep, it has to be set again after the next login.
16:54 oleonard Based on the code I don't see how that can be true hbraum. The cookie is not set with an explicit expiration, so it is created as a session cookie.
16:54 talljoy joined #koha
16:56 hbraum oleonard i just know what we’ve experienced with our libraries vs my computer. i don’t have the cache set to clear on chrome or firefox on my computer, and that always show setting holds, even when I have to log back in to Koha. But on all of our library computers, where the cache IS cleared on browser close, the libraries have to recheck that always show button on the next session
16:56 i’m admittedly not entirely happy about the setting…but checkouts are MUCH faster, so trying to live with it right now.
16:57 edveal joined #koha
17:02 barton can someone give wiki.koha-community.org a kick? 'tis hanging.
17:10 cait joined #koha
17:11 hbraum barton I just noticed that too.
17:14 bag hbraum: we have khall working on all those bugs :)  we're going to bust our butts so that feature is nice and clean in 3.18 :)  (backporting as much as we can too)
17:14 oleonard  ^^^^
17:14 oleonard Bug 13196
17:14 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=13196 normal, P5 - low, ---, oleonard, ASSIGNED , "Always show checkouts immediately" cookie should persist across sessions
17:15 bag khall ^^^^
17:15 rocio joined #koha
17:15 hbraum bag I know :) I’ve been pulling along others as they’ve griped about it :) once I explain why that happened, and that it was part of the way to speed up checkout…people are much happier for now.
17:16 bag I can say that checkout IS much faster across the board…we may not even have to purge datatables any more!
17:16 bag ummm heh - yes you do ;)
17:17 hbraum well…our special purging…how’s that?
17:17 not having to purge accountlines anymore will make me VERY happy.
17:18 gaetan_B bye!
17:18 bag heh hbraum - of course we shall see :D
17:18 hbraum (because I have to maintain an offline backup…for 1 library)
17:18 bag that's a pain eh
17:20 larryb joined #koha
17:20 larryb hello #koha
17:20 gmcharlt, do you have access to the debian.koha-community.org server?
17:21 bag larryb: I think that's catalyst perhaps
17:21 larryb it appears to be down.
17:21 bag maybe eythian controls that
17:21 cait do you know?
17:21 wahanui cait is probably happy about some example opacs :)
17:21 bag cait++
17:21 cait sorry, have to read back later
17:21 still fihgting with booking a bus ticket...
17:21 bag ah no luck larryb cait is busy
17:21 Joubu: do you know who hosts debian.k-c.org?
17:22 larryb according to the whois, the IP is registered to Equinox Software
17:22 bag ah there you go - larryb I think gmcharlt is on a plane to atantla
17:22 larryb damn
17:23 bag larryb: there are equinox peeps here
17:23 phasefx: this is jason right?
17:23 larryb hola equinox. does anyone here have access to the debian.k-c.org server? It may need a reboot.
17:24 (sound of crickets chirping)
17:25 bag yeah larryb I'd hop into #evergreen on freenode
17:25 seeing if I can do that
17:25 larryb thanks
17:29 bag, I'm txting with gmcharlt now. He's still on the ground
17:29 bag, he says he can reboot it
17:30 cait great.... train strike and now the website for the bus is dead :(
17:31 oleonard cait: Ask gmcharlt to reboot it?
17:31 cait not sure that will work :(
17:31 and it's my dad's birthday this weekend... and he told me yesterday to get a bus ticket
17:32 barton cait -- wow, why did they route the trains through the server room? ;-)
17:32 bag ha oleonard that's funny
17:32 cait *grump*
17:39 no chance now for the ticket :(
17:40 oleonard svc/holds really spams the error logs... "Use of uninitialized value in string eq at svc/holds line 77" once for every hold
17:41 cait do we have all the bugs linked to the main one?
17:42 nengard joined #koha
17:42 larryb woohoo, debian.k-c.org is back online
17:43 larryb left #koha
17:53 barton what day did salvation army come on line?
18:27 jcamins barton: they've been following the fold for 149 years.
18:27 barton heh. wrong window.
18:34 cait i got a bus ticket!!
18:36 bag cait: great news!!!
18:39 jcamins barton: then stray no more!
18:40 druthb cait++
18:41 bag hola druthb
18:42 congrats on the birthcretifate change
18:42 freaking spelling
18:42 druthb thanks, bag! :D
18:44 barton yeah bag, a birth certificate is definitely somewhere that you want to get the freaking spelling *right* ;-)
18:47 druthb yep.  They left two very important letters off of my birth certificate, and it has taken me 46 *years* to get it fixed.
18:47 barton goodness.
18:48 druthb yah.  In the box marked "Sex", they left of the "fe" at the first of the word…
18:48 wnickc joined #koha
18:52 trea joined #koha
18:52 cait druthb++ :)
18:55 druthb :)
19:00 rangi khall: is there somewhere other than libki.org i can get the code :) is the sourceforge git repo up to date?
19:00 khall rangi: the current canonical source is https://bitbucket.org/libki-kms/
19:01 rangi ta
19:01 khall np!
19:03 oleonard Hi rangi
19:04 rangi heya oleonard
19:04 wahanui oleonard is not really here.  He said so.  He did!
19:05 * druthb lols
19:05 druthb wahanui:  botsnack cookie
19:05 wahanui :)
19:08 * oleonard is gaslighting wahanui
19:08 cait what?
19:10 oleonard A term which comes from the film "Gaslight" which means doing stuff to make someone think they're going crazy
19:10 druthb Oh, no need for that, oleonard.  wahanui has always been about half-mad.  And doesn't seem to mind.
19:10 cait he is probably happier that way :)
19:22 nengard left #koha
19:43 cma joined #koha
19:44 oleonard khall: Perhaps one solution to Bug 12971 would be to make it like slips: Have it use an html-formatted notice template?
19:44 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=12971 critical, P5 - low, ---, kyle, NEW , Printing member information lacks data
20:01 laurence left #koha
20:08 bag heya ashimema do you all have any update on this http://bugs.koha-community.org[…]w_bug.cgi?id=7736
20:08 huginn 04Bug 7736: new feature, P5 - low, ---, colin.campbell, ASSIGNED , Edifact QUOTE and ORDER functionality
20:11 cait bag: 21:00 here, he might have stopped working :)
20:11 bag yeah I will @later thanks cait
20:12 cait he shoudl have stopped working...
20:13 kathryn joined #koha
20:13 bag @later tell ashimema heya ashimema do you all have any update on this http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7736
20:13 huginn bag: The operation succeeded.
20:13 04Bug 7736: new feature, P5 - low, ---, colin.campbell, ASSIGNED , Edifact QUOTE and ORDER functionality
20:27 talljoy1 joined #koha
21:10 ashimema joined #koha
21:49 tcohen joined #koha
21:51 tcohen hi
21:51 wahanui bonjour, tcohen
21:54 bag hola tcohen
21:54 cait hola
22:03 tcohen hola cait
22:09 ashimema joined #koha
22:15 carmenh joined #koha
22:23 kmlussier left #koha
22:39 pianohacker joined #koha
22:41 wizzyrea on a pristine database, can you replicate 12838? Just realised that the bug may only be with upgraded ones
22:41 this ~3.12 era one doesn't seem to have the problem
22:41 dcook bug 12838
22:41 huginn 04Bug http://bugs.koha-community.org[…]_bug.cgi?id=12838 minor, P5 - low, ---, fridolyn.somers, Needs Signoff , Deleting a borrower orphans that borrower's lists
22:41 wizzyrea but another 3.12 does, but it was an upgrade one
22:42 dcook I should have a pristine database right here that I could quickly check..
22:43 wizzyrea another possible difference, I was testing on mariadb instead of mysql but...
22:43 dcook Hmm, we're also using mariadb
22:44 If it's orphaning them, I imagine either there's a missing cascade delete in the DB or there's a code difference?
22:44 * dcook hasn't actually looked at the bug report
22:44 dcook Crap...I don't have any records to test on..
22:44 wizzyrea that's what I'm wondering, if the problem only manifests because older databases never got a cascade delete on upgrade, but new ones have it
22:45 dcook Well, I can check the db right now for that
22:45 Yep, there's a cascade delete on borrowernumber for patrons_list
22:45 for 3.17
22:45 * dcook checks an older version..
22:45 BobB joined #koha
22:46 dcook No idea what patron_lists_patrons is..
22:46 3.14 looks ok
22:46 wizzyrea wonder when that was added.
22:46 dcook Ah, my bad
22:47 patron lists isn't the right thing
22:47 wizzyrea virtualshelves
22:47 dcook borrower's lists would be virtualshelves
22:47 3.8 looks bad
22:47 "set null" instead of cascade
22:47 wizzyrea YES that's exactly it then. new db's -> ok, upgraded ones -> bad
22:47 dcook Same on a 3.14 upgraded from 3.8
22:48 wizzyrea \o/
22:48 dcook Hmm
22:48 My 3.17 says "set null" as well
22:49 So I don't think that's it?
22:49 My 3.17 is pristine
22:50 wizzyrea no cascaded delete, please see HandleDelBorrower in VirtualShelves.pm
22:50 ) ENGINE=InnoD
22:50 in the schema
22:50 on the virtualshelves
22:50 that's 3.17
22:52 annoying problem.
22:52 * wizzyrea keeps testing
22:52 wizzyrea thanks for looking
22:55 dcook No worries :)
23:23 chrisvella94 joined #koha
23:35 dcook I don't suppose a gmcharlt, rangi, or khall_away would be around?
23:35 Or anyone familiar with DBIC?
23:35 Just trying to iterate through a list of results returned from a search
23:35 rangi yep
23:35 dcook \o/
23:36 Or even if you can point me to some examples. The ones I found on the wiki weren't very helpful :/.
23:36 rangi my $row = $self->{rs}->next();
23:36 have a look at
23:36 http://git.catalyst.net.nz/gw?[…]d618875db2538d34d
23:36 dcook I was thinking about doing it that way
23:36 But then I noticed the thing about list context returning a list of result objects?
23:37 Also thought about using the hashrefinflator?
23:37 * dcook takes a look at the link
23:42 dcook That %options bit looks neat
23:42 Is that where you include the "items" option?
23:43 Thanks for that, rangi. That's helpful :)
23:44 rangi *nod*
23:44 cool
23:44 thats what we use to index stuff for elasticsearch
23:44 dcook Yeah, I recall eythian mentioning it a while ago :)
23:45 How's the ES stuff coming along?
23:45 rangi hows osdc going?
23:45 pretty good
23:45 http://bugs.koha-community.org[…].cgi?id=12478#c13
23:45 huginn 04Bug 12478: enhancement, P5 - low, ---, robin, NEW , Elasticsearch support for Koha
23:46 dcook I ended up cancelling my OSDC trip so I could be at home with the wife
23:46 Disappointed to miss some of the sessions, but oh well
23:46 rangi ahhh
23:46 dcook Disappointed not to meet eythian in the flesh as well, but there's always next time :)
23:47 rangi yep, there will be others
23:47 dcook :)
23:58 Interesting... it looks like if you use list context, it does return a list of objects and you can just iterate through those using foreach
23:58 I wonder which is faster..
23:58 BobB_ joined #koha

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

koha1