Skip to content

[BUG] ModuleNotFoundError: No module named 'reportlab' #161

Open
@LuminatiHD

Description

@LuminatiHD

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions