Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 16:17
    rodrigo-albuquerque commented #1958
  • 15:25
    oleg-fiksel commented #1959
  • 15:08
    oleg-fiksel assigned #1959
  • 15:02
    oleg-fiksel commented #1959
  • 14:59
    oleg-fiksel commented #1959
  • 13:59
    codecov[bot] commented #1960
  • 13:59
    codecov[bot] commented #1960
  • 13:53
    github-actions[bot] labeled #1960
  • 13:53
    github-actions[bot] labeled #1960
  • 13:53
    github-actions[bot] labeled #1960
  • 13:53
    github-actions[bot] labeled #1960
  • 13:53
    SKnight-s opened #1960
  • Dec 05 13:07
    oleg-fiksel labeled #1959
  • Dec 05 12:42
    gsanasW opened #1959
  • Dec 05 11:18
    rodrigo-albuquerque commented #1958
  • Dec 05 11:00
    rodrigo-albuquerque opened #1958
  • Dec 05 00:14
    sfrunza13 edited #1957
  • Dec 05 00:13
    sfrunza13 edited #1957
  • Dec 04 23:12
    sfrunza13 ready_for_review #1957
  • Dec 04 23:02
    codecov[bot] commented #1957
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 :)
Cadair
@cadair:cadair.com
[m]
No promises tho ;)
hkonala
@hkonala
Some skills are not getting loaded while running opsdroid in kuberbetes where as there are working fine in my local environment
DEBUG opsdroid.loader: Installing impact... DEBUG opsdroid.loader: Installed impact to /home/app/.local/share/opsdroid/opsdroid-modules/skill/impact. DEBUG opsdroid.loader: Couldn't find the file requirements.txt, skipping. DEBUG opsdroid.loader: Loaded skill: opsdroid-modules.skill.impact. DEBUG opsdroid.loader: Removing cache for local module /home/app/.local/share/opsdroid/opsdroid-modules/skill/help, set 'no-cache: false' to disable this. DEBUG opsdroid.loader: Installing help... DEBUG opsdroid.loader: Installed help to /home/app/.local/share/opsdroid/opsdroid-modules/skill/help. DEBUG opsdroid.loader: Couldn't find the file requirements.txt, skipping. ERROR opsdroid.loader: Failed to load skill: opsdroid-modules.skill.help. ERROR opsdroid.loader: Module help failed to import. DEBUG opsdroid.loader: Removing cache for local module /home/app/.local/share/opsdroid/opsdroid-modules/skill/severity, set 'no-cache: false' to disable this. DEBUG opsdroid.loader: Installing severity... DEBUG opsdroid.loader: Installed severity to /home/app/.local/share/opsdroid/opsdroid-modules/skill/severity. DEBUG opsdroid.loader: Couldn't find the file requirements.txt, skipping. DEBUG opsdroid.loader: Loaded skill: opsdroid-modules.skill.severity.
hkonala
@hkonala
could someone help on this
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Strange. Could you raise an issue on GitHub?
Cadair
@cadair:cadair.com
[m]
My guess is something path related. Seeing how it just says "module can not be imported"
hkonala
@hkonala

Strange. Could you raise an issue on GitHub?

Definitely @_slack_opsdroid_U5MK1BW83:matrix.org

My guess is something path related. Seeing how it just says "module can not be imported"

Even I thought the same at first @cadair:cadair.com but the thing is, there is no fixed set of skills which are always failing to load. it is random after each restart

jindalo
@jindalo:matrix.org
[m]

Hi all, I am getting this error while loading database module in opsdroid. I am running this on containers.

DEBUG asyncio: Using selector: EpollSelector
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 900, in _find_spec
AttributeError: '_Importer' object has no attribute 'find_spec'

Can someone please help me here. Not sure what I am missing.
If I remove DB config from the configuration.yaml, everything works fine.

Cadair
@cadair:cadair.com
[m]
What database are you configuring?
Also what version of Python/opsdroid
oshien jindal
@jindalo:matrix.org
[m]
Custom DB - postgres
Python- 3.7
Opsdroid - 0.19.0
hkonala
@hkonala

Strange. Could you raise an issue on GitHub?

raised opsdroid/opsdroid#1761

@_slack_opsdroid_U5MK1BW83:matrix.org please take look when you have time
FabioRosado
@fabiorosado:matrix.org
[m]

I feel very dumb... looking at this code in logging:

    try:
        if config["logging"]["path"]:
            logfile_path = os.path.expanduser(config["logging"]["path"])
        else:
            logfile_path = config["logging"]["path"]
    except KeyError:
        logfile_path = DEFAULT_LOG_FILENAME

Reference

I'm assuming because we can set path to false, that's the reason why we have that if/else statement there? 🤔

Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Yeah its because it can be false. The os.path.expanduser will fail if passed false.
If I were writing this today I'd probably use a try/except instead to catch the error when expanduser is passed false.
FabioRosado
@fabiorosado:matrix.org
[m]
Oh and now I get it why we were getting the logfile_path check for the file handler! I was assuming logfile always returned something
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
It's also a good use case for the walrus operator. Roll on Python 3.8!
FabioRosado
@fabiorosado:matrix.org
[m]
but is so weird haha
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Yup haha
FabioRosado
@fabiorosado:matrix.org
[m]
I've seen one of those at work and I had to read upon it since I had no idea what the heck the thing did
Jacob Tomlinson (Slack)
@_slack_opsdroid_U5MK1BW83:matrix.org
[m]
Heh they are pretty new and 3.8+ so you dont see too many of them in the wild yet