Per our IM, somehow labs is missing the flex compiler; which would indicate our distribution scheme is broken (agrees with the difficulties you are having compiling swf9 from an installer).

From the error I got from labs, it seems to be a permission problem, unless the server is being coy (not differentiating between 'not there' and 'not executable').

On 2008-07-23, at 16:30EDT, Mamye Kratt wrote:

Yes currently I cannot compile swf9 apps on labs, I think it is running flash 8.

Mamye

----- Original Message ----- From: "P T Withington" <[EMAIL PROTECTED]>
To: "Mamye Kratt" <[EMAIL PROTECTED]>
Cc: "Henry Q Minsky" <[EMAIL PROTECTED]>; "David Temkin" <[EMAIL PROTECTED] >; "Laszlo-dev bug reporting" <[email protected]>
Sent: Wednesday, July 23, 2008 2:08 PM
Subject: Re: swf9 error


[redirecting to laszlo-dev]

FWIW, you can't compile swf9 on labs either:

http://labs.openlaszlo.org/trunk-nightly/docs/reference/programs/LFC-$10.lzx?lzr=swf9 yields:

The application could not be compiled due to the following errors:
Compilation Errorsorg.openlaszlo.sc.CompilerError: Error running external compiler: java.io.IOException: java.io.IOException: /home/ laszlo/opt/apache-tomcat-5.5.23-labs/webapps/trunk-nightly/WEB-INF/ bin/ mxmlc: cannot execute

On 2008-07-22, at 14:24EDT, Mamye Kratt wrote:

I took the spaces out of the path on the XP machine and I still have the problem.

Mamye

----- Original Message ----- From: "Henry Minsky" <[EMAIL PROTECTED]
>
To: "David Temkin" <[EMAIL PROTECTED]>
Cc: "Mamye Kratt" <[EMAIL PROTECTED]>; "Platform Team" <[EMAIL PROTECTED]
>
Sent: Monday, July 21, 2008 7:30 PM
Subject: Re: [Platform-team] swf9 error


I don't have any fix for the OEM API bug with Mac pathnames with
spaces in them, so this is the current solution for now.
If anyone wants to dive into the Flex source code and fix this, have at it!

On Mon, Jul 21, 2008 at 8:13 PM, David Temkin <[EMAIL PROTECTED]
> wrote:
I'm confused. It seems that we are still exec'ing external apps rather than
calling the Flex Java/OEM API.
This should no longer be the case. 4.2, when it ships, should not include
(or use) these files.
Can someone update me on this?
On Jul 21, 2008, at 5:25 PM, "Mamye Kratt" <[EMAIL PROTECTED] > wrote:

Mamye        ->  jdk1.5.0_15-b04 mixed mode, sharing        Fail
                 ->  flex 2.5.33
Josh -> jdk1.5.0_15-b04 mixed mode, sharing Success
                 ->  flex 2.5.35
Pounce        -> J2SE 5.0 1.5.0.140
Success
                       flex

permissions -rwx------ owned by mkratt:???????? installer on
XP                           mxmlc and mxmlc.exe
permissions -rwxr-xr-x owned by mkratt:mkratt built from source
on OSX         mxmlc and mxmlc.exe
permissions -rwxrwxrwx owned by root:admin installer on OS
X                       mxmlc and mxmlc.exe

Various Errors
*Running this on labs:*
 *
http://labs.openlaszlo.org/trunk-nightly/demos/weather/weather.lzx?lzr=swf9
*
Compilation Errors
|org.openlaszlo.sc.CompilerError: Error running external compiler:
java.io.IOException: java.io.IOException:
/home/laszlo/opt/apache-tomcat-5.5.23-labs/webapps/trunk-nightly/
 WEB-INF/bin/mxmlc:
 cannot execute|
*On the Mac - Source builds - I can run files in test/swf9*
 *Command:*
WEB-INF/lps/server/bin/lzc --runtime=swf9 demos/weather/ weather.lzx
  *Output:*
 Compiling: demos/weather/weather.lzx to demos/weather/
 weather.lzr=swf9.swf
Executing compiler: (cd /tmp/lzswf9/lzgen24922; /Users/mkratt/ src/ svn/openlaszlo/trunk/WEB-INF/bin/mxmlc -compiler.show- actionscript- warnings=false -compiler.source-path+=/tmp/lzswf9/lzgen24922 - output
 /tmp/lzswf9/lzgen24922/app.swf -default-size 240 320 -
library-path+=/Users/mkratt/src/svn/openlaszlo/trunk/lps/ includes/
 lfc/LFC9.swc /tmp/lzswf9/lzgen24922/LzApplication.as)
 Stray error string from external compiler: RegisterProcess failed
 (error = -50)
 compiler output:
Loading configuration file /Users/mkratt/src/svn/openlaszlo/ trunk/
 WEB-INF/frameworks/flex-config.xml
 FAIL: compiler returned 134
 Done executing compiler
 Intermediate file /tmp/lzswf9/lzgen24922/app.swf: does not exist
 Compilation errors occurred:
org.openlaszlo.sc.CompilerError: Errors from compiler, output file
 not
 created

 *If I run this on the Mac:*
(cd /tmp/lzswf9/lzgen18509; /Users/mkratt/src/svn/openlaszlo/ trunk/
 WEB-INF/bin/mxmlc -compiler.show-actionscript-warnings=false -
 compiler.source-path+=/tmp/lzswf9/lzgen18509 -output /tmp/lzswf9/
 lzgen18509/app.swf -default-size 240 320 -library-path+=/Users/
 mkratt/src/svn/openlaszlo/trunk/lps/includes/lfc/LFC9.swc /tmp/
 lzswf9/lzgen18509/LzApplication.as)
Loading configuration file /Users/mkratt/lib/flex3/frameworks/ flex-
 config.xml

 /tmp/lzswf9/lzgen18509/app.swf (134232 bytes)
*On XP running installer in Tomcat window:*
 Executing compiler: (cd C:\Program Files\OpenLaszlo Server 4.2.x
 \Server\tomcat-5.0.24\tmp\lzswf9\lzgen58043; C:\Program Files
 \OpenLaszlo
 Server 4.2.x\Server\lps-4.2.x/WEB-INF\bin/mxmlc.exe -
compiler.show-actionscript-warnings=false -compiler.source-path +=C:
 \Program
 Files\OpenLaszlo Server 4.2.x\Server\tomcat-5.0.24\temp
 \lzswf9\lzgen58043
 -debug=true -output C:\Program Files\OpenLaszlo Server
 4.2.x\Server\tomcat-5.0.24\temp\lzswf9\lzgen58043\app.swf -
 default-size 240
 320 -library-path+=C:\Program Files\OpenLaszlo  Server
 4.2.x\Server\lps-4.2.x\lps\includes\lfc\LFC9.swc C:\Program
 Files\OpenLaszlo
 Server 4.2.x\Server\tomcat-5.0.24\temp
 \lzswf9\lzgen58043\LzApplication.as)
 Srtray error string from external
compiler:java.oi.FileNotFoundException: C:\Program Files \OpenLaszlo
 Server
4.2.x\Server\lps-4.2.x\WEB-INF\bin\mxmlc.jar (THe system cannot find
 the
 file specified)
 FAIL: compiler returned 1
 Sone executing compiler
 Intermediate file C:\Program Files\OpenLaszlo Server 4.2.x\Server
 \tomcat-5.0.24\temp\lzswf9\lzgen58043\app.swf: does not exist





--
Henry Minsky
Software Architect
[EMAIL PROTECTED]




Reply via email to