{"action":"created","issue":{"url":"https://api.github.com/repos/HazyResearch/deepdive/issues/215","labels_url":"https://api.github.com/repos/HazyResearch/deepdive/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/HazyResearch/deepdive/issues/215/comments","events_url":"https://api.github.com/repos/HazyResearch/deepdive/issues/215/events","html_url":"https://github.com/HazyResearch/deepdive/issues/215","id":56456540,"number":215,"title":"issue with Context.deepdiveHome","user":{"login":"samzhang111","id":2800289,"avatar_url":"https://avatars.githubusercontent.com/u/2800289?v=3","gravatar_id":"","url":"https://api.github.com/users/samzhang111","html_url":"https://github.com/samzhang111","followers_url":"https://api.github.com/users/samzhang111/followers","following_url":"https://api.github.com/users/samzhang111/following{/other_user}","gists_url":"https://api.github.com/users/samzhang111/gists{/gist_id}","starred_url":"https://api.github.com/users/samzhang111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samzhang111/subscriptions","organizations_url":"https://api.github.com/users/samzhang111/orgs","repos_url":"https://api.github.com/users/samzhang111/repos","events_url":"https://api.github.com/users/samzhang111/events{/privacy}","received_events_url":"https://api.github.com/users/samzhang111/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T23:39:15Z","updated_at":"2015-02-04T00:02:33Z","closed_at":null,"body":"Hi all,\r\n\r\nI am working through the tutorial, and running this inference rule (http://deepdive.stanford.edu/doc/basics/walkthrough/walkthrough.html#inference_rules), fails with this error (cannot find tobinary.py):\r\n\r\nhttp://pastebin.com/5XWLcMGm\r\n\r\nIt looks like the error comes from scala/org/deepdive/inference/datastore/SQLInferenceDataStore.scala on line 918:\r\n```val cmd = s\"python ${Context.deepdiveHome}/util/tobinary.py ${groundingPath} ```\r\n\r\nIt looks like Context.deepdiveHome is being set to \"/home/ec2-user/\" instead of \"/home/ec2-user/deepdive\". In scala/org/deepdive/Context.scala, this happens if the \"DEEPDIVE_HOME\" environment variable is not found.\r\n\r\nBut DEEPDIVE_HOME is set:\r\n\r\n$ echo $DEEPDIVE_HOME\r\n/home/ec2-user/deepdive\r\n\r\nI am running Deepdive from the latest master branch. \r\nI am also running the inference rule independently as its own task in a pipeline.\r\n\r\n```pipeline.pipelines.current: [\r\n    \"f_has_spouse_features\"\r\n]```\r\n\r\n```pipeline.run: \"current\"```\r\n\r\nThoughts?\r\n\r\nThanks,\r\nSam"},"comment":{"url":"https://api.github.com/repos/HazyResearch/deepdive/issues/comments/72763717","html_url":"https://github.com/HazyResearch/deepdive/issues/215#issuecomment-72763717","issue_url":"https://api.github.com/repos/HazyResearch/deepdive/issues/215","id":72763717,"user":{"login":"feiranwang","id":5935656,"avatar_url":"https://avatars.githubusercontent.com/u/5935656?v=3","gravatar_id":"","url":"https://api.github.com/users/feiranwang","html_url":"https://github.com/feiranwang","followers_url":"https://api.github.com/users/feiranwang/followers","following_url":"https://api.github.com/users/feiranwang/following{/other_user}","gists_url":"https://api.github.com/users/feiranwang/gists{/gist_id}","starred_url":"https://api.github.com/users/feiranwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feiranwang/subscriptions","organizations_url":"https://api.github.com/users/feiranwang/orgs","repos_url":"https://api.github.com/users/feiranwang/repos","events_url":"https://api.github.com/users/feiranwang/events{/privacy}","received_events_url":"https://api.github.com/users/feiranwang/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T00:02:33Z","updated_at":"2015-02-04T00:02:33Z","body":"@zifeishan Do you have any idea on this?"}}