IRC log for #koha, 2012-08-23

All times shown according to UTC.

Time S Nick Message
00:01 melia left #koha
00:50 NateC joined #koha
00:54 Irma joined #koha
01:18 wajasu rangi: if the bytes written to the notice are A3C2 hex, and C2 is marker for a 2byte UTF8 sequence, maybe i need to swap the order of the bytes when written to C2A3, so when read it becomes A3.
01:18 wajasu which is the british pound.
01:19 wajasu or maybe everyting is stored fine, and its the reading done in process_message_queue.pl that needs working on.
01:22 wajasu though i read there are no issues with byte-order in utf8
01:23 rangi yeah there shouldn't be
01:38 jcamins_away Archive.org++
01:38 rangi yeah it rules
01:44 Waylon joined #koha
01:45 Waylon hiya all! okay, git clone'd ...  but how do i rewind head, back to 3.8.4 and keep it there?
01:46 rangi git checkout -b 3.8.4 v3.08.04
01:46 rangi now you have a 3.8.4 branch at that point
01:46 rangi and you are on it
01:46 Waylon fatal: cannot create directory at 'koha-tmpl/intranet-tmpl/prog/en/​lib/yui/resize/assets/skins/sam': Is a directory
01:47 Waylon hrm.
01:49 Waylon this is a problem?
01:49 Waylon ah.. git reset --hard?
01:49 rangi i dunno what you have done since you git cloned
01:49 Waylon nothing.
01:50 rangi where did that dir come from?
01:50 rangi its not in master
01:52 rangi you must have checked out 3.8.x previously
01:53 Waylon removes directory and redoes clone.
01:53 rangi how are you cloning?
01:53 Waylon git clone git://git.koha-community.org/koha.git kohaclone
01:53 Waylon as per wiki.
01:53 jcamins_away rangi: how is there a directory in 3.8.x that isn't in master?
01:54 rangi good
01:54 rangi jcamins_away: it was removed in master
01:54 rangi since the 3.8.0 release
01:54 jcamins_away rangi: ahhhh.
01:54 jcamins_away Thoery:
01:54 rangi part of the shift to jqueryui
01:55 jcamins_away Waylon: did you remove the kohaclone directory before running git lcone?
01:55 jcamins_away clone
01:55 Waylon just did.
01:55 Waylon recloning.
01:56 * jcamins_away theorizes that you already had a git clone there, and it updated git but didn't check out master, since the repo now claimed to be pointing at the tip of master.
01:56 jcamins_away Yay for wild speculation.
01:56 * jcamins_away leaves
01:58 Waylon okay, cloned master.. now i git checkout 3.8.x?
02:01 Waylon I just ignore "file exists" errors?
02:02 jcamins_away Waylon: you shouldn't get file exists errors.
02:02 Waylon error: git checkout-index: unable to create file koha-tmpl/intranet-tmpl/prog/en/lib/yui/​element-delegate/element-delegate-min.js (File exists)
02:02 jcamins_away Okay, I didn't really leave. You caught me.
02:02 Waylon error: git checkout-index: unable to create file koha-tmpl/intranet-tmpl/prog/en/modu​les/admin/item_circulation_alerts.tt (File exists)
02:02 Waylon error: git checkout-index: unable to create file koha-tmpl/opac-tmpl/prog/ima​ges/transaction-complete.gif (File exists)
02:02 rangi i get none of these errors when i checkout 3.8.x
02:03 rangi just fyi
02:03 jcamins_away There are two options I can think of here: 1) you didn't delete the kohaclone directory. 2) your version of git is so completely out of date it can't handle a modern repo.
02:03 rangi are you should you deleted the whole kohaclone dir?
02:03 Waylon did delete the kohaclone..
02:03 * Waylon checks version of git.
02:03 Waylon git version 1.7.2.5
02:03 jcamins_away Same version I have.
02:09 * Waylon did git reset --hard 3.8.4 and has everything fixed.
02:15 Waylon so.. i set everything up, so koha 3.8.4 works, then i replace the mysql db with my old mysql db, and then run the upgrade script?
02:17 rangi hold old is your db, pre 3.4 ?
02:17 Waylon yes.. 3.0.0
02:17 rangi you need to run the upgrade then remove_items_from_biblioitems.pl
02:17 rangi and do a full zebra reindex
02:17 * Waylon nods
02:18 Waylon zebra reindexing, also indexes the items too, at runtime?
02:18 Waylon though.. ive been thinking, is there a way to zebra search limit to shelves?
02:21 Irma left #koha
02:43 edveal joined #koha
02:51 wajasu does advanced search let you choose from items catageroized as "General Stacks" i.e. the shelves.
02:55 Waylon thats my question indeed.
02:55 Waylon I know that in 3.0.0, i was able to limit by branch
02:56 Waylon so we abused that to create libraries within the library.
02:56 Waylon since we could create items and asign them to branches.
02:57 wajasu i see in my advanced search in bottom left corner, a location and availability (i.e. branch i think)
03:41 edveal I have a question about the  BorrowerUnwantedField system preference. Any used it yet?
03:46 rangi http://bugs.koha-community.org[…]w_bug.cgi?id=6190 that one?
03:46 huginn Bug 6190: enhancement, PATCH-Sent (DO NOT USE), ---, srdjan, Pushed to Master , Custom field removal from patron entry screens
03:51 wajasu rangi: i found away to get mysql to not cut off the notice after utf8.   I used a Unicode::Normalize function (either NFC or NFD etc) and the whole notice gets stored.
03:52 wajasu the patron emails show the correct currency.
03:52 rangi cool
03:52 wajasu AND the part that was confusing....
03:54 wajasu when no patron email is configured, those notices are batched up and added as an attachment to be sent to the KohaAdminEmailAddress, and
03:55 wajasu when the eamil was arriving in my mail client, the utf currency was seen as mobijake.  why?
03:56 wajasu because, the first header mail had the content-type: text/plain; charset="UTF-8"    but each attachment didn't specify utf8 .  So now i am seeing if I can set the attachments to have utf8 too.
03:57 wajasu so multiple problems made the issue foggy.
04:01 wajasu also. after using NFC, when I select the contnet using mysql, it shows the correct symbol.
04:04 wajasu i wonder if we have picked a standard to store everying normalized as NFC or NFD, or NFKC or NFKD).  In this case Locale:Currency:Format currency_format was the source of out UTF.  Normalizing must have done something to make mysql happy.
04:10 cait joined #koha
04:12 wajasu cait: when you were testing overdue rules, how were you viewing the results?  mysql select from message_queue? or getting and email?
04:12 wajasu i mean overdue_notice
04:13 cait using mysql workbench
04:13 cait and checking the contents of the table with sql
04:14 wajasu well, i found out if i normalize using Unicode::Normailze::NFC on the currency symbol, the notice doesn't get chopped off, and the email makes it through and works.
04:15 wajasu also using NFC made it so the symbol showed in the mysql client.
04:15 wajasu i have one case left.  when no patron email is configured, all the notices are batched up and added as an attachment.
04:16 wajasu to KOHAAdminEmailAddress
04:16 wajasu when the email arrives, the first message has   content-type: text/plain; charset="UTF-8" but each attachment didn't specify utf8 . So now i am seeing if I can set the attachments to have utf8 too.
04:17 cait cool :)
04:17 wajasu that way when the inline email shows up viewable inthe mail client it will interpret correctly.
04:18 wajasu i'm going to work on the patch tomorrow, but i have a question about how to proceed.
04:20 wajasu i am thinking i should just replace the current patch on Bug 8378 with these fixes since its really a couple of lines.
04:20 Markus2 joined #koha
04:20 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8378 critical, P5 - low, ---, koha-bugs, Failed QA , <fine> syntax not working on overdues anymore
04:21 kathryn joined #koha
04:22 cait wajasu: if the new patch is shortert, athat sounds good to me
04:25 wajasu also, i think bug 8299 will go away, because i got rid of those uninitialized errors.  and i could work on Bug 7707 now that I am so intimate with the code.
04:25 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8299 normal, P5 - low, ---, koha-bugs, NEW , overdue_notice.pl shows error messages
04:25 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7707 enhancement, P5 - low, ---, henridamien, NEW , Add fines placeholders in notices to display fine information on notices
04:25 wajasu or do you think i need to do more signoffs first?
04:27 wajasu tomorrow then.
04:30 cait sorry, just woke up
04:30 cait getting ready for work
04:30 cait I think one after the other - but it sure makes sense to look into the bugs in that area
04:30 cait writing tests would be awesome too
04:31 cait it's important to not break existing workflows
04:31 cait so if we have a new syntax, the old one should still work
04:32 wajasu i'm sensitive to that. my users are on 3.0 waiting for this to work. :)
04:37 cait bbl
05:01 kathryn hey cait you didn't give me very long to feel anxious about my first patch-baby! ;)
05:01 cait why would you be anxious? it's a perfectly fine patch :)
05:02 kathryn hehe. have a good day!
05:02 cait and about time you get your name in there :)
05:02 cait have a nice evening :)
05:03 kathryn me and my terminal window are not well acquainted...it was fun!
05:10 Oak joined #koha
05:10 edveal left #koha
05:10 Markus2 /nick waylon
05:11 Oak kia ora #koha
05:35 mbalmer joined #koha
05:44 wajasu joined #koha
06:14 alex_a bonjour
06:14 wahanui bonjour, alex_a
06:39 reiveune joined #koha
06:39 reiveune hello
06:39 wahanui hey, reiveune
06:41 julian_m joined #koha
06:41 marcelr joined #koha
06:41 marcelr hi koha
06:43 julian_m hello
06:43 wahanui que tal, julian_m
06:45 matts hi !
06:56 WaqarAzeem joined #koha
06:56 * magnuse waves
06:57 marcelr hi julian_m, matts and magnuse
06:57 magnuse hiya marcelr
07:04 asaurat joined #koha
07:05 gaetan_B joined #koha
07:05 gaetan_B hello
07:05 wahanui hey, gaetan_B
07:14 Joubu joined #koha
07:14 Joubu hello #koha
07:23 marcelr hi joubu
07:24 clrh hello
07:24 wahanui bonjour, clrh
07:24 marcelr hi clrh
07:28 clrh hello marcelr
07:34 ala_3vo joined #koha
07:53 eythian joined #koha
08:26 mtompset joined #koha
08:28 magnuse kathryn++
08:33 mtompset Well, it seems like I have my first 64-bit Ubuntu install about to happen. :)
08:34 mtompset out of curiousity, does anyone know what install_misc/environment_Makefile... is for?
08:37 mtompset install_misc/environment_Makefile.PL
08:39 mtompset And is install_misc/install_koha_on_fresh_debian even used?
08:40 rangi # this file provides environment variables to use perl Makefile.PL
08:40 rangi # without interactive mode. it can be seen as config file.
08:45 * mtompset nods, "I read that afterwards. DOH!"
08:46 mtompset Wow... 8GB of ram makes a huge difference. :)
08:47 mtompset I hope this wasn't a mistake. :)
08:47 rangi it will work even better if you tune mysql to use it well
08:47 eythian yeah, all of a sudden all your data can live in cache
08:47 eythian it makes a fair difference
08:47 rangi ye[
08:47 rangi yep even
08:47 eythian also, hello.
08:47 mtompset Hello, eythian  and rangi . :)
08:48 eythian I'm typing on a german keyboard but using the US layout. Making the strangest typos sometimes.
08:48 mtompset Or should that be kia ora, rangi? :)
08:48 rangi heh
08:55 magnuse eythian: any idea when you will get the time to package 3.8.4?
08:56 eythian magnuse: I'm expecting to do it today, I'm waiting for Katrin to get back from whatever she's doing so I can show her how it's done.
08:58 magnuse eythian: very cool!
08:59 magnuse eythian: how long are you staying in europe again?
08:59 eythian Until the 20th or so of September I think
09:00 magnuse ah, not long anough for http://swib.org/swib12/ then
09:01 drojf joined #koha
09:02 drojf left #koha
09:05 drojf joined #koha
09:27 eythian Heh, I have changed exactly 1 line in the 3.6.8 release
09:28 slef rangi: Zambian... looking...
09:30 slef rangi: Sitali Chrispin Simasiku?
09:31 slef rangi: pretty sure he's been on list as libsitali@gmail
09:32 chris_n` joined #koha
09:35 rangi thanks slef
09:52 reiveune1 joined #koha
10:24 koyauni joined #koha
10:25 koyauni hi KOHA people
10:31 koyauni2 joined #koha
10:34 koyauni joined #koha
10:55 mtompset Is anyone familiar with "tmpl_process3.pl: Warning: unconsistent %s count: (##/##):"?
10:57 marcelr mtompset: i saw that a lot too
10:58 marcelr mtompset: english and translation do not contain same number of %s
10:58 slef with the #s?
10:58 mtompset french installed fine. th-THA installed fine.
10:58 slef seems like there should be numbers in there
10:58 mtompset 11/9
10:58 mtompset 79/81
10:58 mtompset I was making it generic.
10:59 mtompset What file do I have to edit to fix it?
11:00 mtompset a po file?
11:01 eythian mtompset: yeah
11:01 eythian you'll have to find the message that's wrong, once you've done that it's pretty obvious
11:01 eythian I think it usually tells you the message that's wrong
11:03 slef is there a common reason for "11:59:52-23/08 zebraidx(23058) [warn] Record didn't contain match fields in (bib1,Local-number)" which I've forgotten while on holiday? :)
11:04 eythian There probably is, but I've never worked out what.
11:04 slef could it be the reason why zebra doesn't seem to know any of that library's books?
11:05 eythian I think it is
11:06 eythian when it says "warning" it means "warning, I'm going to do nothing. But I don't really want to call it fatal."
11:06 slef -v -v -x -k, here we come
11:06 mtompset That's weird. I thought lines that started with # are comments, even in .po files.
11:07 rangi slef: were you running it with -x before?
11:07 rangi cos the common reason for that message is that the bib number is in 999
11:07 slef rangi: whatever the packages do
11:07 eythian also yeah, -x Changes Things in Ways
11:07 eythian ah yeah, they use XML by default
11:08 slef this is a pre-packages database imported
11:08 rangi and if you are not doing -x then the reason is usually the marc is too long, but if you are doing -x it just means that the 999c is missing
11:08 slef I run with -x when I debug to make it easier to read... nice to know the packages use -x by default
11:09 slef why thank you zebra, I wanted a load of control characters to reprogram my terminal character set :-/
11:10 eythian oh yeah, that's a pain
11:10 slef yeah I usually run it through less but forgot
11:12 slef well I can't see the bib number in the exported records anywhere
11:13 slef oh wait... 090 maybe
11:13 slef yeah looks like it
11:13 wahanui yeah looks like it is accessed by a reference to SEARCH_RESULT
11:13 slef wahanui: ROFL
11:13 wahanui ROFL is rolling on floor laughing
11:14 slef so I guess I get to reconfigure something now
11:19 slef now, usual big question: do I assume that who/whatever put it in 090 knew what they were doing? ;)
11:19 eythian I wouldn't
11:20 eythian I really need to write a MARC transformation system at some point.
11:21 slef amen but use XSL on MARCXML and it'll be even more general
11:21 eythian yeeees....
11:22 eythian but a fair bit more terrible...
11:22 eythian MARCXML is not the most semantically rich of formats really.
11:22 slef true but then people could eventually transform and input random XML formats of biblio data
11:22 eythian I'm also looking for an excuse to play with MARC::MIR
11:23 slef transform MARCXML to something cuter then... but then we break zebra don't we?
11:24 eythian Well, I wasn't thinking of zebra really, more so you can easily do something that would, say, move the biblio number from 090 to 900$c when you see it's wrong.
11:31 koyauni self: hi, you gave me good direction on my Koha installation, I still have issue with viewing koha via my subdoamin, do you think a new defined port will solve this issue,
11:31 koyauni at the moment it is on 80, but if I make that 888 might work better as 80 is default
11:32 slef koyauni: only if Plesk knows nothing about that port and doesn't mess with it. I think it probably will, though. Plesk is rather invasive, like a biological parasite.
11:32 slef koyauni: try it and see (make sure your backups are good, first!)
11:33 koyauni look what Plesk said to me http://forum.parallels.com/sho[…]sted=1#post636922
11:33 koyauni now you scare me and I do not dare to do that ! :(
11:35 slef koyauni: what's the worst than can happen? You're already using Plesk, so you're already in an awful place ;)
11:35 eythian If plesk doesn't let you set up apache2 to listen on port 80, then there is something seriously wrong with it.
11:35 koyauni hahah :)
11:35 eythian I mean, that's what you want a webserver for in the first place
11:35 koyauni I have all other projects there and I do not want to mess up them as well
11:36 koyauni no I have installed koha and all went well, please see here at the bottom http://kl1p.com/koyauni
11:36 koyauni the of enabled library
11:37 koyauni the out put
11:38 eythian yeah, that's fine. But I know nothing about plesk to be able to tell you how to get it out of your way.
11:38 koyauni some how the real domain created in Pleck is not connecting with virtual domain created by Koha in Apache2
11:38 eythian I don't even understand how it could be in your way, to be honest. Apache should be failing to start if plesk has bound to port 80.
11:39 eythian unless it's being intercepted by the virtual host or something
11:39 eythian in which case, maybe you can configure plesk itself to go away and stop being annoying.
11:39 slef eythian: there is something seriously wrong with it.
11:39 koyauni I searched the whole wen in 3 days now, no info on this issue but many people ask question
11:40 slef I've done similar things before, I don't remember the specifics, it would cost me quite a bit to dig through the notes to find it, it is almost exactly no fun and plesk is broken in many other ways, so all of our Plesk-using clients have upgraded to better things.
11:41 slef Also, it was a different verion of Plesk and they have a bad habit of changing things in incompatible ways and not documenting them.
11:42 koyauni in domain folder a conf folder exist and one of these direction I found says I can create a vhotes.conf and put some new rule in there so Pleck can follow, but it does not say what rule :(
11:42 slef the ones from /etc/apache2/sites-enabled/YOURLIBRARYNAME probably
11:42 koyauni upgraded to what? what is better
11:42 koyauni cPanel
11:42 slef DTC
11:42 eythian ssh
11:43 slef or no control panel for the simpler ones
11:43 slef a couple use LDAP-based configurations now
11:43 slef it depends on the needs
11:43 koyauni I have SSH access to root
11:43 slef but the only need Plesk, cPanel and things like that serve is "I need Plesk"
11:44 slef Yes and you can make changes with ssh access as root, but then Plesk will overwrite some of them.
11:44 koyauni I did copy the content from /etc/apache2/sites-enabled/YOURLIBRARYNAME to a vhosts.conf file, but it gave me error messages
11:44 slef The system works against you. It acts as though it knows best.
11:44 drojf joined #koha
11:44 nengard joined #koha
11:45 slef koyauni: fix the error messages. At best, you'll need a different vhosts.conf file (so a different Plesk subdomain?) for OPAC and Intranet.
11:45 slef so paste the contents between each <VirtualHost ...>...</VirtualHost> pair into a different vhosts.conf
11:46 slef anyway, lunchtime here, and I'm just getting cross about Plesk again, so I'm going to go eat! Bye!
11:47 koyauni thanks
12:14 oleonard joined #koha
12:23 oleonard Hi #koha
12:23 druthb joined #koha
12:23 druthb o/
12:25 oleonard Hi druthb
12:25 druthb hiya.
12:29 NateC joined #koha
12:34 talljoy joined #koha
12:43 libsysguy joined #koha
12:51 ago43 joined #koha
13:04 WaqarAzeem Hi everyone... i am getting "IP address not found" message on freshly downloaded "Koha_3.8_Virtual_Appliance_-_Configured.ova"
13:05 jcamins WaqarAzeem: I think you need to manually configure the IP address using one of the options in the control panel.
13:06 jcamins WaqarAzeem: however, I only looked at the virtual appliance once, briefly, so I don't remember any more than that.
13:06 jcamins khall would know.
13:06 WaqarAzeem this message appeared on boot
13:07 khall WaqarAzeem: did you try the option to fix the ip address not found error that is in the control panel?
13:07 khall the console the is
13:07 * jcamins thought he remembered an option like that.
13:08 WaqarAzeem yes i tried it ...
13:10 khall quit the console and delete everything in the file /etc/udev/rules.d/70-persistent-net.rules then reboot, and you should be fixed up, assuming it's a problem with the vm and not something else.
13:27 trea joined #koha
13:29 maximep joined #koha
13:35 mtompset Hey, that was the exact same thing I was looking for. ;)
13:36 mtompset khall++
13:36 khall excellent!
13:36 oleonard How about you WaqarAzeem, any luck?
13:39 mtompset But my problem is more likely a VirtualBox problem than a koha problem.
13:39 mtompset Oh wait... loose cable.
13:39 mtompset That might be it...
13:40 oleonard Loose virtual cable?
13:40 mtompset bridged adapter only works over a wired interface.
13:40 mtompset I have wireless and wired into my netbook.
13:41 jcamins mtompset: did you restart VirtualBox? Switching between different interfaces on my laptop causes the NATed interface on my VM to freeze.
13:42 mtompset Hmm.... well at least the wired one is back.
13:42 mtompset good enough to play.
13:46 senator joined #koha
13:49 * wizzyrea wonders what people said about her yesterday
13:49 * wizzyrea goes to look at the logs
13:50 druthb hee hee
13:51 nengard LOL
13:52 * oleonard doesn't get it
13:54 gmcharlt @quote random
13:54 huginn gmcharlt: Quote #187: "<slef> did wahanui just burst into flames?" (added by gmcharlt at 08:29 PM, February 20, 2012)
13:54 gmcharlt wahanui?
13:54 wahanui gmcharlt?
13:54 gmcharlt wahanui: no, you are not gmcharlt
13:54 wahanui ...but wahanui is a bot|a repository of important and useful and accurate information or at least partially slow....
13:54 mtompset http://youtu.be/mQZmCJUSC6g
13:55 mtompset That's for going hunting through the IRC logs, wizzyrea. ;(
13:55 mtompset Oops. ;)
13:55 wizzyrea hehe
13:55 wizzyrea apparently it was 4 of my plethora of added quotes ;)
13:56 * oleonard is getting a little hypnotized by the random bug widget on the dashboard
13:56 * mtompset mutters, "You will fix all the random bugs."
13:56 wizzyrea it's just that I hate feeling like I might have missed something important like, say, OMG WEBSITE IS BROKEN
13:56 wizzyrea though i certainly hope that someone would *email* or *tweet* at me if that were the case.
13:58 mtompset I'm sure if it was important, you'd be notified somehow. ;)
14:02 eythian joined #koha
14:03 wizzyrea and certainly, 4 mentions in a day that I missed is unusual.
14:07 tcohen joined #koha
14:07 mtompset Greetings, tcohen.
14:07 tcohen hi mtompset
14:07 mtompset Turns out my next server to install is 64-bit. :)
14:07 tcohen hehe
14:08 mtompset It was going pretty smoothly using the 3.6.8 files in 3.8.4
14:08 mtompset but I didn't do a dselect.
14:08 mtompset I created the list by running the ubuntu-pkg-check.sh script
14:09 mtompset tweaked each line to sudo apt-get install.
14:09 mtompset Didnt have to install dselect at all. ;)
14:10 mtompset check the koha_perl_deps.pl
14:10 mtompset noticed two things missing.
14:10 mtompset apt-get install'd those.
14:11 mtompset and only 2 things actually came from debian.koha-community.org -- the cgi... memcache thing and the template... htmltotext one.
14:11 tcohen yeah. only those
14:11 mtompset Then I said.. bah... I'll give packages a whirl, rather than compile it all up myself.
14:11 tcohen I hope they get pushed soon
14:12 tcohen (the INSTALL instructions)
14:12 mtompset So I apt-get'd koha-common, and started tweaking.
14:12 tcohen (and ubuntu.*.packages
14:13 mtompset Well, it's not like this is a koha feature, so I figure if we get it in within the next week or so, it should be there for 3.8.5
14:14 mtompset anyone remember where interfaces is?
14:14 tcohen /etc/network/
14:17 mtompset tcohen++
14:17 mtompset Thanks.
14:31 tcohen Can anyone tell me if you're having this issue (3.8.4) http://ffyh.biblio.unc.edu.ar/[…]iblionumber=67513
14:33 oleonard Yikes
14:35 mtompset What's with all the contentblocks?!
14:36 oleonard Something about the "contents" display
14:36 mtompset Okay, but that's a recursive descent into madness!
14:38 * oleonard warns all not to look directly at it!
14:39 mtompset Oh my evilness, it's full of contentblocks. ;)
14:39 tcohen Use of uninitialized value $linkvalue in substitution (s///) at /usr/share/koha_ffyh/lib/C4/Biblio.pm line 1790
14:39 tcohen Use of uninitialized value $opac_serial_default in string eq at /usr/share/koha_ffyh/opac/c​gi-bin/opac/opac-detail.pl line 955
14:41 tcohen (the only errors I get in the logs)
14:41 mtompset Don't have access to a 3.8.4 right now... grabbing source code to read.
14:43 tcohen opacSerialDefaultTab was set but not in the DB
14:43 tcohen I guess an upgrade error
14:43 tcohen (not setting a default value)
14:43 tcohen (that was not the problem anyway)
14:46 eythian 3.8.4 packages are out now
14:47 druthb eythian++
14:48 tcohen oleonard, its a xslt problem
14:49 oleonard tcohen: Do you see what the problem is?
14:49 tcohen not yet
14:50 tcohen but found the foreach that loops and creates the contentblock
14:51 mtompset where is it?
14:51 wahanui it has been said that it is not.
14:52 mtompset Because I've noticed in C4::Biblio that there is no error checking on the code/value pairs, not just at 1790.
14:52 oleonard wahanui: forget it
14:52 wahanui oleonard: I forgot it
14:53 mtompset $linkvalue =~ s/(\(|\))//g; probably should have a "if $linkvalue" on the end there.
14:54 tcohen is it ok that $linkvalue = undef? should we handle it specially?
14:54 LBA joined #koha
14:54 tcohen maybe its a bug, or a record problem that should be noticed
14:54 oleonard Hi LBA
14:55 mtompset Yes, perhaps it is a data problem, but data problems should not trigger meaningless error messages. They should trigger, "Hey, there is a data problem," error.
14:58 mtompset What do you mean "opacSerialDefaultTab was set but not in the DB"? Was it NULL in the DB?
15:01 mtompset Okay, this is weird... Line 669 in opac-detail.pl -- Does the subscription number need to param'd twice?
15:02 reiveune1 bye
15:02 mtompset au revoir, reiveune1
15:02 reiveune1 left #koha
15:04 mtompset Okay, subscription number will be defined, as I believe a SELECT count(*) ... always returns a number.
15:04 tcohen oleonard, what is the purpose of that contentblock tag there?
15:04 Joubu good bye !
15:07 oleonard I'm looking tcohen
15:08 tcohen completely removing it, or moving it outside the loop fixes it
15:08 mtompset the page looks healed.
15:08 mtompset Mostly?
15:08 oleonard Bug 6617
15:08 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6617 normal, P5 - low, ---, jcamins, Passed QA , table of contents not printing right if entered right
15:08 tcohen it is healed mtompste
15:10 oleonard The "contentblock" div was introduced in the patch for 6617
15:11 tcohen it looks the problem is not the contentblock itself but the css?
15:11 oleonard A CSS problem wouldn't cause dozens of redundant tags to appear
15:12 tcohen but...
15:12 tcohen there is one contentblock for each 505 field
15:12 tcohen which looks like it was intended
15:13 oleonard I wonder if it could be a data problem?
15:15 mtompset or an XSLT bug?
15:21 oleonard tcohen: I suggest you ask jcamins_away when he's around
15:21 tcohen thanks oleonard
15:22 oleonard I'm wondering if multiple 505s were not tested when 6617 was patched.
15:26 mtompset Yes, but just looking at the code, not that I complete understand it, but how would it nest like that?
15:27 eythian joined #koha
15:27 mtompset The subfieldSelectSpan call doesn't create another contentblock.
15:28 mtompset and the closing div is inside the for-each loop.
15:32 tcohen subfieldSelectSpan is giving no results nad is sort-of aborting
15:32 tcohen s/nad/and/
15:33 tcohen which is reasonable as we're asking for tru subfields
15:33 tcohen and this record only has a $a subfield
15:39 jcamins I am around.
15:40 jcamins oleonard: I tested with multiple 505s containing just $a, $t$r, and a mixture.
15:40 oleonard tcohen's trouble record: http://ffyh.biblio.unc.edu.ar/[…]iblionumber=67513
15:40 jcamins Ooh, I bet I know what the problem is. You're using an old version of FF?
15:41 oleonard Not me
15:41 mtompset Not me.
15:41 jcamins Looks good to me.
15:41 mtompset I'm looking at it from Windoze. ;)
15:41 jcamins mtompset: on IE?
15:41 oleonard Oh wow, it looks fine in Opera
15:41 mtompset I could have tried.
15:41 mtompset I used FireFox.
15:41 jcamins That's what I just said.
15:42 oleonard jcamins: What's the story?
15:42 jcamins oleonard: FF doesn't support XHTML.
15:42 jcamins I thought I had put an extra space in to get around the problem, but I guess it doesn't work on this particular combination.
15:43 tcohen jcamins, oleonard: the record has a 0 in the second indicator
15:43 mtompset It doesn't?!
15:43 oleonard Oh wait that page looks fine in FF now too. tcohen did you change something?
15:43 tcohen and as expected the xslt is not looking for the (incorrect?) $a they used
15:44 jcamins $a is used instead of $t/$r.
15:45 jcamins When there is a zero in the second indicator, $a is not supposed to be consulted.
15:46 tcohen right, and empty result from subfieldSelectSpan skips the rest of the sentences in the loop
15:46 tcohen so the closing div is not written
15:46 jcamins Actually, the closing div is written and FF tosses it.
15:46 jcamins At least, I'm pretty sure that's the problem.
15:47 tcohen in my ff, the div is not written
15:47 tcohen :-P
15:47 jcamins You're looking at the source, or Firebug?
15:47 mtompset Yes, but about 40 minutes ago, you fixed the page, tcohen.
15:47 mtompset we want it broken again. ;)
15:48 tcohen ok ok
15:48 tcohen i'll remove the $a from that xslt
15:48 tcohen there you go...
15:48 kf joined #koha
15:48 * kf waves
15:48 mtompset Now to look at it in IE.
15:49 jcamins tcohen: oh, I misunderstood what you were saying the problem was.
15:49 mtompset Oh, it is busted in IE too.
15:49 mtompset So what is the tweak that you made?
15:49 jcamins FF has a bug where it discards closing divs.
15:49 jcamins And closing spans.
15:49 tcohen oh, I didn't know that
15:49 jcamins And basically everything you might want to close.
15:49 jcamins I thought you were talking about that.
15:50 jcamins And I didn't know that you had fixed it since I showed up. ;)
15:50 jcamins Okay, the way to fix it is to add atru to the subfieldSelectSpan.
15:50 jcamins Which I guess is what you did sometime before the first line in the window when I came back. :)
15:50 tcohen i just added the a subfield for that case, and *ordered* my librarians to fix their cataloging practices hehe
15:51 tcohen found a bug in the xslt anyway
15:51 mtompset So, you just put an a on line 591?!
15:51 jcamins Yeah.
15:52 tcohen yes mtompset
15:52 wahanui mtompset is trying to do a variety of projects in less than three months!
15:52 tcohen jcamins: a marc question and a problem
15:53 tcohen if we're about to enforce the not-see-the-$a-if-second-indicator=0 thing
15:53 mtompset Okay, explain to me why the XSLT skips the /div if the call-template returns/does nothing?
15:53 tcohen shoudnt' we make it retrn something (an empty span?) to die more gracefuly?
15:54 jcamins tcohen: we certainly should.
15:54 jcamins What I have to figure out is why it's not returning any <div> at all.
15:54 jcamins Wait.
15:54 jcamins It is.
15:54 jcamins Well I'll be.
15:54 mtompset nested ugly.
15:54 jcamins It's XSLTproc.
15:55 tcohen XSLTProc is calling the xslt with a wrong parameter?
15:55 jcamins XSLTProc is producing vaguely invalid XML.
15:55 jcamins Well, XHTML.
15:55 jcamins There's no space before the close.
15:56 asaurat left #koha
15:56 mtompset Bad data is useful for finding library module bugs. :)
15:56 jcamins Yep.
15:57 tcohen jcamins, will you fix it?
15:57 jcamins tcohen: as soon as I figure out how. :)
15:58 mtompset &nbsp; :)
15:58 tcohen :-P
15:58 mtompset I was joking. :)
15:58 jcamins But we might want it to break.
16:00 mtompset &#32; then. :P
16:01 melia joined #koha
16:01 eythian do you people not remember MSDOS?
16:01 eythian You use ALT-255
16:01 * mtompset laughs, "That rocks!"
16:04 wajasu for the fix I am working on, I decided to perform Unicode::Normalize NFC on the letter content and subject in Letters.pm EnqueueLetter adn _add_attachments routines. so utf8 codes don't get cut off inmysql when stored.
16:08 tcohen jcamins, where's that XSLTProc thing?
16:09 jcamins tcohen: the problem is that it is self-closing the tags without any space.
16:09 jcamins tcohen: there would still be an issue in FF, but the lack of the space throws off everything. What we need is a setting to disable self-closing tags.
16:09 * jcamins is looking for this.
16:09 tcohen jcamins, the staff interface is equally broken
16:09 jcamins tcohen: yeah, it will be.
16:12 jcamins Ah-ha.
16:12 jcamins I think I figured it out. And I think the solution is embarrassing.
16:12 jcamins We weren't outputting HTML.
16:13 kf hmpf
16:14 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=5408 enhancement, P5 - low, ---, gmcharlt, NEW , Refactor C4::Circulation::GetIssuingRule
16:14 jcamins tcohen: I think the solution might be to change the output method from xml to html.
16:14 mtompset Isn't that going backwards?
16:14 tcohen in XSLT.pm?
16:15 wizzyrea bleh.
16:15 jcamins mtompset: no.
16:15 jcamins tcohen: in MARC21slim2OPACDetail.xsl
16:15 jcamins I'm trying to test it now.
16:16 mtompset line 10 from xml to html?!
16:16 tcohen jcamins, what happens to that xml output?
16:17 tcohen is it just pasted inside the body of an HTML?
16:17 jcamins tcohen: yup.
16:17 tcohen oh
16:17 tcohen +1 for outputting HTML then!!!
16:17 jcamins I'm just testing it works, but it looks like it does.
16:18 mtompset Why not change the closing divs, etc. to be xml?
16:18 mtompset </span> ==> <span/>
16:18 jcamins mtompset: because web browsers won't handle them?
16:19 mtompset you're probably right, and changing to HTML is quicker and simpler than modifying all those lines.
16:20 jcamins mtompset: also, there's no way we can modify those lines to fix it.
16:20 mtompset Now I'm confused again.
16:20 jcamins Yeah, fixes the problem.
16:20 jcamins mtompset: I *did* put in a space.
16:20 mtompset How can we now change the </div> into <div/>
16:20 jcamins XSLT ignored it.
16:21 jcamins Those are two completely different things.
16:21 jcamins The first closes an open <div>.
16:21 jcamins The second is a <div> with no content.
16:21 kf does xhtml allow for that?
16:21 jcamins kf: not so much, no.
16:21 mtompset I guess, I'm out of touch with the standard.
16:22 jcamins Which is why we have to change the output method to html.
16:22 mtompset actually... that in a bizarre way explains why the div's got nested so ugly.
16:22 jcamins mtompset: yes, that's what I just said. :P
16:23 mtompset xml blanked out, skips to next xml by passing html.
16:23 mtompset You implied, you didn't say. :P
16:23 mtompset I was more explicit. :P
16:25 jcamins tcohen: patching now.
16:25 mtompset So, actually, this brings a question to mind. How would we write a test for this case?
16:25 adnc_ joined #koha
16:26 jcamins mtompset: that's the tricky bit.
16:26 mtompset (preferable automated, of course)
16:26 gaetan_B bye !
16:26 mtompset Bye, gaetan_B
16:30 mtompset tcohen: I think someone is cleaning the data up? I see a couple lines now. :)
16:31 jcamins tcohen: Patch attached to bug 8678.
16:31 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8678 major, P5 - low, ---, jcamins, Needs Signoff , XSLT stylesheets output XML, but HTML is needed
16:33 mtompset Ah... you fixed multiple files... I was wondering why the patch was so big for a single line change. :)
16:33 jcamins 12 files.
16:34 mtompset Exactly...
16:34 kf oleonard: still around?
16:34 mtompset when you fix one line in 12 files.. 10K becomes more reasonable.
16:34 oleonard kf: Here.
16:34 kf I was wondering if you could take a look at the javascript problem witht he calendar
16:35 kf I am not sure if there is some way to do it with our new calendar
16:35 kf lots of code is different now
16:35 kf it's 8482
16:35 kf hm no
16:35 kf bug 8428
16:35 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8428 critical, P5 - low, ---, oleonard, NEW , can't save contracts
16:38 oleonard Sure kf I'll take a look
16:38 kf thx :)
16:52 oleonard Yeah, 8428 is my bad
16:54 mtompset oleonard++ # admitting mistakes is a good thing. Fixing them is better. :)
17:04 pastebot "wajasu" at 127.0.0.1 pasted "csv headers in overdue notice attachment even for non-csv file output" (42 lines) at http://paste.koha-community.org/132
17:05 wajasu should i create a bug/patch for what i show in my pasted text?
17:09 oleonard kf: Patch sent
17:20 mtompset oleonard++
17:20 mtompset jcamins++
17:21 kf oleonard++
17:21 kf thx
17:21 kf I was not sure if there was a new way to do it
17:21 kf son ot sure how to solve it best
17:21 kf ok, have to leave :) bbl :)
17:21 kf left #koha
17:23 * oleonard supposes he ought to eat lunch
17:24 mtompset you've earned it. :)
17:24 mtompset That was pretty quick on the patch. :)
17:27 oleonard If it fails QA I'll know I was too quick ;)
17:29 mtompset Ah, yes.
17:29 mtompset Less speed, more haste.
17:43 tcohen jcamins++
17:44 tcohen i was having lunch
17:54 cait joined #koha
17:55 mtompset Greetings, cait
17:55 cait hi mtompset
18:01 tcohen jcamins: take a look at this: http://ffyh.biblio.unc.edu.ar/[…]iblionumber=67513
18:04 jcamins ... odd.
18:05 cait oh yes
18:05 cait quite odd
18:05 cait hm
18:06 cait the 505 do look ok for that record
18:06 tcohen jcamins: my mistake
18:06 tcohen I used your patched MARCslim2OPACDetail.xsl file, which was for master..
18:07 libsysguy joined #koha
18:07 tcohen which doesnt have bug 6617 applied
18:07 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6617 normal, P5 - low, ---, jcamins, Passed QA , table of contents not printing right if entered right
18:07 jcamins Oh, right.
18:07 jcamins Sorry.
18:08 tcohen would you submit patches fro 3.8.x?
18:08 jcamins It should backport.
18:08 tcohen i'll sign for master in a few minutes, as soon as I have my master setup running with that record
18:17 tcohen done
18:39 JoeLib001 joined #koha
18:39 LBA joined #koha
18:39 JoeLib001 Hello. :-)
18:39 JoeLib001 http://bugs.koha-community.org[…]w_bug.cgi?id=8680
18:39 huginn Bug 8680: normal, P5 - low, ---, koha-bugs, NEW , Z39.50 searches for ISBN/ISSN problematic in the Acquistions Module
18:40 JoeLib001 The Z39.50 Search Script was fixed in the /usr/share/koha/cgi-bin/cataloguing folder, but not in /usr/share/koha/cgi-bin/acqui folder.
18:40 druthb left #koha
18:42 tcohen jcamins, I signed off that patch, worked well on 3.8 also
18:45 nengard oleonard bug 8428 should i submmit a new bug report for the other issue i found?
18:45 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8428 critical, P5 - low, ---, oleonard, Signed Off , can't save contracts
18:45 oleonard nengard: Yeah I think that would be good
18:45 nengard no problemo :)
18:47 JoeLib001 jcamins: Could you make a patch for Bug 8680 as well? It is pretty much needs the same fixes as were in bug 8550.
18:47 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8680 normal, P5 - low, ---, koha-bugs, NEW , Z39.50 searches for ISBN/ISSN problematic in the Acquistions Module
18:47 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8550 normal, P5 - low, ---, jcamins, Passed QA , Z39.50 searches for ISBN/ISSN problematic
18:48 JoeLib001 jcamins: I can test it too. :-)
18:51 jcamins JoeLib001: I'll take a look.
18:55 trea left #koha
19:00 JoeLib001 Yay. :-)
19:02 wajasu ok. i finally got bug 8378 readdy for signoff.
19:02 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8378 critical, P5 - low, ---, koha-bugs, Needs Signoff , <fine> syntax not working on overdues anymore
19:13 trea joined #koha
19:13 trea left #koha
19:14 JoeLib001 Wow, that was a pile of messes. hehe. :-)
19:38 eythian joined #koha
19:44 koyauni joined #koha
19:46 mtompset Ah... Data::Pagination is for Solr.
19:57 brylie joined #koha
19:57 eythian joined #koha
20:02 rangi morning
20:02 wajasu hi
20:02 eythian I propose we move from MARC to MORK: http://search.cpan.org/%7Esimo[…]/lib/File/Mork.pm
20:02 eythian hi
20:02 wahanui niihau, eythian
20:03 nengard eythian your comment about checking the manual made me laugh
20:03 eythian :)
20:03 nengard after i got your message i went to the manual to add it and found that it was there already :)
20:03 nengard even I can't remember everything I've written
20:05 koyauni hi guys, what are views on Liblem Koha 4.1
20:06 koyauni is that package more advance
20:06 * oleonard will have to check the logs for this one
20:06 eythian nengard: I just checked the database schema to see if you'd got there yet, didn't realise it was even exposed in the UI to warrant a mention in the manual
20:07 nengard well it's used in reporting
20:07 eythian ah, of course
20:07 nengard so I have a section in the FAQ on values that might be used in reports
20:07 nengard as for schema, I have documented a lot more tables then schema shows
20:07 nengard but not those tables
20:08 eythian koyauni: short answer: "no". Long answer: "noooooooooooooo". Serious answer: I haven't used it, nor looked at it, but it's a fork of Koha from a few years ago, so I wouldn't count on it.
20:09 nengard anyone remember what bug report mentioned the problem where star ratings weren't saving? I remember a bug report and a fix - was that the 3.02 error message bug?
20:12 eythian nengard: hmm, there was a thing about star ratings causing a JS error
20:12 eythian but, I don't recall a not saving thing
20:13 nengard bug 8315
20:13 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8315 major, P5 - low, ---, dpavlin, Pushed to Stable , fix 'C4::Output 3.02' errors in Koha
20:13 nengard but maybe that's not it
20:14 eythian no, that was tags
20:14 eythian (mostly, anyway)
20:14 eythian and it caused errors when viewing the afflicted URLs
20:15 rangi heh
20:15 rangi Voucher must be redeemed by 12pm midnight.
20:16 rangi someone doesnt understand time
20:17 nengard eythian the patch did fix the ratings JS too
20:17 nengard even though it wasn't talked about in the bug
20:17 nengard it was a file that was touched
20:18 nengard Okay, for now I'll just leave that one alone - time for me to call it a day :) talk to you all tomorrow!
20:18 eythian no, that was bug 8547
20:18 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8547 major, P2, ---, robin, Passed QA , Enabling star ratings causes javascript errors that cause IE to have a boo boo
20:18 eythian I know cos I wrote it :)
20:18 eythian later
20:20 rangi eythian: im doing 5@5 today, anything cool i should mention from you?
20:20 eythian hmm
20:21 eythian We have the first German Koha workshop/user group next week that cait and I are doing.
20:21 rangi oh good idea
20:21 rangi will mention that
20:21 cait bad cait makes eythian work a lot for that :(
20:21 cait heh
20:23 eythian on the plus side, it's forced me to refactor my presentation LaTeX code to be modular rather than copy-pasta
20:23 cait only feeling a bit bad because I haven't any slides yet and eythian has :)
20:23 rangi :)
20:24 eythian I can now \usepackage{catalyst,koha} and get a catalyst-themed, koha-focussed presentation format automagically.
20:24 eythian I don't know if that counts as procrastination or not :)
20:24 rangi heh
20:24 cait it's productive procrastination :)
20:26 jcamins_away eythian: I thought we were using the HTML slide generator?
20:26 rangi thats what i use
20:26 eythian Who is this "we", kemosabe? :)
20:26 jcamins_away koyauni: in case no one made this clear, if you use LibLime Koha, no one will be able to offer you any help.
20:27 * eythian has been using LaTeX forever, no desire to change now.
20:27 kathryn joined #koha
20:28 cait hi kathryn :)
20:28 eythian g'day kathryn
20:28 wizzyrea but rangi, midnight is at NIGHT so it must be PM
20:28 wizzyrea AMIRITE
20:28 wizzyrea j/k j/k
20:28 rangi :)
20:28 eythian PMIRITE!
20:28 rangi the best thing was
20:28 * wizzyrea giggles
20:28 rangi its a voucher for a jug of sangria
20:28 wizzyrea ohh yeahhhh
20:29 wizzyrea so, 12pm or midnight?
20:29 wizzyrea kekekekekeke
20:29 rangi ill ask for 2
20:29 wizzyrea drunk in the afternoon, or merely early morning
20:29 * wizzyrea debates
20:30 * jcamins gets caught in a phone menu loop.
20:30 jcamins Main menu -> press extension for director -> main menu.
20:30 rangi ODBC-BY
20:30 rangi STOP CREATING LICENSES YOU FOOLS
20:31 jcamins Ooh, I know this one!
20:31 jcamins Microsoft!
20:31 jcamins Right?
20:31 mtompset ODBC?!
20:31 jcamins It's like Jeopardy.
20:31 jcamins Only more terse.
20:31 jcamins :)
20:31 mtompset Now there's an ancient standard.
20:31 rangi sorry ODC
20:31 jcamins rangi: yeah, I know.
20:32 rangi oh look lets take CC-BY-SA
20:32 rangi and call it ODC-BY
20:32 wizzyrea O.o
20:33 jcamins heather_hernandez++
20:33 rangi and to be even more ironic hipster about it
20:33 rangi An Open Knowledge Foundation project. Site content licensed under a Creative Commons Attribution license.
20:33 rangi eggs
20:37 koyauni guys do you understand what this Plesk guy trying to tell me here, http://forum.parallels.com/sho[…]637024#post637024  please see the last reply
20:39 jcamins koyauni: he's saying instead of using port 80, make Apache listen on port 8080, and use port 8080 for the two Koha virtual hosts.
20:40 koyauni that means in koha-site.conf I should use 8080 in my setting
20:41 rangi @wunder nzwn
20:41 huginn rangi: The current temperature in Wellington, New Zealand is 8.0°C (8:00 AM NZST on August 24, 2012). Conditions: Clear. Humidity: 81%. Dew Point: 5.0°C. Windchill: 6.0°C. Pressure: 30.33 in 1027 hPa (Steady).
20:41 jcamins No.
20:41 jcamins In your virtual host file.
20:41 jcamins /etc/apache2/sites-available/library
20:42 jcamins And you add a "Listen 8080" line to /etc/apache2/ports.conf
20:42 jcamins Then to access your catalog you'll go to http://library.koyauniversity.org:8080/ and http://libraryadmin.koyauniversity.org:8080/
20:45 koyauni let me do that, cross you finger :)
20:46 * eythian still fails to understand how/why plesk would prevent you using port 80. It is the standard port after all.
20:46 mtompset Actually, I was wondering if koyauni actually did log into Plesk and set things up? https://library.koyauniversity.org:8443/
20:46 rangi yep, weve been through that
20:47 jcamins eythian: I don't know, but that seems to be the issue.
20:47 rangi what plesk is blocking is sites-enabled being used is what i think is happening
20:47 jcamins rangi: in that case, changing the port won't do anything.
20:47 koyauni I have just created the subdomain in Plesk,
20:48 rangi the plesk site (being served by apache2) is answering for everything on port 80
20:48 rangi and it expects you to do some silly put everything under some dir in plesk thing
20:49 koyauni in the ports it says # If you just change the port or add more ports here, you will likely also # have to change the VirtualHost statement in # /etc/apache2/sites-enabled/000-default
20:49 koyauni yes, 80 is the default in Apache 2 and Plesk
20:50 jcamins koyauni: add two lines to that file, actually:
20:50 jcamins Listen 8080
20:50 jcamins and
20:50 wajasu sometimes you have a site called "default" that you should disable.  so port 80 is freed up.
20:50 jcamins NameVirtualHost *:8080
20:51 jcamins wajasu: not here. The problem is that Apache is never hit.
20:51 wajasu ah
20:51 * jcamins has a new answer for the question "can I use Plesk to manage Koha?": "no."
20:52 koyauni you means in /etc/apache2/sites-enabled/000-default
20:52 jcamins koyauni: no.
20:52 koyauni I should add NameVirtualHost *:8080, Listen 8080 as well
20:52 jcamins in /etc/apache2/ports.conf
20:52 koyauni I have but it says you have to do it in the 000-default one as well
20:53 jcamins No, you don't.
20:53 jcamins Change ports.conf the way I just told you.
20:53 koyauni ok, now do I restrat apache2
20:53 wahanui jcamins: that doesn't look right
20:53 wahanui joined #koha
20:53 mtompset That's not what it means, koyauni.
20:53 jcamins And change /etc/apache2/sites-available/library to say 8080 instead of 80 on the VirtualHost lines.
20:53 wahanui jcamins: that doesn't look right
20:53 wahanui joined #koha
20:53 jcamins If you already did that, it's time to restart Apache.
20:57 koyauni ok, it says , apache2ctl restart [Thu Aug 23 23:54:45 2012] [warn] VirtualHost 88.198.51.202:8080 overlaps with V                             irtualHost 88.198.51.202:8080, the first has precedence, perhaps you need a Name                             VirtualHost directive [Thu Aug 23 23:54:45 2012] [warn] NameVirtualHost *:8080 has no VirtualHosts
20:57 eythian When I post to the list, I'm getting bounces from a comcast address saying it can't connect to the mail server. That doesn't bode well for comcast users.
20:58 jcamins koyauni: try changing those lines to "*:8080"
20:59 koyauni something poistive happens:)
20:59 koyauni http://library.koyauniversity.[…]ha/maintenance.pl
20:59 rangi yep im giving it a couple more days to sort itself out, then ill have to nomail the person, not doing that yet tho, because they will never know they have been no mailed and just stop getting mail, and thats arse
20:59 jcamins (that is, change 88.198.51.202:8080 to *:8080)
20:59 rangi so its a last resort thing
20:59 koyauni look the default site of plesk has gone
20:59 koyauni we are in right track! hurray
21:00 jcamins koyauni: yes, so you can now set up Koha. You'll have to get help from the Plesk folks if you want to change the port to 80.
21:02 koyauni now all the sites has stopped working http://koyauniversity.org/
21:02 koyauni non of the web sites are accessible
21:02 jcamins Well, you can undo the changes you just made, then.
21:02 wajasu you brought down the internet.
21:03 jcamins Looks like you can choose between using Plesk and running Koha.
21:03 koyauni can we define two set of ports
21:03 jcamins koyauni: did you delete the line that said "Listen 80"?
21:03 jcamins You were supposed to add "Listen 8080" and "NameVirtualHost *:8080."
21:04 koyauni yes I did
21:04 * mtompset nods, "No deleting. --- Oooooo."
21:04 koyauni so both line should be there
21:04 mtompset Yes.
21:04 koyauni ok
21:04 koyauni this guys says, well you must first get the web installer to work as far as i know it should be libraryadmin.yourserverip.XXX  to do that u need to put the koha shortcut into available-sites  then enable it so it gose to enabled-sites folder within apache2 dir in etc
21:05 mtompset ignore that.
21:05 koyauni but the package has already done that
21:05 jcamins Right, that's what we tried previously, and Plesk was getting in the way.
21:06 koyauni this is now at NameVirtualHost *:80 Listen 80  NameVirtualHost *:8080 Listen 8080
21:06 jcamins So I suggest you use Koha on port 8080 until you are more familiar with Linux, Plesk, and Koha.
21:06 koyauni in port.conf
21:06 jcamins Yes.
21:06 jcamins That's what it should have.
21:07 mtompset ha ha! You've got it.
21:07 koyauni my sites are back
21:08 mtompset AND! You've got the webinstaller log in!
21:08 koyauni and this is working now
21:08 koyauni http://libraryadmin.koyauniver[…]taller/install.pl
21:09 jcamins Yup. So now you go through the webinstaller.
21:09 * mtompset nods, "Yay!"
21:09 eythian wahanui: plesk
21:09 wahanui plesk is, like, part of the server
21:09 koyauni so to get the user site, http://library.koyauniversity.org
21:09 eythian no wahanui, plesk is terrible and likely to interfere with setting up Koha
21:09 wahanui okay, eythian.
21:10 mtompset plesk?
21:10 wahanui plesk is, like, terrible and likely to interfere with setting up Koha
21:10 mtompset Amen to that!
21:10 mtompset I think I'll have another round of caffeine to celebrate.
21:10 koyauni I think this is a good experince and I will write the step by step for Plesk users
21:11 * wizzyrea just googled plesk - 3rd hit is "Plesk 0day for sale as thousands of sites hacked
21:11 * wizzyrea backs slowly away from plesk
21:11 * wizzyrea turns and runs
21:11 eythian hahaha
21:11 koyauni so defining the port is an important step when working Plesk,
21:11 jcamins Wow.
21:11 koyauni should the value in koha-site.conf cahnge as well,
21:12 eythian koyauni: that only applies when you run koha-create
21:12 eythian so, you can change it now (probably not a bad idea) but it won't actually change anything at the moment.
21:12 koyauni because that is defined on port 80
21:12 jcamins koyauni: it doesn't matter for you now. If we'd known that you couldn't use 80 without some special configuration in Plesk before we started, you could've set the INTRAPORT and OPACPORT both to 8080, and saved some of the manual editing.
21:13 jcamins However, it would probably be a good idea to change it even though it won't have much impact.
21:13 koyauni ok, i see, that just give instruction during installation
21:14 eythian yeah
21:14 koyauni ok, I do that now
21:16 koyauni many thanks for your help,
21:16 koyauni have you guys seen this http://drupalconnect.com/trekk
21:16 wajasu are you sure a2dissite default   would have not freed up port 80.  or maybe listing what was enabled in /etc/apache2/sites-enabled to if the default plesk site was there.
21:17 jcamins wajasu: yes, quite sure.
21:17 wajasu i defer
21:17 jcamins wajasu: we already tried a2dissite default. ;)
21:17 koyauni wajasu are you asking me?
21:17 wajasu yes. but jacamins confimed my suspicion.
21:18 jcamins koyauni: I don't use Drupal at all, so I can't tell you anything about it. Other than that I don't really like it.
21:19 wajasu i'm attempting to signoff bug 8112.  i need to fiure out how to get multiple fines against the same overdue item. Hmm.
21:19 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8112 minor, P5 - low, ---, kyle.m.hall, Needs Signoff , Overdues with Fines giving duplicates
21:20 jcamins wajasu: upgrade from 3.6.x to 3.8.x.
21:21 wajasu i'm running master.  you mean i need to do an upgrade to get dups?
21:22 jcamins Right.
21:23 wajasu the bug didn't mention doing an upgrade.  so i have to install 3.6.x, add patron, items, checkout, have overdues, then upgrade?  that alot of work.
21:24 jcamins wajasu: that's my understanding.
21:25 wajasu can't i just add another row into accountlines.  see it on the overdues_report, apply the patches.  run the report and see its ok?
21:25 wizzyrea that wouldn't be a real life test
21:26 mtompset but if you love testing, you should do that too. ;)
21:27 mtj joined #koha
21:27 * mtompset is getting excited, "The data transfer of over 70,000 files is almost complete after weeks of painful networking problems and downtimes."
21:28 mtompset And it's Drupal related, jcamins. ;)
21:28 wajasu but the patch really is just fixing the report IF you have dups.  And it doesn't remove dups from an upgrade.
21:29 mtompset Yes, but in real life... people will have this problem.
21:29 mtompset And we'll say, "It's fixed in a newer version."
21:29 mtompset And so they'll upgrade.
21:29 wajasu the problem being the report, or the dups?
21:30 jcamins Looks like this patch is just about the report. With the dups dealt with elsewhere.
21:30 wajasu yeah.
21:30 koyauni in koha-conf.xml there is only one set of kohausr and pass , and that does not work with this admin login
21:31 mtompset Are you at the bottom?
21:31 koyauni yes
21:31 eythian and what does "does not work" mean?
21:32 mtompset sudo xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/instancename/koha-conf.xml
21:32 koyauni the access code to this http://libraryadmin.koyauniver[…]taller/install.pl
21:32 mtompset Did you type this to make sure you are getting the correct password?
21:32 koyauni I can type, let me look
21:32 mtompset You'll have to change instancename to library.
21:32 eythian there are different ways for something not to work, knowing how something breaks is often the best way of knowing what's wrong.
21:32 koyauni yes
21:36 koyauni now I am in :)
21:40 mtompset YAY!
21:41 wajasu Awesome!!!
21:46 talljoy joined #koha
21:46 koyauni all went well,
21:46 koyauni I am up and run now
21:47 koyauni I wonder if I do not define any port for http://library.koyauniversity.org:8080
21:47 koyauni will it work as http://library.koyauniversity.org
21:47 jcamins It will take you to the Plesk page.
21:48 koyauni so we have to always have the 8080 then
21:48 jcamins Until you find out how to configure it so that Plesk doesn't get in the way of you using port 80.
21:49 eythian joined #koha
21:49 eythian cait: 23 slides, and I think I'm about half way through :)
21:49 koyauni at least we can work now, Many thanks guys, you were very helpful
21:49 cait eythian: impressive!
21:50 cait be very mean to me tomorrow.. you promised!
21:50 cait well... you didn't say no :)
21:50 * cait has to make her slides tomorrow
21:50 eythian heh
21:51 jcamins It sounds like there's something you have to set up in Plesk, which none of us know about.
21:51 jcamins eythian: goodness! How long a talk?
21:52 cait eythian: we got rain!
21:52 eythian jcamins: about 30 minutes
21:52 eythian although, by slides I mean "points that it pauses on"
21:52 eythian it's more like 8 pages
21:54 eythian cait: yeah, I was watching the lightning before
21:55 cait got no lightning up here, but nice rain now
21:58 wajasu its nice testing with the rains pitter patter...  but then...  BOOM... lightning bugs
22:01 cait night all :)
22:01 cait left #koha
22:24 mtompset Oh, I'm trying to do a git install of koha 3.8.4 -- there's a file missing from the PerlDependencies.
22:26 rangi and it is?
22:32 mtompset Cache::Memcached::Fast
22:33 mtompset related to Koha::Cache::... something.
22:33 jcamins mtompset: there's a patch for it.
22:33 mtompset My scroll back is too small to check.
22:33 jcamins Yeah, Cache::Memcached::Fast.
22:33 mtompset Not that it matters... I got the appropriate library and kept going.
22:34 mtompset Good to know there is a patch.
22:48 mtompset Ah, bug 8636
22:48 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8636 major, P5 - low, ---, jcamins, Passed QA , Some dependencies are not listed by the installer
22:48 jcamins Yup.
22:49 mtompset How do I trigger the test which requires the Test::YAML::Valid?
22:50 rangi there's a bunch sitting waiting for paul to get back, to go into master, so i can cherry-pick them for 3.8.x
22:50 jcamins prove xt
22:50 rangi some of the critical ones i applied manually
22:50 rangi for 3.8.4
22:51 eythian joined #koha
22:51 rangi dont forget prove xt/author/
22:51 rangi too
22:51 rangi (not for this case, but in general)
22:51 rangi anytime a template changes, you should run them
22:57 mtompset or prove -r xt
23:05 maximep left #koha
23:07 rangi you know what
23:07 jcamins What?
23:08 rangi we should get a wildcard cacert for *.koha-community.org
23:08 rangi and put the wiki on https
23:08 jcamins Ummm...
23:08 jcamins why?
23:08 rangi cos we type passwords in the clear
23:08 jcamins Ah. That's true.
23:08 rangi someone gets hold of mine
23:09 rangi they could mess up the wiki good
23:09 rangi also it might stop the automated spammers
23:09 rangi might not, but i run https everywhere and it always grizzles at me hehe
23:10 BobB joined #koha
23:10 * jcamins votes against removing http access to bugzilla.
23:11 papa joined #koha
23:16 rangi oh not removing
23:16 rangi you can have both
23:16 rangi like twitter, facebook, google, et al
23:16 rangi do
23:17 rangi so ppl who care about security and run with https everywhere on, see the https site, others who dont care can see the http one
23:17 wajasu do we have a wiki page for setting up postfix as null client(send mail out only, with replies configured to return to another mailhost).  i did it yesterday from scratch on debian sqeeze, and while its fresh, I could write it up.  a couple of folks mentioned.
23:17 jcamins postfix?
23:17 wahanui postfix is found at https://help.ubuntu.com/community/Postfix
23:18 rangi wajasu: we make a concious effort to try to only talk about koha
23:18 wajasu ok
23:18 rangi there's enough to document there
23:18 wajasu mail is a can of worms anyway.
23:18 rangi otherwise we spread ourselves too thin
23:18 rangi yep
23:19 wajasu i am starting to feel it.  patching some things is like ...
23:20 mtj aaah, the old 'less is more' concept...
23:21 wajasu i'm glad i got bug 8378 done today.  i'm sure kf will fine another corner case.
23:21 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8378 critical, P5 - low, ---, koha-bugs, Needs Signoff , <fine> syntax not working on overdues anymore
23:21 mtompset I run https to log into facebook.
23:22 mtompset I think the cacert idea is a good one.
23:23 rangi wajasu: she's a good tester we need 20 more of her
23:24 wajasu she's gold.
23:24 ibeardslee ++ .. BUT also need a decent message/tutorial of ensuring that people understand the message about invalid cert from using a cacert
23:24 wajasu bug 8168.  i can fix that.
23:24 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8168 minor, P5 - low, ---, henridamien, NEW , ersatz CSV header in attachment of overdue notices sent to administrator
23:24 jcamins ersatz++
23:25 wajasu i pasted a question earlier today about that very thing i saw in the code when testing my patch.  i can patch that quick.
23:27 rangi excellent wajasu
23:27 rangi ibeardslee: yep good idea
23:33 jcamins Things that help when testing search-related functionality:
23:33 jcamins 1) starting Zebra
23:33 jcamins 2) see (1)
23:33 wajasu i have an idea on how to test bug 7967.  i can capture the converstation with wireshark during ldap search.  then apply the patch.  then record another ldap search, and compare the differences.
23:33 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7967 enhancement, P5 - low, ---, gmcharlt, Needs Signoff , Z39.50 client should negotiate encoding with server
23:33 ibeardslee rangi: I need to do something similar for the academy moodle.
23:33 wajasu ha
23:34 jcamins wajasu: the problem is that we don't know of any servers that allow negotiation.
23:34 rangi ibeardslee: ill steal your words then :)
23:34 jcamins (that you don't have to pay by the search for)
23:34 ibeardslee .. damn .. not the way I was thinking of it ;)
23:35 wajasu jcamins: i see.
23:40 wajasu rangi: i could add a fines.total  (or <<items.finestotal>>)  for notices. Bug 7707
23:40 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7707 enhancement, P5 - low, ---, henridamien, NEW , Add fines placeholders in notices to display fine information on notices
23:41 rangi in master or 3.8 ?
23:41 rangi oh you mean you could write the patch to do that?
23:41 rangi if so, cool
23:42 wajasu since i know how it work right now.  it can.
23:52 rangi http://www.stuff.co.nz/nationa[…]dowers-stolen-car
23:52 rangi feel good friday
23:53 NateC joined #koha

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