[fofix-gcode-issuetracker] Issue 1217 in fofix: 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'

fofix at googlecode.com fofix at googlecode.com
Mon Aug 23 01:02:41 UTC 2010


Status: New
Owner: ----
Labels: Priority-Low

New issue 1217 by dj.spoonzy: 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'
http://code.google.com/p/fofix/issues/detail?id=1217

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:
	fofix.log  8.4 KB



More information about the fofix-gcode-issuetracker mailing list