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

Crash before uploading scores when the language is not in English #229

Open
Linkid opened this issue Oct 18, 2020 · 0 comments
Open

Crash before uploading scores when the language is not in English #229

Linkid opened this issue Oct 18, 2020 · 0 comments
Labels
bug translation Translations
Milestone

Comments

@Linkid
Copy link
Member

Linkid commented Oct 18, 2020

Describe the bug
When the language is not in English, the game crashes when uploading scores after a song.

Error message

Traceback (most recent call last):
  File "/opt/fofix/game/GameResultsScene.py", line 704, in run
    self.song.info.save()
  File "/opt/fofix/game/song/song.py", line 427, in save 
    self._set("scores",        self.getObfuscatedScores(part))
  File "/opt/fofix/game/song/song.py", line 396, in getObfuscatedScores
    highScores = self.highScores[str(part)]
KeyError: 'Guitar'

To Reproduce
Choose a non English language and finish a song. Then, uploading scores is not possible.

Environment:

  • OS: linux
  • Python version: 2.7.17
@Linkid Linkid added bug translation Translations labels Oct 18, 2020
@Linkid Linkid added this to the 4.0 milestone Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug translation Translations
Development

No branches or pull requests

1 participant