Closed NoxNoctium closed 3 years ago
Heyo, I ran into the same issue. It seems you'll need to add jpeg and tiff to system_packages
as well. I did this by adding the following lines to my AppDaemon config in addition to the python_packages
config you've posted:
system_packages:
- jpeg
- tiff
You may also need to download https://github.com/NiklasReiche/ad-spotify-mood-lights-sync/blob/master/examples/default_profile.png to /config/www/spotify-lights-sync/test.png
Hope this helps!
Heyo, I ran into the same issue. It seems you'll need to add jpeg and tiff to
system_packages
as well. I did this by adding the following lines to my AppDaemon config in addition to thepython_packages
config you've posted:system_packages: - jpeg - tiff
Hi, adding jpeg and tiff to system_packages indeed fixed it, thanks!
You may also need to download https://github.com/NiklasReiche/ad-spotify-mood-lights-sync/blob/master/examples/default_profile.png to
/config/www/spotify-lights-sync/test.png
It seems the default_profile.png is downloaded/copied into any specified directory automatically.
I'll leave this issue open as a heads-up for now.
Hey, thanks for the heads-up.
I am currently running Home Assistant core and AppDaemon directly in a Python environment, so I can't easily test the dependencies. I will add a note on using jpeg
and tiff
to the readme for now.
Regarding the default_profile.png
image file, you shouldn't need to download anything. The file is created once on startup and placed at the location specified in the config. The image itself is never used by the app. It's just an easy way to visualize and debug a custom color profile, in case you don't want to use the default one. If you don't need this functionality you can also simply remove the color_map_image
option from your config.
In that case jpeg
and tiff
might also not be necessary, since pillow
never gets imported.
If you don't need this functionality you can also simply remove the
color_map_image
option from your config. In that casejpeg
andtiff
might also not be necessary, sincepillow
never gets imported.
Hi, just tried the "minimal" configuration, you are right, jpeg
, tiff
and pillow
are not needed in this case.
As this is now documented I'll close the issue.
Thanks!
On latest Home Assistant OS the following error is logged during app initialization:
ImportError: Error loading shared library libjpeg.so.8
Environment:
Addon config:
Full log: