You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trying the above statement with my username and pwd but it throws error
Traceback (most recent call last):
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 258, in get
response = self.__base.get(headers=headers, redirect_limit=redirect_limit, **kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 966, in get
return self.__get_or_head("GET", if_modified_since, headers, redirect_limit, **kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 943, in __get_or_head
return rq.submit(redirect_limit=redirect_limit, **kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 452, in submit
return Response.wrap(http, uri, self, rs, **response_kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 489, in wrap
raise inst
py2neo.packages.httpstream.http.ClientError: 401 Unauthorized
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "import_all.py", line 204, in
create_schema(graph)
File "import_all.py", line 139, in create_schema
graph.cypher.execute("CREATE CONSTRAINT ON (a:Airport) ASSERT a.id IS UNIQUE;")
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 661, in cypher
metadata = self.resource.metadata
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 213, in metadata
self.get()
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 261, in get
raise Unauthorized(self.uri.string)
py2neo.error.Unauthorized: http://localhost:7474/db/data/
The text was updated successfully, but these errors were encountered:
trying the above statement with my username and pwd but it throws error
Traceback (most recent call last):
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 258, in get
response = self.__base.get(headers=headers, redirect_limit=redirect_limit, **kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 966, in get
return self.__get_or_head("GET", if_modified_since, headers, redirect_limit, **kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 943, in __get_or_head
return rq.submit(redirect_limit=redirect_limit, **kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 452, in submit
return Response.wrap(http, uri, self, rs, **response_kwargs)
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/packages/httpstream/http.py", line 489, in wrap
raise inst
py2neo.packages.httpstream.http.ClientError: 401 Unauthorized
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "import_all.py", line 204, in
create_schema(graph)
File "import_all.py", line 139, in create_schema
graph.cypher.execute("CREATE CONSTRAINT ON (a:Airport) ASSERT a.id IS UNIQUE;")
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 661, in cypher
metadata = self.resource.metadata
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 213, in metadata
self.get()
File "/home/shashank/anaconda3/lib/python3.5/site-packages/py2neo/core.py", line 261, in get
raise Unauthorized(self.uri.string)
py2neo.error.Unauthorized: http://localhost:7474/db/data/
The text was updated successfully, but these errors were encountered: