Skip to main content
Participant
June 15, 2009
Question

I'm getting an error "Could not find compiled resource bundle 'layout' for locale 'en_US'."

  • June 15, 2009
  • 1 reply
  • 1386 views

I thought I would update to the latest trunk version of the sdk.  When I run my code I keep getting this Error being thrown:

"Error: Could not find compiled resource bundle 'layout' for locale 'en_US'."

It worked fine with the beta sdk and nightly builds from a long time before that.  The error occured in builds 7573 and 7830, so what ever changed happened before then.  I put a break point in there, and other resource bundles are being loaded ok.

My project uses RSLs and modules. I'm using Flash Builder beta.

I'm not familiar with resource bundles and not sure what to look for.  Any ideas as to what to try or where to look?

Is there something I need to update to run the latest code?

Is the the appropriate place to post questions regarding the nightly builds?  Or should I be asking somewhere else?

Thanks!

PS Here is the full stack trace if it gives anyone more ideas:

Error: Could not find compiled resource bundle 'layout' for locale 'en_US'.
    at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
    at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
    at mx.core::FlexModuleFactory/installCompiledResourceBundles()
    at mx.core::FlexModuleFactory/docFrameHandler()
    at flash.display::MovieClip/nextFrame()
    at mx.core::FlexModuleFactory/deferredNextFrame()
    at mx.core::FlexModuleFactory/update()
    at mx.core::FlexModuleFactory/moduleCompleteHandler()

This topic has been closed for replies.

1 reply

Participant
June 17, 2009

Try re-importing your projects into a new workspace.  Or check them out again from your repository if you are using svn or cvs.

I saw a similar thing when I updated to the latest build and doing that seem to fix some of the weirder problems like that.

Known Participant
June 27, 2009

hi

also add the following

to my compiler auguments:

  • -locale en_US    -source-path=locale/{locale}    -allow-source-path-overlap=true

and to actionScriptProperties I have the following where path= is the location of your locale folder

  • <compilerSourcePathEntry kind="1" linkType="1" path="/locale/{locale}"/>

Not sure if this is the correct way to do it, but it stopped me getting any errors.