Giter Site home page Giter Site logo

Comments (4)

dgtlmoon avatar dgtlmoon commented on June 12, 2024

Looks like a bug in apprise?

$ pip3 list|grep apprise
apprise                1.7.2
$ ls|apprise  mqtt://home-server/nice-topic
Exception ignored in: <function Client.__del__ at 0x7f8dc2cc0310>
Traceback (most recent call last):
  File "/home/dgtlmoon/.local/lib/python3.10/site-packages/paho/mqtt/client.py", line 874, in __del__
    self._reset_sockets()
  File "/home/dgtlmoon/.local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1133, in _reset_sockets
    self._sock_close()
  File "/home/dgtlmoon/.local/lib/python3.10/site-packages/paho/mqtt/client.py", line 1119, in _sock_close
    if not self._sock:
AttributeError: 'Client' object has no attribute '_sock'
2024-03-09 12:38:53,340 - ERROR - Could not load MQTT Notification URL: mqtt://home-server/nice-topic
2024-03-09 12:38:53,340 - ERROR - There are no service(s) to notify

from changedetection.io.

dgtlmoon avatar dgtlmoon commented on June 12, 2024

@Red96Baron please try to send a mqtt:// from the command line (pip install apprise)

if it persists, please open in caronc/apprise repo

thanks for the report

from changedetection.io.

Red96Baron avatar Red96Baron commented on June 12, 2024

@dgtlmoon thanks for the fast reply!

Please refere to caronc's answer from the apprise issue:

This is related to the version of mqtt being installed under the hood. The new version was released (v2.0) and not backwards compatible with its previous. See here.

Your Change detection instance just needs to include the previous version of paho-mqtt and it will work fine.

from changedetection.io.

dgtlmoon avatar dgtlmoon commented on June 12, 2024

Just released .17 :)

from changedetection.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.