[Laszlo-dev] windows python build error: ImportError: No module named openlaszlo

P T Withington ptw at openlaszlo.org
Mon Jan 8 20:30:46 PST 2007


Who cares.  Let's rewrite that python as Java and solve the problem  
that way.

[Hey, I'm not knocking Python, it was a great prototyping language;  
but now we need speed and nearly everything else is Java, so we might  
as well get rid of the Python dependency.]

(I'm guessing the issue is that Jython is still generating Java 1.3  
and time has finally caught up with it. The Python is trying to  
connect to random Java classes in the compiler, and apparently not  
getting it.)

On 2007-01-07, at 23:37 EST, Benjamin Shine wrote:

>
> I'm trying to get a windows build environment going with java 1.6  
> and jython 2.2. It gets pretty far, through all the java  
> compilation, woo, but then when it tries to build the lfc, it dies.  
> What is it trying to find here, and failing to find?
>
>
> lzl:
>      [echo] Compiling C:\cygwin\home\ben\src\svn\openlaszlo\branches 
> \legals/lps/includes/lfc/lzpreloader.lzl
>      [java] Exception in thread "main" Traceback (innermost last):
>      [java]   File "C:\cygwin\home\ben\src\svn\openlaszlo\branches 
> \legals\WEB-INF\lps\server\sc\LFCCompiler.py", line 0, in compile
>      [java]   File "C:\cygwin\home\ben\src\svn\openlaszlo\branches 
> \legals\WEB-INF\lps\server\sc\lzsc.py", line 0, in main
>      [java] ImportError: No module named openlaszlo
>
> BUILD FAILED
> C:\cygwin\home\ben\src\svn\openlaszlo\branches\legals\build.xml: 
> 484: The following error occurred while executing this line:
> C:\cygwin\home\ben\src\svn\openlaszlo\branches\legals\WEB-INF\lps 
> \lfc\build.xml:89: The following error occurred while executing  
> this line:
> C:\cygwin\home\ben\src\svn\openlaszlo\branches\legals\WEB-INF\lps 
> \lfc\build.xml:77: Java returned: 1
>
>
> benjamin shine
> software engineer
> ben at laszlosystems.com
>
>
>



More information about the Laszlo-dev mailing list