Hello,

I've decided to try to learn dabo, specifically for the ui components.
I say again, because I have tried a couple of times in the past, and
have been plagued by errors, and install issues.  This time, I decided
to join the users list, and brute my way through this, because I keep
hearing great things about it.  Normally I use wax, but it is not being
developed anymore.

Ok, so now to the current issues.  I downloaded the latest stable,
following the website:

svn checkout http://svn.dabodev.com/dabo/tags/dabo-0.8/ dabo
svn checkout http://svn.dabodev.com/dabodemo/tags/dabodemo-0.7.2/ dabodemo


I'm running Python 2.5, on Linux (Kubuntu), but I get the same problem
on my new Mac.  I noticed that the version numbers for the demo are
different, but thought "some of the advanced features probably won't
work, but I should be able to run most of it.".  Installing dabo was no
problem, then in the dabodemo directory, under wxPython-demos, I do:

python demo.py

and get:

AttributeError: 'module' object has no attribute 'dEvents'

(full error copied below).


any ideas about what is going wrong?  should I install things differently?


    thanks,

       Brian Blais



-- 
-----------------

             [EMAIL PROTECTED]
             http://web.bryant.edu/~bblais




Full output:



Dabo Info Log: Wed Jun 20 08:28:20 2007: 0 database connection
definition(s) loaded.
Dabo Info Log: Wed Jun 20 08:28:21 2007: PyOpenGL not present, so
dGlWindow is not loaded.
Dabo Info Log: Wed Jun 20 08:28:21 2007: User interface set to 'wx' by dApp.
Dabo Info Log: Wed Jun 20 08:28:21 2007: wxPython Version: 2.8.0.1 wxGTK
(ascii) (gtk2)

(python:9222): Gtk-WARNING **: gtkwidget.c:3312: no accelerator (113,4)
installed in accel group (0x86d9
560) for GtkImageMenuItem (0x877c920)

(python:9222): Gtk-WARNING **: gtkwidget.c:3312: no accelerator (113,4)
installed in accel group (0x86d9
560) for GtkImageMenuItem (0x877c920)
Dabo Info Log: Wed Jun 20 08:28:21 2007: WARNING: No BasePrefKey has
been set for this application.
Traceback (most recent call last):
  File "demo.py", line 682, in <module>
    app.MainForm = DemoForm()
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dForm.py",
line 870, in
__init__
    BaseForm.__init__(self, preClass, parent, properties, attProperties,
*args, **kwargs)
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dForm.py",
line 43, in _
_init__
    fm.dFormMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dFormMixin.py",
line 73,
in __init__
    attProperties, *args, **kwargs)
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPemMixin.py",
line 185,
in __init__
    self._afterInit()
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dForm.py",
line 69, in _
afterInit
    super(BaseForm, self)._afterInit()
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dFormMixin.py",
line 120
, in _afterInit
    super(dFormMixin, self)._afterInit()
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPemMixin.py",
line 299,
in _afterInit
    self.afterInit()
  File "demo.py", line 441, in afterInit
    self._buildUI()
  File "demo.py", line 523, in _buildUI
    self._addSourcePanel()
  File "demo.py", line 626, in _addSourcePanel
    self.SourcePanel = self.Notebook.appendPage(DemoPanel, 'Demo Code')
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPageFrameMixin.py",
 

lin                 e 143, in appendPage
    return self.insertPage(self.GetPageCount(), pgCls, caption, imgKey)
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPageFrameMixin.py",
 

lin                 e 172, in insertPage
    pg = pgCls(self)
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPanel.py",
line 158, in                  __init__
    _PanelMixin.__init__(self, preClass, parent, properties,
attProperties, *args, **kwargs)
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPanel.py",
line 32, in                  __init__
    *args, **kwargs)
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPemMixin.py",
line 185,                  in __init__
    self._afterInit()
  File
"/usr/local/lib/python2.5/site-packages/Dabo-0.8s-py2.5.egg/dabo/ui/uiwx/dPemMixin.py",
line 299,                  in _afterInit
    self.afterInit()
  File "demo.py", line 295, in afterInit
    self.btnRestore.bindEvent(dabo.ui.dEvents.Hit, self.OnRestore)
AttributeError: 'module' object has no attribute 'dEvents'




_______________________________________________
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/dabo-users/[EMAIL PROTECTED]

Reply via email to