Export to GitHub

fofix - issue #1217

Python Error in GuitarScene.py, Line 6705, in render bigFont.render(text, (self.countdownPosX - w / 2, self.countdownPosY - h / 2), scale = scale) TypeError: unsupported operand type(s) for -: 'str' and 'float'


Posted on Aug 23, 2010 by Swift Ox

When loading a song to play on guitar, it reaches Loading Graphics, then crashes.

File "/home/charlie/fofix/src/GameEngine.py", line 1153, in main self.view.render() File "/home/charlie/fofix/src/View.py", line 260, in render layer.render(self.visibility[layer], layer == self.layers[-1]) File "/home/charlie/fofix/src/GuitarScene.py", line 6705, in render bigFont.render(text, (self.countdownPosX - w / 2, self.countdownPosY - h / 2), scale = scale) TypeError: unsupported operand type(s) for -: 'str' and 'float'

Running Ubuntu Lucid, Python 2.6.5, Built FoFiX from git source about 2 hours ago.

Attachments

Status: Fixed

Labels:
Priority-Low