"Failed to load translations" error in log #152

Open
opened 2024-05-05 18:11:21 +01:00 by stanto · 2 comments

Expected Behaviour

For it not to try to load translations?

Actual Behaviour

From powertools.log:

16:58:09 [INFO] CLI arguments, as parsed: Args { port: None, log: None, verbose: false, op: None }
16:58:09 [INFO] Starting back-end (powertools v2.0.2)
16:58:09 [INFO] Current dir /home/deck/homebrew/services
16:58:09 [INFO] home dir: Some("/home/deck")
16:58:09 [INFO] Last version file: 2.0.2
16:58:09 [INFO] Updated version file succesfully
16:58:09 [INFO] limits_worker starting...
16:58:09 [INFO] Failed to open limits override file /home/deck/homebrew/settings/PowerTools/limits_override.ron: No such file or directory (os error 2)
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5
16:58:09 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1
16:58:09 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name
16:58:09 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3
16:58:09 [INFO] Failed to open limits override file /home/deck/homebrew/settings/PowerTools/limits_override.ron: No such file or directory (os error 2)
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0
16:58:09 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5
16:58:09 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1
16:58:09 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name
16:58:09 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3
16:58:09 [INFO] Detected device automatically SteamDeck, using driver: SteamDeck (This can be overriden)
16:58:09 [INFO] resume_worker starting...
16:58:09 [INFO] power_worker starting...
16:58:09 [ERROR] Startup Settings.on_set() error: Battery setting error: Failed to write to /sys/class/hwmon/hwmon3/maximum_battery_charge_rate: Permission denied (os error 13)
16:58:09 [INFO] chmod/chown ~/.config/powertools for user deck (1000)
16:58:09 [INFO] api_worker starting...
16:58:09 [INFO] Server::run; addr=127.0.0.1:44443
16:58:09 [INFO] listening on http://127.0.0.1:44443
16:58:34 [ERROR] Failed to load translations for language en-US: No such file or directory (os error 2)

Steps To Reproduce

  1. Install decky loader
  2. Install powertools
  3. Check /tmp/powertools.log on first boot

Anything else?

LCD SteamDeck BIOS 131

Version

2.0.2-rls

Platform

SteamDeck

OS

SteamOS 3 (Stable)

### Expected Behaviour For it not to try to load translations? ### Actual Behaviour From powertools.log: 16:58:09 [INFO] CLI arguments, as parsed: Args { port: None, log: None, verbose: false, op: None } 16:58:09 [INFO] Starting back-end (powertools v2.0.2) 16:58:09 [INFO] Current dir `/home/deck/homebrew/services` 16:58:09 [INFO] home dir: Some("/home/deck") 16:58:09 [INFO] Last version file: 2.0.2 16:58:09 [INFO] Updated version file succesfully 16:58:09 [INFO] limits_worker starting... 16:58:09 [INFO] Failed to open limits override file `/home/deck/homebrew/settings/PowerTools/limits_override.ron`: No such file or directory (os error 2) 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5 16:58:09 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1 16:58:09 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name 16:58:09 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3 16:58:09 [INFO] Failed to open limits override file `/home/deck/homebrew/settings/PowerTools/limits_override.ron`: No such file or directory (os error 2) 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck gpu drm in sysfs: /sys/class/drm/card0 16:58:09 [INFO] Found SteamDeck gpu hwmon amdgpu in sysfs: /sys/class/hwmon/hwmon5 16:58:09 [INFO] Found SteamDeck battery power_supply in sysfs: /sys/class/power_supply/BAT1 16:58:09 [WARN] Failed to find SteamDeck battery hwmon jupiter in sysfs (Success (os error 0)), trying alternate name 16:58:09 [INFO] Found SteamDeck battery hwmon steamdeck_hwmon in sysfs: /sys/class/hwmon/hwmon3 16:58:09 [INFO] Detected device automatically SteamDeck, using driver: SteamDeck (This can be overriden) 16:58:09 [INFO] resume_worker starting... 16:58:09 [INFO] power_worker starting... 16:58:09 [ERROR] Startup Settings.on_set() error: Battery setting error: Failed to write to `/sys/class/hwmon/hwmon3/maximum_battery_charge_rate`: Permission denied (os error 13) 16:58:09 [INFO] chmod/chown ~/.config/powertools for user `deck` (1000) 16:58:09 [INFO] api_worker starting... 16:58:09 [INFO] Server::run; addr=127.0.0.1:44443 16:58:09 [INFO] listening on http://127.0.0.1:44443 16:58:34 [ERROR] Failed to load translations for language `en-US`: No such file or directory (os error 2) ### Steps To Reproduce 1. Install decky loader 2. Install powertools 3. Check /tmp/powertools.log on first boot ### Anything else? LCD SteamDeck BIOS 131 ### Version 2.0.2-rls ### Platform SteamDeck ### OS SteamOS 3 (Stable)
stanto added the
bug
label 2024-05-05 18:11:21 +01:00
Owner

This is expected behaviour for en-US, since the default UI language is that so it does not need a translation file.

This is expected behaviour for `en-US`, since the default UI language is that so it does not need a translation file.
Author

@NGnius
Don't be like windows, please. It shouldn't be a failure if it's a success or irrelevant.
image

@NGnius Don't be like windows, please. It shouldn't be a failure if it's a success or irrelevant. ![image](/attachments/86638e95-3a71-4837-89e4-4b2a6ef8ee2e)
stanto reopened this issue 2024-05-07 23:05:58 +01:00
NGnius referenced this issue from a commit 2024-05-07 23:46:35 +01:00
NGnius added the
tbr
label 2024-05-07 23:48:25 +01:00
NGnius self-assigned this 2024-05-07 23:48:31 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NG-SD-Plugins/PowerTools#152
No description provided.