probablyraging / steam-game-idler

An automatic Steam trading card farmer and achievement unlocker, with a modern UI
GNU General Public License v3.0
43 stars 7 forks source link

Achievement Unlocker getting Stuck in Loading Screen #26

Closed killerboyyy777 closed 2 months ago

killerboyyy777 commented 2 months ago

Describe the issue

When i start Acievement Unlocker, it gets stuck in a Screen saying "Unlocking 0 achievement(s) for" "This may take a minute" even after multiple Hours of waiting it still is stuck. Logs give those Errors: [v1.5.12] [Error] in (fetchAchievements) TypeError: Cannot read properties of undefined (reading 'toString') [v1.5.12] [Error] in (startAchievementUnlocker) TypeError: Cannot read properties of undefined (reading 'appid') [v1.5.12] [Error] in (stopIdler) util: TypeError: Cannot read properties of undefined (reading 'toString')

Which branch of SGI?

Base

What version of SGI are you using?

Latest version

probablyraging commented 2 months ago

Thanks for the issue report.

Would you mind letting me know which game you are trying to unlock achievements for and would you also be able to upload your log.txt file from C:\Users\<user>\AppData\Roaming\steam-game-idler

Thanks

killerboyyy777 commented 2 months ago

log.txt there are a bunch of games in there, and it worked previously. stopped working 2 or 3 updates ago but just decided to report it now

probablyraging commented 2 months ago

Thanks for that.

Make note of the games in your favorites, card idler, and achievement unlocker lists if you need to, as this method will clear them, then try the following steps:

  1. Go to settings > general and enable Delete locally saved data on logout
  2. Log out of SGI
  3. Add your games back to the achievement unlocker list and try running it again

Let me know if that works for you

killerboyyy777 commented 2 months ago

yeah, works again. thanks

probablyraging commented 2 months ago

Glad to hear it, thanks again for the report.

Just to note this issue before closing it. This is caused by the 1.5.0 update, as the naming convention in the data returned by the new endpoint changed from game.appId to game.appid (lower case i). Games added to lists prior to that update were stored with the old property name, which caused the error.