OMEMO update + ImportError: No module named 'PIL'
Versions
- OS: Linux
- GTK+ Version: 3.22.11
- PyGObject Version: 3.22.0
- python-nbxmpp Version: 0.6.5
- Gajim Version: 1.0.2+gajim@f99ec91f
Traceback
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/qrcode/image/pil.py", line 6, in <module>
from PIL import Image, ImageDraw
ImportError: No module named 'PIL'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/user/.local/share/gajim/plugins/omemo/ui.py", line 125, in account_combobox_changed_cb
self.update_context_list()
File "/home/user/.local/share/gajim/plugins/omemo/ui.py", line 352, in update_context_list
app.get_jid_from_account(account), deviceid, ownfpr[2:])
File "/home/user/.local/share/gajim/plugins/omemo/ui.py", line 141, in get_qrcode
img = qr.make_image()
File "/usr/local/lib/python3.5/dist-packages/qrcode/main.py", line 288, in make_image
from qrcode.image.pil import PilImage
File "/usr/local/lib/python3.5/dist-packages/qrcode/image/pil.py", line 8, in <module>
import Image
ImportError: No module named 'Image'
Steps to reproduce the problem
I recently updated the OMEMO plugin to version to version 2.5.13. I stopped seeing my contact devices and this error above appeared. I didn't do anything else.