Comments (8)
Dear Andreas,
As mentioned in GH-676 -- confirmed as working, thanks so much ^^
Best regards,
David
from mqttwarn.
Dear David,
thanks for reporting this flaw. The error you are demonstrating indicates that the Pushbullet module for mqttwarn might not have been made ready for Python 3 yet. We will have to improve that.
With kind regards,
Andreas.
from mqttwarn.
Dear Andreas,
Thank you for your quick and informed reply.
I am upgrading the docker version in the hopes that it might bring some (admittedly unexpected) benefit.
In the meantime I'll happily continue using my non-docker based install of mqttwarn which still works great :)
Cdt,
David
from mqttwarn.
Hi again,
I've just verified that the underlying PushbulletPythonLibrary
package does not support Python 3.
pip install PushbulletPythonLibrary
>>> import pushbullet.pushbullet
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/amo/dev/daq-tools/sources/mqttwarn/.venv311/lib/python3.11/site-packages/pushbullet/pushbullet.py", line 36, in <module>
from urlparse import urljoin
ModuleNotFoundError: No module named 'urlparse'
In the meantime I'll happily continue using my non-docker based install of mqttwarn which still works great.
Excellent. May I ask if you are still using this in a Python 2 environment - like, what does python -V
say?
$ python -V
Python 2.7.16
With kind regards,
Andreas.
from mqttwarn.
It will make sense to switch to a more modern client wrapper library, like one of those:
from mqttwarn.
Hello again.
Python on the working install (hasn't been updated in a while) is running the following version :
Python 2.7.9
from mqttwarn.
Dear David,
GH-676 will fix the problem by modernizing the Pushbullet service plugin. Major improvements are:
a) Works now with Python 3.
b) Will not need any external dependencies, thus will be available through OCI image mqttwarn-standard
.
c) Now obtains a modern target address descriptor, based on a dictionary instead of a list, see GH-628. 1
You will find corresponding examples how to install the preview version within the PR description. We will be happy about corresponding feedback, if that works for you or not.
With kind regards,
Andreas.
Footnotes
-
Please note this change retains backwards-compatibility to the previous configuration style, so you should be able to re-use your existing configuration 1:1. However, we encourage to use the modern configuration style, like outlined in the updated documentation. ↩
from mqttwarn.
mqttwarn 0.35.0 has been released, including this fix, so I am closing this ticket.
from mqttwarn.
Related Issues (20)
- [FreeBSD] ModuleNotFoundError: No module named 'versioningit' HOT 37
- Remove `gss` service plugin in favor of `gss2`? HOT 3
- mqttwarn 0.34.0 sdist size change HOT 1
- mqttwarn nine years ago HOT 6
- Absorb mqttshark? HOT 5
- Documentation on Image-based installation is wrong HOT 3
- [Nextcloud] Verify thoroughness of implementation over Apprise
- [ntfy] Bug with notification messages longer than 76 characters HOT 5
- Improve ntfy documentation on authorization and/or add authorization header HOT 4
- [ntfy] Error if message contains newline character `\n` HOT 14
- [pushover] unable to decode base64 encoded image
- Nightly to latest docker build - what is the trigger for this? HOT 5
- Object of type bytes is not JSON serializable HOT 5
- Use `dynamic-imports` for loading Python code at runtime
- Pull effective recipient from message payload HOT 3
- Messages directed only to the first target when a format function is defined HOT 2
- TLS issues with mosquitto-2.0.18 HOT 6
- mqttwarn does not like py39-paho-mqtt-2.0.0 HOT 11
- ntfy title results in ''=?utf-8?q?' prefix? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqttwarn.