Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSONDecodeError Running Example #19

Open
mjlabe opened this issue Apr 20, 2023 · 0 comments
Open

JSONDecodeError Running Example #19

mjlabe opened this issue Apr 20, 2023 · 0 comments

Comments

@mjlabe
Copy link

mjlabe commented Apr 20, 2023

Running the basic example raises a JSONDecodeError.

Traceback (most recent call last):
  File "/src/controller.py", line 10, in <module>
  simData = requests.get("http://time.jsontest.com/").json()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 975, in json
  raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
  requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

hoverfly v1.5.2*
hoverpy 0.2.2

  • v1.5.2 was installed, but running the example downloads 0.10.1:
    DOWNLOADING HOVERFLY FROM https://github.com/SpectoLabs/hoverfly/releases/download/v0.10.1/hoverfly_bundle_linux_amd64.zip TO /tmp/tmpm9e2399d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant