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

unexpected keyword argument 'handle_message'" #107

Closed
nickthejagger opened this issue Feb 16, 2018 · 4 comments
Closed

unexpected keyword argument 'handle_message'" #107

nickthejagger opened this issue Feb 16, 2018 · 4 comments

Comments

@nickthejagger
Copy link

hey, i run joke.py and i got this error how to fix it? "TypeError: interactive() got an unexpected keyword argument 'handle_message'"

@aforaleka
Copy link
Contributor

Hi @nickthejagger! Are you running joke.py with the latest changes to wit.py? There have been some recent updates to the interactive function in wit.py

@nickthejagger
Copy link
Author

nickthejagger commented Feb 17, 2018

yeah, of course i do.it's the only reason why i check the update because they update so i can use 'understanding' mode in wit i use visual studio code and they give me this error

E1123:Unexpected keyword argument 'handle_message' in method call'
the error occurred in line 66. i'm new in python (and the chatbot it self) so i don't quite understand where is the error

@aforaleka
Copy link
Contributor

The error is most likely happening because the definition of the interactive function is outdated and cannot take the handle_message parameter. Can you try running pip install wit --upgrade to get the latest version for the wit package v5.0.0?

@aforaleka
Copy link
Contributor

Feel free to reopen the issue if you're still encountering this problem

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

2 participants