question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add-on store attempts to validate file internal to add-on.

See original GitHub issue

Describe the issue you are experiencing

The supervisor (Add-on store?) attempts to validate a config file internal to add-on. File is in a subfolder of the add-on, irrelevant for presentation in the Add-on store.

What is the used version of the Supervisor?

supervisor-2021.03.6

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

What is the version of your installed operating system?

5.12

What version of Home Assistant Core is installed?

core-2021.3.4

Steps to reproduce the issue

  1. Add repository https://github.com/fredrikbaberg/hassio-addons to Add-on store.
  2. Reload.
  3. See warning in supervisor log. …

Anything in the Supervisor logs that might be useful for us?

# Put your logs below this line

21-03-26 08:53:26 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/774437fd/octoprint_dev/FS/octoprint/config.yaml: Invalid Add-on config!. Got ordereddict([('accessControl', ordereddict([('autologinAs', 'homeassistant'), ('autologinLocal', True), ('localNetworks', ['172.30.32.2'])])), ('folder', ordereddict([('data', '/data/octoprint/data'), ('generated', '/data/octoprint/generated'), ('logs', '/data/octoprint/logs'), ('plugins', '/data/octoprint/plugins'), ('virtualSd', '/data/octoprint/virtualSd'), ('timelapse_tmp', '/data/octoprint/timelapse/tmp'), ('printerProfiles', '/config/octoprint/printerProfiles'), ('slicingProfiles', '/co...
21-03-26 08:53:27 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/774437fd/octoprint/FS/octoprint/config.yaml: Invalid Add-on config!. Got ordereddict([('accessControl', ordereddict([('autologinAs', 'homeassistant'), ('autologinLocal', True), ('localNetworks', ['172.30.32.2'])])), ('folder', ordereddict([('data', '/data/octoprint/data'), ('generated', '/data/octoprint/generated'), ('logs', '/data/octoprint/logs'), ('plugins', '/data/octoprint/plugins'), ('virtualSd', '/data/octoprint/virtualSd'), ('timelapse_tmp', '/data/octoprint/timelapse/tmp'), ('printerProfiles', '/config/octoprint/printerProfiles'), ('slicingProfiles', '/co...
21-03-26 08:53:27 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/774437fd/octoprint_dev/FS/octoprint/config.yaml: Invalid Add-on config!. Got ordereddict([('accessControl', ordereddict([('autologinAs', 'homeassistant'), ('autologinLocal', True), ('localNetworks', ['172.30.32.2'])])), ('folder', ordereddict([('data', '/data/octoprint/data'), ('generated', '/data/octoprint/generated'), ('logs', '/data/octoprint/logs'), ('plugins', '/data/octoprint/plugins'), ('virtualSd', '/data/octoprint/virtualSd'), ('timelapse_tmp', '/data/octoprint/timelapse/tmp'), ('printerProfiles', '/config/octoprint/printerProfiles'), ('slicingProfiles', '/co...
21-03-26 08:53:27 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/774437fd/octoprint/FS/octoprint/config.yaml: Invalid Add-on config!. Got ordereddict([('accessControl', ordereddict([('autologinAs', 'homeassistant'), ('autologinLocal', True), ('localNetworks', ['172.30.32.2'])])), ('folder', ordereddict([('data', '/data/octoprint/data'), ('generated', '/data/octoprint/generated'), ('logs', '/data/octoprint/logs'), ('plugins', '/data/octoprint/plugins'), ('virtualSd', '/data/octoprint/virtualSd'), ('timelapse_tmp', '/data/octoprint/timelapse/tmp'), ('printerProfiles', '/config/octoprint/printerProfiles'), ('slicingProfiles', '/co...

Bug is not breaking, the Add-on still install and runs, but the behaviour and warning is unexpected.

This was reported on the add-on GitHub (https://github.com/fredrikbaberg/hassio-addons/issues/123). I’ve verified that it occurs on my Raspberry Pi 3 install (used to fill in this form) and on a VM.

I’m the author of the add-on that reports this issue. If this is purely due to how I’ve created the Add-on, please let me know solution or where to ask for more help.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pvizelicommented, Mar 26, 2021

I think it is possible, as we generate the full list. However, that has not a high prio, so I don’t think I have time to look into this in the next 360 days.

0reactions
github-actions[bot]commented, May 25, 2021

There hasn’t been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Addon Validation Error · Issue #2836 · mozilla/addons-linter
Error: Validation was unable to complete successfully due to an unexpected error. ... Now you might say this is a duplicate and that...
Read more >
Add-On Configuration | Home Assistant Developer Docs
Key Type Default machine list url url startup string application
Read more >
A new API for submitting and updating add-ons
The new add-on submission api aims to overcome these limitations and (eventually) allow developers to submit and manage all parts of their add-...
Read more >
Plug-In Addon Structure Question - UI and Macro - World of Warcraft ...
I'm trying to figure out how to get info from the 2nd addon into the first one. ... but I don't know where...
Read more >
Cannot validate firefox addon via web-ext - Stack Overflow
My error was that I had a file called Translator.js, but in the manifest it was listed as translator.js, notice the case. After...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found