简体   繁体   中英

Openlaszlo compilation issue in linux

When i am trying to build my code in linux environment i am facing an issue.

I am getting an error like this

org.openlaszlo.sc.CompilerError: tunit/line unknown: , in line: LzApplication___embed_lzasset_nogobacktotest_button_rsc_1_dataClass.as: Error: unable to read transcoding source '/home/iuser/Desktop/lps-5.0.x/Server/lps-5.0.x/test/src/screens/resources/test_on.swf'

Any idea why this issue is occuring?

I am using ubuntu 9.0 and openlaszlo 5.0.x and testing in firefox browser

That is a Flex compiler error which is shown, when the transcoding and embedding of binary resources into the SWF movie fails. I've never seen that error, but I can locate the spot where it is thrown in the Flex SDK source code: flex2.compiler.media.DataTranscoder . The exception is thrown inside the method public static void loadData(TranscodingResults asset) .

Maybe the SWF you are using has been corrupted. Could you try with a different SWF and see if it works? How did you create that SWF file initially? With the Flash authoring tool?

Update: Someone reported the same error message in the Apache Flex Jira . Everything worked in Windows, but he got the problem on OS X. The ownership of the file was not set correctly in his case. You have to make sure that the user used to run the Tomcat process is allowed to read the SWF file causing the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM