Re: [Koha] Koha reindex with Zebra doesn't work

2012-04-16 Thread Alex87
I have change the record.abs, but i still get the error:

/usr/share/koha/bin/migration_tools/rebuild_zebra.pl -b -r -v
Zebra configuration information

Zebra biblio directory  = /var/lib/koha/zebradb/biblios
Zebra authorities directory = /var/lib/koha/zebradb/authorities
Koha directory  = /usr/share/koha/intranet/cgi-bin
BIBLIONUMBER in : 001$@
BIBLIOITEMNUMBER in : 090$a

skipping authorities

exporting biblio

1
Records exported: 1

REINDEXING zebra

11:22:39-16/04 zebraidx(10087) [warn] Record didn't contain match fields in
(bib1,Local-number)

CLEANING



--
View this message in context: 
http://koha.1045719.n5.nabble.com/Koha-reindex-with-Zebra-doesn-t-work-tp5642993p5643352.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Koha reindex with Zebra doesn't work

2012-04-16 Thread Alex87
I have solved in this way:

Administration System Preferences Don't use the Zebra search engine.

and then running:

//usr/share/koha/bin/migration_tools/rebuild_nozebra.pl -s

***
* building BIBLIO indexes *
***
2
Inserting records...
20
biblios done

***
* building AUTHORITIES indexes *
***

Inserting...

authorities done/

i'm not sure if this way is the correct way, cause in the Adminstration
panel i read:

/It is recommended to use Zebra; the option to not use Zebra is deprecated
and is not guaranteed to work. /

What do you suggest?

Thanks and regards
Alex


--
View this message in context: 
http://koha.1045719.n5.nabble.com/Koha-reindex-with-Zebra-doesn-t-work-tp5642993p5643636.html
Sent from the Koha-general mailing list archive at Nabble.com.
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] [Koha-translate] Ways to test our translation, and pref po files

2012-04-16 Thread Witoszynskyj Stephan
Hi,

two remarks:

* concerning translate.pl vs. ./translate.pl: this a general Unix/Linux issue. 
The correct answer is: if you want to execute a program in a shell, the shell 
has to know where the program is. The shell can be told where to look for the 
program by either calling it with its path (either using the absolute path e.g. 
/here/is/the/program/program or using a relative path e.g. ./program), or by 
including the path in the PATH variable. So, if the current path (denoted by .) 
is not included in PATH, you have to use it explicitly.

* That the following command sequence works, is a coincidence:

sudo env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/
perl ./translate install ar-Arab 

the sudo env ... line has no effect on the next line. The reason is that if you 
set an environment variable in a shell it vanishes if the shell terminates. So, 
in case of your command line, sudo executes env setting KOHA_KONF et al. but as 
soon as it quits the environment variable is lost again. In other words, the 
environment variables were already set when you called sudo env ... and the 
line did not have any effect. 

Cheers,
  Stephan

