Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime error with pyNES #20

Open
rolandbrake opened this issue Aug 18, 2015 · 1 comment
Open

runtime error with pyNES #20

rolandbrake opened this issue Aug 18, 2015 · 1 comment

Comments

@rolandbrake
Copy link

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\pynes__init__.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
Copy link
Owner

Sure, how did you execute the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants