On Thursday 28 August 2008 07:47:25 pm Bob Mathias - Sysero llc Business Group
wrote:
> Running under:
> Ubuntu 8.04 running in Gnome
> Dabo
> Platform: GTK
> Python Version: 2.5.2 on linux2
> Dabo Version: Version 0.8.4; Revision ~4487
> UI Version: 2.8.7.1 on wxGTK(gtk2)
>
> I am new to both Dabo, Python and linux and been using NetBeans 6.1
> running sun-java6. I am developing a commercial database desktop
> application for small business in Cincinnati Ohio.
>
> I installed Dabo with the install instructions and had no problems.
> I was even able to run the test program with out any problem but I did
> get in the terminal:
>
> -------------------------
> [EMAIL PROTECTED]:~/dabo$ set -ex
> ++ echo -ne '\033]0;[EMAIL PROTECTED]: ~/dabo\007'
> [EMAIL PROTECTED]:~/dabo$ cd demo
> + cd demo
> ++ echo -ne '\033]0;[EMAIL PROTECTED]: ~/dabo/demo\007'
> [EMAIL PROTECTED]:~/dabo/demo$ ls
> + ls --color=auto
> DaboDemo.cdxml DaboDemo.py media Modules.py samples setup.py
> ++ echo -ne '\033]0;[EMAIL PROTECTED]: ~/dabo/demo\007'
> [EMAIL PROTECTED]:~/dabo/demo$ python DaboDemo.py
> + python DaboDemo.py
>
> (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
> `GTK_IS_WIDGET (widget)' failed
> -------------------------
>
> I tried to look for answers by Googling the error:
>
> (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
> `GTK_IS_WIDGET (widget)' failed
>
> but my background in python is very limited.
>
> I ran the lesson on THE Step-By-Step Guide to Programming which was
> very helpful in learning Dabo, which I found easier to work with than
> NetBeans or eclipse.
>
> When I reached the part to click Finish after I 'Don't add bizobj
> code', and then click 'Finish'. At that point the Class Designer is
> closed unexpectedly. In my terminal window at the last few lines I get:
>
> --------------------------------------------------------
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
>in.py", line 1219, in update self.raiseEvent(dEvents.Update)
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
>in.py", line 926, in raiseEvent super(dPemMixin,
> self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.
>py", line 92, in raiseEvent bindingFunction(event)
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
>in.py", line 1196, in __onUpdate self.update()
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControl
>MixinBase.py", line 134, in update self.Value = srcatt
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
>lItemMixin.py", line 382, in _setValue self.StringValue = value
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
>lItemMixin.py", line 356, in _setStringValue raise ValueError, _("String
> must be present in the choices.")
> ValueError: String must be present in the choices.
>
> (python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
> `GTK_IS_WINDOW (window)' failed
> Segmentation fault
> [EMAIL PROTECTED]:~/dabo/ide$
>
> -----------------------------------------------------
>
> When I first started ClassDesigner.py my terminal displayed:
>
> ------------------------------------------------------
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
>in.py", line 1219, in update self.raiseEvent(dEvents.Update)
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
>in.py", line 926, in raiseEvent super(dPemMixin,
> self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/lib/eventMixin.
>py", line 92, in raiseEvent bindingFunction(event)
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dPemMix
>in.py", line 1196, in __onUpdate self.update()
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/dDataControl
>MixinBase.py", line 134, in update self.Value = srcatt
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
>lItemMixin.py", line 382, in _setValue self.StringValue = value
> File
> "/usr/lib/python2.5/site-packages/Dabo-0.8.4-py2.5.egg/dabo/ui/uiwx/dContro
>lItemMixin.py", line 356, in _setStringValue raise ValueError, _("String
> must be present in the choices.")
> ValueError: String must be present in the choices.
>
> (python:12507): Gtk-CRITICAL **: gtk_window_set_modal: assertion
> `GTK_IS_WINDOW (window)' failed
> Segmentation fault
> [EMAIL PROTECTED]:~/dabo/ide$
>
> -------------------------------------------------
>
> I have no idea how to solve this problem.
>
> Thank You
> Bob Mathias
It is best if you move these questions to the Dabo Users list
<[EMAIL PROTECTED]>. You'll get faster responses.
Let's deal with the ClassDesigner first. Currently the svn version has a bug
that causes the seg fault. I'm sure some time tomorrow someone will fix the
problem.
> (python:15963): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion
> `GTK_IS_WIDGET (widget)' failed
The message is normal for a running Dabo app. For now you can disregard it.
And most important "Welcome to world of Dabo". I'm sure you will find Dabo to
be one of the simplest frameworks to work with available for desktop apps.
--
John Fabiani
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]