Re: [translate-pootle] Errors with latest toolkit (indexing)

2008-10-01 Thread Wynand Winterbach
Hi Wil

That's the expected behaviour. The indexing code in the Toolkit 
complains if it finds neither Xapian nor PyLucene.

For the benefit of other readers: we recommend Xapian. If you want to 
ensure that Pootle will use Xapian, run

   python -c import xapian

on the machine which runs Pootle. If it prints nothing, Xapian is 
working correctly and Pootle should use it. If something is printed to 
screen, check that Xapian is installed.

Wil: perhaps a better error message should be used? Something like: 
Could not find any suitable indexing engines on your system. Pootle 
will still be able to search for text, but it will be slower. We 
recommend that you install Xapian.

Cheers
Wynand

Wil Clouser wrote:
 I just merged trunk into mozootle and I'm getting an error that says
 Could not intialize indexer for pootle in en: Indexer: no indexing
 engines are available

 It looks like Indexing is looking for a class that extends
 CommonIndexer.  Are there files missing from the toolkit trunk or are
 there additional dependencies with the latest version of the toolkit?

 Thanks,

 Wil

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Translate-pootle mailing list
 Translate-pootle@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/translate-pootle
   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Errors with latest toolkit (indexing)

2008-10-01 Thread Wil Clouser
Ah, thanks Wynand.

I don't think a longer error message is the answer unless it only
appears at startup; otherwise it just fills up logs.

Since the functionality is still there despite the error message I
think the check should be moved to an install requirements part of
the test suite or a status monitor page.

Wil

On Wed, Oct 1, 2008 at 3:31 AM, Wynand Winterbach
[EMAIL PROTECTED] wrote:
 Hi Wil

 That's the expected behaviour. The indexing code in the Toolkit
 complains if it finds neither Xapian nor PyLucene.

 For the benefit of other readers: we recommend Xapian. If you want to
 ensure that Pootle will use Xapian, run

   python -c import xapian

 on the machine which runs Pootle. If it prints nothing, Xapian is
 working correctly and Pootle should use it. If something is printed to
 screen, check that Xapian is installed.

 Wil: perhaps a better error message should be used? Something like:
 Could not find any suitable indexing engines on your system. Pootle
 will still be able to search for text, but it will be slower. We
 recommend that you install Xapian.

 Cheers
 Wynand

 Wil Clouser wrote:
 I just merged trunk into mozootle and I'm getting an error that says
 Could not intialize indexer for pootle in en: Indexer: no indexing
 engines are available

 It looks like Indexing is looking for a class that extends
 CommonIndexer.  Are there files missing from the toolkit trunk or are
 there additional dependencies with the latest version of the toolkit?

 Thanks,

 Wil

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Translate-pootle mailing list
 Translate-pootle@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/translate-pootle



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
 Build the coolest Linux based applications with Moblin SDK  win great prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 Translate-pootle mailing list
 Translate-pootle@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/translate-pootle


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle