freeride-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FR-devel] Problem with RUNNING state


From: Laurent Julliard
Subject: [FR-devel] Problem with RUNNING state
Date: Tue, 25 Jun 2002 18:07:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

I have a question regarding the plugins states. I am in the process of writing an empty nutshell Debugger plugin and I have troubles with the order in which plugins are actually started.

The problem I have is that most "core" plugins like System_GuiCore/MenuBars, MenuPanes, AppFrames goes to the RUNNING state when the start method is called. but the problem is that in most cases what the start method does is to start instantiate a listener that will react to :notify_data_set events in the future and then it simply change the state to RUNNING. However strictly speaking the plugin environment is not completely set up at that stage.

This was not a problem in version 0.0.4 but now that I'm experimenting with the Debugger plugin (which is not a "core" plugin but an add-on), this add-on plug-in wants all the core to be running *AND* properly setup. For instance for the Debugger to initiate OK, the UI must be fully in place so that the debugger can insert a new item in the Run menu, insert a new FOX widget in the DockPane,etc...

The problem I have right now is that even when I put a dependency on say GuiSetup in the plugin.xml of the Debugger it is not sufficient. So what shoudl I use to say FR to start the Debugger plugin only when the UI stuff is completely up and running?

I have attached the freeride.log and note that the debugger is attached to the South DockPane too early in the process before the DockBar is fully setup (which is indicated by the message "Dockbar UI components positioned OK!")


Laurent
 INFO FreeRIDE: Plugin(DockBars): Loading
 INFO FreeRIDE: Plugin(EditPanes): Loading
 INFO FreeRIDE: Plugin(MenuPanes): Loading
 INFO FreeRIDE: Plugin(MenuBars): Loading
 INFO FreeRIDE: Plugin(AppFrames): Loading
 INFO FreeRIDE: Plugin(GuiSetup): Loading
 INFO FreeRIDE: Plugin(System_Commands): Loading
 INFO FreeRIDE: Plugin(EditCommands): Starting
 INFO FreeRIDE: Plugin(EditCommands): Command component created for EditCut
 INFO FreeRIDE: Plugin(EditCommands): Command component created for EditCopy
 INFO FreeRIDE: Plugin(EditCommands): Command component created for EditPaste
 INFO FreeRIDE: Plugin(AppCommands): Starting
 INFO FreeRIDE: Plugin(AppCommands): Command component created for FileOpen
 INFO FreeRIDE: Plugin(AppCommands): Command component created for FileClose
 INFO FreeRIDE: Plugin(AppCommands): Command component created for FileSave
 INFO FreeRIDE: Plugin(AppCommands): Command component created for Exit
 INFO FreeRIDE: Plugin(AppCommands): Command component created for About
 INFO FreeRIDE: Plugin(System_Commands): Starting
 INFO FreeRIDE: Plugin(MenuPanes): Starting
 INFO FreeRIDE: Plugin(Logger): Starting
 INFO FreeRIDE: Plugin(DockBars): Starting
 INFO FreeRIDE: Plugin(DockPanes): Starting
 INFO FreeRIDE: Plugin(AppFrames): Starting
 INFO FreeRIDE: Plugin(AppFrameRenderFox): Starting
 INFO FreeRIDE: Plugin(AppFrameRenderFox): AppFrame Listener started
 INFO FreeRIDE: Plugin(EditPaneRenderFox): Starting
 INFO FreeRIDE: Plugin(EditPaneRenderFox): EditPane Listener started
 INFO FreeRIDE: Plugin(FoxServices): Starting
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): Starting
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): MenuPaneListener started
 INFO FreeRIDE: Plugin(DatabusInspectorRenderFox): Starting
 INFO FreeRIDE: Plugin(MenuBarRenderFox): Starting
 INFO FreeRIDE: Plugin(MenuBarRenderFox): MenuBarListener started
 INFO FreeRIDE: Plugin(DockBarRenderFox): Starting
 INFO FreeRIDE: Plugin(DockBarRenderFox): DockBarListener started on 
/system/ui/components/DockBar/pool/
 INFO FreeRIDE: Plugin(DebuggerRenderFox): Starting
 INFO FreeRIDE: Plugin(DebuggerRenderFox): DebuggerListener started
 INFO FreeRIDE: Plugin(MenuBars): Starting
 INFO FreeRIDE: Plugin(EditPanes): Starting
 INFO FreeRIDE: Plugin(GuiSetup): Starting
 INFO FreeRIDE: Plugin(DatabusInspector): Starting
 INFO FreeRIDE: Plugin(AppCommands): Command component created for 
DatabusInspector
 INFO FreeRIDE: Plugin(Debugger): Starting
 INFO FreeRIDE: Plugin(AppCommands): Command component created for Debugger
 INFO FreeRIDE: Plugin(DockBarRenderFox): DockBar south started
 INFO FreeRIDE: Plugin(DockBarRenderFox): Slot = 
/system/ui/components/DockBar/pool/south/,  Base Slot = 
/system/ui/components/DockBar/render/,

 INFO FreeRIDE: Plugin(DockBars): DockBar component created for south
ERROR FreeRIDE: Plugin(DockBarRenderFox): Only one DockBar allowed, creation of 
south is ignored. (event = notify_slot_add
 INFO FreeRIDE: Plugin(DockBarRenderFox): DockBar 0 started
 INFO FreeRIDE: Plugin(DockBarRenderFox): Slot = 
/system/ui/components/DockBar/pool/south/0/,  Base Slot = 
/system/ui/components/DockBar/render/,

ERROR FreeRIDE: Plugin(DockBarRenderFox): Only one DockBar allowed, creation of 
0 is ignored. (event = notify_data_set
 INFO FreeRIDE: Plugin(AppFrameRenderFox): AppFrame started
 INFO FreeRIDE: Plugin(AppFrameRenderFox): Dockbar UI components positioned OK!
 INFO FreeRIDE: Plugin(AppFrames): AppFrame component created for main
ERROR FreeRIDE: Plugin(AppFrameRenderFox): Only one AppFrame allowed, creation 
of main is ignored.
ERROR FreeRIDE: Plugin(AppFrameRenderFox): Only one AppFrame allowed, creation 
of main is ignored.
 INFO FreeRIDE: Plugin(EditPaneRenderFox): EditPane started
 INFO FreeRIDE: Plugin(EditPanes): EditPane component created for edit1
ERROR FreeRIDE: Plugin(EditPaneRenderFox): Only one EditPane is currently 
allowed, creation of edit1 is ignored.
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): MenuPane File_menu started
 INFO FreeRIDE: Plugin(MenuPanes): MenuPane component created for File_menu
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): MenuPane Edit_menu started
 INFO FreeRIDE: Plugin(MenuPanes): MenuPane component created for Edit_menu
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): MenuPane Run_menu started
 INFO FreeRIDE: Plugin(MenuPanes): MenuPane component created for Run_menu
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): MenuPane Tools_menu started
 INFO FreeRIDE: Plugin(MenuPanes): MenuPane component created for Tools_menu
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): MenuPane Help_menu started
 INFO FreeRIDE: Plugin(MenuPanes): MenuPane component created for Help_menu
 INFO FreeRIDE: Plugin(MenuBarRenderFox): MenuBar main started
ERROR FreeRIDE: Plugin(MenuBarRenderFox): Only one MenuBar allowed, creation of 
main is ignored.
 INFO FreeRIDE: Plugin(MenuBars): MenuBar component created for main
 INFO FreeRIDE: Plugin(DockBarRenderFox): DockBar east started
 INFO FreeRIDE: Plugin(DockBarRenderFox): Slot = 
/system/ui/components/DockBar/pool/east/,  Base Slot = 
/system/ui/components/DockBar/render/,

 INFO FreeRIDE: Plugin(DockBars): DockBar component created for east
ERROR FreeRIDE: Plugin(DockBarRenderFox): Only one DockBar allowed, creation of 
east is ignored. (event = notify_slot_add
 INFO FreeRIDE: Plugin(DockBarRenderFox): DockBar west started
 INFO FreeRIDE: Plugin(DockBarRenderFox): Slot = 
/system/ui/components/DockBar/pool/west/,  Base Slot = 
/system/ui/components/DockBar/render/,

 INFO FreeRIDE: Plugin(DockBars): DockBar component created for west
ERROR FreeRIDE: Plugin(DockBarRenderFox): Only one DockBar allowed, creation of 
west is ignored. (event = notify_slot_add
 INFO FreeRIDE: Plugin(Debugger): Stopping
 INFO FreeRIDE: Plugin(DatabusInspector): Stopping
 INFO FreeRIDE: Plugin(DockBarRenderFox): Stopping
 INFO FreeRIDE: Plugin(MenuBarRenderFox): Stopping
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): Stopping
 INFO FreeRIDE: Plugin(EditPaneRenderFox): Stopping
 INFO FreeRIDE: Plugin(AppFrameRenderFox): Stopping
 INFO FreeRIDE: Plugin(EditCommands): Stopping
 INFO FreeRIDE: Plugin(AppCommands): Stopping
 INFO FreeRIDE: Plugin(Logger): Stopping
 INFO FreeRIDE: Plugin(FoxServices): Stopping
 INFO FreeRIDE: Plugin(DebuggerRenderFox): Stopping
 INFO FreeRIDE: Plugin(DatabusInspectorRenderFox): Stopping
 INFO FreeRIDE: Plugin(DockPanes): Stopping
 INFO FreeRIDE: Plugin(DockBars): Stopping
 INFO FreeRIDE: Plugin(EditPanes): Stopping
 INFO FreeRIDE: Plugin(MenuPanes): Stopping
 INFO FreeRIDE: Plugin(MenuBars): Stopping
 INFO FreeRIDE: Plugin(AppFrames): Stopping
 INFO FreeRIDE: Plugin(GuiSetup): Stopping
 INFO FreeRIDE: Plugin(System_Commands): Stopping
 INFO FreeRIDE: Plugin(Debugger): Unloading
 INFO FreeRIDE: Plugin(DatabusInspector): Unloading
 INFO FreeRIDE: Plugin(DockBarRenderFox): Unloading
 INFO FreeRIDE: Plugin(MenuBarRenderFox): Unloading
 INFO FreeRIDE: Plugin(MenuPaneRenderFox): Unloading
 INFO FreeRIDE: Plugin(EditPaneRenderFox): Unloading
 INFO FreeRIDE: Plugin(AppFrameRenderFox): Unloading
 INFO FreeRIDE: Plugin(EditCommands): Unloading
 INFO FreeRIDE: Plugin(AppCommands): Unloading
 INFO FreeRIDE: Plugin(Logger): Unloading
 INFO FreeRIDE: Plugin(FoxServices): Unloading
 INFO FreeRIDE: Plugin(DebuggerRenderFox): Unloading
 INFO FreeRIDE: Plugin(DatabusInspectorRenderFox): Unloading
 INFO FreeRIDE: Plugin(DockPanes): Unloading
 INFO FreeRIDE: Plugin(DockBars): Unloading
 INFO FreeRIDE: Plugin(EditPanes): Unloading
 INFO FreeRIDE: Plugin(MenuPanes): Unloading
 INFO FreeRIDE: Plugin(MenuBars): Unloading
 INFO FreeRIDE: Plugin(AppFrames): Unloading
 INFO FreeRIDE: Plugin(GuiSetup): Unloading
 INFO FreeRIDE: Plugin(System_Commands): Unloading
 INFO FreeRIDE: --- Shutting down FreeRIDE on Tue Jun 25 17:50:21 CEST 2002

reply via email to

[Prev in Thread] Current Thread [Next in Thread]