Any idea what does this error means?
---------------------------
CELayoutEditor Error
---------------------------
CELayoutEditor has detected and caught an exception. The following detailed info is available:
Description: Error
Exception Location: EditorFrame::LoadData
Exception Message: WindowFactoryManager::addWindowTypeAlias - alias 'Taharez Tab Pane' could not be created because the target type 'TaharezLook/TabPane' is unknown within the system.
Exception Filename: \Projects\CEGUI\cegui_mk2-v0-6-2003\src\CEGUIWindowFactoryManager.cpp
Exception Line: 179
---------------------------
OK
---------------------------
Exception Error in 0.6
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi, this is odd since this was supposed to be fixed. If you are using the new datafiles directory, the offending line is in the TaharezLookWidgetAliases.scheme file:
This should be:
You can also remove this file if you don't use aliases...
HTH!
Code: Select all
<WindowAlias Alias="Taharez Tab Pane" Target="TaharezLook/TabPane" />
This should be:
Code: Select all
<WindowAlias Alias="Taharez Tab Pane" Target="TaharezLook/TabContentPane" />
You can also remove this file if you don't use aliases...
HTH!
Check out my released snake game using Cegui!
-
- Just popping in
- Posts: 4
- Joined: Mon Mar 17, 2008 15:26
The First one is solve but another error just pop up
---------------------------
CELayoutEditor Error
---------------------------
CELayoutEditor has detected and caught an exception. The following detailed info is available:
Description: Error
Exception Location: EditorFrame::LoadData
Exception Message: WindowFactoryManager::addWindowTypeAlias - alias 'Taharez GroupBox' could not be created because the target type 'TaharezLook/GroupBox' is unknown within the system.
Exception Filename: \Projects\CEGUI\cegui_mk2-v0-6-2003\src\CEGUIWindowFactoryManager.cpp
Exception Line: 179
---------------------------
OK
---------------------------
---------------------------
CELayoutEditor Error
---------------------------
CELayoutEditor has detected and caught an exception. The following detailed info is available:
Description: Error
Exception Location: EditorFrame::LoadData
Exception Message: WindowFactoryManager::addWindowTypeAlias - alias 'Taharez GroupBox' could not be created because the target type 'TaharezLook/GroupBox' is unknown within the system.
Exception Filename: \Projects\CEGUI\cegui_mk2-v0-6-2003\src\CEGUIWindowFactoryManager.cpp
Exception Line: 179
---------------------------
OK
---------------------------
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Can you post the contents of your CeLayoutEditor.ini file please?
I think that you are pointing to different directories. Thanks.
I think that you are pointing to different directories. Thanks.
Check out my released snake game using Cegui!
I am seeing a similar bug. I am pretty certain that I dont reference TaharezLook anywhere within my various scheme, look&feel, and imageset files.
When I start the editor, and when I also click on File/New. I see the following:
I dont use Taharez at all. I use my own scheme called SVTLook.
Though I see this startup exception the editor does come up and allow me to create SVTLook windows (see following window list):
The ini file that I use:
and my scheme file
When I start the editor, and when I also click on File/New. I see the following:
I dont use Taharez at all. I use my own scheme called SVTLook.
Though I see this startup exception the editor does come up and allow me to create SVTLook windows (see following window list):
The ini file that I use:
- [SETTINGS]
BigKeyStep=10
SmallKeyStep=1
DefaultFont=
CurrentBackground=
BackgroundVisible=0
CurrentLayout=C:\Development\build\svt\Media\GUI\AppSchemeEditor.layout
ViewWidth=585
ViewHeight=484
SnapMode=2
GridSize=10
GridVisible=0
SupportedProperties=Alpha,float;ClickStepSize,float;MaximumValue,float;Visible,bool;AlwaysOnTop,bool;ClippedByParent,bool;InheritsAlpha,bool;Selected,bool;ReadOnly,bool;CloseButtonEnabled,bool;DragMovingEnabled,bool;FrameEnabled,bool;SizingEnabled,bool;TitlebarEnabled,bool;MultiSelect,bool;Sort,bool;DraggingEnabled,bool;BackgroundEnabled,bool;InheritsTooltipText,bool;HoverImage,text;PushedImage,text;DisabledImage,text;NormalImage,text;Font,font;TitlebarFont,font;VerticalAlignment,vert_align;HorizontalAlignment,horz_align;VertFormatting,vert_text_format;HorzFormatting,horz_text_format;Tooltip,text;Image,text;TextColours,text;
ConfigsPath=C:\Development\build\svt\Media\GUI\
FontsPath=C:\Development\build\svt\Media\GUI\
ImagesetsPath=C:\Development\build\svt\Media\GUI\
LookNFeelsPath=C:\Development\build\svt\Media\GUI\
ScriptsPath=C:\Development\build\svt\Media\GUI\
SchemesPath=C:\Development\build\svt\Media\GUI\
and my scheme file
Code: Select all
<?xml version="1.0" ?>
<GUIScheme Name="SVTLookSkin">
<Imageset Name="SVTLook" Filename="SVTLook.imageset" />
<Font Name="Tahoma-12" Filename="tahoma-12.font" />
<Font Name="Tahoma-10" Filename="tahoma-10.font" />
<Font Name="Tahoma-8" Filename="tahoma-8.font" />
<LookNFeel Filename="SVTLook.looknfeel" />
<WindowSet Filename="CEGUIFalagardWRBase" />
<!-- The following window types were copied from the CEGUI WindowsLook - largely without modification -->
<FalagardMapping WindowType="SVTLook/Button" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="SVTLook/Button" />
<FalagardMapping WindowType="SVTLook/Checkbox" TargetType="CEGUI/Checkbox" Renderer="Falagard/ToggleButton" LookNFeel="SVTLook/Checkbox" />
<FalagardMapping WindowType="SVTLook/IconButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="SVTLook/IconButton" />
<FalagardMapping WindowType="SVTLook/RadioButton" TargetType="CEGUI/RadioButton" Renderer="Falagard/ToggleButton" LookNFeel="SVTLook/RadioButton" />
<FalagardMapping WindowType="SVTLook/FrameWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="SVTLook/FrameWindow" />
<FalagardMapping WindowType="SVTLook/Titlebar" TargetType="CEGUI/Titlebar" Renderer="Falagard/Titlebar" LookNFeel="SVTLook/Titlebar" />
<FalagardMapping WindowType="SVTLook/SystemButton" TargetType="CEGUI/PushButton" Renderer="Falagard/SystemButton" LookNFeel="SVTLook/SystemButton" />
<FalagardMapping WindowType="SVTLook/Editbox" TargetType="CEGUI/Editbox" Renderer="Falagard/Editbox" LookNFeel="SVTLook/Editbox" />
<FalagardMapping WindowType="SVTLook/MultiLineEditbox" TargetType="CEGUI/MultiLineEditbox" Renderer="Falagard/MultiLineEditbox" LookNFeel="SVTLook/MultiLineEditbox" />
<FalagardMapping WindowType="SVTLook/Menubar" TargetType="CEGUI/Menubar" Renderer="Falagard/Menubar" LookNFeel="SVTLook/Menubar" />
<FalagardMapping WindowType="SVTLook/PopupMenu" TargetType="CEGUI/PopupMenu" Renderer="Falagard/PopupMenu" LookNFeel="SVTLook/PopupMenu" />
<FalagardMapping WindowType="SVTLook/MenuItem" TargetType="CEGUI/MenuItem" Renderer="Falagard/MenuItem" LookNFeel="SVTLook/MenuItem" />
<FalagardMapping WindowType="SVTLook/ProgressBar" TargetType="CEGUI/ProgressBar" Renderer="Falagard/ProgressBar" LookNFeel="SVTLook/ProgressBar" />
<FalagardMapping WindowType="SVTLook/VerticalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="SVTLook/VerticalScrollbar" />
<FalagardMapping WindowType="SVTLook/HorizontalScrollbar" TargetType="CEGUI/Scrollbar" Renderer="Falagard/Scrollbar" LookNFeel="SVTLook/HorizontalScrollbar" />
<FalagardMapping WindowType="SVTLook/VerticalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="SVTLook/VerticalScrollbarThumb" />
<FalagardMapping WindowType="SVTLook/HorizontalScrollbarThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="SVTLook/HorizontalScrollbarThumb" />
<FalagardMapping WindowType="SVTLook/TabButton" TargetType="CEGUI/TabButton" Renderer="Falagard/TabButton" LookNFeel="SVTLook/TabButton" />
<FalagardMapping WindowType="SVTLook/TabControl" TargetType="CEGUI/TabControl" Renderer="Falagard/TabControl" LookNFeel="SVTLook/TabControl" />
<FalagardMapping WindowType="SVTLook/TabContentPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="SVTLook/TabContentPane" />
<FalagardMapping WindowType="SVTLook/TabButtonPane" TargetType="DefaultWindow" Renderer="Falagard/Default" LookNFeel="SVTLook/TabButtonPane" />
<FalagardMapping WindowType="SVTLook/ComboDropList" TargetType="CEGUI/ComboDropList" Renderer="Falagard/Listbox" LookNFeel="SVTLook/ComboDropList" />
<FalagardMapping WindowType="SVTLook/Combobox" TargetType="CEGUI/Combobox" Renderer="Falagard/Default" LookNFeel="SVTLook/Combobox" />
<FalagardMapping WindowType="SVTLook/Listbox" TargetType="CEGUI/Listbox" Renderer="Falagard/Listbox" LookNFeel="SVTLook/Listbox" />
<FalagardMapping WindowType="SVTLook/ListHeader" TargetType="CEGUI/ListHeader" Renderer="Falagard/ListHeader" LookNFeel="SVTLook/ListHeader" />
<FalagardMapping WindowType="SVTLook/ListHeaderSegment" TargetType="CEGUI/ListHeaderSegment" Renderer="Falagard/ListHeaderSegment" LookNFeel="SVTLook/ListHeaderSegment" />
<FalagardMapping WindowType="SVTLook/MultiColumnList" TargetType="CEGUI/MultiColumnList" Renderer="Falagard/MultiColumnList" LookNFeel="SVTLook/MultiColumnList" />
<FalagardMapping WindowType="SVTLook/Slider" TargetType="CEGUI/Slider" Renderer="Falagard/Slider" LookNFeel="SVTLook/Slider" />
<FalagardMapping WindowType="SVTLook/SliderThumb" TargetType="CEGUI/Thumb" Renderer="Falagard/Button" LookNFeel="SVTLook/SliderThumb" />
<FalagardMapping WindowType="SVTLook/ScrollablePane" TargetType="CEGUI/ScrollablePane" Renderer="Falagard/ScrollablePane" LookNFeel="SVTLook/ScrollablePane" />
<FalagardMapping WindowType="SVTLook/Spinner" TargetType="CEGUI/Spinner" Renderer="Falagard/Default" LookNFeel="SVTLook/Spinner" />
<FalagardMapping WindowType="SVTLook/Tooltip" TargetType="CEGUI/Tooltip" Renderer="Falagard/Tooltip" LookNFeel="SVTLook/Tooltip" />
<FalagardMapping WindowType="SVTLook/Static" TargetType="DefaultWindow" Renderer="Falagard/Static" LookNFeel="SVTLook/Static" />
<FalagardMapping WindowType="SVTLook/StaticImage" TargetType="DefaultWindow" Renderer="Falagard/StaticImage" LookNFeel="SVTLook/StaticImage" />
<FalagardMapping WindowType="SVTLook/StaticText" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="SVTLook/StaticText" />
<FalagardMapping WindowType="SVTLook/ItemListbox" TargetType="CEGUI/ItemListbox" Renderer="Falagard/ItemListbox" LookNFeel="SVTLook/ItemListbox" />
<FalagardMapping WindowType="SVTLook/ListboxItem" TargetType="CEGUI/ItemEntry" Renderer="Falagard/ItemEntry" LookNFeel="SVTLook/ListboxItem" />
<!-- The following window types have been created specifically for SVT -->
<FalagardMapping WindowType="SVTLook/RightDrawerButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="SVTLook/RightDrawerButton"/>
<FalagardMapping WindowType="SVTLook/LeftDrawerButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="SVTLook/LeftDrawerButton"/>
<FalagardMapping WindowType="SVTLook/DialogWindow" TargetType="CEGUI/FrameWindow" Renderer="Falagard/FrameWindow" LookNFeel="SVTLook/DialogWindow" />
<FalagardMapping WindowType="SVTLook/DialogWindowGroup" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="SVTLook/DialogWindowGroup" />
<FalagardMapping WindowType="SVTLook/LabeledGroup" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="SVTLook/StaticText" />
<FalagardMapping WindowType="SVTLook/Label" TargetType="DefaultWindow" Renderer="Falagard/StaticText" LookNFeel="SVTLook/StaticText" />
<FalagardMapping WindowType="SVTLook/ControlPanelButton" TargetType="CEGUI/PushButton" Renderer="Falagard/Button" LookNFeel="SVTLook/ControlPanelButton" />
</GUIScheme>
-
- Just popping in
- Posts: 1
- Joined: Mon Apr 14, 2008 22:56
hi, I've exactly the same bug (the "alias 'Taharez GroupBox'" message) as Dominic1988. My .ini:
Do you have and idea? Thanks!
[SETTINGS]
BigKeyStep=10
SmallKeyStep=1
DefaultFont=0
CurrentBackground=0
BackgroundVisible=0
CurrentLayout=
ViewWidth=640
ViewHeight=480
SnapMode=2
GridSize=10
GridVisible=0
ConfigsPath=C:\Program Files\Ogre\CEGUI-SDK-0.6.0-vc9\Samples\datafiles/configs/
FontsPath=C:\Program Files\Ogre\CEGUI-SDK-0.6.0-vc9\Samples\datafiles/fonts/
ImagesetsPath=C:\Program Files\Ogre\CEGUI-SDK-0.6.0-vc9\Samples\datafiles/imagesets/
LookNFeelsPath=C:\Program Files\Ogre\CEGUI-SDK-0.6.0-vc9\Samples\datafiles/looknfeel/
ScriptsPath=C:\Program Files\Ogre\CEGUI-SDK-0.6.0-vc9\Samples\datafiles/lua_scripts/
SchemesPath=C:\Program Files\Ogre\CEGUI-SDK-0.6.0-vc9\Samples\datafiles/schemes/
SupportedProperties=Alpha,float;ClickStepSize,float;MaximumValue,float;Visible,bool;AlwaysOnTop,bool;ClippedByParent,bool;
InheritsAlpha,bool;Selected,bool;ReadOnly,bool;CloseButtonEnabled,bool;DragMovingEnabled,bool;FrameEnabled,bool;
SizingEnabled,bool;TitlebarEnabled,bool;MultiSelect,bool;Sort,bool;DraggingEnabled,bool;
BackgroundEnabled,bool;InheritsTooltipText,bool;HoverImage,text;PushedImage,text;DisabledImage,text;NormalImage,text;
Font,font;TitlebarFont,font;VerticalAlignment,vert_align;HorizontalAlignment,horz_align;VertFormatting,vert_text_format;HorzFormatting,horz_text_format;
Tooltip,text;Image,text;TextColours,text;
Do you have and idea? Thanks!
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
The 'taharezlook/staticimage' issue was a silly bug, which i fixed on my system, but it's not in svn yet. I need to look into the groupbox issue.
Some background on the staticimage issue: the editor tries to create a background window which can be used to put an image behind your layout (to get some wysiwyg). To do this, is searched for a staticimage within the loaded falagard mapping. Although this worked, it would still hardcode to a taharezlook one...
Some background on the staticimage issue: the editor tries to create a background window which can be used to put an image behind your layout (to get some wysiwyg). To do this, is searched for a staticimage within the loaded falagard mapping. Although this worked, it would still hardcode to a taharezlook one...
Check out my released snake game using Cegui!
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
The issue with the exceptions for the items in the aliases scheme is because that scheme is loaded at a time when the required "target" type has not been defined in any of the previously loaded schemes. For the groupbox issue, this is likely because the Demo8 scheme is almost certainly loaded first, followed by the alias scheme, followed by the other schemes. Since the Demo8 scheme does not contain the groupbox definition the alias creation fails.
Now. Some points here.
- The alias scheme exists largely as a 4 year old backwards compatibility support item. To the best of my knowledge nobody is using this, and so the file could be safely removed. Having said that, it does serve as an example of how to use aliases.
- Adding an appropriate definition for the groupbox would likely resolve the immediate issue, although this largely fixes the symptom and not the cause, so is not ideal.
- The real cause is the requirement that CEGUI has that the target type for an alias should exist at the time of the alias definition. I am considering removing this restriction so the aliases can support a kind of 'late binding' the same way that the Falagard mappings do. I'll make a decision one way or the other on this over the weekend (I just have to be sure there is not some compelling reason to keep it as it is).
Hope this information is at least enlightening if not actually useful
CE.
The issue with the exceptions for the items in the aliases scheme is because that scheme is loaded at a time when the required "target" type has not been defined in any of the previously loaded schemes. For the groupbox issue, this is likely because the Demo8 scheme is almost certainly loaded first, followed by the alias scheme, followed by the other schemes. Since the Demo8 scheme does not contain the groupbox definition the alias creation fails.
Now. Some points here.
- The alias scheme exists largely as a 4 year old backwards compatibility support item. To the best of my knowledge nobody is using this, and so the file could be safely removed. Having said that, it does serve as an example of how to use aliases.
- Adding an appropriate definition for the groupbox would likely resolve the immediate issue, although this largely fixes the symptom and not the cause, so is not ideal.
- The real cause is the requirement that CEGUI has that the target type for an alias should exist at the time of the alias definition. I am considering removing this restriction so the aliases can support a kind of 'late binding' the same way that the Falagard mappings do. I'll make a decision one way or the other on this over the weekend (I just have to be sure there is not some compelling reason to keep it as it is).
Hope this information is at least enlightening if not actually useful
CE.
Getting the same errors, although i use the stable build 6.0 which i just downloaded.
Gloriously, removing the demo8 scheme after modifying the alias scheme does help with the errors.
O.o
Edit:
I had the glorious feeling that the program hanged after this was solved. The main Dialog window did not accept any input and was placed in front of the other window.
-> of course, opening a layout file in the CELayoutWindow fills the main Dialog window with content.
Silly me. Call me a n00b, now !
Gloriously, removing the demo8 scheme after modifying the alias scheme does help with the errors.
O.o
Edit:
I had the glorious feeling that the program hanged after this was solved. The main Dialog window did not accept any input and was placed in front of the other window.
-> of course, opening a layout file in the CELayoutWindow fills the main Dialog window with content.
Silly me. Call me a n00b, now !
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Return to “Unofficial CEGUI-Related Tools”
Who is online
Users browsing this forum: No registered users and 12 guests