Menu

#414 obsolete environment variable in holecircle.py

2.6
open
nobody
None
5
2015-01-29
2015-01-28
No

John Thornton reports a bug in holecircle.py:

08:09:45 < JT-Shop> looks like holecircle.py needs an update
08:09:51 < JT-Shop> Traceback (most recent call last):
08:09:52 < JT-Shop> File "/home/john/linuxcnc/nc_files/examples/holecircle.py", line 2, in <module>
08:09:52 < JT-Shop> BASE = os.environ['EMC2_HOME']
08:09:52 < JT-Shop> File "/usr/lib/python2.7/UserDict.py", line 23, in getitem
08:09:52 < JT-Shop> raise KeyError(key)
08:09:52 < JT-Shop> KeyError: 'EMC2_HOME'</module>

This bug is probably in 2.6 and later.

Discussion

  • Sebastian Kuzminsky

    • Group: future-release --> 2.6
     
  • Sebastian Kuzminsky

    Bug is present in 2.6 too.

     
MongoDB Logo MongoDB