google-code-export / simple-pygame-gui

Automatically exported from code.google.com/p/simple-pygame-gui
1 stars 1 forks source link

Test wont launch #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
For it to work 

What version of the product are you using? On what operating system?
9.1 on windows 7

Please provide any additional information below.

Traceback (most recent call last):
  File "C:\Users\Jahmal\Downloads\spg-release-0.9.1(1)\spg-release-0.9.1\test.py", line 47, in <module>
    label = Label(position = (50,60),size = (200,100), parent = desktop, text = "Click the button for a proverb!", style = labelStyleCopy)
  File "C:\Users\Jahmal\Downloads\spg-release-0.9.1(1)\spg-release-0.9.1\gui.py", line 590, in __init__
    Widget.__init__(self,position,size,parent,style,enabled = False)
  File "C:\Users\Jahmal\Downloads\spg-release-0.9.1(1)\spg-release-0.9.1\gui.py", line 338, in __init__
    self.refresh()
  File "C:\Users\Jahmal\Downloads\spg-release-0.9.1(1)\spg-release-0.9.1\gui.py", line 594, in refresh
    self.size, self.style['autosize'], self.style['wordwrap'])
  File "C:\Users\Jahmal\Downloads\spg-release-0.9.1(1)\spg-release-0.9.1\gui.py", line 256, in renderText
    for i in xrange(len(lines)):
NameError: global name 'xrange' is not defined

Original issue reported on code.google.com by robotma...@gmail.com on 7 Jan 2014 at 6:42