-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No file 'mqttwarn.py' #396
Comments
Before we try to answer that question, please be aware that a lot is changing here, in particular you should now be able to pip install mqttwarn directly. The file you search for is then deep in the bowels of In case of doubt, please report back with how you installed mqttwarn. In any case you do not create that file yourself. :) |
To be clearer: The file 'mqttwarn.py' isn't even included in the current github repository, neither in the 'master' branch, nor in the 'py38' branch |
I used the installation as mentioned in 'mqttwarn/etc/mqttwarn.service', so basically a 'git clone https://github.com/jpmens/mqttwarn'. |
The current method to install mqttwarn is python3 -m venv /tmp/mwarn
source /tmp/mwarn/bin/activate
pip install mqttwarn You will then find the program you are searching for as |
OK, that did it (after moving a lot files by hand, as I had to use 'pip --user'. |
"can't get it to run as a systemd service" is not particularly helpful to us. What did you try? What happened?
|
You're right :-)
and changed '/etc/systemd/system/mqttwarn.service to
[...] oing so, I'm getting unlogged error messages from 'journalctl -u mqttwarn'. The problem seems to be the 'docopt' call in 'commands.py'.
the service/mqttwarn gets started and is responsive to MQTT test messages. |
Unfortunately the call to 'docopt(commandline_schema, version=APP_NAME + ' ' + version)' just doesn't return to 'commands.py' but breaks the execution without any message/log. |
Dear @LaborEtArs, sorry that you had troubles installing the systemd service for
84c57c0 now removes every reference to
With kind regards, |
It looks like the installation of |
@amotl It's running as a service now on my Raspi (without cmd line options; not needed there anyways). |
Ok, good to hear.
Feel free to open another issue if you are observing problems with this plugin. After we revamped |
@LaborEtArs specifically, we have no plans to update the 'apns' plugin to 'apns2', but you are very welcome to contribute such a plugin. |
In the docs and in some examples, a file 'mqttwarn.py' is referenced to. However, the repository doesn't contain this file. Do I have to create it? How?
Trying to install 'mqttwarn' as a systemd service on Raspbian, but the 'mqttwarn.service' fails to start, as the file 'mqttwarn.py' isn't available.
The text was updated successfully, but these errors were encountered: