Hi,
I'm just learning Dabo by using the Dabo Class Designer. I just updated
from dabo 0.7.2s to dabo 0.8 and I'm seeing a problem, plus some new
warnings when using Class Designer. I see them on an existing .cdxml
class file made using dabo 0.7.2s, and also if I create a new class file
using dabo 0.8.
I don't know if I'm updating Dabo correctly. I've only updated with
this download:
ftp://dabodev.com/dabo/dabo-0.8-win.zip
and have left both the daboide and dabodemo directories the way they
were (with dabodemo-0.7.2-win and daboide-0.7.1-win installed) because
those don't seem to have been updated.
I haven't changed the version of wxPython, and am still using
wx-2.8-msw-unicode. I also have not changed the version of Python, and
am still using Python version 2.5.
Now, I see the following problems:
------------------------------------------------------------------------
1) Right-clicking in a sizer and choosing Edit Sizer Settings fails to
open the settings dialog, and you see this in the Python command output
window:
D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py:965:
DeprecationWarning: Deprecated parameter 'hgap' used. Use the 'HGap'
property instead.
sz = dui.dGridSizer(maxCol=2, hgap=8, vgap=5)
D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py:965:
DeprecationWarning: Deprecated parameter 'vgap' used. Use the 'VGap'
property instead.
sz = dui.dGridSizer(maxCol=2, hgap=8, vgap=5)
Traceback (most recent call last):
File
"D:\Programs\Python\lib\site-packages\dabo\dabo\lib\eventMixin.py", line
98, in raiseEvent bindingFunction(event)
File
"D:\Programs\Python\Lib\site-packages\daboide\ClassDesignerComponents.py",
line 509, in onEditSizer
self.Form.app.editSizerSettings(self)
File "D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py",
line 1046, in editSizerSettings
dlg = SizerEditDlg(fillDlg,
BasePrefKey=self.BasePrefKey+".SizerEditDlg")
File "D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py",
line 900, in __init__
super(SizerEditDlg, self).__init__(*args, **kwargs)
File
"D:\Programs\Python\lib\site-packages\dabo\dabo\ui\uiwx\dDialog.py",
line 205, in __init__
super(dOkCancelDialog, self).__init__(parent=parent,
properties=properties,*args, **kwargs)
File
"D:\Programs\Python\lib\site-packages\dabo\dabo\ui\uiwx\dDialog.py",
line 37, in __init__
self._addControls()
File
"D:\Programs\Python\lib\site-packages\dabo\dabo\ui\uiwx\dDialog.py",
line 223, in _addControls
super(dOkCancelDialog, self)._addControls()
File
"D:\Programs\Python\lib\site-packages\dabo\dabo\ui\uiwx\dDialog.py",
line 101, in _addControls
self.addControls()
File "D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py",
line 906, in addControls
self._fillFunc(self)
File "D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py",
line 965, in fillDlg
sz = dui.dGridSizer(maxCol=2, hgap=8, vgap=5)
File
"D:\Programs\Python\lib\site-packages\dabo\dabo\ui\uiwx\dGridSizer.py",
line 61, in __init__
raise TypeError, ("Invalid keyword arguments passed to dGridSizer:
%s") % bad
TypeError: Invalid keyword arguments passed to dGridSizer: maxCol
------------------------------------------------------------------------
2) You see this in the python command output window when you start Dabo
Class Designer:
D:\Programs\Python\lib\site-packages\dabo\dabo\ui\uiwx\dMenu.py:331:
DeprecationWarning: Deprecated; use 'OnHit=<func>' instead.
DeprecationWarning, 1)
D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py:3212:
DeprecationWarning: Deprecated parameter 'hgap' used. Use the 'HGap'
property instead.
sz = mp.Sizer = dui.dGridSizer(MaxCols=5, hgap=spacing, vgap=spacing)
D:\Programs\Python\Lib\site-packages\daboide\ClassDesigner.py:3212:
DeprecationWarning: Deprecated parameter 'vgap' used. Use the 'VGap'
property instead.
sz = mp.Sizer = dui.dGridSizer(MaxCols=5, hgap=spacing, vgap=spacing)
------------------------------------------------------------------------
These things weren't happening before, and if I switch back to the old
dabo 0.7.2s subdirectory under site-packages, the problem and the
warnings go away.
Am I doing something wrong, or is #1 a real bug?
Thanks,
Bill
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
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]