![]() ![]() |
||
![]() |
![]() |
|
![]() |
[wingide-users] Running Tix samples under Wing?gary.h.merrill@gsk.com gary.h.merrill at gsk.comThu, 3 Apr 2003 14:24:08 -0500
This is pretty puzzling. If I run a Tix sample directly via Python (2.2),
it works just fine. Attempting to run it under Wing results in the
diagnostic below. What am I missing here?
Attribute not found: __nonzero__
Traceback (innermost last):
File "<string>", line 1, in ?
File "k:\Tools\Python22\Demo\tix\samples\SHList2.py", line 168, in ?
RunSample(root)
File "k:\Tools\Python22\Demo\tix\samples\SHList2.py", line 24, in RunSample
shlist = DemoSHList(root)
File "k:\Tools\Python22\Demo\tix\samples\SHList2.py", line 44, in __init__
top.a = Tix.ScrolledHList(top, options='hlist.columns 3
hlist.header 1' )
File "K:\Tools\Python22\Lib\lib-tk\Tix.py", line 1304, in __init__
self.subwidget_list['hlist'] = _dummyHList(self, 'hlist')
File "K:\Tools\Python22\Lib\lib-tk\Tix.py", line 1661, in __init__
TixSubWidget.__init__(self, master, name, destroy_physically)
File "K:\Tools\Python22\Lib\lib-tk\Tix.py", line 439, in __init__
check_intermediate=0)
File "K:\Tools\Python22\Lib\lib-tk\Tix.py", line 426, in __init__
TixWidget.__init__(self, master, None, None, {'name' : name})
File "K:\Tools\Python22\Lib\lib-tk\Tix.py", line 302, in __init__
Widget._setup(self, master, cnf)
File "K:\Tools\Python22\Lib\lib-tk\Tkinter.py", line 1723, in _setup
if not master:
File "K:\Tools\Python22\Lib\lib-tk\Tix.py", line 326, in __getattr__
raise AttributeError, name
--------------------------------------
Gary H. Merrill
Director and Principal Scientist, New Applications
Data Exploration Sciences
GlaxoSmithKline Inc.
(919) 483-8456
Run by Mailman v 2.0.8 |
|
|
Copyright (c) 2000-2002, Archaeopteryx Software, Inc. Legal Statements | ||