Its-Haze / league-rpc

Just a better Rich Presence for League of Legends. Showcasing Live Game Stats, Summoner Icons, Rank Emblems and Champion Skins on Discord.
GNU General Public License v3.0
28 stars 6 forks source link

Start Error #64

Open Suburbanno opened 2 months ago

Suburbanno commented 2 months ago
Exception in thread Thread-25:
Traceback (most recent call last):
  File "threading.py", line 1045, in _bootstrap_inner
Exception in thread Thread-26:
Traceback (most recent call last):
  File "threading.py", line 1045, in _bootstrap_inner
  File "threading.py", line 1401, in run
  File "threading.py", line 1401, in run
  File "league_rpc\models\rpc_updater.py", line 82, in update_rpc_and_reset_flag
  File "league_rpc\models\rpc_updater.py", line 82, in update_rpc_and_reset_flag
  File "league_rpc\models\rpc_updater.py", line 329, in update_rpc
  File "league_rpc\models\rpc_updater.py", line 329, in update_rpc
  File "league_rpc\models\rpc_updater.py", line 150, in in_lobby_rpc
  File "league_rpc\models\rpc_updater.py", line 150, in in_lobby_rpc
  File "pypresence\presence.py", line 34, in update
  File "pypresence\presence.py", line 34, in update
  File "nest_asyncio.py", line 99, in run_until_complete
  File "nest_asyncio.py", line 99, in run_until_complete
  File "asyncio\futures.py", line 203, in result
  File "asyncio\tasks.py", line 277, in __step
  File "asyncio\futures.py", line 203, in result
  File "pypresence\baseclient.py", line 86, in read_output
  File "asyncio\tasks.py", line 277, in __step
  File "json\__init__.py", line 346, in loads
  File "pypresence\baseclient.py", line 86, in read_output
  File "json\decoder.py", line 337, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xda in position 4: invalid continuation byte
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

image

Its-Haze commented 2 months ago

I think i saw this error once as well, but i have been unable to reproduce it.

Does it happen all the time for you? Does it happen after a certain action or event?

Usually a restart of leagueRPC fixes the issue (you do not need to close the league client when you restart leagueRPC)

Suburbanno commented 2 months ago

I think i saw this error once as well, but i have been unable to reproduce it.

Does it happen all the time for you? Does it happen after a certain action or event?

Usually a restart of leagueRPC fixes the issue (you do not need to close the league client when you restart leagueRPC)

Ok, let's go

this error happened several times in different games. example:

1 - When opening for the first time, I had to restart the PC 2 - When starting the first game 3 - When playing ARAM

I had to restart twice so that the error wouldn't happen again. So far it's ok, I don't know what caused it

Its-Haze commented 2 months ago

I will try and see if i can reproduce it. As far as i know, i have not gotten this error consistently.

Suburbanno commented 1 month ago

I will try and see if i can reproduce it. As far as i know, i have not gotten this error consistently.

I just got the error again after a few hours of use image

@Its-Haze