Program Filter EMC2_BASE Variable

More
16 Sep 2013 23:11 #38888 by ljask
I would like to make use of the Python Program Filters, but... When running the holecircle.py example, at line 2 it is looking for the environment variable EMC2_HOME. As a test, I defined it in [EMC] section of the axis.ini file simply setting it to ~/. This threw a KeyError exception, at file /usr/lib/python2.6/UserDict.py, line 22 in __getitem__.

What is the correct value of this variable, and where is the recommended place to set it.

I just downloaded the latest distro of Ubuntu 10.04 and LinuxCNC 2.5.3.

Thanks!!

Please Log in or Create an account to join the conversation.

More
16 Sep 2013 23:31 #38889 by ljask
Well, I solved my own problem. Consistent with the renaming of everything EMC2 to LinuxCNC, the key in the dictionary was renamed to LINUXCNC_HOME. Changing the .py code to look for that name was successful.

Sorry for the trouble, but I hope this helps someone else.

Please Log in or Create an account to join the conversation.

Time to create page: 0.141 seconds
Powered by Kunena Forum