Re: [Koha] Adding languages to Advanced Search

2018-08-21 Thread Katrin Fischer

Hi Rubén,

first and second look the same to me? It looks about right. I just ran 
the SQL in my test database and Esperanto showed up in the language pull 
down.


Katrin


On 20.08.2018 09:34, Rubén Fernández Asensio wrote:


I'd rather file a bug, but adding Esperanto (and other languages) has 
already been proposed:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18493

Why is the status of that bug "Failed QA"?
I suspect the only way of having that bug fixed and Esperanto added to 
Koha Advanced Search may be providing a solution myself...


OK, let's say I type something like this:

INSERT INTO language_subtag_registry( subtag, type, description, 
added) VALUES ( 'eo', 'language', 'Esperanto','2018-08-20');


INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) 
VALUES ( 'eo', 'epo');


INSERT INTO language_descriptions(subtag, type, lang, description) 
VALUES ( 'eo', 'language', 'eo', 'Esperanto');


INSERT INTO language_descriptions(subtag, type, lang, description) 
VALUES ( 'eo', 'language', 'en', 'Esperanto');


And this:

INSERT IGNORE INTO language_subtag_registry( subtag, type, 
description, added) VALUES ( 'eo', 'language', 'Esperanto','2018-08-20');


INSERT IGNORE INTO 
language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code) VALUES ( 
'eo', 'epo');


INSERT IGNORE INTO language_descriptions(subtag, type, lang, 
description) VALUES ( 'eo', 'language', 'eo', 'Esperanto');


INSERT IGNORE INTO language_descriptions(subtag, type, lang, 
description) VALUES ( 'eo', 'language', 'en', 'Esperanto');


What should I do next?


El 20/08/18 a les 08:09, Katrin Fischer ha escrit:

Example:

INSERT IGNORE INTO language_descriptions(subtag, type, lang, 
description) VALUES ( 'ka', 'language', 'ka', 'ქართული');


For translations:
INSERT IGNORE INTO language_descriptions(subtag, type, lang, 
description) VALUES ( 'ka', 'language', 'fr', 'Géorgien');

...

You could also file a bug on bugzilla about adding Esperanto to the 
list for new versions.


Katrin

___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] koha stop working after enabling plack

2018-08-21 Thread Jonathan Druart
Hi Alvaro,

Your problem is what Tomas told you, you are using Koha 17.05 with packages
from "stable", which are for 18.05

Regards,
Jonathan

On Sat, 18 Aug 2018 at 12:58 Alvaro Cornejo 
wrote:

