Re: [Koha-devel] page size & speed display

2008-07-02 Thread Frederic Demians
>> Why isn't it as simple as caching the result, as in > > I think it probably really is that simple, at least for now - could > you test your approach and submit? Yes, but context objects will be created 23 times, one per module using C4::Context. I just send a patch which uses class variable f

[Koha-devel] Help on showing content from Amazon.com

2008-07-02 Thread Salvador Zaragoza Rubio
Dear all We've installed 3.00.00 beta version of Koha on Debian and we want to configurate it to show content from Amazon.com. We got an 'Amazon Access Key' to be able to use the 'Amazon Associates Web Service'. We have included it in the 'System Preference AWSAccessKeyID'. What we would like t

Re: [Koha-devel] Help on showing content from Amazon.com

2008-07-02 Thread Nicole Engard
You don't have to fill this value in. This is if you wan to make money when people follow links from your catalog to Amazon and buy something. You can get a tag at: https://affiliate-program.amazon.com I also think that this document: http://sites.google.com/a/liblime.com/koha-manual/Home/Table-

Re: [Koha-devel] page size & speed display

2008-07-02 Thread Andrew Moore
On Wed, Jul 2, 2008 at 2:31 AM, Frederic Demians <[EMAIL PROTECTED]> wrote: > Yes, but context objects will be created 23 times, one per module using > C4::Context. I just send a patch which uses class variable for default > context. Good eye, Frédéric. Thanks! -Andy _

Re: [Koha-devel] [Koha-patches] [PATCH] Disable _remove_stopwords in Search.pm to improve performances

2008-07-02 Thread Andrew Moore
On Wed, Jul 2, 2008 at 7:28 AM, Frederic Demians <[EMAIL PROTECTED]> wrote: > _remove_stopwords takes 28% of all the time spent to do search. > This patch disable this function. Stop words should be handle > directly by Zebra, shouldn't it? Hi Frédéric - I'm all in favor of the current work to pr

Re: [Koha-devel] [Koha] koha 3 installation: make test fails

2008-07-02 Thread Andrew Moore
Hi Constantine, Thanks for reporting this problem. The test suite is greatly expanded in the 3.0 release, and is still very much a work in progress. It appears that we're trying to run some tests that depend on the database before the database is set up. I suggest that you ignore these known test

[Koha-devel] CGI::Session::Serialize problem (packaging changed)

2008-07-02 Thread Paul POULAIN
Hello, It seems that CGI::Session had some changes in the previous release. There is a problem on cpan with it (the package has been splitted in 2 parts, and "Storable" has been renamed to "storable", and some new packages are not properly declared in cpan) Marc had a lot of problems to setup K

Re: [Koha-devel] [Koha-patches] [PATCH] Disable _remove_stopwords in Search.pm to improve performances

2008-07-02 Thread Paul POULAIN
Andrew Moore a écrit : > I'm all in favor of the current work to profile our application and > attempt to improve it. This does look like a place where we can > improve our efficiency. > > Have you tested to see if the zebra engine does handle the stopwords > correctly? I didn't know that it did t

Re: [Koha-devel] [Koha-patches] [PATCH] Disable _remove_stopwords in Search.pm to improve performances

2008-07-02 Thread Frederic Demians
> Have you tested to see if the zebra engine does handle the stopwords > correctly? I didn't know that it did that. No I haven't tested and I don't know also if Zebra supports stop words. I can't find any information on the subject. Stop words have less and less interest with zebra mechanisms

Re: [Koha-devel] page size & speed display

2008-07-02 Thread Frederic Demians
>> Yes, but context objects will be created 23 times, one per module using >> C4::Context. I just send a patch which uses class variable for default >> context. > Good eye, Frédéric. A tribute must be paid to MJ Ray who expressed his astonishment about C4::Context::read_config_file being called

[Koha-devel] Fwd: DLF ILS-DI Developers' Workshop Aug 7 Berkeley CA

2008-07-02 Thread Galen Charlton
Hi, The Digital Library Federation will be hosting a developers' workshop on 7 August 2008 to discuss ways to implement the proposed ILS-DI specification for exchanging ILS data with other other software such as OPAC replacements and discovery layers. I will be attending the meeting, representing

Re: [Koha-devel] Fwd: DLF ILS-DI Developers' Workshop Aug 7 Berkeley CA

2008-07-02 Thread Paul POULAIN
Galen Charlton a écrit : > Hi, > > The Digital Library Federation will be hosting a developers' workshop > on 7 August 2008 to discuss ways to implement the proposed ILS-DI > specification for exchanging ILS data with other other software such > as OPAC replacements and discovery layers. I will b

Re: [Koha-devel] [Koha-patches] [PATCH] Disable _remove_stopwords in Search.pm to improve performances

2008-07-02 Thread Galen Charlton
Hi, On Wed, Jul 2, 2008 at 7:32 AM, Frederic Demians <[EMAIL PROTECTED]> wrote: > >> Have you tested to see if the zebra engine does handle the stopwords >> correctly? I didn't know that it did that. > > No I haven't tested and I don't know also if Zebra supports stop words. I found the first par

Re: [Koha-devel] [Koha-patches] [PATCH] Disable _remove_stopwords in Search.pm to improve performances

2008-07-02 Thread Frederic Demians
>>> Have you tested to see if the zebra engine does handle the stopwords >>> correctly? I didn't know that it did that. >> No I haven't tested and I don't know also if Zebra supports stop words. > > I found the first part of your sentence troubling, but perhaps I worry > too much. :) I haven't te

[Koha-devel] Koha 3.0-stable final release date

2008-07-02 Thread Joshua Ferraro
Hi folks, The RC1 for 3.0-stable has been generally well received, and translators and testers have been hard at work. A few issues were revealed, and I've been asked by a few translators for an extension to wrap up some remaining strings. In particular, the issues surrounding CGI::Session::Serial

[Koha-devel] How do I run the test suite? (was Re: Fix a bug affecting C4::Context and default context)

2008-07-02 Thread Andrew Moore
On Wed, Jul 2, 2008 at 11:45 AM, Frederic Demians <[EMAIL PROTECTED]> wrote: > Yes. It works for me. How can I run the appropriate test suite? There is some information about the test suite at http://wiki.koha.org/doku.php?id=en:development:unit_testing but that documentation certainly has room fo

Re: [Koha-devel] [Koha-patches] [PATCH] Fix a bug affecting C4::Context and default context

2008-07-02 Thread Andrew Moore
On Wed, Jul 2, 2008 at 11:36 AM, Andrew Moore <[EMAIL PROTECTED]> wrote: > I can't quite track down the problems yet. Can you run the test suite, > or hunt for problems any other way? After some investigation with Frederic, it appears that the failures in the test suite are because the tests assum

Re: [Koha-devel] [Koha-patches] [PATCH] Fix a bug affecting C4::Context and default context

2008-07-02 Thread Joe Atzberger
I believe the problem of the XML file being read for each "use" statement is primarily attributable to the bad way Context uses an "import" function that then calls its own constructor (each time!). This also prevents us from doing something intelligent like: use C4::Context qw(marcfromkohafield);