incomplete definition in wsjt.py on ubuntu/Linux ??

2 posts / 0 new
Last post
7L1RLL
7L1RLL's picture
Online
Last seen: 1 min 31 sec ago
Joined: 2008/10/25 - 13:35
incomplete definition in wsjt.py on ubuntu/Linux ??

Hi
I tried to make a break point in wsjt.py on ubuntu/Linux so that segmentation error point could be found.
When I added a break(s=input('give number at 2195 line : ') at line 2195 of wsjt.py, the screen shot showed us that global name 'options' is not defined. See the screen shot bellow.
'options.MyGrid and HisGrid' may be unmatch-interface between python 2.5 and wsjt.py.
Please pass this informaion to the developper's group.
My environment is ubuntu8.04 , WSJT 5.97 r383, python 2.5 and Sony vaio laptop.

----------- Start of Screen shot ---------------------
rick@vaio3rd:~$ wsjt
******************************************************************
WSJT Version 5.9.7 r383 , by K1JT
Revision date: 2007-05-04 23:17:52 +1000 (Fri, 04 May 2007)
Run date: Sun Mar 15 12:44:28 2009 UTC
give number at 2125 line : Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1406, in __call__
return self.func(*args)
File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 501, in callit
func(*args)
File "/usr/share/wsjt/wsjt.py", line 1396, in update
options.MyGrid.get().upper(),HisGrid.get().upper(),utchours)
NameError: global name 'options' is not defined
----------- End of Screen shot -------------------------
73