Am 15.04.2012 um 16:08 schrieb Karam Qubsi:

 Ok it's work by running this :
 
 sudo env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/
 perl ./translate install ar-Arab
 
 
 here is the deference :
 
 ./translate install ar-Arab
 
 in the dot :|
 
 my be this issue is just in ubuntu :)
 
 Thanks All .
 
 
 On Sun, Apr 15, 2012 at 4:00 PM, Karam Qubsi karamqu...@gmail.com wrote:
 
 Ok thanks :)
 I will try and give you the result as soon as it done :)
 
 if any one have Ideas please help us :)
 
 Karam
 
 
 
 On Sun, Apr 15, 2012 at 3:54 PM, Fischer, Katrin katrin.fisc...@bsz-bw.de
 wrote:
 
 **
 
 Sorry, I am out of ideas. :(
 
 
 
 -Ursprüngliche Nachricht-
 Von: Karam Qubsi [mailto:karamqu...@gmail.com karamqu...@gmail.com]
 Gesendet: So 15.04.2012 14:37
 
 An: Fischer, Katrin
 Cc: koha-transl...@lists.koha-community.org
 Betreff: Re: [Koha-translate] Ways to test our translation, and pref po
 files
 
 yes I do this :
 
 sudo env KOHA_CONF=/etc/koha/koha-conf.xml PERL5LIB=/usr/share/koha/lib/
 perl translate install ar-AR
 
 because I'm using Ubuntu and  these is the paths in my pc .
 
 any idea  ?
 
 On Sun, Apr 15, 2012 at 3:28 PM, Fischer, Katrin
 katrin.fisc...@bsz-bw.dewrote:
 
 **
 
 
 Hi Karam,
 
 I am not sure. Have you exported the environment variables?
 
 The example from the wiki reads:
 $ sudo env KOHA_CONF=/etc/koha/sites/koha/koha-conf.xml
 PERL5LIB=/usr/share/koha/lib/ perl translate install fr-FR
 
 
 Katrin
 
 -Ursprüngliche Nachricht-
 Von: Karam Qubsi [mailto:karamqu...@gmail.com karamqu...@gmail.com 
 karamqu...@gmail.com]
 
 Gesendet: So 15.04.2012 14:10
 
 An: Fischer, Katrin
 Cc: koha-transl...@lists.koha-community.org
 Betreff: Re: [Koha-translate] Ways to test our translation, and pref po
 files
 
 Hi may be I have some problems :(
 
 i do this :
 
 :/usr/share/koha/misc/translator$ perl translate install fr-FR
 
 it gives me this :
 
 readdir() attempted on invalid dirhandle $fh at LangInstaller.pm line
 65.
 closedir() attempted on invalid dirhandle $fh at LangInstaller.pm line
 66.
 Unsupported language: fr-FR
 
 
 what is the problem :? :(
 
 
 On Sun, Apr 15, 2012 at 3:01 PM, Fischer, Katrin
 katrin.fisc...@bsz-bw.dewrote:
 
 **
 
 
 Hi Karam,
 
 since Koha 3.2 there are new scripts for adding and updating
 translations.
 I have updated the wiki page a bit:
 
 
 
 
 http://wiki.koha-community.org/wiki/Installation_of_additional_languages_for_OPAC_and_INTRANET_staff_client
 
 Basically all you need to do is:
 
 - copy the po files in the right directory misc/translator/po
 - run commant 'perl translate install lang-code' from
 misc/translator
 
 It will take care of all 3 po files: opac, intranet and preferences.
 
 Hope that helps,
 
 Katrin
 
 
 -Ursprüngliche Nachricht-
 Von: Karam Qubsi [mailto:karamqu...@gmail.com karamqu...@gmail.com
 karamqu...@gmail.com 
 karamqu...@gmail.com]
 
 Gesendet: So 15.04.2012 13:52
 An: Fischer, Katrin
 Cc: koha-transl...@lists.koha-community.org
 Betreff: Re: [Koha-translate] Ways to test our translation, and pref
 po
 files
 
 
 HI Katrin
 what did you mean with translation scripts ?
 
 the tmpl_process3.pl is used to translate from po files to template
 as I
 understand this script .
 
 so I can use it to translate opac and staff client .
 because there is templates
 
 but pref.po has no template ?
 
 which script did you mean , and how to use it ?
 
 and thanks a lot :)
 
 Karam
 
 On Sat, Apr 14, 2012 at 12:51 PM, Fischer, Katrin
 katrin.fisc...@bsz-bw.dewrote:
 
 **
 
 
 Hi,
 
 there is currently no way to directly check your translations in
 Koha.
 What I normally do is using the search in Pootle to find and fix
 wrong
 translations as I find them later when using Koha.
 
 If the po file for the prefs is in Pootle right now, it will also 

[Koha] Call for News for the April Newsletter

2012-04-16 Thread Daniel Grobani
Dear Koha Kommunitarians,

I'm harvesting news for the April newsletter. Please send me by the
25th anything you think your fellow community members might like to
know about.

News can be as short as a sentence or as long as a paper. I
especially encourage you to send me a line or two for the
gossip/society column about what you're currently working on. And if
you know of a go-live not announced on the list, please be sure to let
me know about it.

Thanks,
Daniel Grobani
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Bulk patron anonymize/delete tool

2012-04-16 Thread Fischer, Katrin
Hi Tom, 

you have to create a patron record to use as anonymous patron. Then you enter 
the borrowernumber of this user into the system preference AnonymousPatron.

http://manual.koha-community.org/3.8/en/administration.html#AnonymousPatron

Hope that helps, 

Katrin


-Ursprüngliche Nachricht-
Von: Tom Hanstra [mailto:t...@nd.edu]
Gesendet: Mo 16.04.2012 22:26
An: Fischer, Katrin
Betreff: Re: AW: [Koha] Bulk patron anonymize/delete tool
 
We are seeing similar results to what you mention, in that the tool says 
information is deleted but nothing changes.

Your bugzilla post mentions that things work With an anonymous patron 
set up correctly.  Can you tell me what settings are involved in 
setting that up correctly.  Because we evidently do not.

Thanks,
Tom

On 04/15/2012 01:20 PM, Fischer, Katrin wrote:

 Hi Tom,

 I filed a bug a while ago about how the tool reports success, although 
 nothing has happened in the database when the system preference is not 
 configured correctly:

 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6756

 Could this be the reason for the problems you had using the tool?

 Hope that helps,

 Katrin


 -Ursprüngliche Nachricht-
 Von: koha-boun...@lists.katipo.co.nz im Auftrag von Tom Hanstra
 Gesendet: Do 12.04.2012 19:48
 An: Koha@lists.katipo.co.nz
 Betreff: [Koha] Bulk patron anonymize/delete tool

 I asked this once before and got no response.  But hope springs eternal...

 Has anyone successfully used the Patrons (anonymize, bulk-delete) tool
 available in Koha?  We have found neither to work as expected.  It acts
 as if it *thinks* it is anonymizing and/or deleting but does not
 actually do it.

 Alternately, if that is known not to work, what might it take to bulk
 delete patrons at the database level?  What kind of a mess will I leave
 behind if I simply delete patrons from the borrowers table?  I assume a
 normal delete would check to make sure the patron does not have
 outstanding fines, checked out books, etc.  Just whacking the borrowers
 table won't check those things.  So what all else do I need to check
 before deletion?

 Thanks,
 Tom

 --

 
   Tom Hanstra  Systems Administrator
   Hesburgh Libraries of Notre Dame Phone: (574)631-4686
   213 Hesburgh Library Email: t...@nd.edu
   Notre Dame, IN  46556

Now, here, you see, it takes all the running you can do, to keep in
 the same place. If you want to get somewhere else, you must run at
 least twice as fast as that!
Lewis Carroll - Through the Looking Glass
 

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




-- 


  Tom Hanstra  Systems Administrator
  Hesburgh Libraries of Notre Dame Phone: (574)631-4686
  213 Hesburgh Library Email: t...@nd.edu
  Notre Dame, IN  46556

   Now, here, you see, it takes all the running you can do, to keep in
the same place. If you want to get somewhere else, you must run at
least twice as fast as that!
   Lewis Carroll - Through the Looking Glass



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


Re: [Koha] Koha reindex with Zebra doesn't work

2012-04-16 Thread Frédéric Demians

Alex, you have to find out why Zebra can't find Koha record unique
identifier (biblionumber) in your biblio records.

Use rebuild_zebra.pl and ask to keep exported records:

  ./rebuild_zebra.pl -r -b -x -k -d ./

In the current directory, you will have a 'biblio' subdirectory containing
exported biblio records. Look at them:

  less biblio/exported_records

One field must contain biblionumber. Is it conform to you record.abs
Zebra configuration file?

--
Frédéric DEMIANS
http://www.tamil.fr/u/fdemians.html

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


Re: [Koha] Bulk patron anonymize/delete tool

2012-04-16 Thread Tom Hanstra
Well, that is what we have been doing.  We have such a patron and we run 
the tool with that patron number in the System Preferences.  The tool 
reports what it thinks should happen, which reflects what we expect to 
happen.  But then, when run, no changes are actually made to the 
database and re-running the tool again reports that the same changes 
will be made.


If it did what it says it plans to do, we would be fine.  It just does 
not actually make the changes to the database as it says it will.


Is there some other login/authentication that happens with the tool 
which might be failing?


Thanks,
Tom

On 04/16/2012 04:37 PM, Fischer, Katrin wrote:


Hi Tom,

you have to create a patron record to use as anonymous patron. Then 
you enter the borrowernumber of this user into the system preference 
AnonymousPatron.


http://manual.koha-community.org/3.8/en/administration.html#AnonymousPatron

Hope that helps,

Katrin


-Ursprüngliche Nachricht-
Von: Tom Hanstra [mailto:t...@nd.edu]
Gesendet: Mo 16.04.2012 22:26
An: Fischer, Katrin
Betreff: Re: AW: [Koha] Bulk patron anonymize/delete tool

We are seeing similar results to what you mention, in that the tool says
information is deleted but nothing changes.

Your bugzilla post mentions that things work With an anonymous patron
set up correctly.  Can you tell me what settings are involved in
setting that up correctly.  Because we evidently do not.

Thanks,
Tom

On 04/15/2012 01:20 PM, Fischer, Katrin wrote:

 Hi Tom,

 I filed a bug a while ago about how the tool reports success, although
 nothing has happened in the database when the system preference is not
 configured correctly:

 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6756

 Could this be the reason for the problems you had using the tool?

 Hope that helps,

 Katrin


 -Ursprüngliche Nachricht-
 Von: koha-boun...@lists.katipo.co.nz im Auftrag von Tom Hanstra
 Gesendet: Do 12.04.2012 19:48
 An: Koha@lists.katipo.co.nz
 Betreff: [Koha] Bulk patron anonymize/delete tool

 I asked this once before and got no response.  But hope springs 
eternal...


 Has anyone successfully used the Patrons (anonymize, bulk-delete) tool
 available in Koha?  We have found neither to work as expected.  It acts
 as if it *thinks* it is anonymizing and/or deleting but does not
 actually do it.

 Alternately, if that is known not to work, what might it take to bulk
 delete patrons at the database level?  What kind of a mess will I leave
 behind if I simply delete patrons from the borrowers table?  I assume a
 normal delete would check to make sure the patron does not have
 outstanding fines, checked out books, etc.  Just whacking the borrowers
 table won't check those things.  So what all else do I need to check
 before deletion?

 Thanks,
 Tom

 --

 
   Tom Hanstra  Systems Administrator
   Hesburgh Libraries of Notre Dame Phone: (574)631-4686
   213 Hesburgh Library Email: t...@nd.edu
   Notre Dame, IN  46556

Now, here, you see, it takes all the running you can do, to keep in
 the same place. If you want to get somewhere else, you must run at
 least twice as fast as that!
Lewis Carroll - Through the Looking Glass
 

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




--


  Tom Hanstra  Systems Administrator
  Hesburgh Libraries of Notre Dame Phone: (574)631-4686
  213 Hesburgh Library Email: t...@nd.edu
  Notre Dame, IN  46556

   Now, here, you see, it takes all the running you can do, to keep in
the same place. If you want to get somewhere else, you must run at
least twice as fast as that!
   Lewis Carroll - Through the Looking Glass





--


 Tom Hanstra  Systems Administrator
 Hesburgh Libraries of Notre Dame Phone: (574)631-4686
 213 Hesburgh Library Email: t...@nd.edu
 Notre Dame, IN  46556

  Now, here, you see, it takes all the running you can do, to keep in
   the same place. If you want to get somewhere else, you must run at
   least twice as fast as that!
  Lewis Carroll - Through the Looking Glass


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

Re: [Koha] Bulk patron anonymize/delete tool

2012-04-16 Thread Chris Cormack
On 17 April 2012 09:04, Tom Hanstra t...@nd.edu wrote:
 Well, that is what we have been doing.  We have such a patron and we run the
 tool with that patron number in the System Preferences.  The tool reports
 what it thinks should happen, which reflects what we expect to happen.  But
 then, when run, no changes are actually made to the database and re-running
 the tool again reports that the same changes will be made.

Hi Tom

You have the borrowernumber right? Not the cardnumber?

(Just checking)

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


Re: [Koha] Bulk patron anonymize/delete tool

2012-04-16 Thread Tom Hanstra

Yes.  Good thing to check, but yes, I'm using the borrower number.

Tom

On 04/16/2012 05:07 PM, Chris Cormack wrote:

On 17 April 2012 09:04, Tom Hanstrat...@nd.edu  wrote:

Well, that is what we have been doing.  We have such a patron and we run the
tool with that patron number in the System Preferences.  The tool reports
what it thinks should happen, which reflects what we expect to happen.  But
then, when run, no changes are actually made to the database and re-running
the tool again reports that the same changes will be made.


Hi Tom

You have the borrowernumber right? Not the cardnumber?

(Just checking)

Chris


--


 Tom Hanstra  Systems Administrator
 Hesburgh Libraries of Notre Dame Phone: (574)631-4686
 213 Hesburgh Library Email: t...@nd.edu
 Notre Dame, IN  46556

  Now, here, you see, it takes all the running you can do, to keep in
   the same place. If you want to get somewhere else, you must run at
   least twice as fast as that!
  Lewis Carroll - Through the Looking Glass


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


Re: [Koha] Bulk patron anonymize/delete tool

2012-04-16 Thread Chris Cormack
On 17 April 2012 09:19, Tom Hanstra t...@nd.edu wrote:
 Yes.  Good thing to check, but yes, I'm using the borrower number.

Ok I'll try to recreate your issue tonight, just so we are comparing
apples with apples, what version are you running?

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


[Koha] Koha 4 timeframe

2012-04-16 Thread clint.deckard

Greetings,
I seem to recall a small discussion at some stage during Kohacon 2010 
about the path to Koha 4, does anyone have anything further on this?

An update of perl was floated?

Clint.


--
This message has been scanned for viruses and dangerous 
content by MailScanner, and is believed to be clean.


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