OpenBSD 7.8 (GENERIC.MP) #54: Sun Oct 12 12:58:11 MDT 2025
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
TOPENBSD_7_8
 
There is an runtime error on exporting Inkscape project to JPEG.
It sounds like graphics/py-Pillow is missed as a runtime depedency.
 
Traceback (most recent call last):
  File "/usr/local/share/inkscape/extensions/raster_output_jpg.py", 
line 28, in <module>
    JpegOutput().run()
  File "/usr/local/share/inkscape/extensions/inkex/base.py", line 254, 
in run
    self.load_raw()
  File "/usr/local/share/inkscape/extensions/inkex/base.py", line 268, 
in load_raw
    document = self.load(self.file_io)
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/share/inkscape/extensions/inkex/extensions.py", line 
166, in load
    from PIL import Image
ModuleNotFoundError: No module named 'PIL'
 
 
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/inkscape/Makefile,v
diff -u -p -u -r1.124 Makefile
--- Makefile    10 Aug 2025 05:31:49 -0000    1.124
+++ Makefile    18 Jan 2026 16:31:10 -0000
@@ -85,6 +85,7 @@ RUN_DEPENDS =    devel/desktop-file-utils \
         textproc/py-lxml \
         textproc/py-tinycss2 \
         www/py-requests \
+        graphics/py-Pillow \
         x11/gtk+4,-guic
 
 WRKDIST =    ${WRKDIR}/inkscape-${VERSION}_2025-05-08_ebf0e940d0
 
 

Reply via email to