-
Notifications
You must be signed in to change notification settings - Fork 44
Description
Describe the bug
I cannot get the script to access apprise correctly.
There are two problems:
Problem 1:
The script always says "apprise has not been found and will be installed... apprise installed successfully."
This happens even if the script has run previously and also this still happens after I manually install apprise.
Problem 2:
The value for APPRISE_BIN set in the config file does not get passed on to the main script.
This means that none of the APPRISE lines work.
To Reproduce
As a test I add the line "echo $APPRISE_BIN" near the top of the main script. The echo command always returns blank.
when I run ' command -v apprise' from the command line, the output is "/home/media/.local/bin/apprise"
So apprise is installed but the APPRISE_BIN variable is not passing through to the main script.
If change the value of APPRISE_BIN to "/home/media/.local/bin/apprise"
Then I get the following error when the script runs:
Sending notification using Apprise service(s).
Traceback (most recent call last):
File "/home/media/.local/bin/apprise", line 5, in <module>
from apprise.cli import main
ModuleNotFoundError: No module named 'apprise'
I know that apprise is working outside of the script. Eg when I run the following line from the command line it works fine:
apprise -vv -t 'TEST TITLE' -b 'BODY' APPRISE_URL
Please complete the following information:
- Distro: Ubuntu 22.04
- AIO Script Version 3.4 Beta 2