[ocemp-devel] exception when calling create_style on container widget
Status: Beta
Brought to you by:
marcusva
From: stas z. <sta...@gm...> - 2006-12-02 15:49:39
|
Hi, when trying to call create_style on a VFrame widget I get an exception. As (V)Frame inherits from Container which inherets from BaseWidget I assume this is an error. Greets, Stas Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ocempgui >>> ocempgui.__version__ '0.2.3' >>> >>> import ocempgui.widgets as ocw open /dev/sequencer: No such file or directory >>> vf = ocw.VFrame() >>> vf.create_style() Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/ocempgui/widgets/BaseWidget.py", line 576, in create_style self._style = base.GlobalStyle.copy_style (self.__class__) File "/usr/lib/python2.4/site-packages/ocempgui/widgets/Style.py", line 492, in copy_style style[key] = copy.deepcopy (subkey, sub[subkey]) File "/usr/lib/python2.4/copy.py", line 166, in deepcopy y = memo.get(d, _nil) AttributeError: 'tuple' object has no attribute 'get' >>> -- We are not rich because of the things that we possess, but for what we can do without possessing them. -- Immanuel Kant |