Problem with Pmw

David LeBlanc whisper at oz.net
Wed May 15 15:58:40 EDT 2002


Python 2.2.1 and Pmw 0.8.5

Attempting to run any demo returns this error:

Error: 1
KeyError Exception in Tk callback
  Function: <function callit at 0x00CCECA0> (type: <type 'function'>)
  Args: ()
Traceback (innermost last):
  File "J:\Python22\Lib\site-packages\Pmw\Pmw_0_8_5\lib\PmwBase.py", line
1690, in __call__
    return apply(self.func, args)
  File "J:\Python22\lib\lib-tk\Tkinter.py", line 436, in callit
    apply(func, args)
  File "J:\Python22\Lib\site-packages\Pmw\Pmw_0_8_5\tests\Test.py", line
414, in _runTest
    _methodTest(w, methodTestData)
  File "J:\Python22\Lib\site-packages\Pmw\Pmw_0_8_5\tests\Test.py", line
479, in _methodTest
    name = 'static method ' + func.__dict__['_func'].func_code.co_name
KeyError: _func

David LeBlanc
Seattle, WA USA






More information about the Python-list mailing list