Code Monkey home page Code Monkey logo

Comments (9)

akx avatar akx commented on July 21, 2024 3

So this should be fixed by upgrading to 2.8.3. Sorry again :)

from easy-thumbnails.

SmileyChris avatar SmileyChris commented on July 21, 2024 2

(I'd suggest if we're changing core requirements / making breaking changes in the future, we use a major version bump)

from easy-thumbnails.

jrief avatar jrief commented on July 21, 2024

Some users of easy-thumbnails complained, that they do not need SVG support and thus don't want to pull in the extra dependency reportlabs. Therefore this feature is optional. You can install pip install easy-thumbnails[svg] to fetch that extra dependencies.

from easy-thumbnails.

martin056 avatar martin056 commented on July 21, 2024

We have the same problem. reportlab and svglib are missing. My workaround is to add these to the requirements file of my project:

reportlab==3.6.10
svglib==1.3.0
easy_thumbnails==2.8.2

from easy-thumbnails.

jrief avatar jrief commented on July 21, 2024

Instead you should just add

easy-thumbnails[svg]

to your requirements.txt file.

from easy-thumbnails.

derek-adair avatar derek-adair commented on July 21, 2024

I'm getting a missing dep error with a fresh install of 2.8.2; pip install easy-thumbnails (not using the [svg] option).

django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'easy_thumbnails.templatetags.easy_thumbnails_tags': No module named 'reportlab'

simply trying to render a template manually;

<img src="{% thumbnail mymodel.image 50x50 crop %}" />

This is from following the README. When i pip install easy-thumbnails[svg] its working just fine.

from easy-thumbnails.

MacLake avatar MacLake commented on July 21, 2024

Some users of easy-thumbnails complained, that they do not need SVG support and thus don't want to pull in the extra dependency reportlabs. Therefore this feature is optional.

Ok, Jacob, but now even ./manage.py check fails unless svglib is installed because of the import in VIL/Image.py.

from easy-thumbnails.

akx avatar akx commented on July 21, 2024

My bad for not having properly checked whether everything works without svglib installed when implementing #597. Will be hopefully fixed by #603.

(I do agree this should have been shipped in a semver-minor, not a semver-patch release.)

from easy-thumbnails.

derek-adair avatar derek-adair commented on July 21, 2024

Thx budy, much love to the OS maintainers round the world!

from easy-thumbnails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.