Layout-Editor can't load layouts

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

RecyclingDuck
Just popping in
Just popping in
Posts: 13
Joined: Tue May 15, 2007 20:17
Contact:

Layout-Editor can't load layouts

Postby RecyclingDuck » Sat May 26, 2007 12:01

Hi,

i created my own layout with the current release of the CEGUI Layout Editor.
There is everything fine, without the fact, that i'm not able to load an existing layout.

That's what the CEGUI.log says:

Code: Select all

26/05/2007 13:25:46 (InfL2)   WindowRenderer factory 'Falagard/Tooltip' appears to be already registered, skipping.
26/05/2007 13:25:46 (InfL2)   WindowRenderer factory 'Falagard/ItemListbox' appears to be already registered, skipping.
26/05/2007 13:25:46 (InfL1)   Creating falagard mapping for type 'WindowsLook/CloseButton' using base type 'CEGUI/PushButton', window renderer 'Falagard/SystemButton' and Look'N'Feel 'WindowsLook/CloseButton'.
26/05/2007 13:25:46 (InfL2)   ---- Resource loading for GUI scheme 'WindowsLookWidgets' completed ----
26/05/2007 13:25:50 (InfL2)   ---- Beginning loading of GUI layout from 'code_red.layout' ----
26/05/2007 13:25:50 (Error)   Exception: DefaultResourceProvider::load - code_red.layout does not exist
26/05/2007 13:25:50 (Error)   WindowManager::loadWindowLayout - loading of layout from file 'code_red.layout' failed.
26/05/2007 13:26:34 (InfL2)   ---- Beginning loading of GUI layout from 'ogregui.layout' ----
26/05/2007 13:26:34 (Error)   Exception: DefaultResourceProvider::load - ogregui.layout does not exist
26/05/2007 13:26:34 (Error)   WindowManager::loadWindowLayout - loading of layout from file 'ogregui.layout' failed.


(I also tried to load the ogregui.layout - but even that doesn't work)

Any idea !? :?
- Note: I'm from Germany, please tell me if i make some mistakes - that would help me ;)

Thanks!

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Sat May 26, 2007 14:51

>> Exception: DefaultResourceProvider::load - code_red.layout does not exist

The application is not finding your .layout file. It looks like you're using Ogre so have a look at your resources.cfg; that's where the Ogre resource/file system is looking for.

RecyclingDuck
Just popping in
Just popping in
Posts: 13
Joined: Tue May 15, 2007 20:17
Contact:

Postby RecyclingDuck » Sat May 26, 2007 17:18

You misunderstood me ;(

I'm using the CEGUI Layout editor and just try to open some *.layout file through the dialog "Select a file".
Perchance here i tried to open a layout-file called ogregui.layout and anotherone called code_red.layout.
But the error isn't linked to ogre, just to the Layout-Editor. ;)
- Note: I'm from Germany, please tell me if i make some mistakes - that would help me ;)



Thanks!

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Sun May 27, 2007 11:26

Maybe the version of the Layout Editor and the .layout files do not match. There's a Python script in the Wiki to update the .layout files.

Maybe your .layout file is not in the same directory as the existing .layout file. This has been fixed in the latest version, from SVN. Or look for my post within the Utilities forum, about using multiple LayoutEditor.ini configuration files.

RecyclingDuck
Just popping in
Just popping in
Posts: 13
Joined: Tue May 15, 2007 20:17
Contact:

Postby RecyclingDuck » Sun May 27, 2007 15:59

Ahh, I got it ;)

I didn't know that i have to store the file in the layout-folder.
Thanks ;)
- Note: I'm from Germany, please tell me if i make some mistakes - that would help me ;)



Thanks!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 5 guests