On Wed, Dec 27, 2006 at 03:20:08PM +0100, Andra?? Tori wrote:
> On Wed, 2006-12-27 at 14:18 +0100, Andra?? Tori wrote:
> 
> > Thank you _very_ much for your help. I managed to build the packages
> > finally, I used gcj 3.4.4 as explained in INSTALL and with the debian
> > skeleton from Brett Parker. 
> > 
> > they pass the "make test" test.
> > 
> > The result is here for anyone who needs this:
> > http://www.kiberpipa.org/~minmax/pylucene/
> > 
> 
> 
> I proclaimed victory too soon...
> 
> all tests pass, but when try to use it inside Django, it silently
> crushes. Crush happens on import sentance already... for example at:
> from PyLucene import FSDirectory
> ... no error message, just crush
> 
> anyone had this problem before ?

[EMAIL PROTECTED]:~$ python
Python 2.4.4 (#2, Oct 20 2006, 00:23:25) 
[GCC 4.1.2 20061015 (prerelease) (Debian 4.1.1-16.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyLucene import FSDirectory
WARNING: could not properly read security provider files:
         file:/usr/lib/python2.4/site-packages/security/libgcj.security
         file:/usr/lib/python2.4/site-packages/security/classpath.security
         Falling back to standard GNU security provider
>>> 

Using your package it looks fine here - can you give any debug information?
Potentially the output of strace -f for the above would be good... something
like:

  strace -f -o pylucene-crash.strace python -c "from PyLucene import 
FSDirectory"

Should do the trick.

Cheers,
-- 
Brett Parker
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to