Am 22.11.2010 14:09, schrieb Ed Leafe:
> On Nov 22, 2010, at 4:39 AM, Fraser Burns wrote:
>
>> dLabel - "Show Word Wrap"
>> Attempting to move the slider causes a lock up.
>>
>> fra...@ub810:~/src/dabo/demo$ python DaboDemo.py
>>
>> (python:14486): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to
>> allocate widget with width -5 and height 17
>> Killed
>>
>> This error about a widget with a negative value has appeared other times
>> but I figured it was just my code attempts. In this demo it is repeatable.
>
> Hmmm... works fine on OS X, so it must be Gtk-specific. Does this
> happen with anyone else running DaboDemo on Linux?
>
Platform: GTK
Python Version: 2.6.5 on linux2
Dabo Version: Version 0.9.3; Revision 6183M
UI Version: 2.8.10.1 on wxGTK (gtk2)
I get the warning when I start the demo. dLabel, Show Word Wrap: the
slider doesn't move, when I try to close the window I get an error message:
"Dieses Fenster scheint beschäftigt zu sein und antwortet nicht.
Möchten Sie die Anwendung beenden?"
(This window seems to be busy and doesn't respond. Do you want to close
the application?)
Trying to start bubblet:
Traceback (most recent call last):
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dControlMixin.py", line
27, in _onWxHit
self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dPemMixin.py", line 991,
in raiseEvent
super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args,
**kwargs)
File "/home/sib/src/dabo-trunk/dabo/lib/eventMixin.py", line 96, in
raiseEvent
bindingFunction(event)
File "/home/sib/src/dabo-trunk/demo/samples/bubblet.py", line 23, in
runGame
def runGame(self, evt):
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dForm.py", line 928, in
__init__
BaseForm.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dForm.py", line 45, in
__init__
fm.dFormMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dFormMixin.py", line 75,
in __init__
attProperties, *args, **kwargs)
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dPemMixin.py", line 193,
in __init__
self._afterInit()
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dForm.py", line 72, in
_afterInit
super(BaseForm, self)._afterInit()
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dFormMixin.py", line 129,
in _afterInit
super(dFormMixin, self)._afterInit()
File "/home/sib/src/dabo-trunk/dabo/ui/uiwx/dPemMixin.py", line 327,
in _afterInit
self.afterInit()
File
"/home/sib/src/dabo-trunk/demo/samples/games/bubblet/BubbletForm.py",
line 68, in afterInit
quitPos = fm.getItemIndex(_("Quit"))
AttributeError: 'NoneType' object has no attribute 'getItemIndex'
Greetings
Sibylle
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]