File not found for `iotile freeze`
- Dominant language
- Python
- Stars
- 14
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
When used on CI servers, this traceback was given.
2019-03-19 21:59:48
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/iotile/core/scripts/iotile_script.py", line 206, in main
finished = shell.invoke(line)
File "/usr/local/lib/python3.6/site-packages/typedargs/shell.py", line 489, in invoke
val, line, finished = self.invoke_one(line)
File "/usr/local/lib/python3.6/site-packages/typedargs/shell.py", line 452, in invoke_one
val = func(*posargs, **kwargs)
File "/usr/local/lib/python3.6/site-packages/iotile/core/dev/annotated_registry.py", line 110, in freeze
self.reg.freeze_extensions()
File "/usr/local/lib/python3.6/site-packages/iotile/core/dev/registry.py", line 237, in freeze_extensions
with open(output_path, "w") as outfile:
2019-03-19 21:59:48
FileNotFoundError: [Errno 2] No such file or directory: '/root/.config/IOTile-Core/frozen_extensions.json'
The work around was to make sure the path to /root/.config/IOTile-Core existed.
Contributor guide
Assessment
This issue has not been assessed yet.