bugSGE Game Engine - Bugs: bug #43864, AttributeError: '_MovedItems'...

 
 

bug #43864: AttributeError: '_MovedItems' object has no attribute 'range'

Submitted by:  None
Submitted on:  Sun 21 Dec 2014 10:29:46 PM UTC  
 
Category: Pygame SGESeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 21 Dec 2014 11:51:13 PM UTC, comment #1:

The version of Six you're using is too old. The Pygame SGE requires version 1.4.0 or later. You can get a more recent version of Six here:

https://pypi.python.org/pypi/six

Julie Marchant <onpon4>
Project Administrator
Sun 21 Dec 2014 10:29:46 PM UTC, original submission:

I'm seeing the following error when running the pong.py example on Debian 7.7.

info:
python 2.7.3
pygame 1.9.1
SGE 0.14
python-six 1.1.0

error:

[jeff@debian-vm sge-test]$ ./pong.py
Traceback (most recent call last):
File "./pong.py", line 22, in <module>
import sge
File "/home/jeff/scripts/pygame/sge-test/sge/__init__.py", line 482, in <module>
from sge.Game import Game
File "/home/jeff/scripts/pygame/sge-test/sge/Game.py", line 43, in <module>
class Game(object):
File "/home/jeff/scripts/pygame/sge-test/sge/Game.py", line 1217, in Game
color=sge.Color("black"), halign=sge.ALIGN_LEFT,
File "/home/jeff/scripts/pygame/sge-test/sge/Color.py", line 104, in _init_
self.alpha = 255
File "/home/jeff/scripts/pygame/sge-test/sge/Color.py", line 160, in alpha
self._a = _check_input(value)
File "/home/jeff/scripts/pygame/sge-test/sge/Color.py", line 36, in _check_input
if value in six.moves.range(256):
AttributeError: '_MovedItems' object has no attribute 'range'

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by onpon4 (Posted a comment)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 21 Dec 2014 11:51:13 PM UTConpon4StatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1