arangodb - PyArango.Connection Fails with json.decoder.JSONDecodeError was unhandled by user code -


i attempting use pyarango driver arangodb. using python 3.5.2 windows (that provided organization) , arangodb 3.0 running locally on computer.

i run following in python interactive shell (or in script):

from pyarango.connection import * myconnection = connection() 

when connection() line evaluated following output console:

traceback (most recent call last):   file "<stdin>", line 1, in <module>   file "c:\users\xxxxx\appdata\local\programs\python\python35-32\lib\site-packages\pyarango\connection.py", line 88, in __init__     self.reload()   file "c:\users\xxxxx\appdata\local\programs\python\python35-32\lib\site-packages\pyarango\connection.py", line 107, in reload     data = r.json()   file "c:\users\xxxxx\appdata\local\programs\python\python35-32\lib\site-packages\requests\models.py", line 812, in json     return complexjson.loads(self.text, **kwargs)   file "c:\users\xxxxx\appdata\local\programs\python\python35-32\lib\json\__init__.py", line 319, in loads     return _default_decoder.decode(s)   file "c:\users\xxxxx\appdata\local\programs\python\python35-32\lib\json\decoder.py", line 339, in decode     obj, end = self.raw_decode(s, idx=_w(s, 0).end())   file "c:\users\xxxxx\appdata\local\programs\python\python35-32\lib\json\decoder.py", line 357, in raw_decode     raise jsondecodeerror("expecting value", s, err.value) none json.decoder.jsondecodeerror: expecting value: line 1 column 1 (char 0) 

the online tutorial/documentation @ https://www.arangodb.com/tutorials/tutorial-python/ , https://github.com/tariqdaouda/pyarango indicates support arangodb 3.x , python 3.4. has enyone else encountered problem attempting use python 3.5 pyarango driver? if there resolution issue?

thanks

the problem caused firewall/proxy blocking http requests python http client. firewall/proxy returned html error page caused json decode error when processed json parser used pyarango. maintainers of pyarango added log output on json decode failure made error condition obvious. attempting access arango server browser such firefox not blocked firewall/proxy.


Comments