iotile / iotile/coretools

File not found for `iotile freeze`

Open
#735 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.