After an update session, x (twm) was restarted on the GO704 mill install.

Now Rainers python script will not run, BACKGROUND undefined, and 
presumably, following normal proceedure if I get that fixed, the 
FOREGROUND will be used as the next excuse to exit the script.

Fail msg:

gene@GO704:~/linuxcnc$ python python_opencv_camera_example_with_gui.py
Traceback (most recent call last):
  File "python_opencv_camera_example_with_gui.py", line 278, in <module>
    main()
  File "python_opencv_camera_example_with_gui.py", line 222, in main
    root = Tk()
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1712, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, 
interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name "BACKGROUND"

What can I put in ~/.basrc or ~/.profile that will fix this till the next 
install wipes it out?  I tried 'export BACKGROUND=0,0,0' (for black) and 
while it shows in an env report, it has no effect.

I know this was hashed at length, a year or more ago, but can't recall 
what was done before.

Thanks all.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to