Skip to content

No JSON object could be decoded when running $ python setup.py test #9

@rchoudh2

Description

@rchoudh2

On Windows 10, with Python 2.7.14 installed, while running $ python setup.py test command, it throws the following error:
ValueError: No JSON object could be decoded

Traceback (most recent call last):
File "c:\python27\lib\site-packages\hoverpy\hoverpy\hoverpy\tests\testVirtualisation.py", line 55, in testDecorators
epoch = testCapture()
File "c:\python27\lib\site-packages\hoverpy\hoverpy\hoverpy\decorators.py", line 13, in wrapped_f
return f(*args)
File "c:\python27\lib\site-packages\hoverpy\hoverpy\hoverpy\tests\testVirtualisation.py", line 42, in testCapture
j = r.json()
File "C:\Python27\lib\site-packages\requests\models.py", line 812, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Python27\lib\json_init_.py", line 339, in loads
return _default_decoder.decode(s)
File "C:\Python27\lib\json\decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions