CrealityTech / sonic_pad_os

sonic-pad os source code
GNU General Public License v2.0
30 stars 13 forks source link

Moonraker python env is missing apprise library and its dependencies #6

Open epnasis opened 1 year ago

epnasis commented 1 year ago

The package/creality/moonraker/files/moonraker-env.tar.gz is missing apprise==1.3.0 and its dependencies which are part of requirements (see below) which does not allow moonraker config to use notification service - the [notifier] as documented in https://moonraker.readthedocs.io/en/latest/configuration/#notifier

Manual installation of this dependency is crashing Moonraker start. Can you include the library in your distribution?

root@spad-7598:~# cat /usr/share/moonraker/scripts/moonraker-requirements.txt
# Python dependencies for Moonraker
tornado==6.2.0
pyserial==3.4
pyserial-asyncio==0.6
pillow==9.3.0
lmdb==1.3.0
streaming-form-data==1.11.0
distro==1.8.0
inotify-simple==1.3.5
libnacl==1.8.0
paho-mqtt==1.6.1
zeroconf==0.39.4
preprocess-cancellation==0.2.0
jinja2==3.1.2
dbus-next==0.2.3
apprise==1.3.0
ldap3==2.9.1

root@spad-7598:~# source /usr/share/moonraker-env/bin/activate

(moonraker-env) root@spad-7598:~# pip freeze
attrs==20.3.0
Cython==0.29.2
dbus-next==0.2.3
distro==1.5.0
gevent==20.12.1
greenlet==0.4.17
idna==3.1
ifaddr==0.1.7
inotify-simple==1.3.5
Jinja2==3.1.2
libnacl==1.7.2
lmdb==1.2.1
MarkupSafe==2.1.2
netifaces==0.10.9
numpy==1.16.6
paho-mqtt==1.5.1
Pillow==8.3.2
preprocess-cancellation==0.2.0
psutil==5.7.2
pycparser==2.20
pycryptodome==3.9.7
pycurl==7.43.0.3
pyrsistent==0.18.1
pyserial==3.4
PyYAML==5.3.1
regex==2020.10.28
six==1.15.0
streaming-form-data==1.8.1
tornado==6.1
urllib3==1.26.3
zeroconf==0.37.0
epnasis commented 9 months ago

I sold Creality SonicPad and the printer moving to Bambu Lab so no longer have these problems. I will not be able to confirm if it's fixed. However I leave he issue open for those who ever need notifications from SonicPad. Good luck!