![]() ![]() |
||
![]() |
![]() |
|
![]() |
[wingide-users] Running Tix samples under Wing?Wing IDE Support support at wingide.comThu, 3 Apr 2003 14:53:56 -0500 (EST)
This is probably just a false positive in Wing's unhandled exception detector. If you say "Ignore this exception location" in the error list window and "Continue Execution" the ignore point will be stored in your project file and Wing will ignore this exception in the future. The reason these occur is that Wing sees the exception but cannot see into C/C++ ext code that is handling or clearing it. This can be confusing at first but stopping immediately only on unhandled exceptions (at a time when you can see the program state) is generally worth the relatively few cases where you run into false positives like this. You can also alter the exception handling mode from the Run / Exception Mode menu or in preferences. Hope that helps. If that's not what it was, please let us know. Thanks, Stephan Deibel -- Wing IDE for Python Archaeopteryx Software, Inc Take Flight! www.wingide.com On Thu, 3 Apr 2003 gary.h.merrill@gsk.com wrote: > 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 > > > > _________________________________________________ > Wing IDE discussion list > http://wingide.com/support/forum >
Run by Mailman v 2.0.8 |
|
|
Copyright (c) 2000-2002, Archaeopteryx Software, Inc. Legal Statements | ||