SensorsIot / IOTstack

Docker stack for getting started on IOT on the Raspberry PI
GNU General Public License v3.0
1.44k stars 304 forks source link

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

Closed Paraphraser closed 2 years ago

Paraphraser commented 2 years ago

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.

ukkopahis commented 2 years ago

Should be fixed by my recent PR #584

Paraphraser commented 2 years ago

Okey dokey. Thanks.