Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 22 15:53
    codecov[bot] commented #1956
  • Nov 22 15:52
    codecov[bot] commented #1956
  • Nov 22 15:48
    github-actions[bot] labeled #1956
  • Nov 22 15:47
    7yl4r opened #1956
  • Nov 22 10:21
    codecov[bot] commented #1955
  • Nov 22 10:20
    codecov[bot] commented #1955
  • Nov 22 10:20
    codecov[bot] commented #1955
  • Nov 22 10:15
    github-actions[bot] labeled #1955
  • Nov 22 10:15
    dependabot[bot] labeled #1955
  • Nov 22 10:15
    dependabot[bot] opened #1955
  • Nov 22 10:15

    dependabot[bot] on pip

    Bump pillow from 9.0.1 to 9.3.0… (compare)

  • Nov 21 10:39
    jacobtomlinson commented #1953
  • Nov 17 09:23
    fraimondo commented #1949
  • Nov 16 13:04
    FabioRosado commented #1949
  • Nov 16 12:52
    fraimondo commented #1949
  • Nov 15 14:00
    gereltuya commented #1949
  • Nov 15 08:54
    rodrigo-albuquerque synchronize #1936
  • Nov 15 08:54
    rodrigo-albuquerque closed #1936
  • Nov 11 07:43
    FabioRosado commented #1933
  • Nov 10 21:25
    cshel16 commented #1933
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
FabioRosado
@fabiorosado:matrix.org
[m]
I shall try to use the walrus :D
FabioRosado
@fabiorosado:matrix.org
[m]
Opened a quick draft pr since I changed some things around and got the tmp folder tests failing locally
FabioRosado
@fabiorosado:matrix.org
[m]

I've finally finished the opsdroid/opsdroid#1767, I've added a video so you can see how the logs look like without having to test locally.

Cadair I've also added a new formatter config so a user can choose a formatting string. I remember you mentioned that it would be good to allow a user to do this 👍️