> Hi
>
> Any idea on this?
>
> Is there any file edit/additonal configuration required in order to enable
> plack other that the plack instance enable and plack start?
>
> Regards,
>
> Alvaro
>
>
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
> y GPRS online
>   Visitenos en www.perusms.com
>
> 2018-08-16 23:01 GMT-05:00 Alvaro Cornejo :
>
> > Hi Tomas
> >
> > Thanks for your answer. This is the result of the pm commnad:
> >
> > aco@Celacp:~$
> > aco@Celacp:~$ pmvers Mojolicious
> > 7.21
> > aco@Celacp:~$ pmvers JSON::Validator
> > 0.97
> > aco@Celacp:~$
> >
> > aco@Celacp:~$ sudo more /etc/apt/sources.list.d/koha.list
> > deb http://debian.koha-community.org/koha stable main
> > aco@Celacp:~$
> >
> > I do not want to change the apt source version to 17.05  main since I
> need
> > to first save the koha customisations we made.
> >
> > does this be the cause of the plack error?
> >
> > Regards,
> >
> > Alvaro
> >
> >
> >
> >
> > |---
> > --|
> > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> > celular y Nextel
> > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS
> > y GPRS online
> >   Visitenos en www.perusms.com
> >
> > 2018-08-16 3:50 GMT-05:00 Tomas Cohen Arazi :
> >
> >> Also, make sure your /etc/apt/sources.list.d/koha.list file contains
> >>
> >> deb http://debian.koha-community.org/koha 17.05 main
> >>
> >>
> >> El jue., 16 ago. 2018 a las 5:48, Tomas Cohen Arazi (<
> >> tomasco...@gmail.com>) escribió:
> >>
> >>> Can u run this:
> >>>
> >>> $ sudo apt install pmtools
> >>> $ pmvers Mojolicious
> >>> $ pmvers JSON::Validator
> >>>
> >>> and paste the output?
> >>>
> >>> El jue., 16 ago. 2018 a las 2:07, Alvaro Cornejo (<
> >>> cornejo.alv...@gmail.com>) escribió:
> >>>
>  Hi
> 
>  This is what I get from plack-error.log:
> 
>  aco@Celacp:/var/log/koha/biblioteca$ sudo more plack-error.log
>  Process Backgrounded
>  2018/08/15-23:29:54 Starman::Server (type Net::Server::PreFork)
>  starting!
>  pid(7772)
>  Binding to UNIX socket file "/var/run/koha/biblioteca/plack.sock"
>  Setting gid to "1001 1001"
>  Setting uid to "1001"
>  Error while loading /etc/koha/plack.psgi: Can't load application from
>  file
>  "/usr/share/koha/api/v1/app.pl": Can't
>  locate object method "cache_dir" via package
>  "Swagger2::SchemaValidator" at
>  /usr/share/perl5/Swagger2.pm line 42.
>  Compilation failed in require at (eval 1285) line 1.
>  Error while loading /etc/koha/plack.psgi: Can't load application from
>  file
>  "/usr/share/koha/api/v1/app.pl": Can't
>  locate object method "cache_dir" via package
>  "Swagger2::SchemaValidator" at
>  /usr/share/perl5/Swagger2.pm line 42.
>  Compilation failed in require at (eval 1285) line 1.
>  
>  
> 
>  Error while loading /etc/koha/plack.psgi: Can't load application from
>  file
>  "/usr/share/koha/api/v1/app.pl": Can't
>  locate object method "cache_dir" via package
>  "Swagger2::SchemaValidator" at
>  /usr/share/perl5/Swagger2.pm line 42.
>  Compilation failed in require at (eval 1285) line 1.
>  2018/08/15-23:32:01 Server closing!
> 
>  ...
>  ...
> 
>  Error while loading /etc/koha/plack.psgi: Can't load application from
>  file
>  "/usr/share/koha/api/v1/app.pl": Can't
>  locate object method "cache_dir" via package
>  "Swagger2::SchemaValidator" at
>  /usr/share/perl5/Swagger2.pm line 42.
>  Compilation failed in require at (eval 1285) line 1.
>  2018/08/15-23:49:00 Server closing!
>  panic: fold_constants JMPENV_PUSH returned 2 at
>  /usr/share/perl5/Plack/Util.pm line 120.
> 
> 
>  This is the content of refered file:
> 
>  aco@Celacp:/var/log/koha/biblioteca$ sudo more
> /usr/share/koha/api/v1/
>  app.pl
>  #!/usr/bin/perl
> 
>  # This file is part of Koha.
>  #
>  # Koha is free software; you can redistribute it and/or modify it
> under
>  the
>  # terms of the GNU General Public License as published by the Free
>  Software
>  # Foundation; either version 3 of the License, or (at your option) any
>  later
>  # version.
>  #
>  # Koha is distributed in the hope that it will be useful, but WITHOUT
>  ANY
>  # WARRANTY; without even the implied warranty of 

Re: [Koha] [Koha-devel] Requesting feedback on changing the default behavior for loading the OPAC cart popup

2018-08-21 Thread Pablo Bianchi
*"Modals have become the today’s version of the dreaded popup window
"*
.
Shouldn't all popup windows converted to modals?
If people agree I could file a bug.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Install issue

2018-08-21 Thread Mirko Tietgen
Hi,

I assume your systems are 32bit?

We only had a 64bit version of libcryptx-perl in the repository
which may have caused the problem. Please do apt-get update and then
try to upgrade again.

Cheers,

Mirko


Michael Buhrley schrieb am 18.08.2018
> I am new to Koha and have had the same issue on 3 different fresh Linux 
> installs. I tried it with Debian 9, Ubuntu 18.04 and Ubuntu 16.04, all with 
> the same problem.
> 
> I followed the install instructions at 
> https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages 
> 
> 
> No problem with the steps up to the install command but when issuing the sudo 
> apt-get install koha-common
> I get the following:
> 
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  koha-common : Depends: libnet-oauth2-authorizationserver-perl but it is not 
> going to be installed
> E: Unable to correct problems, you have held broken packages.
> 
> 
> I have tried installing linnet-oauth2-authorizationserver-perl separately but 
> then I get this:
> 
> The following packages have unmet dependencies:
>  libnet-oauth2-authorizationserver-perl : Depends: libcryptx-perl (>= 0.021) 
> but it is not installable
> E: Unable to correct problems, you have held broken packages.
> 
> 
> And then finally when trying to install libcryptx-perl I get:
> 
> Package libcryptx-perl is not available, but is referred to by another 
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> 
> E: Package 'libcryptx-perl' has no installation candidate
> 
> My /etc/apt/sources.list.d/koha.list contains deb 
> http://debian.koha-community.org/koha stable main 
> 
> If I change that stable to 17.11 then it will install that version but I am 
> unable to get it to install with “stable” in the repository.
> 
> Please let me know if you have any thoughts regarding this. 
> 
> Thank you,
> 
> 
> 
> 
> Michael Buhrley
> m...@idi.edu
> 
> 
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] IndependentBranches consequences

2018-08-21 Thread anjoze
Thank you very much for your feedback Elaine.
That's what we plan to do but we wanted to know from other libraries with
the same problem.
Cheers



-
Koha version:   16.05.05
   - -
José Anjos
--
Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha