On Wednesday, May 02, 2012 03:34:12 PM Allan Brooke wrote:
> Hi my name is Allan
> Thank you for a wonderful product it appears truly amazing from the videos
> 
> I have just installed Ubuntu 12.04 as I was using 10.04
> 
> Details from Dabo about from Class Designer
> 
> (could not copy and paste)
> 
> Platform: GTK
> Python Version: 2.7.12.1 on linux2
> Dabo Version: Version 0.9.3; Reversion ~608
> UI Version: 2.8.12.1 on wxGTK(gtk2)
> 
> I went through the google docs tutorial
> and created small Database in SQLite3 and set up connection successfully
> with CxnEditor.
> I then ran ClassDesigner.
> All worked fine saved after creating top layout as in tutorial able to
> change widgets from text to DEditBox
> and dCheckBox.
> Clicked in lower sizzer and selected  "Add Controls for Data Enviroment"
> Selected fields then selected "Grids"
> and got following in terminal and ClassDesigner closed all open windows
> 
> =====
>  allan@allan-desktop:~/apps$ python -c "import dabo;
> dabo.quickStart('test')"
> Application 'test' has been created for you
> allan@allan-desktop:~/apps$ cd test
> allan@allan-desktop:~/apps/test$ des ui/test.cdxml
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
> line 14665, in <lambda>
>     lambda event: event.callable(*event.args, **event.kw) )
>   File
> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.3-py2.7.egg/dabo/ui/dDataCo
> ntrolMixinBase.py", line 365, in _delayedSetDataSource
>     self.update()
>   File
> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.3-py2.7.egg/dabo/ui/dDataCo
> ntrolMixinBase.py", line 102, in update
>     self.__dataUpdate()
>   File
> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.3-py2.7.egg/dabo/ui/dDataCo
> ntrolMixinBase.py", line 154, in __dataUpdate
>     self.Value = srcatt
>   File
> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.3-py2.7.egg/dabo/ui/uiwx/dC
> ontrolItemMixin.py", line 384, in _setValue
>     self.StringValue = value
>   File
> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.3-py2.7.egg/dabo/ui/uiwx/dC
> ontrolItemMixin.py", line 358, in _setStringValue
>     raise ValueError(_("String must be present in the choices."))
> ValueError: String must be present in the choices.
> XXX lineno: 556, opcode: 0
> Segmentation fault (core dumped)
> allan@allan-desktop:~/apps/test$ des ui/test.cdxml
> XXX lineno: 556, opcode: 0
> Segmentation fault (core dumped)
> =====
> 
> I reloaded and tried again same result.
> 
> As I am completely new to this I have no idea what to do.
> 
> Allan

The biggest issue you are dealing with - is the fact that you are using a very 
old version of Dabo with python 2.7.  So before you continue it would be best 
if you upgraded Dabo.  Although, there are other ways of installing Dabo I 
recommend that you use SVN to retrieve the latest versions of Dabo.

See the download page
http://www.dabodev.com/download

Near the bottom.  Note: it will require that you install SVN on your system.

You will get the Dabo 9.4 release and I know it works with python 2.7.

Johnf


_______________________________________________
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/1370928.l4rjFSob6s@linux-12

Reply via email to