HumanBrainProject / hbp-neuromorphic-client

Python client for the Human Brain Project Neuromorphic Computing Platform
Other
49 stars 20 forks source link

JSON conversion problem #19

Open ColaCheese opened 2 years ago

ColaCheese commented 2 years ago

Hi,

I am trying to use nmpi.Client("username") to login from my local mechine, but when I running this python file, I got json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0).

This error located in nmpi_user.py file, line 194, config = r_val.json(). It seems that the r_val is a text/html file, which cannot be coverted to json using json() function.

My python version is 3.8.9, and hbp_neuromorphic_platform package version is 0.10.1

截屏2022-06-30 下午4 01 25 截屏2022-06-30 下午3 58 36 截屏2022-06-30 下午3 57 34