Problem with creating a CEGUI 0.7 project with CEED

Forum for support and development discussion regarding the python based unified editor tool for CEGUI, known as CEED.

Moderators: CEGUI MVP, CEGUI Team

chrisjan
Just popping in
Just popping in
Posts: 7
Joined: Sat Dec 10, 2011 09:15

Problem with creating a CEGUI 0.7 project with CEED

Postby chrisjan » Sat Dec 10, 2011 18:35

Hello!
I'm trying to get the CEGUI Unified Editor running (I want to create a project that produces layout files for CEGUI 0.7 the latest stable version - on my Linux PC). I copied the datafiles from CEGUI-0.7.5 to the project directory and set the paths in the pr-oject settings to these directories (and also the version to 0.7), but while importing the resources, it stops and a error message pops up. This error is:

Code: Select all

An attempt was made to load resources related to the project being opened, for some reason the loading didn't succeed so all resources were destroyed! The most likely reason is that the resource directories are wrong, this can be very easily remedied in the project settings.

This means that editing capabilities of CEED will be limited to editing of files that don't require a project opened (for example: imagesets).

Details of this error: CEGUI::AlreadyExistsException in file /home/christoph/cegui_unstable/cegui_mk2/cegui/cegui/src/RendererModules/OpenGL/Renderer.cpp(325) : OpenGLRenderer::createTexture: A texture named 'TaharezLook' already exists.

Does somebody know how to solve this problem?
Thanks in advance for all answers!


PS: Here the most important part of the log file:

Code: Select all

10/12/2011 19:31:43 (Std)    Started creation of Scheme from XML specification:
10/12/2011 19:31:43 (Std)    ---- CEGUI GUIScheme name: TaharezLook
10/12/2011 19:31:43 (Std)    ---- Returning existing instance of Scheme named 'TaharezLook'.
10/12/2011 19:31:43 (Std)    [ImageManager] Started creation of Imageset from XML specification:
10/12/2011 19:31:43 (Std)    [ImageManager] ---- CEGUI Imageset name: TaharezLook
10/12/2011 19:31:43 (Std)    [ImageManager] ---- Source texture file: TaharezLook.tga
10/12/2011 19:31:43 (Std)    [ImageManager] ---- Source texture resource group: (Default)
10/12/2011 19:31:43 (Error)   CEGUI::AlreadyExistsException in file /home/christoph/cegui_unstable/cegui_mk2/cegui/cegui/src/RendererModules/OpenGL/Renderer.cpp(325) : OpenGLRenderer::createTexture: A texture named 'TaharezLook' already exists.
10/12/2011 19:31:43 (Error)   The last thrown exception was related to XML file 'TaharezLook.imageset' from resource group 'imagesets'.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Problem with creating a CEGUI 0.7 project with CEED

Postby Kulik » Sat Dec 10, 2011 19:02

The reason for this is very simple (and CEED ships with "corrected" 0.7 data). CEGUI 0.7 contains duplicate schemes. Like TaharezLook and TaharezLookWidgets. Both load the same imagesets so in the end it all gets duplicated and exceptions are thrown. The simple solution is to delete all schemes you won't use and just keep the SkinName.scheme schemes.

This probably should be in some FAQ, feel free to add it somewhere :-)

HTH

chrisjan
Just popping in
Just popping in
Posts: 7
Joined: Sat Dec 10, 2011 09:15

Re: Problem with creating a CEGUI 0.7 project with CEED

Postby chrisjan » Sat Dec 10, 2011 19:14

Yes, after deleting these files it seems to work!
Thank you very much for your help, Kulik!

I'm already looking forward to the release of CEGUI 0.8.
Do you accidently know how long it will approximately take? Some weeks or some months?

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Problem with creating a CEGUI 0.7 project with CEED

Postby Kulik » Sat Dec 10, 2011 20:14

We were aiming at January 2012, however right now things are moving very slowly, we need more contributors :-(

Mars_999
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Sun Sep 11, 2011 18:18

Re: Problem with creating a CEGUI 0.7 project with CEED

Postby Mars_999 » Sat Dec 31, 2011 19:44

I couldn't find a FAQ for this, but I wanted to say that, when you setup the CEED editor, do not use the old CEGUI-SDK directory datafiles. They cause this error, but go to the CEED directory

ceed-snapshot5-win32\ceed-snapshot5\data\samples

and select which one you want to use....

BTW my question is this, I am using 0.7.5 can I just dump out a project file and load it like before using CEED snapshot 5?


Thanks!


Return to “Official Unified CEGUI Editor Tool (CEED)”

Who is online

Users browsing this forum: No registered users and 7 guests