Demo fails to start
Status: Alpha
Brought to you by:
ratchet
Traceback (most recent call last):
File "D:\UserData\Python\pygame\pyplace\main.py",
line 164, in ?
main()
File "D:\UserData\Python\pygame\pyplace\main.py",
line 73, in main
level = level_one(screen)
File "D:\UserData\Python\pygame\pyplace\mylevel.py",
line 51, in __init__
""")
File "D:\UserData\Python\pygame\pyplace\level.py",
line 52, in build
storetomap.set_tile(col,row, vals)
File "D:\UserData\Python\pygame\pyplace\gameobjs.py",
line 159, in set_tile
if not hasattr(self.map, tupcord):
TypeError: attribute name must be string
Windows2000 Professional SP3, Python 2.2.2, Pygame 1.5.5D
Logged In: YES
user_id=402292
and on linux:
bash-2.05b$ python main.py
Mapline is []
Mapline is [CCCCCCCCCC]
Traceback (most recent call last):
File "main.py", line 157, in ?
main()
File "main.py", line 67, in main
level = level_one(screen)
File "/home/joeldg/games/pyplace/pyplace/mylevel.py", line
67, in __init__
self.init_stage(0)
File "/home/joeldg/games/pyplace/pyplace/mylevel.py", line
71, in init_stage
room = self.build(STAGES[stage])
File "/home/joeldg/games/pyplace/pyplace/mylevel.py", line
75, in build
Level.build(self,coord,maptext)
File "/home/joeldg/games/pyplace/pyplace/level.py", line
59, in build
storetomap.set_tile(col,row, vals)
File "/home/joeldg/games/pyplace/pyplace/gameobjs.py",
line 159, in set_tile
if not hasattr(self.map, tupcord):
TypeError: hasattr(): attribute name must be string
Logged In: NO
so were stumped? no way to fix it??
we should fix this!