<div dir="ltr">Hi<div><br></div><div>I think I followed the instructions but spec2modules.py died with this:</div><div><br></div><div>(env) [joel@localhost rtems-central]$ ./spec2modules.py<br>Traceback (most recent call last):<br>  File "./spec2modules.py", line 84, in <module><br>    main()<br>  File "./spec2modules.py", line 70, in main<br>    item_cache = rtemsspec.items.ItemCache(config["spec"])<br>  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/items.py", line 655, in __init__<br>    self._load_items(config)<br>  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/items.py", line 758, in _load_items<br>    self._load_items_recursive(str(index), path, path, cache_dir)<br>  File "/home/joel/rtems-work/rtems/rtems-central/rtemsspec/items.py", line 746, in _load_items_recursive<br>    for name in os.listdir(path):<br>FileNotFoundError: [Errno 2] No such file or directory: 'modules/rtems/spec'<br>(env) [joel@localhost rtems-central]$ vi spec2modules.py <br>(env) [joel@localhost rtems-central]$ /usr/bin/env python<br>Python 3.6.12 (default, Oct 23 2020, 13:36:31) <br>[GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>></div><div><br></div><div>A bit of investigation showed that the various rtems module directories were empty. Can the tool do a sanity check and report something more useful than a stack trace?</div><div><br></div><div>I feel like an old man yelling at clouds but a stack trace is a horrible way to report what is a reasonable to expect setup error. A simple check and message to hint what's going on really and how to resolve it would be better.</div><div><br></div><div>--joel</div></div>