Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:30
    codecov[bot] commented #1982
  • 12:29
    codecov[bot] commented #1982
  • 12:21
    codecov[bot] commented #1982
  • 12:21
    xloem synchronize #1982
  • 11:35

    FabioRosado on master

    Report unhandled exceptions as … (compare)

  • 11:35
    FabioRosado closed #1983
  • 11:35
    FabioRosado labeled #1983
  • 11:18
    xloem edited #1982
  • 11:17
    codecov[bot] commented #1982
  • 11:16
    xloem synchronize #1982
  • 11:06
    codecov[bot] commented #1982
  • 11:05
    xloem synchronize #1982
  • 03:04
    xloem commented #1953
  • 03:03
    xloem commented #1953
  • 00:05
    stale[bot] unlabeled #1834
  • 00:05
    xloem commented #1834
  • Feb 05 23:43
    xloem edited #1983
  • Feb 05 23:13
    codecov[bot] commented #1983
  • Feb 05 23:10
    codecov[bot] commented #1983
  • Feb 05 23:09
    xloem synchronize #1983
Cadair
@cadair:cadair.com
[m]
hey jerinjtitus If we are going to do a matrix.org project the idea really needs to be related to the matrix connector in some way. It could be a new opsdroid feature + matrix support, but that one probably isn't that.
jerinjtitus
@jerinjtitus:matrix.org
[m]
Ok, I understand. Let me see.
Github
@_neb_github:matrix.org
[m]
opsdroid/opsdroid#1749 : Drop of RTM API in Slack Connector in favour of events api
Cadair
@cadair:cadair.com
[m]
Renaming token seems cleaner
but I guess this works
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
At one point we renamed everything to token
Before different connectors had different names for the same thing.
I get we are aiming to configure multiple tokens here so different names makes sense
Just wanted to raise that data point.
cognifloyd (Jacob Floyd)
@cognifloyd:matrix.org
[m]
Good to know
Cadair
@cadair:cadair.com
[m]
Given how confusing I find slack tokens at the best of times, sticking to whatever the slack API docs / UI calls them will probably save everyone a lot of confusion
cognifloyd
@cognifloyd:matrix.org
[m]
I already was confused several times over on what token meant since Slack's api docs list 6 different kinds of tokens.
Cadair
@cadair:cadair.com
[m]
Anyone in here played with Rasa NLU recently?
I thought I woiuld take it for a spin
but I am well confused
currently I am stuck on:
INFO opsdroid.parsers.rasanlu: Starting Rasa NLU training.
Traceback (most recent call last):
  File "/home/stuart/.virtualenvs/opsdroid/bin/opsdroid", line 33, in <module>
    sys.exit(load_entry_point('opsdroid', 'console_scripts', 'opsdroid')())
  File "/home/stuart/.virtualenvs/opsdroid/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/stuart/.virtualenvs/opsdroid/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/stuart/.virtualenvs/opsdroid/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/stuart/.virtualenvs/opsdroid/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/stuart/.virtualenvs/opsdroid/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/stuart/Git/opsdroid/opsdroid/cli/start.py", line 43, in start
    opsdroid.run()
  File "/home/stuart/Git/opsdroid/opsdroid/core.py", line 166, in run
    self.sync_load()
  File "/home/stuart/Git/opsdroid/opsdroid/core.py", line 215, in sync_load
    self.eventloop.run_until_complete(self.load())
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "/home/stuart/Git/opsdroid/opsdroid/core.py", line 228, in load
    await self.train_parsers(self.modules["skills"])
  File "/home/stuart/Git/opsdroid/opsdroid/core.py", line 355, in train_parsers
    await train_rasanlu(rasanlu, skills)
  File "/home/stuart/Git/opsdroid/opsdroid/parsers/rasanlu.py", line 93, in train_rasanlu
    if config["model"] in await _get_existing_models(config):
  File "/home/stuart/Git/opsdroid/opsdroid/parsers/rasanlu.py", line 76, in _get_existing_models
    if project in result["available_projects"]:
KeyError: 'available_projects'
Do I have to configure the project rasa server side?
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
No. Perhaps something broke. I havent used it for a while.
Cadair
@cadair:cadair.com
[m]
oh yay
cadair:cadair.com @cadair:cadair.com mutters things about nothing being easy
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Ha! When I first wrote it things were super easy. I expect if you pulled an old version things would work.
SolarDrew
@solardrew:openastronomy.org
[m]
ah but then stuart's inherent aversion to not using the newest thing would kick in and immediately uninstall it 😛
Cadair
@cadair:cadair.com
[m]
yeah I think their API has changed like a lot
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Hrm thats a shame
cadair:cadair.com @cadair:cadair.com attempts to install <2
Cadair
@cadair:cadair.com
[m]
installing less than 2 is not happy
looks like I am rewriting the rasa parser
FabioRosado
@fabiorosado:matrix.org
[m]
I have finally sat my ass down to work on the github PR that I have open. With the new tests do I need to bind ospdroid or the test to a different port? I'm getting a exception=OSError(98, "error while attempting to bind on address ('0.0.0.0', 8080): address already in use")>
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Is something already on that port?
And are you on windows?
FabioRosado
@fabiorosado:matrix.org
[m]
yeah but using wsl, I checked with netstat and didn't show anything on that port 🤔 the tests failed with the same issue
I mean on github
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Windows has a known thing where it takes a while to release ports. I expect that will still happen in WSL. Are you running multiple tests?
That starts opsdroid?
FabioRosado
@fabiorosado:matrix.org
[m]
yeah I was running all of the github ones
I'll try to run one by one
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Good idea!
If that works we might need to update the fixture to start opsdroid on random ports.
FabioRosado
@fabiorosado:matrix.org
[m]
Although we still got the same issue on github 🤔 https://github.com/opsdroid/opsdroid/pull/1753/checks?check_run_id=2106613774
FabioRosado
@fabiorosado:matrix.org
[m]
Missed your last comment sorry,thanks I'll play with it
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
👍
FabioRosado
@fabiorosado:matrix.org
[m]
This is a bit weird, the fixture is using port 8089 so should work fine, I need to try and figure out what's happening here
FabioRosado
@fabiorosado:matrix.org
[m]
Actually I had a issue here, if we mess our code that fails a test with an exception we will get that exception
hkonala
@hkonala
Hello All,
I just started using Opsdroid(using slack connector for now) and could you please help me with the below queries:
  1. Is there any timeout for the websocket connection between slack and opsdroid?
  2. How does opsdroid handles the connection reset between slack and opsdroid?
  3. Can we use slack signed secrets with RTM API as we can use with slack Web APIs?
    Appreciate all the help I can get here
hkonala
@hkonala
Also, currently opsdroid is using slack classic apps and can we use updated slack apps? or is it planned for future? @fabiorosado:matrix.org @_slack_opsdroid_U5MK1BW83:matrix.org
Cadair
@cadair:cadair.com
[m]
There is an open PR to change from classic apps
hkonala
@hkonala
thanks @cadair:cadair.com for the info. I have gone through the PR and it looks great(using socket mode and making it default too!) waiting for the PR to be merged and use it. @fabiorosado:matrix.org @cadair:cadair.com if it is not too much to ask, could you tell me when are we going to merge the changes?
Cadair
@cadair:cadair.com
[m]
I haven't had any time to look at it, but they should be in the next release at the end of the month.
hkonala
@hkonala
that's great!! thanks again :)