Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
sakets596
@sakets596

logs:

23:51:28 ERROR errbot.core An error happened while processing a message ("!repos"): Traceback (most recent call last):
File "/Users/3529477/PycharmProjects/errbot-2/venv/lib/python3.9/site-packages/errbot/core.py", line 555, in _execute_and_send
reply = method(msg, match) if match else method(msg, args)
File "/Users/3529477/PycharmProjects/errbot-2/venv/lib/python3.9/site-packages/errbot/core_plugins/plugins.py", line 85, in repos
from_index = self._bot.repo_manager.get_repo_from_index(repo_name)
File "/Users/3529477/PycharmProjects/errbot-2/venv/lib/python3.9/site-packages/errbot/repo_manager.py", line 208, in get_repo_from_index
result.append(makeEntry(repo_name, name, plugin))
File "/Users/3529477/PycharmProjects/errbot-2/venv/lib/python3.9/site-packages/errbot/repo_manager.py", line 56, in makeEntry
avatar_url=json_value["avatar_url"],
KeyError: 'avatar_url'

1 reply
Sijis Aviles
@sijis
Oh. That's odd. I think you need more option than just !repos
Rob
@mrrobinhood5
Hey guys. is errbot dev still active?
Sijis Aviles
@sijis
Yes. Changes and fixes still happen
the8woodcutter
@thewoodcutter
Hi folks, need help after a long time with errbot. How do i properly set up an admin, and then administrate the bot with that admin using the XMPP backend pls
i am using my JID "chunk@tilde.team", "@chunk9", "@chunk"
in the config.py
cuz now in text backend, which i was using to configure my errbot for xmpp, and then reload using my full config.py after configging, I am stuck in !asuser in !inroom
and I cannot manage anything as it won't recognize me as admin
Carlos
@nzlosh
@thewoodcutter Try using !whoami to get the correct JID to use. It's been a while since I've used XMPP, but last time I used it, I noticed that the JID changed depending on which room or private chat I used the !whoami from. You may need to add more than one entry depending on where you intend to run admin commands from.
the8woodcutter
@thewoodcutter
i did figure it out fellas
finally, just needed a bit more perserverance
@nzlosh thanks o7
Sijis Aviles
@sijis
The Admin definition jid should also be able to support wildcard, possibly regex too.
zhongguozhi2
@zhongguozhi2
test
Carlos
@nzlosh
For anyone using errbot with discord, the discord.py framework https://github.com/Rapptz/discord.py that the discord backend depends on, has been put into archive mode and the maintainer has officially stepped down. For the full story, you can see the gist here https://gist.github.com/Rapptz/4a2f62751b9600a31a0d3c78100287f1. Long story short, Discord has made a lot of changes to how external bots can interact with their service which has caused friction between bot library developers. Discord's Slash Commands sound like a game changer that library developers can't/won't support. I'll try to get a better understanding of where slash commands are going and what that will mean for errbot.
asjrosabal
@asjrosabal
Hi everyone. I'm using Errbot in Slack channel, how can I send a csv file to someone? Any idea. Thanks
Sijis Aviles
@sijis
Sijis Aviles
@sijis
Errbot is part of hacktoberfest. Feel free to look at issues and see if theres something that you feel you could tackle. If there isn't thats ok. Other fixes / features are appreciated too.
Ivan
@Nov1kov
Hello. Do you know a way to set specific backend token for each plugin?
Carlos
@nzlosh
@Nov1kov can you elaborate? Errbot doesn't support connecting multiple backends with a single instance
Ivan
@Nov1kov
I need plugins that can send messages from different bots but in the same messenger. it looks like multibackends but in the same messenger... I understand, looks like it not for Errbot
Carlos
@nzlosh
@Nov1kov Errbot plugins are generally developed by end users for their specific needs. There are 3rd party plugins that you can use if they do what you need. Errbot loads plugins on startup but can load/unload them at runtime. Once a plugin is loaded it can send messages to the chat backend that Errbot is connected to (a chat backend could be IRC, XMPP, Slack, Discord, Gitter, etc). It's possible to install the same plugin on multiple Errbot instances which would give the same bot behaviour across all backends.
Ivan
@Nov1kov
@nzlosh thanks!
Carlos
@nzlosh
@Nov1kov You're welcome. I'm not really sure if I answered your question, but if you have any more, feel free to post them here and we'll do our best to help you out.
Jeffrey Jen
@yihungjen_twitter
Hello! On reading bot flow context, is it purely in memory, or does it persists somewhere?
Sijis Aviles
@sijis
I'm pretty sure it persist within the local storage of the plugin.
cryptodog557
@cryptodog557
Hey peeps
Sijis Aviles
@sijis
@cryptodog557 welcome.
Ghost
@ghost~6197d0326da03739848ae44f
Hi folks, I'm currently discovering errbot with zulip.
Is there a way to lower() a function name, allowing to call @bot test and @bot TeSt the same code ?
alpinweis
@alpinweis
Hi. I'm trying to migrate to the SlackV3 backend. How do I call slack API methods now?
It used to be self._bot.api_call(method, data={}). Now any method I try to call complains something like api_call() got an unexpected keyword argument '<somename>'.
Say, I need to call conversations.create with a POST payload.
alpinweis
@alpinweis
I guess I could use self._bot.slack_web directly instead of self._bot.api_call, e.g. self._bot.slack_web.conversations_create(name="test").
Is this the correct way to do it or is there a better/recommended way?
Carlos
@nzlosh
@alpinweis can you open an issue please and I'll take a look
alpinweis
@alpinweis
Thanks @nzlosh. Just opened errbotio/err-backend-slackv3#54
Carlos
@nzlosh
:thumbsup: @alpinweis thanks for that. Having a github issue gets more visibility around the problem and any potential workaround/fix.
alpinweis
@alpinweis
@nzlosh are there plans to tag err-backend-slackv3 releases? when setting up the backend (via git clone err-backend-slackv3) it might help having a more stable version instead of the master head
Carlos
@nzlosh
That'd be a good idea now that it is in its own repository.
@sijis do you have any opinions on how releases for backends should be managed/defined as part of the larger errbot project?
Sijis Aviles
@sijis
@nzlosh I think they should be independent. They don't have to match the release version of the main project. If there are breaking changes, then some coordination may need to occur but that's far and few right now
Tagging a release sounds like a great idea
Hoping to cut a release early December. I'm considering adding a deprecation notice, in that release, to the built-in slack backends and point folks to v3 as part of message.
Carlos
@nzlosh
Sounds good. The more people we having using slackv3, the more edge cases we'll catch and fix. I saw that the @ mention fix has in the markdown module has been released, so I'll update the requirements file and tag this change as v0.1.0 as a starting point for versioning.
Sijis Aviles
@sijis
Sounds good
Carlos
@nzlosh
OK, v0.1.0 for the slackv3 backend has been released.
Carlos
@nzlosh
@Vaelor The mattermost backend release is currently on v2.0.2 27 Nov 2017. Would you be OK with creating a new release v3.0.0 for the current HEAD on the master branch?
Carlos
@nzlosh
@Vaelor I've opened a PR to create a v2.1.0 release since there aren't any major breaking changes between 2.0.2 so version 3.0.0. wasn't justified. errbotio/errbot-backend-mattermost#52
Carlos
@nzlosh
@sijis should backend maintainers have contributor rights to https://github.com/errbotio/err-backend-gitter? I don't seem to have the ability to create a release for this repo.
Sijis Aviles
@sijis
There should. I can check later tonight and verify