python - Tkinter error after upgrading to OS X 10.9 -


i have tkinter application ran fine in os x 10.7.5. recently, when upgraded 10.9.2, ceased run, throwing error:

traceback (most recent call last):  file "roitracker.py", line 5127, in <module>    starttracker(filename=filename)  file "roitracker.py", line 5111, in starttracker    tk = tk.tk()  file "/system/library/frameworks/python.framework/versions/2.7/lib/python2.7/lib-tk/tkinter.py", line 1745, in _init_    self.tk = _tkinter.create(screenname, basename, classname, interactive, wantobjects, usetk, sync, use) _tkinter.tclerror: no display name , no $display environment variable 

tkinter , python versions:

user:desktop user$ python python 2.7.5 (default, aug 25 2013, 00:04:04)  [gcc 4.2.1 compatible apple llvm 5.0 (clang-500.0.68)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import tkinter >>> tkinter.__version__ '$revision: 81008 $' >>> exit() 

contents of $display variable:

user:desktop user$ echo $display  user:desktop user$ 

as per this similar-sounding problem, tried

launchctl load -w /library/launchagents/org.macosforge.xquartz.startx.plist 

and got

couldn't stat("/library/launchagents/org.macosforge.xquartz.startx.plist"): no such file or directory nothing found load 

not sure if naive or not - i'm pretty ignorant how windowing backends work.

i running of these commands locally.

thank help!


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -