SensorsIot/IOTstack

WebThings Gateway produces spurious error on first menu run after clean install

Paraphraser opened this issue · 2 comments

I'm opening this issue to record the problem. I'm hoping that someone who is interested in WebThings will investigate further, find the cause, and file a PR which fixes the problem and closes this issue.

On a clean clone of IOTstack (master branch), the FIRST run of the menu produces this error:

Error. 'webthings_gateway' Tried to run 'webthingsio_gateway' config

It's one of those weird messages that flicks past quickly as the menu runs - you have to scroll back after the menu exits to see it.

This appears to be the source of the message:

.templates/webthings_gateway/build.py:  print("Error. '{}' Tried to run 'webthingsio_gateway' config".format(currentServiceName))

webthings_gateway was NOT selected so there is no obvious reason why that script should have been invoked.

Should be fixed by my recent PR #584

Okey dokey. Thanks.