IRC log for #koha, 2006-08-03

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

All times shown according to UTC.

Time Nick Message
12:36 kados hey cm
12:36 cm hey.  any thoughts?
12:37 kados well your parser looks good
12:37 cm good, I'm glad.
12:37 kados I'd run through the test script I have posted and see if it's working properly
12:37 cm okay.
12:38 kados let's see ...
12:38 so could you post in your logs again?
12:39 I can't understand why it's not working ... tumer, paul and I are running off of a stock dev_week and seem to be doing ok :(
12:39 and your config files look ok to me
12:40 cm do you want the logs here?
12:40 kados yea
12:40 cm Premature end of script headers: mainpage.pl, referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:40 [Tue Aug 01 10:48:27 2006] [error] [client 192.168.1.210] Global symbol "$reported_tag" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 202., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:40 [Tue Aug 01 10:48:27 2006] [error] [client 192.168.1.210] Global symbol "@result" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 706., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:40 [Tue Aug 01 10:48:27 2006] [error] [client 192.168.1.210] Global symbol "$counter" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 706., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:40 [Tue Aug 01 10:48:27 2006] [error] [client 192.168.1.210] Global symbol "$auth_tag_to_report" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 723., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:40 [Tue Aug 01 10:48:27 2006] [error] [client 192.168.1.210] Compilation failed in require at /usr/local/koha/intranet/cgi-bin/mainpage.pl line 10., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:40 [Tue Aug 01 10:48:27 2006] [error] [client 192.168.1.210] BEGIN failed--compilation aborted at /usr/local/koha/intranet/cgi-bin/mainpage.pl line 10., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:40 [Tue Aug 01 10:48:27 2006] [error] [client 192.168.1.210] Premature end of script headers: mainpage.pl, referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
12:41 kados cm: try this:
12:41 cd /usr/local/koha/intranet/modules/C4
12:41 rm AuthoritiesMarc.pm
12:41 cvs update AuthoritiesMarc.pm
12:41 only thing I can think of is maybe AuthoritiesMarc.pm got some garbage character somewhere or something
12:47 cm: did that help?
12:48 cm not quite there yet.  'cvs update' is choking because I don't have cvsroot set.
12:48 kados ahh ... well cd into the repo instead
12:50 cm yeah, that didn't work.  give me a few minutes, I'll figure it out.
13:23 I gave up on cvs'ing AuthoritiesMarc.pm.  I redownloaded the whole of dev_week.  Same errors.
13:24 kados hmmm
13:24 that's just really strange
13:24 i tripple checked that everything is in sync
13:24 and it looks OK in CVS
13:37 cm I think it's just me. :/
18:59 kados hey Burgundavia
18:59 dewey hmmm... Burgundavia is about to run out to the local LUG meeting
19:00 kados heh
19:01 Burgundavia dewey: next week, actually. I am actually about to run out to meet a girl :)
19:01 dewey OK, Burgundavia.
19:01 Burgundavia hey kados
01:38 ai hi
01:38 does koha support LDAP authentication???
01:51 mm yes it does
02:19 paul hello osmoze
02:20 osmoze hi #koha :)
04:10 hdl hi
04:10 dewey hey, hdl
04:10 paul hello hdl
04:11 hdl hello
04:11 webservice IEP OK.
04:12 paul super !
05:44 chris hi tumer
05:44 dewey somebody said hi tumer was still strugling
05:45 tumer hi chris
05:45 chris i just replied to paul's email
05:45 tumer i was just reading it and agree with it
05:46 chris cool
05:46 tumer i just read your mail
05:46 chris did i get it right? or did i misunderstand
05:47 tumer lots of stuff will have to go n 3 correct
05:47 but we may as well start with a stabler branch
05:47 i do not mind if they do a merge but soon
05:47 chris right
05:49 paul hello guys
05:49 (although lunch will happend in 1mn I bet...)
05:49 chris ahh hi paul, i think i misunderstood, ignore my email :)
05:49 tumer currently i am trying to write the nw code gradually so that it actually does not break everything at once
05:49 chris right
05:50 paul ah, ok
05:51 tumer i agree with it paul. But the sooner the better or i am getting really out of sync
05:52 paul is next week OK ?
05:52 toins: will spend this week playing with dev_week, to understand well what it does & how it works
05:52 and next week, he will start merging
05:52 tumer by the way ZEBRA definitely can not take the strain of heavy updating on Windoes platform
05:52 i wonder how it will go with linux?
05:52 paul we should ask kados
05:53 paul_lunch ok, sandrine calling me for lunch
05:53 (office again in my home ;-) )
05:53 tumer bon apetit
05:55 night chris
06:40 morning kados
07:58 kados paul: I thought we agreed no new features in rel_2_2 :-)
09:00 paul osmoze N
09:00 ?
09:03 osmoze oui
09:03 paul koha 2.2.6RC2 has reach savannah
09:03 http://download.savannah.nongn[…]rg/releases/koha/
09:04 osmoze je recoit mon alim en debut de semaine prochaine :(
09:04 paul pas cool...
09:07 osmoze je sais, d ailleurs, finit les alims redondantes, on les achetes et on peut pas changer les pieces...
09:08 paul mieux vaut avoir du redondant... en ayant la pièce de rechange dans ton bureau ;-)
09:09 osmoze apparement, (d apres le fournisseur) il y a pas de pieces detachees pour cette alim, il faut changer tout le bloc (compris dans la tour...) si tu as une marque ou un conseil, je prend
09:09 paul wow, super modulaire le truc...
09:09 non, pas d'idée.
09:10 osmoze sur ... :(
09:21 paul wiki.koha.org is ssssslllllllllooooooooooowwwwwwwwwwwwww....
09:30 kados paul: hmmm ...
09:30 paul: congrats on 2.2.6RC2
09:30 paul hi kados
09:31 kados paul: however, there are some blocking bugs still :-)
09:34 http://bugs.koha.org/cgi-bin/b[…]=&chfieldto=Now&c
09:34 ohh ... not a nice url
09:34 185    blo  P2  All  jmf@kados.org  NEW    Barcode not auto-calculated when autobarcode is on
09:34 1113 blo P2 All paul.poulain@free.fr NEW printing details in authorities busted
09:34 1114 blo P2 All paul.poulain@free.fr NEW Marking item lost doesn't hide it in OPAC when hidelostit...
09:34 1124 blo P2 Mac paul.poulain@free.fr NEW Full Info for serials doesn't work
09:34 1125 blo P2 All paul.poulain@free.fr NEW after entering a manual issue, the "Next expected issue" ...
09:35 1052 blo P2 All paul.poulain@free.fr ASSI Major Bug in MARC tables Sync
09:35 paul mmm... are you sure 185 is still valid ?
09:35 I think i solved it
09:36 kados well, wipo still thinks it's a bug :-)
09:36 There are other bugs I consider to be blockers
09:37 but I need to confirm them with my clients first
09:37 also, I request that you wait until owen and I have had time to sync npl templates before releasing
09:39 tumer[A] kados:have a minute?
09:39 kados tumer[A]: sure
09:39 tumer[A] i want to ask afavor
09:39 this zebra is definitely not very stable updating biblios ..
09:40 kados tumer[A]: which zebra?
09:40 tumer[A]: 1.4?
09:40 paul kados : I agree for waiting & realised you already asked me this & I missed it.
09:40 tumer[A] <zebra in general
09:40 kados tumer[A]: ok ...
09:40 tumer[A] i would like to test it on Linux if you could run my zebra server on your systems
09:40 kados tumer[A]: I think we've reached a point where we need to create some simple test swutes
09:41 tumer[A]: suites
09:41 tumer[A]: ie, a couple of simple scripts
09:41 tumer[A]: that replicate the problems you're having
09:41 tumer[A]: it's too hard to run a whole Koha system to re-duplicate a bug
09:41 tumer[A] no scripts just the zebra server on your machine
09:41 kados ahh
09:41 yea, I can do that
09:42 tumer[A] to se whether it will crash with thsi load of updating
09:42 kados good idea
09:42 just a sec and I"ll set it up
09:42 tumer[A]: you need biblioserver and authorityserver?
09:43 tumer[A] i will send you my tabs folder for biblioserver
09:43 infact i have to send you the whole folder with passwords in it dont i
09:44 kados yep
09:44 tumer[A] or will i be able to upload it myself
09:44 kados hmmm
09:44 tumer[A]: do you have a spare server you could install debian on?
09:45 tumer[A]: it might be simpler, I could walk you through the process ... would take about 3-4 hours
09:45 tumer[A] nop
09:45 kados k
09:45 tumer[A] well server yes but no sofware
09:45 kados ahh ... debian is free
09:45 you can download it and burn on cd
09:45 tumer[A] from ?
09:46 kados http://www.kohadocs.org/Instal[…]Debian_sarge.html
09:46 tumer[A] so i will do that first than
09:46 kados here's what you want:
09:46 http://cdimage.debian.org/debi[…]-businesscard.iso
09:46 download that
09:46 burn it to cd
09:47 pop it in the server, and install a _minimal_ debian
09:47 no GUI, no desktop sw, etc.
09:47 then follow my guide at the kohadocs.org site ... should take about 3-4 horus
09:47 hours even
09:47 maybe less
09:48 tumer[A] thanks i better try that
09:48 paul be careful tumer[A] : you may never accept to rollback to windows after...
09:48 tumer[A] well who wants to?
09:48 kados tumer[A]: there is some learning curve on linux, don't hesitate to ask questions
09:48 tumer[A]: I"ll be here all day
09:50 tumer[A] i have come so far with zebra indexing that its a shame if i have to roll back
09:51 kados you won't
09:51 ID is obligated to fix any bugs
09:51 I spoke at great length with sebastian with this in person at ALA
09:52 s/with this/about this/
09:52 but in order for them to fix a bug, we need to make it possible for them to reproduce it
09:52 tumer[A] well i can index meta koha recod on zebra and search anything and get either holdings or biblios or combined from zebra
09:53 but the damn thing keeps crashing during the day when the going gets togh
09:53 tough
09:55 kados tumer[A]: we need to write a script that simulates librarian activity on a live zebra system
09:55 tumer[A]: and simulates searching at the same time
09:56 tumer[A] kados if i run the zebraserver on your machine or other linux then i wil be able to say things more definitely
09:57 you will be able to see zebra running if on your system
10:06 thd kados: did you see my time estimates?
10:18 kados thd: yes, I'll try to respond today
10:19 hi cm
10:19 cm: any luck yet?
10:19 cm no.  I'm working on other stuff today
10:20 any thoughts on those new error logs I sent you?
10:20 kados well ... just that I'm more confused
10:20 what version of perl are you running?
10:20 cm join the club.  ;)
10:20 5.8.7, i think...lemme check
10:21 yep.
10:21 kados well ... I've got 5.8.4 so ...
10:21 cm do you know of anyone else using ubuntu amd64?
10:21 kados hmmm no
10:22 cm guess I've got to be unique.  :)
10:22 kados but I can't imagine that would matter ... the errors you're getting seem to be more syntax errors with perl
10:22 cm yeah.  maybe something has changed between versions.
10:22 kados well ... i doubt it
10:22 [Tue Aug 01 15:09:46 2006] [error] [client 192.168.1.210] Global symbol
10:22 "@result" requires explicit package name at /usr/local/koha/intrane
10:22 t/modules/C4/AuthoritiesMarc.pm line 707., referer:
10:22 take that one
10:23 it implies that there is no 'my @result;'
10:23 but there is just like three lines up
10:23 same here:
10:23 Tue Aug 01 15:09:46 2006] [error] [client 192.168.1.210] Global symbol
10:23 "$reported_tag" requires explicit package name at /usr/local/koha/i
10:23 ntranet/modules/C4/AuthoritiesMarc.pm line 203., referer:
10:23 cm yeah.
10:24 kados well ... i can think of a couple things at this point:
10:25 1. contact some folks more involved in ubunto
10:25 ubuntu I mean
10:25 Burgwork: does some ubuntu stuff i think
10:25 2. I could try to log into your box and have a look ... second pair of eyes and all
10:25 cm you're welcome to.
10:26 kados k
10:26 cm i'll email you the info.
10:26 kados not the root pswd :-
10:26 )
10:36 paul: are you still here?
10:36 paul: got a quick question
10:45 paul kados : i'm around, send your question
10:48 kados paul: how do we create a sql file to populate non-default MARC frameworks?
10:49 hmmm
10:49 ok ... say I want to create some group of MARC frameworks that play nice together
10:49 one is default, it's thd's standard MARC framework
10:49 another is customized for magazines
10:49 another is customized for books
10:50 another for videos
10:50 etc.
10:50 paul ok
10:50 and you want to export them to install them on another library ?
10:51 thd paul: we want to install them with an SQL SCRIPT from an SQL file containing the various frameworks
10:51 paul so you need to export them from your initial db to copy them to another one, right ?
10:51 very easy, also a little bit tricky...
10:52 suppose your framework code is MAGAZINE
10:52 thd paul: they are not in the DB already
10:52 paul so you want to create them ?
10:52 Koha >> parameters >> frameworks >> add framework >> enter, for example MAGAZINE as code and whatever you want as description
10:53 then clic on MARC fields and ... Koha will ask you to choose the framework to copy from.
10:53 as you have only default, choose it, and your MAGAZINE is now a clone of default
10:53 that you can modify
10:54 if you want to copy this framework somewhere :
10:54 mysqldump -uX -p you_db marc_tag_structure marc_subfield_structure |grep MAGAZINE >magazine.sql
10:54 and that's done ;-)
10:54 (just check that MAGAZINE don't appear somewhere else in your frameworks
10:54 )
10:55 cm kados: i'm back. did you get in?
10:56 kados cm: yea
10:56 cm: don't have a home dir though :(
10:56 can't sudo either
10:56 cm oops.
10:56 thd paul: I understand how to use the interface: I wanted to avoid the interface for working faster in vim with an SQL file but I guess I could do it with the interface
10:57 cm heck, just use admin, then.  I'll change the password back.
10:57 kados cm: i can see everything
10:57 cm: so I'm good
10:57 paul just create the clone & export it without any modifications
10:57 you'll be able to modify it with vim then ;-)
10:57 cm okay, good.
10:58 kados paul: thanks
10:58 thd: does that make sense to you?
10:59 thd kados: yes that seems very sensible
10:59 kados: the changes are so small that vim may not even be necessary
11:00 s/are/seem/
11:02 kados cm: one thing, it doesn't look like you did a cvs export
11:02 cm: so there are CVS dirs ... not sure if that would make a diff
11:03 cm really?
11:03 dewey really are quite different
11:03 kados well i see CVS dirs
11:03 cm kados: they're in /use/local/koha_cvs
11:03 oops, /usr
11:03 kados yea
11:04 definitely CVS dirs in that repo
11:04 to export you go:
11:04 cvs -z3 -d:pserver:anonymous@cvs.savannah.nongnu.org:/sources/koha export -r dev_week koha
11:05 cm i guess last time i used a checkout.  before that I used export, though
11:05 kados k
11:08 cm: check this out:
11:08 [Tue Aug 01 16:24:01 2006] [error] [client 192.168.1.210] Subroutine AUTHfind_authtypecode redefined at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 605., referer: http://192.168.20.36:8080/cgi-[…]age.pl?logout.x=1
11:08 [Tue Aug 01 16:24:01 2006] [error] [client 192.168.1.210] "my" variable @X masks earlier declaration in same scope at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 817., referer: http://192.168.20.36:8080/cgi-[…]age.pl?logout.x=1
11:08 [Tue Aug 01 16:24:01 2006] [error] [client 192.168.1.210] Name "C4::AuthoritiesMarc::DIR" used only once: possible typo at \x80Im line 579., referer: http://192.168.20.36:8080/cgi-[…]age.pl?logout.x=1
11:08 that last one is really weird
11:09 wtf is \x80Im?
11:09 cm i have no idea
11:09 that's from when I turned off 'use strict'
11:11 kados hmmm ...
11:11 cm: circ page seems to work
11:11 cm good.
11:11 kados i wonder if there's something weird going on with proxies with the authentication stuff
11:12 is this box behind a proxy?
11:12 the authentication in Koha is cookie based
11:12 the cookie stores a session ID
11:12 cm i suppose, but I don't think i'm going through the proxy
11:12 wonder if it's the firewall?
11:12 kados without that session id it won't authenticate on next page load
11:12 is it in a dmx?
11:13 dmz I mean :-)
11:13 cm yeah.  never had a problem before, thou
11:13 though :/
11:13 kados hmmm
11:14 so all your koha boxen are networked behind the dmz?
11:16 cm yeah.
11:16 the cookie is there.
11:17 kados yep, and it's saving the session id
11:17 headers look fine
11:17 it might just be your redirect
11:17 Redirect permanent index.html http://koha:8080/cgi-bin/koha/mainpage.pl
11:17 i don't see a prob with it
11:17 cm hmm
11:17 kados but maybe a permanent redirect doesn't something screwey
11:18 weird ...
11:18 I just did a shift-refresh
11:18 and now I got a 500 error on mainpage.pl
11:18 cm huh
11:18 i was getting that earlier
11:18 kados session id looks ok
11:19 [Wed Aug 02 12:16:36 2006] [error] [client 69.58.13.236] "my" variable $authtypecode masks earlier declaration in same scope at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 370.
11:19 [Wed Aug 02 12:16:36 2006] [error] [client 69.58.13.236] "my" variable @X masks earlier declaration in same scope at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 817.
11:19 [Wed Aug 02 12:16:36 2006] [error] [client 69.58.13.236] Global symbol "$reported_tag" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 203.
11:19 this is just nutty
11:19 are you running mod_perl?
11:19 cm yeah!!
11:19 kados hmmm ... I be that's it
11:19 cm maybe.  look in /etc/apache2
11:19 kados yea, it's in the headers
11:19 Server: Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_perl/2.0.2 Perl/v5.8.7
11:20 I'll turn it off
11:20 then restart and we'll test
11:20 cm me restart?
11:20 kados I'll restart
11:20 cm ok
11:21 kados same error looks like
11:21 cm yep
11:21 kados weird weird weird
11:22 cm *sigh*
11:24 kados well ... lets evaluate these errors
11:24 [Wed Aug 02 12:19:42 2006] [error] [client 192.168.1.210] "my" variable $authtypecode masks earlier declaration in same scope at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 370., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
11:24 paul it's just a warning
11:24 kados right
11:24 paul so the cgi don't fail here
11:25 the  Global symbol "$reported_tag" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 203.
11:25 kados [Wed Aug 02 12:19:42 2006] [error] [client 192.168.1.210] Global symbol "$reported_tag" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 203., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
11:25 paul is more problematic
11:25 kados [Wed Aug 02 12:19:42 2006] [error] [client 192.168.1.210] Global symbol "@result" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 707., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
11:25 [Wed Aug 02 12:19:42 2006] [error] [client 192.168.1.210] Global symbol "$counter" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 707., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
11:25 [Wed Aug 02 12:19:42 2006] [error] [client 192.168.1.210] Global symbol "$auth_tag_to_report" requires explicit package name at /usr/local/koha/intranet/mo​dules/C4/AuthoritiesMarc.pm line 724., referer: http://192.168.20.36:8080/cgi-[…]/koha/mainpage.pl
11:25 but why does it work on every Koha install except cms?
11:25 paul which platform specificities ?
11:26 cm it's ubuntu amd64
11:26 paul amd64 ...
11:27 kados hang on
11:27 I'm now getting the same errors :/
11:27 on my box
11:27 cm uh oh
11:27 kados maybe a stray commit to dev_week
11:27 paul hehe, it's a new virus !
11:27 kados hehe
11:27 cm ha!
11:28 kados give me a few minutes, I'll try to figure it out
11:28 paul cm : who are you ?
11:28 cm cindy from ccfls
11:28 paul hey, nice to read you today.
11:28 cm ok.  :)
11:28 kados last commit was from me:
11:29 syncing with rel_2_2 .. .untested.
11:29 :-)
11:29 5 days ago
11:29 paul so ccfls runs dev_week ?
11:29 kados yes
11:29 cm trying to.  :)
11:30 paul a large one : 48 000 biblios, with large MARC records.
11:30 while toins is working on a smaller one (12000 biblios, small MARC records)
11:31 kados cm: at least you're not going crazy :-)
11:32 cm not yet anyway  ;)
11:33 thd toins: not as slow as mine :)
11:33 cm kados: should the # be in these lines (~line 817 in AuthoritiesMarc.pm)
11:33  # return if authority does not exist
11:33        my @X = $MARCfrom->fields();
11:33        return if $#X == -1;
11:33        my @X = $MARCto->fields();
11:33        return if $#X == -1;
11:34 kados cm: give me a sec ... I'll fix it ...
11:34 cm ok
11:35 kados ak, this is just a mess
11:41 cm: k ... update cvs and give it a shot
11:44 paul: liblime has developed an additional authors sub to properly display additional authors (in the correct order) using the MARC record
11:44 paul: do you want us to commit this to rel_2-2?
11:44 paul could you just send it by mail to me ?
11:44 kados it's the same as MARCnotes, etc.
11:44 sure
11:49 paul: also, I wrote a very good zed-server for pines ... very standards compliant
11:49 paul: based on simple server also
11:49 paul: i might have time to commit a revised server for 2.2.6
11:50 cm did i miss anything?  my computer locked up on me again
11:50 kados the current zed-server was my first perl script ever written and is quite poor :-)
11:50 cm: the prob's fixed :-)
11:50 cm cool!
11:50 kados cm: you can update cvs and be up and running
11:50 cm spiffy!  thanks!
11:50 kados np, sorry for the untested commit
11:50 (at least I warned myself in the cvs log :-))
11:50 cm well, I tested it for you.  ;)
11:51 kados hehe

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

koha1