home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.5k stars 30.33k forks source link

[NUT] Missing NUT translations preventing add-on from starting #114550

Closed kenneyd closed 6 months ago

kenneyd commented 6 months ago

The problem

Specifically, after starting home assistant the nut integration doesn't load and I'm seeing the following error when trying to enable/ start the integration. It initially fails to load with no error, but this is what I see when I try to disable and re-enable it: Error while loading /usr/src/homeassistant/homeassistant/components/nut/translations/en.json: unexpected content after document: line 1 column 30 (char 29)

image

The server component seems to be working, logs show logged in devices from other clients. Here is the version info : Network UPS Tools Current version: 0.13.0 (Changelog)

I'm using the following setup: Core 2024.3.3 Supervisor 2024.03.1 Operating System 12.1 Frontend 20240307.0

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Network UPS Tools (NUT)

Link to integration documentation on our website

https://www.home-assistant.io/integrations/nut

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 6 months ago

Hey there @bdraco, @ollo69, @pestevez, mind taking a look at this issue as it has been labeled with an integration (nut) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `nut` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign nut` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


nut documentation nut source (message by IssueLinks)

kenneyd commented 6 months ago

This issue went away when I upgraded to 2024.4