I went to install starcli on my personal MBP and ran into following problem:
starcli
Traceback (most recent call last):
File "/opt/homebrew/bin/starcli", line 8, in <module>
sys.exit(cli())
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/homebrew/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/opt/homebrew/lib/python3.10/site-packages/starcli/__main__.py", line 191, in cli
with open(CACHED_RESULT_PATH, "a+") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/dkankalovich/.cache/starcli.json'
It seems like some regression happened in latest versions and now starcli expects that cache file to be present.
Python version
3.10
your operating system (and terminal type or shell of needed)
I went to install
starcli
on my personal MBP and ran into following problem:It seems like some regression happened in latest versions and now starcli expects that cache file to be present.
Python version
3.10
your operating system (and terminal type or shell of needed)
macOS 13.1 (22C65)
starcli version
starcli==2.17.1
reproduce
Delete
~/.cache
dir and runstarcli
.workaround
Create an empty json file: