#16 splitlist error - Python 2.2 - 2.3b1

closed-out-of-date
nobody
None
5
2012-07-12
2003-06-22
Anonymous
No

Running Pmw demo/Notebook_3.py under Python 2.2 or
2.3b1 gives the following traceback:

Error: 1
TypeError Exception in Tk callback
Function: <bound method NoteBook._handleMap of
<_Pmw.Pmw_1_1.lib.PmwNoteBook.NoteBook instance at
0x4064c02c>> (type: <type 'instancemethod'>)
Args: (<Tkinter.Event instance at 0x406130ac>,)
Event type: MapNotify (type num: 19)
Traceback (innermost last):
File "../../../Pmw/Pmw_1_1/lib/PmwBase.py", line 1737, in
__call__
None
File
"/usr/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwNoteBook.py",
line 362, in _handleMap
self._layout()
File
"/usr/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwNoteBook.py",
line 552, in _layout
canvasBorder, hullHeight - canvasBorder,
File "<string>", line 1, in coords
None
File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 2030, in
coords
self.tk.splitlist(
TypeError: splitlist() argument 1 must be (encoded string
without NULL bytes), not str

This seems to be a Unicode-related problem?

-- gkiffney@energymine.com

Discussion

  • Logged In: NO

    Fixed by PMW 1.2.

     
  • Adrian
    Adrian
    2012-07-12

    • status: open --> closed-out-of-date