Tiny Core Linux
Tiny Core Extensions => TCE Bugs => Topic started by: GNUser on March 04, 2025, 01:36:07 PM
-
This is on TCL16.0beta1 x86_64:
$ tce-load -wil python3.9-pillow
python3.9-pillow.tcz.dep OK
Downloading: python3.9-olefile.tcz
Connecting to repo.tinycorelinux.net (128.127.66.77:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: python3.9-olefile.tcz.md5.txt: No such file or directory
Error on python3.9-olefile.tcz
It's not just that the md5.txt file is missing. python3.9-olefile.tcz does not exist in the repo.
-
Hi GNUser
python3.9-olefile.tcz is in the TC15 x86_64 repo. See if that
works. Not copying it over may just have been an oversight.
-
It should be fixed now - thanks for pointing this out
-
Yes, now it loads but seems to be too old for my application:
...
File "/usr/local/lib/python3.9/site-packages/PIL/ImageCms.py", line 33, in <module>
from . import _imagingcms as core
ImportError: cannot import name '_imagingcms' from 'PIL' (/usr/local/lib/python3.9/site-packages/PIL/__init__.py)
There are some commits to Pillow in late 2024 having to do with this file (ImageCms.py). It would be nice if python3.9-pillow.tcz could be updated for TCL16. If there's no time, no worries--I'll find a workaround.
Ref: https://github.com/python-pillow/Pillow/blob/main/src/PIL/ImageCms.py
-
python3.9-pillow updated, but not tested
-
Thanks, Juanito. Works well in my tests. I submitted an update to img2pdf.tcz now that it can use the python3.9-pillow.tcz extension (rather than bundle everything that it needs).