User 1375 | 5/28/2015, 7:17:12 PM
We have not been able to identify the pattern which leads to this error, but it is happening rather frequently. The product key entry inside
.graphlab/config keeps mysteriously getting wiped-out during the run of a standalone python script, which then causes the following error during any subsequent runs:
ERROR] [graphlab.connect.main] License check failed: Unable to validate license. Contact firstname.lastname@example.org.
Traceback (most recent call last):
File "trainer.py", line 386, in <module>
File "trainer.py", line 324, in main
File "/root/utils.py", line 99, in init
File "/root/utils.py", line 66, in gl_init
gl.set_runtime_config('GRAPHLAB_FILEIO_MAXIMUM_CACHE_CAPACITY', conf.int('graphlab_fileio_maximum_cache_capacity_gb') * 1e9)
File "/root/anaconda/envs/graphlab/lib/python2.7/site-packages/graphlab/util.py", line 499, in set_runtime_config
unity = _glconnect.get_unity()
File "/root/anaconda/envs/graphlab/lib/python2.7/site-packages/graphlab/connect/main.py", line 264, in get_unity
assert is_connected(), ENGINE_START_ERROR_MESSAGE
AssertionError: Cannot connect to GraphLab Create engine. Contact email@example.com for help.
Once that happens, we have no choice but to copy the license file from another machine.