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

AttributeError: 'NoneType' object has no attribute 'test_input' #8

Open
ys80 opened this issue Oct 21, 2017 · 3 comments
Open

AttributeError: 'NoneType' object has no attribute 'test_input' #8

ys80 opened this issue Oct 21, 2017 · 3 comments

Comments

@ys80
Copy link

ys80 commented Oct 21, 2017

Hello,

I get below error while i run webapp and input task type in browser to 2.

return self.view_functions[rule.endpoint](**req.view_args)

File "webapp.py", line 53, in get_story
test_input = test_input
AttributeError: 'NoneType' object has no attribute 'test_input'
127.0.0.1 - - [22/Oct/2017 00:08:28] "GET /get/story HTTP/1.1" 500 -

@ys80
Copy link
Author

ys80 commented Oct 21, 2017

Please read below as error:

return self.view_functions[rule.endpoint](**req.view_args)

File "webapp.py", line 53, in get_story
test_input = dmn.test_input
AttributeError: 'NoneType' object has no attribute 'test_input'
127.0.0.1 - - [21/Oct/2017 23:56:01] "GET /get/story HTTP/1.1" 500 -

@KanaadPathak
Copy link

This has to be run in python 2.7, create a separate conda environment with python 2.7 and run it. It should work.

@chengyanz
Copy link

I get the same error in python 2.7. Can you share the versions of everything?

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

No branches or pull requests

3 participants