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

TypeError: RocketChat.message() takes 7 positional arguments but 9 were given #17

Open
peterhoang opened this issue Mar 7, 2024 · 2 comments

Comments

@peterhoang
Copy link

Just started trying out your app. e.g. python -m txtchat.agent wikitalk.yml

It launches fine and connects to my local Rocket.Chat, but when I send a message to "cat", I get the following error:

TypeError: RocketChat.message() takes 7 positional arguments but 9 were given

Running in Win 10, VS Code, venv, py 3.10.11

@yiouyou
Copy link

yiouyou commented Apr 25, 2024

@peterhoang How to connet the txtchat.agent with Rocket.Chat? And do you fixe the arguments problem?

Thanks

@davidmezzetti
Copy link
Member

Understand it's been quite a while here. This project needs some updates, looks like the rocketchat-async library has had some breaking changes. In the meantime, if you pin your requirements to 1.0.1 of the library, it should work.

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