gutomaia / pyNES

Python programming for Nintendo 8 bits
BSD 3-Clause "New" or "Revised" License
1.22k stars 109 forks source link

runtime error with pyNES #20

Open rolandbrake opened 9 years ago

rolandbrake commented 9 years ago

can you help me i got this error :

 Traceback (most recent call last):

File "C:/Users/User/PycharmProjects/marioNES/source.py", line 6, in pynes.press_start() File "C:\Python34\lib\site-packages\pynesinit.py", line 18, in press_start game = compose(code) File "C:\Python34\lib\site-packages\pynes\composer.py", line 348, in compose turist.visit(python_land) File "C:\Python34\lib\ast.py", line 245, in visit return visitor(node) File "C:\Python34\lib\site-packages\pynes\composer.py", line 101, in generic_visit self.visit(item) File "C:\Python34\lib\ast.py", line 245, in visit return visitor(node) File "C:\Python34\lib\site-packages\pynes\composer.py", line 178, in visit_Assign self.generic_visit(node) File "C:\Python34\lib\site-packages\pynes\composer.py", line 103, in generic_visit self.visit(value) File "C:\Python34\lib\ast.py", line 245, in visit return visitor(node) File "C:\Python34\lib\site-packages\pynes\composer.py", line 245, in visit_Call self.generic_visit(node.args) File "C:\Python34\lib\site-packages\pynes\composer.py", line 90, in generic_visit self.visit(n) File "C:\Python34\lib\ast.py", line 245, in visit return visitor(node) File "C:\Python34\lib\site-packages\pynes\composer.py", line 293, in visit_Str self.stack(NesString(node.s)) File "C:\Python34\lib\site-packages\pynes\nes_types.py", line 112, in init str.init(self, string) TypeError: object.init() takes no parameters

gutomaia commented 9 years ago

Sure, how did you execute the code?