Closed Maeians closed 1 year ago
@mkuf can you comment on that? I think there is a Linux package that is missing in the image?
Yes, the libjpeg62-turbo is missing in the runtime image. I created a PR for this: https://github.com/Clon1998/mobileraker_companion/pull/31
@Clon1998 Do you have a list of dependencies to linux packages that we should add to the runtime image?
I used the install script for reference when I created the dockerfile, its probably a good idea to also add this dependency to it.
I don't, I did not even know that the Pillow
lib requires that!
Do you mind adding the package to the install script as well in your PR?
Sure, I just added a simple function that calls apt to install the same dependencies as the dockerfile does.
It might be necessary to expand the package list in the future, but it should be sufficient for now.
-Markus
#Traceback (most recent call last): ? File "/opt/mobileraker/mobileraker.py", line 14, in
/ from snapshot_client import SnapshotClient
B File "/opt/mobileraker/snapshot_client.py", line 3, in
from PIL import Image
T File "/opt/venv/lib/python3.11/site-packages/PIL/Image.py", line 103, in
# from . import _imaging as core
VImportError: libjpeg.so.62: cannot open shared object file: No such file or directory
#Traceback (most recent call last):
? File "/opt/mobileraker/mobileraker.py", line 14, in
/ from snapshot_client import SnapshotClient
B File "/opt/mobileraker/snapshot_client.py", line 3, in
from PIL import Image
T File "/opt/venv/lib/python3.11/site-packages/PIL/Image.py", line 103, in
# from . import _imaging as core
VImportError: libjpeg.so.62: cannot open shared object file: No such file or directory