You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use showman to execute a python script:
/home/x/myenv/bin/showman execute x.typ
but getting the following errors:
Traceback (most recent call last):
File "/home/x/myenv/bin/showman", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/x/myenv/lib64/python3.12/site-packages/showman/__main__.py", line 21, in main
return fire.Fire(
^^^^^^^^^^
File "/home/x/myenv/lib64/python3.12/site-packages/fire/core.py", line 143, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/x/myenv/lib64/python3.12/site-packages/fire/core.py", line 477, in _Fire
component, remaining_args = _CallAndUpdateTrace(
^^^^^^^^^^^^^^^^^^^^
File "/home/x/myenv/lib64/python3.12/site-packages/fire/core.py", line 693, in _CallAndUpdateTrace
component = fn(*varargs, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/x/myenv/lib64/python3.12/site-packages/showman/executer.py", line 341, in execute
runner = CodeRunner(root_dir or os.getcwd(), config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/x/myenv/lib64/python3.12/site-packages/showman/executer.py", line 202, in __init__
self.workspace_cache = json.load(f)
^^^^^^^^^^^^
File "/usr/lib64/python3.12/json/__init__.py", line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I am trying to use showman to execute a python script:
but getting the following errors:
The document
x.typ
is:The text was updated successfully, but these errors were encountered: