Skip to content

json.decoder.JSONDecodeError on Windows 10 with Python 3.7.0 32-bit #44

Open
@clc14

Description

@clc14

I get this error when I try to run mech:

mech init bento/ubuntu-14.04
Initializing mech
Traceback (most recent call last):
File "C:\Users\clc\AppData\Local\Programs\Python\Python37-32\Scripts\mech-script.py", line 11, in
load_entry_point('mech==0.7.6', 'console_scripts', 'mech')()
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\site-packages\mech_main_.py", line 39, in main
return Mech(arguments)()
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\site-packages\mech\command.py", line 89, in call
obj = klass(arguments)
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\site-packages\mech\mech.py", line 572, in init
if utils.init_mechfile(instance_name, url, name=name, version=version, requests_kwargs=requests_kwargs):
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\site-packages\mech\utils.py", line 471, in init_mechfile
path = index_active_instance(instance_name)
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\site-packages\mech\utils.py", line 458, in index_active_instance
'path': path,
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\site-packages\mech\utils.py", line 201, in settle_instance
instances = json.loads(uncomment(fp.read()))
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "c:\users\clc\appdata\local\programs\python\python37-32\lib\json\decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 3 (char 4)

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