Metallicow
2014-03-23 08:50:37 UTC
@ Andrea, Robin
I am running across this traceback and am not sure what exactly is causing
it. Trying to wrap my head around the problem.
Anyway, first of all I am using a slightly modified version of aui I
include with my source(mostly graphics drawing changes and improvements),
but the problems are not because of my mods(therefore the line numbers in
the trace may be off a bit).
I have experienced this with the library stuff also and can reproduce it.
I have about 9 toolbars OK some vertical and some horizontal, some have
dropdown items or controls in them, basically a real usable version of
whats the agw py demo, per say for the most part.
The problem starts occuring when the a toolbar pane is undocked and then
while it is trying to figure out where to "snap" it back into where I want
it these exceptions are thrown causing GUI havok.
It is kind of strange as sometimes a toolbar needs to be undocked and tried
repositioning in a few times to get this to occur.
Also this is screwing up the FramePerspective loading from the saved string
I would guess it has something to do with action pane and maybe mouse
capturing(maybe???) but I have yet to figure out an answer.
Strangely I couldn't get a modded wxpy demo(the classic ones that use
run.py) to be able to reproduce this by adding a boatload of oddball
toolbar panes.
I would tend to think this a more serious problem somewhere in the code,
but am not sure.
Any Ideas?
Or might there be certain types of scenarios that are taboo with toolbar
panes??? Or might there have been a bug introduced around 3.0[.1] somewhere
in a change???
Has anyone else experienced anything like this?
I am running across this traceback and am not sure what exactly is causing
it. Trying to wrap my head around the problem.
Anyway, first of all I am using a slightly modified version of aui I
include with my source(mostly graphics drawing changes and improvements),
but the problems are not because of my mods(therefore the line numbers in
the trace may be off a bit).
I have experienced this with the library stuff also and can reproduce it.
I have about 9 toolbars OK some vertical and some horizontal, some have
dropdown items or controls in them, basically a real usable version of
whats the agw py demo, per say for the most part.
The problem starts occuring when the a toolbar pane is undocked and then
while it is trying to figure out where to "snap" it back into where I want
it these exceptions are thrown causing GUI havok.
It is kind of strange as sometimes a toolbar needs to be undocked and tried
repositioning in a few times to get this to occur.
Also this is screwing up the FramePerspective loading from the saved string
I would guess it has something to do with action pane and maybe mouse
capturing(maybe???) but I have yet to figure out an answer.
Strangely I couldn't get a modded wxpy demo(the classic ones that use
run.py) to be able to reproduce this by adding a boatload of oddball
toolbar panes.
I would tend to think this a more serious problem somewhere in the code,
but am not sure.
Any Ideas?
Or might there be certain types of scenarios that are taboo with toolbar
panes??? Or might there have been a bug introduced around 3.0[.1] somewhere
in a change???
Has anyone else experienced anything like this?
File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_core.py", line 16767,
in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "C:\src\lib\agw\aui\framemanager.py", line 6429, in Update
sizer = self.LayoutAll(self._panes, self._docks, self._uiparts, False)
File "C:\src\lib\agw\aui\framemanager.py", line 6260, in LayoutAll
uiparts = self.LayoutAddDock(cont, row, uiparts, spacer_only)
File "C:\src\lib\agw\aui\framemanager.py", line 5865, in LayoutAddDock
pane_positions, pane_sizes = self.GetPanePositionsAndSizes(dock)
File "C:\src\lib\agw\aui\framemanager.py", line 5571, in
GetPanePositionsAndSizes
raise Exception("Too many action panes!")
Exception: Too many action panes!
File "C:\src\lib\agw\aui\framemanager.py", line 9224, in OnLeftUp
self.OnLeftUp_DragToolbarPane(event)
File "C:\src\lib\agw\aui\framemanager.py", line 9956, in
OnLeftUp_DragToolbarPane
pane_positions, pane_sizes = self.GetPanePositionsAndSizes(dock)
File "C:\src\lib\agw\aui\framemanager.py", line 5571, in
GetPanePositionsAndSizes
raise Exception("Too many action panes!")
Exception: Too many action panes!
File "C:\src\lib\agw\aui\framemanager.py", line 9258, in OnMotion
self.OnMotion_DragToolbarPane(event)
File "C:\src\lib\agw\aui\framemanager.py", line 9893, in
OnMotion_DragToolbarPane
self.OnLeftUp_DragToolbarPane(eventOrPt)
File "C:\src\lib\agw\aui\framemanager.py", line 9956, in
OnLeftUp_DragToolbarPane
pane_positions, pane_sizes = self.GetPanePositionsAndSizes(dock)
File "C:\src\lib\agw\aui\framemanager.py", line 5571, in
GetPanePositionsAndSizes
raise Exception("Too many action panes!")
Exception: Too many action panes!
in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "C:\src\lib\agw\aui\framemanager.py", line 6429, in Update
sizer = self.LayoutAll(self._panes, self._docks, self._uiparts, False)
File "C:\src\lib\agw\aui\framemanager.py", line 6260, in LayoutAll
uiparts = self.LayoutAddDock(cont, row, uiparts, spacer_only)
File "C:\src\lib\agw\aui\framemanager.py", line 5865, in LayoutAddDock
pane_positions, pane_sizes = self.GetPanePositionsAndSizes(dock)
File "C:\src\lib\agw\aui\framemanager.py", line 5571, in
GetPanePositionsAndSizes
raise Exception("Too many action panes!")
Exception: Too many action panes!
File "C:\src\lib\agw\aui\framemanager.py", line 9224, in OnLeftUp
self.OnLeftUp_DragToolbarPane(event)
File "C:\src\lib\agw\aui\framemanager.py", line 9956, in
OnLeftUp_DragToolbarPane
pane_positions, pane_sizes = self.GetPanePositionsAndSizes(dock)
File "C:\src\lib\agw\aui\framemanager.py", line 5571, in
GetPanePositionsAndSizes
raise Exception("Too many action panes!")
Exception: Too many action panes!
File "C:\src\lib\agw\aui\framemanager.py", line 9258, in OnMotion
self.OnMotion_DragToolbarPane(event)
File "C:\src\lib\agw\aui\framemanager.py", line 9893, in
OnMotion_DragToolbarPane
self.OnLeftUp_DragToolbarPane(eventOrPt)
File "C:\src\lib\agw\aui\framemanager.py", line 9956, in
OnLeftUp_DragToolbarPane
pane_positions, pane_sizes = self.GetPanePositionsAndSizes(dock)
File "C:\src\lib\agw\aui\framemanager.py", line 5571, in
GetPanePositionsAndSizes
raise Exception("Too many action panes!")
Exception: Too many action panes!
--
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxPython-dev+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.