IRC log for #koha, 2006-09-01

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

All times shown according to UTC.

Time Nick Message
19:30 thd kados: have you sorted all you commas and semicolons?
19:53 qiqo hi
19:54 anybody home?
21:20 helloo
21:33 thd hello qiqo
21:41 qiqo hi thd
21:41 thd hello
21:41 qiqo i was wondering why the labeling feature is not available in 2.2.6RC2
21:42 i always encounter a 500 error
21:42 thd qiqo: do you mean spine labels?
21:43 qiqo yes
21:43 i really dont know what the problem is
21:43 thd qiqo: do you mean you find it in rel_2_2 but it is not working?
21:44 qiqo: what does the error log show?
21:44 qiqo [Thu Aug 31 01:16:52 2006] [error] [client 192.168.0.2] Premature end of script headers: label-home.pl
21:44 its in 2.2.6RC2
21:44 and also with the cvs
21:45 thd qiqo: do you have any errors before that?
21:45 qiqo nope. nothing
21:46 thd qiqo: that has too many possible sources of error
21:48 qiqo: try turning on use strict and warnings in the Perl file. They are most likely commented out.
21:51 qiqo er,,
21:52 how is that
21:52 the script only contains 55 linues
21:52 lines
21:52 then nothing is commented out
21:53 and it doesnt have notes
21:53 thd qiqo: where is it located in CVS?
21:53 what directory?
21:56 qiqo barcodes i think
21:57 yes its at the barcodes directory on cvs
22:01 thd qiqo: add a use warnings; line at line 4
22:04 qiqo: then run the script again and check the error log again for possible source of problems
22:05 qiqo [Thu Aug 31 03:05:13 2006] [error] [client 192.168.0.2] Premature end of script headers: label-home.pl
22:05 still that erro
22:05 thd and nothing else?
22:06 qiqo yup
22:06 geez its a bit frustrating, there are no comments in the file, i just solved my barcode problem because i read the comments
22:07 thd qiqo: I had actually thought there was a problem with the labels but kados was planning to fix it after he had finished his current migration from 2.2X to 2.4
22:08 qiqo ermm ok.. so why does liblime's label-spine printing working?
22:08 2.4 is available?
22:09 thd qiqo: no that is the problem
22:09 qiqo: kados is working on it
22:10 qiqo: maybe when you fixed barcode printing you created a problem for the labels
22:10 qiqo nope
22:10 before i fixed the barcode i already had this problem
22:11 thd qiqo: what version of koha is reported as running on the LibLime system where this is working?
22:12 qiqo 2.2.6
22:14 is 2.2.6 available?
22:14 i thought it was just 2.2.6RC2
22:15 thd qiqo: I do not believe the RC displays so that is likely what it is
22:17 qiqo ok
22:18 thd qiqo: you could uncomment use Data::Dumper; and try to trace the variables
22:19 qiqo ok
22:20 still the same nothing happens
22:21 thd qiqo: you need to actually dump some data values but I have never designed with that module
22:24 qiqo: maybe there is a problem if some values are empty
22:25 qiqo: the premature end of script headers could be a file permissions problem
22:27 qiqo: check that the Koha user or Apache user can read all needed files
22:39 qiqo: see if you can obtain the attention of kados enough to give you some direction for the code he wrote when he is awake
22:40 qiqo: I am missing values needed to test properly
22:40 qiqo: at least I have some useful error messages but that does not help you
22:41 qiqo sorry got dc
22:42 thd qiqo read the #koha log for the past few minutes
22:42 qiqo how?
22:42 !help
22:43 !Basics
22:44 thd qiqo: http://koha.org/cgi-bin/logs.p[…]saveas=&save=save
22:45 qiqo ok..
22:46 the templates for spine label printing only exists for npl
22:46 so i switched to npl..
22:46 i also had to install HTML::Template
22:47 thd qiqo: what boxes did you check in the label printing form?
22:47 qiqo i dont get into the label-home
22:48 therefore i cant see those boxes
22:48 thd qiqo: oh then I suspect you have a permissions problem for your Koha installation
22:49 qiqo huh?
22:49 hows that?
22:49 thd qiqo: on what operating system do you have Koha installed?
22:50 qiqo debian stable
22:53 thd qiqo: does the www-data group or whatever group you might otherwise have for your Apache user have read and execute permissions for every file in the barcodes directory?
22:55 ls -l /usr/local/koha/barcodes or whatever the directory is on your system
22:56 qiqo yes it does
22:58 thd qiqo: what URL does your browser show for label printing?
22:59 qiqo http://server:8080/cgi-bin/koh[…]des/label-home.pl
23:00 thd qiqo: try removing /barcodes from that
23:02 qiqo Not Found
23:05 thd qiqo: what URL does the LibLime demo have?
23:07 qiqo http://koha.liblime.com/cgi-bi[…]oha/label-home.pl
23:10 hows that /koha/label-home?
23:11 thd qiqo: some magic
23:12 qiqo ermmm
23:14 tried to make a folder "koha" on the cgi-bin but i get a 404
23:14 thd qiqo: are you using the update Koha method from kohadocs.org?
23:14 qiqo 000000000116
23:14 aw sorry
23:14 yup
23:15 with the symlinks and stuff
23:16 thd qiqo: maybe there is still an error somewhere in the scripts given in that method for how to use the symlinks
23:17 qiqo actually im using 2.2.6RC2 right now
23:17 i had that problem with the cvs yesterday
23:17 so i gave up
23:19 thd qiqo: I had to make changes to where symlinks were placed for an earlier version of that method when applying it to 2.2.5
23:20 qiqo: the problem is that changes between versions confused where the base directory was located over time
23:21 qiqo ahh alright'
23:21 thd qiqo: pierrick updated the CVS update instructions and I assumed he fixed those problems
23:22 qiqo: maybe something is different about 2.2.6 directories
23:22 qiqo is the instruction found at kohadocs?
23:23 thd qiqo: yes
23:23 qiqo this is the one that i used yester day
23:24 thd qiqo: but the last changes there were for 2.2.5
23:25 qiqo uhuh
23:25 thd qiqo try installing 2.2.5 and applying the symlink instructions to a 2.2.5 installation
23:26 qiqo: then update from CVS
23:27 qiqo ok ill try
23:27 ohh.. btw, the cvs does not include the tmpl files refered by labe-home.pl
23:28 only 2.2.6RC2 has thos
23:28 e
23:29 thd qiqo: it should but I do have a problem for missing data
23:29 qiqo: If you can see the form then at least you would have progress
23:29 qiqo so will i just copy those tmpl files to the cvs working folfer
23:30 22251220
23:33 thd qiqo: do you have Options +FollowSymLinks for <Directory "/usr/local/koha/intranet/cgi-bin"> in your koha-httpd.conf ?
23:34 qiqo yup
23:35 opac and intranet
23:36 thd you would have to I suppose if Koha was working at all after adding symlinks
23:38 qiqo ok
23:39 cvs is real huge
23:40 thd yes, with 4 versions being maintained
23:42 qiqo so checked out 2_2 am i doing the right thing?
23:43 finished installing 2.2.5
23:44 what time is it there?
23:54 thd qiqo: it is 12.55 AM
23:55 qiqo oohh
23:55 US?
23:56 thd yes
00:01 qiqo its 12:55 PM here
00:01 :)
00:02 thd qiqo: If you apply the symlinks creation script, do you have a the correct path to label_home.pl?
00:02 qiqo wait ill check,, i am still downloading the cvs
00:06 thd qiqo: you should use the same database you had with 2.2.6 or a copy of that to avoid extra work
00:06 qiqo i only have 2.2.5 database///
00:07 so i need to run the updatedatabase script right?
00:07 thd qiqo: yes
00:08 qiqo: did you have a 2.2.6 database previously?
00:08 qiqo yup but i didnt manage to back it up
00:09 thd qiqo: so you dropped it?
00:11 qiqo yes
00:11 i only have my 2.2.5 bakcup here
00:12 done. with the symlinks, apache and db update
00:12 thd qiqo: did you have 2.2.5 configured and populated with some data?
00:13 qiqo yes i do have some data
00:14 the barcode interface is there
00:15 thd qiqo: so can you connect to label printing?
00:15 qiqo yes
00:15 thd well that is an improvement
00:15 qiqo however. i still get error 500 when clicking the add item or create PDF
00:16 Premature end of script headers: label-item-search.pl, referer: http://server:8080/cgi-bin/koh[…]ox=1&op=save_conf
00:17 thd qiqo: what boxes did you check before adding an item?
00:19 qiqo item call no,.. classification
00:20 thd qiqo did you have values in those fields?
00:20 qiqo yes
00:21 however, it resulted to: Labels to be Printed, Printing will start on row 1, printing will use 0 sheets, currently 0 rows spare on sheet 0
00:22 thd did you try labels only
00:22 qiqo yup
00:24 thd qiqo try ISBN only
00:24 qiqo Premature end of script headers: label-item-search.pl, referer: http://server:8080/cgi-bin/koh[…]/label-manager.pl
00:24 ok
00:26 i could see my items
00:28 ok ill try to install Date::Calc apache is searching for that module
00:30 thd qiqo: if you can see your items you have an advantage
00:32 qiqo geez i really cant
00:33 but i can now search for the catalogue
00:33 hurrah
00:34 thd qiqo: can get the results to appear?
00:34 qiqo: can you get the results to appear?
00:34 qiqo yes
00:34 then i add the items
00:35 however when i click preview,, i still get 500.. well ill consult the logs again
00:35 thd qiqo: I think I need to add some holdings information to my items
00:36 qiqo Premature end of script headers: label-print-pdf.pl, referer: http://server:8080/cgi-bin/koh[…]add&itemnumber=20
00:36 thd: qiqo: I think I need to add some holdings information to my items <-- what does this means?
00:37 thd qiqo: I cannot even add items because I think I do not have any holdings fields in many of my test records
00:39 qiqo my database consists of 114 biblio records
00:40 and here are my results when i add those i searched: Label Number         Summary         Item Type         Delete                             1                                     Asian Development Bank annual report 1999 : :                 : 53                                                                      Delete                                      2                                     Gender indicators of developing asian and pacific countries /: :      
00:41 oops
00:43 ill try to install required  perl modules in the header of label-print.pl
00:46 thd qiqo: now I have a 500 error for preview
00:47 qiqo uhuh,,,
00:47 ok,, have you installed GD::Barcode
00:48 thd not yet, I just read the error
00:49 qiqo ok
00:56 im loosing hope...
00:58 thd qiqo: well you are much closer
00:59 mason qiqo: i can give you a hand to set it up
00:59 qiqo ok..
00:59 mason but, i am flying to australa tomorrow :(
00:59 qiqo so.. i saw the database,, and the items are at the labels table
01:00 mason so it may have to be on monday
01:00 qiqo ok...
01:00 mason for the spine labels
01:01 do you have the 2 labels tables in your koha DB?
01:01 qiqo yup
01:01 mason cool
01:02 qiqo: the other thing is...
01:02 at the moment the spine labels have only been written for 2 types of paper
01:03 qiqo what type of paper?
01:03 mason just googling...
01:03 gaylord 8511
01:05 http://www.gaylordmart.com/adb[…]r&search_for=8511
01:05 and...
01:06 qiqo but i should not have any problem since i will print these to sticker paper
01:06 then i will manually cut
01:06 mason oh, ok
01:06 qiqo i only need to generate the spine labels
01:06 mason ahhh, not the barcodes.
01:07 qiqo nope
01:07 labels only
01:07 i fixed the barcode issue
01:07 mason ok, thats good
01:07 qiqo hdl,, what shall i do next. i consulted the logs, but they dont give me anything
01:09 mason you are getting no error in your /usr/local/koha/log/koha-error_log ?
01:09 qiqo yup
01:10 but i get an error 500 when i preview my labels
01:10 mason ah, ok
01:10 chris apache 2 or 1.3?
01:10 mason could be the sneaky 'barcode' directory
01:11 qiqo 2
01:11 chris if its 2 check /var/log/apache2/error.log (or whatever its called)
01:11 qiqo already checked that
01:11 chris yeah might be that dir eh mason
01:11 qiqo its blank
01:12 what about that dir?
01:12 mason qiqo, the script that makes the pdf file is called 'label-print-pdf.pl'
01:12 qiqo yup
01:13 mason 'label-print-pdf.pl' writes to a dir called '/usr/local/koha/intranet/ht​docs/intranet-tmpl/barcodes'
01:13 you might need to make that dir
01:15 qiqo then?
01:16 mason check the permissions onthe dir
01:16 check the permissions on the dir
01:16 qiqo www-data
01:17 mason let me check...
01:19 yes
01:19 drwxr-xr-x  2 www-data www-data 72 Aug 31 18:18 ./barcodes/
01:19 qiqo http://203.87.241.3:8080/cgi-bin/koha/mainpage.pl
01:19 mason do you want me to log in?
01:20 qiqo yup
01:20 kohaadmin 112485
01:20 mason ah thanks ;)
01:22 http://203.87.241.3:8080/cgi-b[…]des/label-home.pl
01:22 qiqo yup
01:23 mason ok, give me a moment...
01:25 u can test the 'label-print-pdf.pl' script from your linux shell too
01:25 cd /usr/local/hlt/intranet/cgi-bin/barcodes
01:25 .
01:25 oops
01:26 cd /usr/local/koha/intranet/cgi-bin/barcodes
01:26 sudo perl ./label-print-pdf.pl
01:27 qiqo ok
01:28 Can't locate C4/Auth.pm
01:28 mason oops
01:30 chris sudo perl -I /usr/local/koha/intranet/modules label-print-pdf.pl
01:31 mason yep
01:31 qiqo PDF/Reuse.pm
01:31 mason but then this :(
01:31 DBI connect(':','',...) failed: Access denied for user: 'root@localhost' (Using password: NO) at /usr/local/hlt/intranet/modules/C4/Context.pm line 411
01:31 Can't call method "prepare" on an undefined value at /usr/local/hlt/intranet/modules/C4/Labels.pm line 59.
01:31 chris running as sudo?
01:31 mason yep,
01:32 and ive ' export KOHA_CONF=/etc/koha-hlt.conf'
01:32 chris right that wont work
01:32 for you mason
01:32 do sudo bash
01:32 then export ...
01:32 then perl -I
01:32 so qiqo, you are missing PDF::Reuse.pm ?
01:32 qiqo i think so
01:33 im currently install thru MCPAN
01:33 chris id take a look at all the modules in label-print-pdf.pl at the top
01:33 and make sure you have them all
01:33 mason cool , thats where i got it from too :)
01:33 qiqo alright
01:33 chris (ignoring the C4:: ones
01:33 )
01:34 mason chris: what does sudo bash do?
01:34 ah, click
01:35 chris remember to ctrl-d when u finish mason
01:35 mason when sudo runs as root, it doesnt get my export vars?
01:35 ctrl-d or 'exit'
01:35 ?
01:35 chris yes
01:35 mason ta
01:35 chris cos u exported it as mason
01:35 then with sudo ran as root
01:36 so it cant see it
01:36 make sense?
01:36 mason ye
01:36 s
01:38 qiqo alright mine is running
01:38 chris yay
01:38 qiqo i just have to adjust my database
01:38 mason http://203.87.241.3:8080/cgi-b[…]abel-print-pdf.pl
01:38 qiqo because i couldnt print anything
01:38 mason so it is :)
01:38 chris those modules should get tested by the installer .. so we'll have to fix
01:38 that
01:38 qiqo i mean, the pdf is blank
01:40 mason better, http://203.87.241.3:8080/intra[…]/barcodes/new.pdf
01:43 good work qiqo :)
01:44 ok, ive got to head off for a bit
01:49 qiqo ei gtg folk
01:49 mason:  chris hdl i really appreciate your help
01:49 god bless us all and koha
02:03 mason amen
03:43 btoumi toins: are u around
03:43 ?
03:43 toins btoumi: i'm here
03:55 Broadcast Message to french : there is #koha-fr channel on this server... ;-)
03:58 paul join /#koha-fr
07:05 hdl paul
07:06 kados shaekspeare spoke french? :-)
07:06 hi all
07:06 paul: why can't you just speak french in #koha?
07:08 hdl He may have.... French was quite widespread in Europe at that time. But I wonder if he was upper-class enough to learn it.
07:09 hi kados
07:09 kados hi hdl
07:09 how goes it?
07:09 hdl busy.
07:57 paul hello kados.
07:58 could you explain a little bit more what are googleMapsKoha & GoogleSpellCheckKoha ???
07:59 kados : koha-fr channel is interesting because some ppl (like SAN) prefer to speak french & speak english with pains.
07:59 and, as they don't want to speak french on this channel when there is a lot of english speaking ppl, they speak on a private channel, which is the worst solution I think
07:59 thus, a public, french channel.
08:00 (but I agree I could have spoken of it before creating it, shame on me)
08:17 kados paul: they are two projects that Ohio Students may work on this year
08:17 paul: I am writing descriptions for them right now as the classes start next week
08:17 paul ok, fine.
08:18 I install 2.2.6RC2 to IPT in 2 hours. and if in 2-3 days everything is fine, I release official 2.2.6
08:18 kados hmmm ... even with outstanding bugs?
08:18 RC2 has many bugs IIRC
08:19 paul (I hope with a last minute hack from hdl : when clicking on + to duplicate a field, a number of duplicate to do will popup)
08:19 RC3 i mean. Most bugs are fixed or am I wrong somewhere ?
08:20 kados several blockers still
08:20 some may be obsolete
08:20 1128 is not fixed I think
08:21 1159 needs to be investigated
08:21 1146 too
08:22 (I will 1146)
08:23 984 should probably be fixed before release also as it can cause some very frustrating problems
08:25 1118, 1117 need to be fixed too
08:25 or else hidden in the template
08:25 before the release
08:25 IMO
08:26 paul i'll take care of what I can, but I think libraries waited too much for this release.
08:26 kados 1140 needs to be tested as well
08:26 paul and with we can't solve all of them, then, release 2.2.6 and 2.2.7 2 weeks after if needed.
08:27 kados ok, as long as they are acknowledged in the release notes I'm OK with it
08:27 ie, a list of known bugs should be listed in release notes IMO
08:27 paul ok, and what about changing the count of libraries using Koha as I suggested in koha-devel ?
08:28 kados sounds good
08:30 http://www.ithaka.org/strategic-services/oss
08:30 OOSS (Organization for Open Source Software) Study
08:56 thd I think the answer is too have the English people learn French
08:56 paul lol
08:57 thd paul: I often write to people in English and ask them to write me back in French if that is better for them
09:00 kados: which language do you prefer for writing?
09:00 paul kados : about 1128 (add authority) : it seems to work for default templates, but not for npl one. I let you & owen investigate
09:01 thd paul: I often have trouble communicating with kados in any language
09:01 paul lol
09:02 thd I should try telepathy
09:15 paul: Before you release, 2.2.6, I have a one line fix for MARC-8 conversion code in bulkmarcimport.pl from an undocumented behaviour of MARC::Charset.
09:56 kados paul: do you have a rel_2_2 OPAC somewhere you can test something ?
09:57 paul http://o5.bureau.paulpoulain.c[…]koha/opac-main.pl
09:57 yes ;-)
09:57 kados what is a good search term that has several thousand results?
09:57 (more than 15 pages)
09:58 paul main >> itemtype=livre
09:58 9000 results
09:59 kados hmmm ... I get no results
09:59 paul you select "livre" in the itemtype list ?
09:59 kados advanced search ... ahh
09:59 now click on page 15
09:59 paul sorry, yes, adv search
09:59 done.
10:00 and the 16 don't appear
10:00 kados now click on next
10:00 exactly
10:00 shall I write a bug?
10:00 paul you get the page, but stay with 1-15.
10:00 yes, pls.
10:00 kados yep
10:00 ok, I"ll write it now
10:00 paul (if you don't classify it as blo ;-) )
10:01 kados no not blo, but definitely critical
10:01 as it makes Koha seem silly
10:02 paul every library in France (i'm 100% sure) will classify it as "minor"
10:02 kados and every library in US and NZ and Switzerland will classify it as blocker  :-)
10:02 I'm 100% sure :-)
10:03 I have received two bug reports almost at the same time from two separate libraries
10:03 paul but it appears only in a specific situation, that very rarely happends and does not block anything
10:03 kados after announcing that 2.2.6 will be release soon
10:03 (this morning)
10:03 paul (+ I bet it's here since 3 years or so !)
10:03 kados I don't think so ... but maybe
10:05 paul maybe you could ask them how many times the problem can occur in real life.
10:05 kados they don't care
10:05 paul Honnestly, it's very very rare.
10:05 but classifying a bug needs this information !
10:06 kados US libraries don't care how often a problem occurs, just that it's a problem and that the software they use represents their organization
10:06 paul - a blo is something that prevents the user from using the software whatever he does. and there is a risk of loss of datas.
10:06 kados so if someone sees that the software seems silly they think the organization is silly
10:06 I notice that US companies place more importance on a web presense than French, so perhaps this is part of the difference
10:07 to a US organization, a website is a core part of the organization
10:07 and if something on the website seems silly, people perceive the organization to be silly
10:08 I agree it's not a blocker
10:08 but it is still critical (the fact that I received two separate bug reports in minutes about this proves it)
11:10 paul hello owen
11:10 owen Hi paul, how are you?
11:11 paul fine, except that kados don't stop harassing me with koha bugs ;-)
11:11 (not sure of the word harassing)
11:11 owen Sounds accurate to me :)
11:12 Tell him you like Koha better when it's broken ;)
11:12 paul hey, kados, I prefer Koha when it's broken, because then I can sell more services to my customers to fix the problems.
11:13 (do you think he will believe me ?)
11:13 owen Now you're sounding like a /real/ businessman!
11:13 paul lol
11:14 kados hey owen
11:14 owen hi kados, what's new?
11:15 kados some things I'm sure ...
11:15 I've been doing a lot of import procedure testing
11:16 and work on making sure that items,biblioitems.marc, and zebra can easily stay in synch
11:16 which as it turns out is very challanging
11:34 paul owen & kados : i'm reviweing a lot bugs, & see many times kados saying "owen, can you check..." but the bug owner is still not owen. do you agree if I change the Assigned to to owen, when he has to answer a question ?
11:34 kados ok with me
11:34 owen Fine with me
11:35 paul bye, i'll leave in 15mn
11:35 kados bye paul ... thanks for attending to bugs
11:36 paul thanks for reminding me so many of them were still waiting.
11:36 i must admit i don't take enough attention to bugzilla
11:36 (probably due to overwhelming # of bugs declared...)
11:36 kados (I understand, it is overwhelming)

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

koha1