Re: AW: Building PyLucene on Windows

2012-05-03 Thread Andi Vajda
Hi Jeremy, On Apr 30, 2012, at 9:19, Jeremy Michels wrote: > Thank you for sharing your expertise on this matter. I was unable to > use the pre-built binaries as I am using a 64-bit system (attempting > to do so would results in the error: ImportError: DLL load failed: %1 > is not a valid Win32

AW: AW: AW: AW: PyLucene use JCC shared object by default

2012-05-03 Thread Thomas Koch
Andi, thanks for the fixes and cleanup! I've updated from SVN and wrote the unit test. Runs withtout errors (Tracebacks etc.) now, however there may be some slight type mismatch issue still: the comparison of objects retrieved from JArray and ArrayList respectively with the objects from the init

Re: AW: AW: AW: AW: PyLucene use JCC shared object by default

2012-05-03 Thread Andi Vajda
On Thu, 3 May 2012, Thomas Koch wrote: thanks for the fixes and cleanup! I've updated from SVN and wrote the unit test. Runs withtout errors (Tracebacks etc.) now, however there may be some slight type mismatch issue still: the comparison of objects retrieved from JArray and ArrayList respect

Re: AW: AW: AW: AW: PyLucene use JCC shared object by default

2012-05-03 Thread Andi Vajda
On Thu, 3 May 2012, Thomas Koch wrote: thanks for the fixes and cleanup! I've updated from SVN and wrote the unit test. Runs withtout errors (Tracebacks etc.) now, however there may be some slight type mismatch issue still: the comparison of objects retrieved from JArray and ArrayList respect

Re: AW: Building PyLucene on Windows

2012-05-03 Thread Jeremy Michels
Thanks again for your help. I got the latest JCC and this seemed to solve the problem, as Andi suggested. However, running 'make' then gave me the error: Traceback (most recent call last): File "C:\Program Files\Python\lib\runpy.py", line 162, in _run_module_as_main "__main__", fname, loader

Re: AW: Building PyLucene on Windows

2012-05-03 Thread Andi Vajda
On May 3, 2012, at 14:35, Jeremy Michels wrote: > Thanks again for your help. I got the latest JCC and this seemed to > solve the problem, as Andi suggested. However, running 'make' then > gave me the error: > > Traceback (most recent call last): > File "C:\Program Files\Python\lib\runpy.py",

Re: ValueError: An error occurred while creating Java VM

2012-05-03 Thread Andi Vajda
On Thu, 3 May 2012, Roman Chyla wrote: We use JCC to run Java inside Python as well Python inside Java. I have now discovered one interesting situation. I have a Hudson server that builds and tests our code. Hudson will create its own python virtualenv (based on Python 2.7) and using it builds

Re: ValueError: An error occurred while creating Java VM

2012-05-03 Thread Roman Chyla
Yes, there is only one JDK on my system (fresh installation), and both runs show it python: print j.System.getProperty("java.version") 1.6.0_24 java gives: NOTE: Linux 3.2.0-2-amd64 amd64/Sun Microsystems Inc. 1.6.0_24 (64-bit)/cpus=2,threads=1,free=47600792,total=61276160 cat /usr/local/lib/p