yes that's helpful, if that error was getting past the error collector, others also must be, so now I can reproduce it and figure out where to catch it.
On Tue, Jul 20, 2010 at 11:59 AM, Michael Brady <[email protected]>wrote: > Henry, > > I did find out what was causing the error, but I felt a little silly about > reporting it. > > It turned out the the "WEB-INF/framewords" directory was missing from my > Laszlo webapp environment. When I reproduced this missing directory in my > command-line (lzc) environment, I saw the message: > > Stray error string from external compiler: command line: Error: unable > to open '/../openlaszlo-4.7.3/WEB-INF/frameworks/flex-config.xml' > > So my situation is not really reproducible for a unit test. I had a > corrupted install, which probably doesn't happen often. However, I suppose > it's possible that someday, someone may have a path issue or something that > will lead to the flex compiler not being able to be run, and they'll see the > mysterious "Errors from compiler" message. > > Getting the "Stray error from external compiler" message into the servlet > error message would have been very helpful and started me looking in the > right direction faster than the generic "Errors from compiler" did. > > Hope this is useful! > > --Michael > > > On 7/19/2010 2:59 PM, Henry Minsky wrote: > > Michael, > > Did you ever find a small test case for this problem, where the LPS server > does not > give you any details of the compilation error? > > Thanks, > > Henry > > On Thu, Jul 8, 2010 at 1:01 PM, Michael Brady <[email protected]>wrote: > >> Hi All, >> >> I have a simple .lzx file. I can view it just fine in the DHTML >> runtime. With the command line lzc command, I can compile it into a >> .swf file with no warnings or errors. >> >> However, when I go to: >> >> test.lzx?lzt=html&lzr=swf9 >> >> I get the error: >> >> Error: org.openlaszlo.sc.CompilerError: >> Errors from compiler, output file not created >> >> I've turned up the LPS servlet logging to DEBUG, and looked in the >> lps.log, but I can't for the life of me figure out how to see the actual >> errors from the SWF compiler. >> >> Can anyone help me? How can I see the SWF compiler errors that are >> causing this Laszlo CompilerError message? >> >> Thanks! >> >> --Michael >> > > > > -- > Henry Minsky > Software Architect > [email protected] > > > > > -- Henry Minsky Software Architect [email protected]
