IRC log for #koha, 2014-07-11

All times shown according to UTC.

Time S Nick Message
01:05 eythian joined #koha
02:14 ivan_ joined #koha
02:16 ivan_ Has anyone attempted start koha-start-sip on Ubuntu 14.04?
02:18 eythian I don't think I have
02:18 eythian what happens?
02:19 ivan_ I'm getting a perl socket error with the raw listener.
02:19 ivan_ Perl is new to me so I am trying my best with the debugger.
02:19 ivan_ Here is the stack I was able to pull.
02:19 rangi what does the config say
02:19 rangi what port is trying to start on
02:20 ivan_ Yeah I am begining to think it might be that.
02:20 rangi you did run koha-enable-sip first eh
02:20 ivan_ I am seeing this in the debug output: Net::Server::run('SIPServer', 'port=6001/tcp', 'syslog_facility=local6', 'min_spare_servers=0', 'log_file=Sys::Syslog', 'syslog_ident=koha_sip', 'min_servers=1')
02:20 ivan_ Yes
02:20 rangi in that case id check the config, and check also that nothing else is listening on port 6001
02:20 ivan_ Is the port just supposed to be 6001 and not 6001/tcp?
02:21 rangi no idea, give it a try
02:21 rangi cant hurt to try :)
02:21 ivan_ one moment
02:22 ivan_ No difference.
02:22 ivan_ Here is the trace
02:22 ivan_ Bad arg length for Socket::unpack_sockaddr_in, length is 28, should be 16 at /usr/lib/perl/5.18/Socket.pm line 151.
02:22 ivan_ at /usr/share/perl5/Net/Server/PreFork.pm line 232.
02:22 ivan_ Net::Server::PreFork::run_chil​d('SIPServer=HASH(0x448caf8)') called at /usr/share/perl5/Net/Server/PreFork.pm line 187
02:22 ivan_ Net::Server::PreFork::run_n_child​ren('SIPServer=HASH(0x448caf8)', 1) called at /usr/share/perl5/Net/Server/PreFork.pm line 111
02:22 ivan_ Net::Server::PreFork::loop('​SIPServer=HASH(0x448caf8)') called at /usr/share/perl5/Net/Server.pm line 61
02:22 ivan_ Net::Server::run('SIPServer', 'port=6001', 'min_servers=1', 'syslog_facility=local6', 'syslog_ident=koha_sip', 'min_spare_servers=0', 'log_file=Sys::Syslog') called at /usr/share/koha/lib/C4/SIP/SIPServer.pm line 83
02:22 * ivan_ cringes
02:22 eythian wahanui: paste
02:22 wahanui somebody said paste was found at http://paste.koha-community.org
02:22 ivan_ Sorry for that
02:22 ivan_ Yeah kind of late
02:23 ivan_ My mind is dumb
02:23 rangi ah yes ive seen that
02:23 rangi i forget what caused it
02:23 rocio left #koha
02:23 rangi https://bugs.debian.org/cgi-bi[…]rt.cgi?bug=667737
02:24 rangi it should be fixed though if it was that one
02:25 rangi http://lists.katipo.co.nz/publ[…]March/032336.html
02:25 ivan_ Taking a look.
02:25 rangi i new id seen it before
02:25 rangi unfortunately there doesnt seem to be an answering mail
02:26 eythian ivan_: what distro are you on?
02:26 eythian oh, you said
02:26 eythian never mind
02:26 wahanui Good, I'm glad you figured it out. I didn't understand, and probably never will, being a bot.
02:27 rangi hmm gimme a sec i have an idea
02:27 rangi ivan_: try this
02:27 rangi port="127.0.0.1:6001/tcp"
02:27 ivan_ Alright, one moment
02:29 ivan_ That may have worked.
02:29 rangi cool
02:29 * ivan_ furiously checking
02:30 rangi you may want to change it a different ip after you have tested telnetting to it on 127.0.0.1
02:30 rangi so other machines can reach it :)
02:30 rangi from what i can tell, without an ip, it tries to do something with localhost and fails
02:31 ivan_ I only have one client that needs to go through a socket listener so I had telnet disabled. I was going to verify with the 3m tool. Do you think telnet is worth trying anyway?
02:32 rangi i mean on that koha server
02:32 rangi telnet 127.0.0.1 6001
02:32 rangi and see if something is answering
02:33 eythian it probably grabs ::0 for localhost, and something doesn't like v6 because it's still 1999.
02:33 rangi yeah
02:34 ivan_ Ah damn. It may not be working. Just failing silently. At least nothing from ps -ef | grep sip
02:34 eythian grep -i sip
02:35 eythian also, check with telnet
02:35 ivan_ telnet 127.0.0.1 6001
02:35 ivan_ Trying 127.0.0.1...
02:35 ivan_ telnet: Unable to connect to remote host: Connection refused
02:36 rangi ah bummer
02:37 rangi anything in the sip.err or sip.out (or syslog for that matter)
02:37 ivan_ Service config: https://dpaste.de/aEwp
02:37 rangi yep, that looks ok
02:38 ivan_ Nah it has been failing silently since the port change.
02:39 ivan_ I will try running in debug mode again
02:40 ivan_ Hmm... that runs fine. I may have broke some file perms by mistake. I had accidentally ran it directly as root about an hour ago.
02:40 eythian what exactly did you run as root?
02:40 ivan_ (I am running it in debug mode as the service user)
02:40 eythian oh right
02:40 ivan_ I accidentally ran it as root once
02:41 ivan_ I chowned the logs back but wasn't sure what else to check for damage
02:41 eythian most likely just the logs
02:41 ivan_ Ok, hmm... Well where I am at now is this.
02:41 rangi check the SIPConfig.xml is readable by the right user too
02:42 ivan_ This seems to not crash: perl -d "/usr/share/koha/lib/C4/SIP/SIPServer.pm" "/etc/koha/sites/catalog/SIPconfig.xml"
02:42 ivan_ Which under the service user
02:42 rangi and can you hit it on 6001
02:42 ivan_ However koha-start-sip does
02:42 ivan_ Ah good point. I will check that.
02:43 ivan_ Yes I can. Checking that config ownership now.
02:44 rangi well seems we solved the major problem, thats good at least
02:44 ivan_ Yeah
02:45 ivan_ Thank you so much so far guys!
02:46 ivan_ The config ownership looks ok I think. https://dpaste.de/0ikZ
02:47 eythian yep
02:53 ivan_ Any other logs I should be checking besides /var/log/koha/<instance>/sip* ?
02:54 ivan_ Hah! Looks like a restart did the trick. I probably had some session env var set to something silly when diagnosing
02:54 ivan_ Thanks again!
03:08 ivan_ I would like to post my solution here: http://wiki.koha-community.org[…]:_Troubleshooting
03:10 ivan_ I requested a wiki account and will update if I get one.
03:12 rocio joined #koha
04:54 cait joined #koha
05:09 laurence joined #koha
06:37 reiveune joined #koha
06:37 reiveune hello
06:42 cait oleonard++ # bug wrangling :)
06:48 lds joined #koha
06:59 alex_a joined #koha
07:03 yohann joined #koha
07:25 ashimema joined #koha
07:34 JesseM_away joined #koha
07:36 gaetan_B joined #koha
07:36 gaetan_B hello
07:36 wahanui what's up, gaetan_B
07:38 sophie_m joined #koha
07:40 cait joined #koha
09:13 slef @marc 650
09:13 huginn slef: A subject added entry in which the entry element is a topical term. (Repeatable) [a,b,c,d,e,v,x,y,z,2,3,4,6,8]
09:13 slef hi everyone
09:17 paul_p joined #koha
09:33 nlegrand joined #koha
09:34 paul_p joined #koha
09:34 cait joined #koha
09:34 ashimema joined #koha
09:34 yohann joined #koha
09:34 gerundio joined #koha
09:34 jajm_ joined #koha
09:34 dcook joined #koha
09:34 pastebot joined #koha
09:34 dpk joined #koha
09:34 janPasi joined #koha
09:34 bag joined #koha
09:34 alohalog` joined #koha
09:34 slef joined #koha
09:34 mtj joined #koha
09:34 mle joined #koha
09:34 liw joined #koha
09:34 Joubu joined #koha
09:34 mtj- joined #koha
09:34 grex joined #koha
09:34 fredericd joined #koha
09:34 jseplae joined #koha
09:34 irma joined #koha
09:34 clrh joined #koha
09:34 halcyonCorsair joined #koha
09:34 paxed joined #koha
09:35 irma joined #koha
10:19 sophie_m joined #koha
11:41 cait hi nlegrand :)
11:48 NateC joined #koha
11:50 meliss joined #koha
11:56 oleonard joined #koha
12:02 tcohen joined #koha
12:02 ashimema_ joined #koha
12:03 tcohen_ joined #koha
12:06 oleonard Hi everyone
12:07 tcohen_ hi oleonard #koha
12:10 francharb joined #koha
12:10 tcohen #koha: do we have some CRUD code implemented with DBIx in Koha?
12:14 yohann tcohen : very few, but see in Koha/List/Patron.pm
12:16 tcohen thanks yohann
12:16 yohann Or in C4/Budgets.pm, there are other examples
12:20 oleonard Bug 6875 had a lot of activity for a while but seems to have been forgotten
12:21 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6875 major, P1 - high, ---, paul.poulain, ASSIGNED , de-nesting C4 packages
12:21 oleonard I wonder if Bug 7025 is the only remaining issue
12:21 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7025 normal, P5 - low, ---, koha.sekjal, NEW , C4::Items depends on C4::Reserves (which in turn depends on C4::Items...)
12:33 oleonard No, Bug 7025 is fixed now as far as I can tell.
12:33 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7025 normal, P5 - low, ---, koha.sekjal, RESOLVED FIXED, C4::Items depends on C4::Reserves (which in turn depends on C4::Items...)
12:39 cait Joubu: could you maybe take a look at the discussion on bug 7498?
12:39 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7498 enhancement, P5 - low, ---, pelletiermaxime, Needs Signoff , Cloning a budget, enable change of description
12:40 oleonard jcamins around?
12:41 cait oleonard: i think i'd close it - but someone might disagree (de-nesting)
12:41 lds joined #koha
12:42 Joubu cait: hum?
12:43 cait from the description i thin it's a duplicate to rollover
12:44 yohann tcohen : else you have also the bug 12487 where I used DBIx::Class in CRUD operation
12:44 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=12487 normal, P5 - low, ---, yohann.dufour, Signed Off , C4::Contract.pm : Replacement of subroutine calls of C4::SQLHelper by DBIx::Class
12:44 tcohen morning cait
12:44 Joubu cait: yes, it looks closed
12:53 jcamins Please do close it!
12:53 jcamins and, no, not really.
12:55 tcohen morning jcamins!
12:55 oleonard jcamins: sorry are you saying you agree to closing Bug 6875?
12:55 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6875 major, P1 - high, ---, paul.poulain, ASSIGNED , de-nesting C4 packages
13:08 jcamins Yes.
13:08 jcamins But I am not here.
13:10 oleonard Gotcha.
13:52 Dyrcona joined #koha
14:08 nengard joined #koha
14:12 nengard morning all
14:12 oleonard Hi nengard
14:12 nengard hiya oleonard
14:14 yohann tcohen : how do you generate your patch for the bug 12558 in order to have only the real modified files (and not the files which have a changement of version and checksum)
14:14 huginn Bug http://bugs.koha-community.org[…]_bug.cgi?id=12558 normal, P5 - low, ---, tomascohen, Needs Signoff , DBIx::Class schema update 07/2014
14:17 tcohen yohann: i've just run misc/devel/update_dbix_class_files.pl --db_name dbic --db_user user --db_passwd passwd
14:17 oleonard nengard: Do you recall what search Bug 6896 refers to?
14:17 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=6896 major, P5 - low, ---, gmcharlt, NEW , searching an acq date finds due date instead
14:17 tcohen where dbic is a new DB where I loaded kohastructure.sql
14:18 nengard oleonard - 3 years ago??? hehe
14:18 nengard let me see if i can find it
14:18 yohann tcohen : yes, but in the commit, you don't have put the 170 generated files
14:18 cait oleonard: thx for the bug wrangling btw :) oleonard++
14:19 nengard oleonard, no clue - let's close it
14:19 yohann tcohen: so I wanted to know, how do you sort which files you put in the patch
14:20 rocio joined #koha
14:26 tcohen yohann: the script generated the correct changes
14:27 tcohen I just did git add -u (add the changed files to the index)
14:27 tcohen and git add the two new files before commit
14:27 tcohen doesn't it work like that if you run it?
14:27 yohann not really, but i will try again, thank's
14:28 Caro-Rosario joined #koha
14:28 Caro-Rosario hola
14:29 cait hola
14:33 tcohen hola
14:34 Caro-Rosario como va?
14:35 Caro-Rosario soy de Argentina - Santa Fe
14:35 Caro-Rosario y me conecte para hacer una consulta }
14:35 cait soy de Alemania :) And my Spanish is quite limited :)
14:36 Caro-Rosario jajajaj
14:36 Caro-Rosario my English is limited
14:38 Caro-Rosario can I ask something
14:38 Caro-Rosario ?
14:41 cait sure, i think there is also a spanish speaking channel, tcohen?
14:42 tcohen hola Caro
14:42 tcohen aca de la UNC, Córdoba
14:42 tcohen cait: we have the koha-es list, but no channel
14:47 Caro-Rosario hola tcohen
14:47 tcohen de donde sos?
14:47 Caro-Rosario que suerte alguien en español!
14:47 Caro-Rosario Santa Fe Rosario
14:48 * tcohen thinks cait should be reading, to improve her spanish
14:48 cait i will :)
14:48 tcohen si, eso lei. Perteneces a alguna institucion?
14:48 tcohen yo estoy en la Universidad Nacional de Cordoba
14:48 Caro-Rosario si, una biblioteca municipal. Biblioteca Estrada
14:49 Caro-Rosario Nosotros implementamos koha a fines del año pasado
14:49 Caro-Rosario y en estos dias nos surgio un problema
14:50 Caro-Rosario tenemos implementada la version 3.12.04
14:52 Caro-Rosario nos pasa que si un socio crea una lista y luego se elimina este, el usr propietario , la lista queda huerfana
14:52 Caro-Rosario y nadie puede modificarla o eliminarla!
14:52 Caro-Rosario nos les paso nunca
14:53 Caro-Rosario o ustedes en la biblioteca no permiten la creación de listas
14:56 tcohen ah. interesante
14:56 tcohen puede ser un problema de Koha
14:57 tcohen dejame revisar un segundo
14:58 tcohen pregunta, la lista la crean en el OPAC? en la intranet?
14:58 tgoat joined #koha
15:00 tcohen son listas privadas? publicas?
15:08 tcohen Caro-Rosario: eso ha sido resuelto ya en versiones mas nuevas de Koha
15:09 tcohen ya te digo en cual, porque deberían actualizar
15:17 yohann left #koha
15:33 cait left #koha
15:33 tcohen oleonard:
15:33 tcohen around?
15:34 oleonard Yes
15:34 tcohen templates question
15:34 tcohen politics
15:35 tcohen if i have a situation: .pl sends content vs doesnt
15:35 tcohen we usually have an IF ELSE
15:35 tcohen correct?
15:35 tcohen if content <div>content</div> else no_content_msg
15:36 tcohen in the case we are using AJAX calls to remove content
15:36 tcohen until there's no more content
15:36 tcohen i'd like to show no_content_msg
15:37 tcohen i see two options
15:37 tcohen have both contents there + a toggle function
15:38 tcohen or handle everything with JavaScript
15:38 tcohen what is the best approach?
15:38 oleonard I am confused.
15:38 * tcohen can understand that
15:39 pastebot "tcohen" at 172.16.248.212 pasted "oleonard: this example" (23 lines) at http://paste.koha-community.org/91
15:40 tcohen suppose [% IF ( localimages.0 ) %] == true
15:40 tcohen image list
15:41 tcohen i want to change the behaviour
15:41 tcohen when you delete all attached images
15:41 tcohen so that it shows the same message
15:41 tcohen "<p>No images..."
15:43 oleonard Okay I think I understand now
15:44 tcohen I wrote a JS function that injects the message ().html when no more images are available
15:44 tcohen and I like it! because is easier to translate
15:45 tcohen (js placeholders and such)
15:45 oleonard That sounds reasonable
15:45 oleonard ...but you were concerned that it was not the right way?
15:45 tcohen should I *also* use that function on document.ready instead of the "else" ?
15:46 oleonard Hmm... I would probably leave the ELSE I guess.
15:47 tcohen so we prefer template logic
15:47 tcohen and JS when needed
15:48 oleonard Doing so makes page rendering a little faster I would think.
15:49 tcohen ok
16:02 Caro-Rosario perdon tcohen pero surgio otra cosa y me tuve que ir
16:03 Caro-Rosario quiere decir que si actualizo eso se debería solucionar!!!??
16:03 tcohen exacto
16:06 gaetan_B bye !
16:07 pastebot "tcohen" at 172.16.248.212 pasted "oleonard: the version i like, besides you told not to do it :-P" (65 lines) at http://paste.koha-community.org/92
16:07 tcohen bbl
16:13 Caro-Rosario Bueno, gracias por la info
16:25 rhcl This must surely be relevant to Koha_US?
16:25 rhcl http://arstechnica.com/tech-po[…]-source-projects/
16:39 cait joined #koha
16:40 carmenh joined #koha
16:43 laurence left #koha
16:53 reiveune bye
16:53 reiveune left #koha
17:09 tcohen oleonard: is it possible to have translatable text with placeholders in TT¿
17:09 tcohen like "Please %supload%s one."
17:10 cait hm in javasript or html?
17:10 tcohen html
17:10 tcohen i did it in javascript
17:10 cait it normally should work then with tt variables
17:10 tcohen so, do we translate TT variables containing strings?
17:10 cait if you don't interrupt with html tags it should end up as a string with placeholders
17:11 cait something like these are [variable] things
17:11 cait and you can do a quick test run of the translation script
17:11 cait but i think it should work out as %s in this case
17:11 tcohen so, if you have "Text [% variable %] text" it is considered as
17:11 tcohen "Text %s text"
17:11 cait i thin kso yes
17:12 cait but i'd give it a quick tst run
17:12 tcohen ok
17:12 cait what seems to be problematic is when you have additional html markup
17:12 cait like bolding a word
17:12 cait but the script have been improved some recently, so I'd def check what i said
17:17 cait sorry for the typos :)
17:32 pastebot "tcohen" at 172.16.248.212 pasted "cait: this at least workd" (6 lines) at http://paste.koha-community.org/93
17:33 smrt joined #koha
17:34 cait tcohen: i am ont sure what you are doing there
17:34 cait what does it translate to in the template?
17:34 cait oh
17:34 tcohen Please [% upload_msg_opening %]upload[% upload_msg_closing %] one.
17:34 tcohen trying to make it translatable
17:34 cait you avoided the <a> problem that way
17:35 tcohen i.e. you have the whole sentence
17:35 cait and with normal link ti didn't translate correctly?
17:38 cait i think it probably does not, but i haven't checked, curious if you tried
17:38 ashimema_ Clocking off for the weekend..
17:38 cait have a nice weekend :)
17:38 ashimema_ have a good one, one and all
17:40 tcohen uh
17:40 tcohen it is, actually, worse for translating
17:40 tcohen heh
18:03 nengard is anyone else getting spam emails when they send a message to the Koha list? I keep blocking this person, but who manages the list and can ban them?
18:11 rhcl I can't tell if it's from the list, but starting about 4 weeks ago I started getting tons of spam.
18:11 rhcl I have a delete filter rule that has about 1,200 entries in it.
18:12 JesseM joined #koha
18:12 rhcl I've never previously had that much of a problem, our "ISP" (more.net) does a very good job with their filters
18:13 rhcl so not much reaches us, but something definitely happened about the time that other kohaites started complaining
18:17 nengard rhcl it's a reply to my message to the koha list every time
18:17 nengard so it's coming from the list
18:17 nengard for sure
18:19 * druthb blames cait.
18:20 oleonard Why didn't I think of that?
18:21 druthb :)
18:23 sophie_m joined #koha
18:23 carmenh joined #koha
18:24 nengard I don't want to blame anyone!!
18:24 nengard Just want to know who can ban people :) hehe
18:25 gmcharlt joined #koha
18:29 oleonard Should bug reports specific to Solr be marked as WONTFIX?
18:34 oleonard For example, Bug 9866, Bug 9868, Bug 10248
18:36 * oleonard checks for typhoons and subspace distortions in the radar map of gmcharlt's location
18:36 gmcharlt joined #koha
18:40 tcohen oleonard: yes
18:40 gmcharlt joined #koha
18:41 cait oleonard: you could also link to the removal bug maybe?
18:41 cait to avoid questions
18:41 huginn joined #koha
18:42 gmcharlt @quote random
18:42 huginn gmcharlt: Quote #25: "<wizzyrea> ha, in #koha we don't pick each other's brains... we git pull them." (added by gmcharlt at 07:40 PM, August 14, 2009)
18:42 gmcharlt huginn: now backed by SSDs, and able to serve up quotes EVEN FASTER! \o/
18:43 huginn gmcharlt: I'll give you the answer as soon as RDA is ready
18:44 * cait waves at gmcharlt
18:44 tcohen hi galen o/
18:44 cait oleonard: are yo uworking through the bugs in a sequence?
18:45 oleonard No, just looking for older bugs which I can fix/test/understand
18:45 cait it's always amazing how much you get done
18:45 cait oleonard++
18:46 tcohen oleonard++
18:52 cait hm
18:52 cait i amtihnking about adding OMNIBUS: in some bug descriptions
18:52 cait like bug 2310
18:52 huginn Bug http://bugs.koha-community.org[…]w_bug.cgi?id=2310 normal, P3, ---, oleonard, ASSIGNED , Delete grayed out w/out explanation
18:53 cait also... should we add an omnibus bug for the things blocking non-xslt deprecation?
18:54 cait oleonard: could you take a look at 2889? :)
18:55 oleonard Sure
19:00 cait thx :)
19:19 * tcohen doesn't understand why one needs to take care in Koha of a reverse proxy in front of it
19:28 oleonard Have a good weekend #koha
19:33 tcohen have a nice weekend #koha
19:33 tcohen bye!
19:37 huginn New commit(s) kohagit: Bug 12558: (follow-up) remove old versions of schema classes for two tables <http://git.koha-community.org/[…]9473ae71910fcb452> / Bug 12558: Require DBIx::Schema::Loader v0.07039 or higher <http://git.koha-community.org/[…]4701ef09d53d5a31c> / Bug 12558: DBIx::Class schema update 07/2014 <http://git.koha-community.or
19:51 carmenh joined #koha
20:16 tcohen joined #koha
20:17 tcohen morning #koha
20:18 nengard left #koha
20:29 cait tcohen: you are already back?
20:30 tcohen at home
20:45 Ruben joined #koha
20:46 Ruben left #koha
20:47 rhcl and it's morning?
20:51 talljoy joined #koha
21:04 tcohen joined #koha
21:15 tcohen joined #koha
21:43 tcohen_ joined #koha
23:33 eythian wahanui: hi
23:33 wahanui privet, eythian

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