12 Nov
2003
12 Nov
'03
10:25 a.m.
Hi Peter, I have similar problem on MacOS X before. What I did to bypass it is not to use explicit base in atoi() in string.py as the error message said: def atoi(s, *args): return _int(s, *args)
File "/usr/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwMenuBar.py", line 155, in addmenuitem self._addHotkeyToOptions(menuName, kw, 'label', traverseSpec) File "/usr/lib/python2.3/site-packages/Pmw/Pmw_1_1/lib/PmwMenuBar.py", line 201, in _addHotkeyToOptions underline = string.atoi( File "/usr/lib/python2.3/string.py", line 220, in atoi return _int(s, base) TypeError: int() can't convert non-string with explicit base
Tsu-Chien <Chien>001000</Chien>