The problem has been solved. It was a case of incompatible X versions across the various compilations of Tcl, Tk, python, and X.
Thanks for all the replies. David Redish