Hi Peter, Nope, this is not a silly beginner's mistakes. And as Tsu-Chien points out, it looks like a real problem between python2.3 and Pmw1.1 when converting strings to integers. I have not tried Pmw with python2.3 on linux or OS X myself, but will investigate. --Matt On Wed, 12 Nov 2003, Peter Pfalzer wrote:
Hi all,
I recently installed the ifeffit package on my new Linux system. When I installed the python wrapper (including gifeffit) I didn't notice any error message, but trying to start gifeffit results in the following output: --------------- Traceback (most recent call last): File "/usr/local/ifeffit/bin/gifeffit", line 3, in ? GIFeffit.GIFeffit(sys.argv[1:]) File "/usr/lib/python2.3/site-packages/Ifeffit/GIFeffit.py", line 287, in __init__ self.createMenubar(self.root) File "/usr/lib/python2.3/site-packages/Ifeffit/GIFeffit.py", line 393, in createMenubar command=Command(self.read_cmndfile, self.root)) 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 ----------- (and gifeffit is not starting, of course). Does anyone of you have an idea what is going wrong? (I'm not a linux expert. Maybe this is a silly beginners mistake!)
Thanks, Peter