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

JSON decode error when running specs #125

Closed
sriv opened this issue Dec 24, 2018 · 1 comment
Closed

JSON decode error when running specs #125

sriv opened this issue Dec 24, 2018 · 1 comment
Assignees

Comments

@sriv
Copy link
Member

sriv commented Dec 24, 2018

Description

gauge run specs spits out a JSON decode warning.

Traceback (most recent call last):
  File "check_and_install_getgauge.py", line 47, in <module>
    assert_versions()        
  File "check_and_install_getgauge.py", line 31, in assert_versions
    python_plugin_version = get_version()
  File "check_and_install_getgauge.py", line 13, in get_version
    data = json.loads(str(out.decode()))
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Steps to reproduce

  1. gauge init python
  2. gauge run specs
  3. Observe console

Information that will help us debug

  • Gauge version -
Gauge version: 1.0.4
Commit Hash: 90b8b48
  • Gauge Python plugin version
    0.3.5.nightly-2018-12-05
  • Python version Python 3.6.7
  • getgauge package version, run pip3 show getgauge to get it
Name: getgauge
Version: 0.3.4
Summary: Enables Python support for Gauge
Home-page: https://github.com/getgauge/gauge-python
Author: Gauge Team
Author-email: getgauge@outlook.com
License: MIT
Location: /home/steam/.local/lib/python3.6/site-packages
Requires: redBaron, parso, six, grpcio, protobuf, ptvsd
  • OS information Linux, debian based
@gaugebot
Copy link

gaugebot bot commented Dec 24, 2018

The fix should be available in nightly >= 24-12-2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants