Hi Bert, the last few lines of that traceback points to the problem:
> File "sample.py", line 7, in afterInit
> self.lblHello = dabo.ui.dLabel(self, Caption="Hello Pycon", Fontsize=24,
>
> Forclolor="blue")
> File
> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dLabel.py",
> line 24, in __init__
> attProperties=attProperties, *args, **kwargs)
> File
> "/usr/local/lib/python2.7/dist-packages/Dabo-0.9.8-py2.7.egg/dabo/ui/uiwx/dPemMixin.py",
> line 184, in __init__
> pre.Create(*args, **kwargs)
> File
> "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line
> 1145, in Create
> return _controls_.StaticText_Create(*args, **kwargs)
> TypeError: 'Fontsize' is an invalid keyword argument for this function
> bert@UbuntuServer:~/Projects$ ^C
As the TypeError states, "Fontsize" isn't a valid argument to the dabo.ui.dLabel
constructor. This is because "Fontsize" isn't a property name ("FontSize" is,
however).
I also see that you've mistyped "ForeColor" in the same line of code.
I hope this helps; welcome to Dabo!
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]