Gamer125 / fofix

Automatically exported from code.google.com/p/fofix
0 stars 0 forks source link

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' #1217

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by dj.spoo...@gmail.com on 23 Aug 2010 at 1:02

Attachments:

GoogleCodeExporter commented 9 years ago
http://github.com/stump/fofix/commit/3d24f4855fecdeb2989aa6cd8e5434887d94f7f8

Original comment by fuzio...@gmail.com on 1 Sep 2010 at 1:44