taigaio/taiga-back

[BUG] ModuleNotFoundError: No module named 'reportlab'

LuminatiHD opened this issue · 0 comments

For a short while, we've been getting these Tracebacks in our Logs:

  File "/taiga-back/taiga/base/utils/thumbnails.py", line 75, in get_thumbnail
    from easy_thumbnails.VIL import Image
  File "/opt/venv/lib/python3.11/site-packages/easy_thumbnails/VIL/Image.py", line 7, in <module>
    return thumbnailer[thumbnailer_size]
    from reportlab.graphics import renderSVG
           ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'reportlab'

Now, this is technically a bug on the side of easy-thumbnail, since reportlab is an unmarked dependency. However, since this is only used for easy_thumbnails.VIL, an experimental feature, the owners have insisted on not marking it under their main dependencies: SmileyChris/easy-thumbnails#602 (comment)