Skip to content

Relax language requirements to "en_" instead of "en_US" for wifi driver#900

Open
NoahMLoomis wants to merge 1 commit intogopro:mainfrom
NoahMLoomis:fix/strictness-of-en_US-language
Open

Relax language requirements to "en_" instead of "en_US" for wifi driver#900
NoahMLoomis wants to merge 1 commit intogopro:mainfrom
NoahMLoomis:fix/strictness-of-en_US-language

Conversation

@NoahMLoomis
Copy link

@NoahMLoomis NoahMLoomis commented Mar 5, 2026

Description

When using any language other than en_US for gopro-photo, the error appears:

RuntimeError: The Wifi driver parses CLI responses and only supports en_US where your language is en_CA.UTF-8

Despite the fact that en_CA shouldn't cause any issues, as they're both basic english.

This change relaxes the strictness of the check, to be en_* instead of en_US. I used this issue #320 as a reference for fixing this.

If the issue is really that this NEEDS to be en_US, I have another potential fix that would force the output to be english, but this seemed simpler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant