[RuntimeError: Invalid value] When trying to change GRAPHLAB_CACHE_FILE_LOCATIONS

User 1319 | 2/26/2015, 11:13:01 PM

I got [RuntimeError: Invalid value] when I tried to change the default GRAPHLABCACHEFILELOCATIONS using graphlab.setruntime_config(). I followed the steps described by @DannyBickson in this discussion http://forum.dato.com/discussion/782/alternate-disk-volume. However, I keep getting the same error.

I am using GraphLab Create 1.3 on a laptop running Ubuntu 14.04 (64). The hard disk is partitioned as follows (~50 GB root (/), ~4GB Swap, and ~450GB (/home)).

Here is my code: mygraphlabcachefilelocations = '/home/tmpgraphlab' gl.setruntimeconfig('GRAPHLABCACHEFILELOCATIONS',mygraphlabcachefilelocations)

Error Traceback: <img src="http://cdn.vanillaforums.com/graphlab.vanillaforums.com/editor/oy/z43w54nqfw4n.jpg" alt="" />


User 1319 | 2/26/2015, 11:23:38 PM

I've figured out my mistake. The path should include the user as follows: mygraphlabcachefilelocations = ''/home/tarek/tmp_graphlab'.

User 1774 | 9/11/2015, 2:39:03 PM

Weird, because it spitted out a different error for me when trying to refer to a nonexistant location... Oh well :)