Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Language change doesn't allow LB to reopen anymore #295

Open
JoanJuan10 opened this issue Oct 6, 2023 · 3 comments
Open

[BUG] Language change doesn't allow LB to reopen anymore #295

JoanJuan10 opened this issue Oct 6, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@JoanJuan10
Copy link

Describe the bug
Whenever changing the language of League Broadcast and then restarting (Example is with Spanish Language), makes the app to crash.

To Reproduce
Steps to reproduce the behavior:

  1. Fresh install on LB
  2. Go to Settings and change language to Spanish
  3. Restart

Expected behavior
A fast restart to make items display in spanish.

Material
Logs:

--- LeagueBroadcast Crash Report --- 
Everything went according to plan. Seriously, this is the best case scenario.

Time: 2023.10.06-10:18
Description: Value cannot be null. (Parameter 'source')

Stacktrace: 
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at LeagueBroadcast.Common.Data.Provider.DataDragon.Init() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Provider\DataDragon.cs:line 207
   at LeagueBroadcast.Common.Data.Provider.DataDragon.<>c.<<-ctor>b__21_0>d.MoveNext() in F:\Repos\LeagueOfLegends\LeagueBroadcast2\LeagueBroadcast\Common\Data\Provider\DataDragon.cs:line 125
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_1(Object state)
   at System.Threading.QueueUserWorkItemCallback.<>c.<.cctor>b__6_0(QueueUserWorkItemCallback quwi)
   at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state)
   at System.Threading.QueueUserWorkItemCallback.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
   at System.Threading.Thread.StartCallback()

-- System Details -- 
League Broadcast Version: 1.7.22.0
OS: Win 10 2009

Additional context
Changing the language back to en_US in the component.json makes the app work again and open normally.

@JoanJuan10 JoanJuan10 added the bug Something isn't working label Oct 6, 2023
@overkido
Copy link

overkido commented Oct 8, 2023

only works in English

@JoanJuan10
Copy link
Author

Agreed. Why even have a language selector if it only works the default one?

@alfonsomartinde
Copy link

Same issue here. How can I fix that? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants