FS#74931 - Gajim 1.4.2 fails to start due to missing PIL module

Attached to Project: Community Packages
Opened by Richard Adenling (dreeze) - Wednesday, 01 June 2022, 14:08 GMT
Last edited by Toolybird (Toolybird) - Sunday, 17 July 2022, 07:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Gajim 1.4.2 failed to start with the following error:

Traceback (most recent call last):
File "/usr/bin/gajim", line 33, in <module>
sys.exit(load_entry_point('gajim==1.4.2', 'gui_scripts', 'gajim')())
File "/usr/lib/python3.10/site-packages/gajim/gajim.py", line 162, in main
_run_app()
File "/usr/lib/python3.10/site-packages/gajim/gajim.py", line 119, in _run_app
from gajim.gui.application import GajimApplication
File "/usr/lib/python3.10/site-packages/gajim/gtk/application.py", line 63, in <module>
from gajim.common.application import CoreApplication
File "/usr/lib/python3.10/site-packages/gajim/common/application.py", line 41, in <module>
from gajim.common.preview import PreviewManager
File "/usr/lib/python3.10/site-packages/gajim/common/preview.py", line 36, in <module>
from gajim.common.preview_helpers import aes_decrypt
File "/usr/lib/python3.10/site-packages/gajim/common/preview_helpers.py", line 36, in <module>
from PIL import Image
ModuleNotFoundError: No module named 'PIL'

Installing python-pillow solved it for me so it should be added as a dependency.

Additional info:
* package version(s): 1.4.2-1

Steps to reproduce:
* Launch Gajim
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 17 July 2022, 07:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  gajim 1.4.5-1
Comment by Étienne Deparis (milouse) - Thursday, 02 June 2022, 08:30 GMT
Some context here: the last development cycle of gajim integrate into the main app features, which were previously only available through addons. Regarding this issue, it comes from the integration of the Image Preview Plugin. Thus python-pillow must be promoted as a required dependency instead of just being proposed in optional ones.

c.f. https://dev.gajim.org/gajim/gajim/-/issues/10940

Loading...