{"action":"created","issue":{"url":"https://api.github.com/repos/versae/neo4j-rest-client/issues/121","labels_url":"https://api.github.com/repos/versae/neo4j-rest-client/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/versae/neo4j-rest-client/issues/121/comments","events_url":"https://api.github.com/repos/versae/neo4j-rest-client/issues/121/events","html_url":"https://github.com/versae/neo4j-rest-client/issues/121","id":110676419,"number":121,"title":"Location of conf? error from gdb = GraphDatabase(\"http://localhost:7474/db/data/\")","user":{"login":"scheung38","id":1273014,"avatar_url":"https://avatars.githubusercontent.com/u/1273014?v=3","gravatar_id":"","url":"https://api.github.com/users/scheung38","html_url":"https://github.com/scheung38","followers_url":"https://api.github.com/users/scheung38/followers","following_url":"https://api.github.com/users/scheung38/following{/other_user}","gists_url":"https://api.github.com/users/scheung38/gists{/gist_id}","starred_url":"https://api.github.com/users/scheung38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheung38/subscriptions","organizations_url":"https://api.github.com/users/scheung38/orgs","repos_url":"https://api.github.com/users/scheung38/repos","events_url":"https://api.github.com/users/scheung38/events{/privacy}","received_events_url":"https://api.github.com/users/scheung38/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-09T15:00:51Z","updated_at":"2015-10-09T17:58:27Z","closed_at":null,"body":"The following works in IPython console but not working run as script?\r\n```\r\nfrom neo4jrestclient.client import GraphDatabase\r\n```\r\nnext line:\r\n```\r\ngdb = GraphDatabase(\"http://localhost:7474/db/data/\")\r\n  File \"/Users/seb/anaconda/envs/pyenv2.7.10/lib/python2.7/site-packages/neo4jrestclient/request.py\", line 348, in _request\r\n    raise StatusException(401, \"Authorization Required\")\r\nStatusException: Error [401]: Unauthorized. No permission -- see authorization schemes.\r\nAuthorization Required\r\n```\r\nIn OSX, ~/.bashrc already set:\r\n```\r\nexport NEO4J_USERNAME=neo4j\r\nexport NEO4J_PASSWORD=mypassword\r\n```\r\n\r\nI was in neo4jrestclient 2.1.0, then downgraded to 2.0.0 and still the same. Any idea?"},"comment":{"url":"https://api.github.com/repos/versae/neo4j-rest-client/issues/comments/146948145","html_url":"https://github.com/versae/neo4j-rest-client/issues/121#issuecomment-146948145","issue_url":"https://api.github.com/repos/versae/neo4j-rest-client/issues/121","id":146948145,"user":{"login":"paolodina","id":1157401,"avatar_url":"https://avatars.githubusercontent.com/u/1157401?v=3","gravatar_id":"","url":"https://api.github.com/users/paolodina","html_url":"https://github.com/paolodina","followers_url":"https://api.github.com/users/paolodina/followers","following_url":"https://api.github.com/users/paolodina/following{/other_user}","gists_url":"https://api.github.com/users/paolodina/gists{/gist_id}","starred_url":"https://api.github.com/users/paolodina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paolodina/subscriptions","organizations_url":"https://api.github.com/users/paolodina/orgs","repos_url":"https://api.github.com/users/paolodina/repos","events_url":"https://api.github.com/users/paolodina/events{/privacy}","received_events_url":"https://api.github.com/users/paolodina/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T17:58:27Z","updated_at":"2015-10-09T17:58:27Z","body":"I guess you downloaded Neo4j package and inflated it in some directory right? Conventionally, call this directory NEO4J_HOME. At least in Linux, `conf/neo4j-server.properties` is located under that directory."}}