Coder Social home page Coder Social logo

Comments (7)

jonasvp avatar jonasvp commented on June 3, 2024

This is probably because of a syntax or other problem in your settings.py. Try running "python" and then "import settings" to see what errors it throws.

What version of easy_thumbnails are you running? (Check the output of "pip freeze"). Version 1.0 changed some settings, you might want to try the old version: dce62a5

from django-image-cropping.

Gwildor avatar Gwildor commented on June 3, 2024

First of all, thanks for your fast reaction (too bad I didn't see it just as fast).

Importing settings returns no errors. I forgot to mention this but I'm working on a project which was working fine until I attempted to use django-image-cropping, and actually worked fine again when I commented everything related to it in my settings file, so I really really doubt there is something wrong on that end.

As for my easy_thumbnails version, I'm using version 1.0.3. Can you tell me which version of it might be worth attempting?

from django-image-cropping.

jonasvp avatar jonasvp commented on June 3, 2024

No, 1.0.3 is fine. When exactly does the error occur? And what did you add to the settings.py?

from django-image-cropping.

Gwildor avatar Gwildor commented on June 3, 2024

It occurs immediately when I try to run Django form the shell. I added everything from the readme from points 2 and 3 (although I had the import as the second line, not immediately above the THUMBNAIL_PROCESSORS = ...), both from the readme in the master branch as the readme in the django-1.4-compatibility branch (so I tried both the "thumbnail_settings" version and the "defaults" version).

My Django version is 1.4.1, does that bring compatibility issues?

from django-image-cropping.

jonasvp avatar jonasvp commented on June 3, 2024

No, Django 1.4.1 is fine. Sorry, can't really think of anything more to check. Main thing would be to try and find out what error is causing ./manage.py to bail. Maybe step through the settings with pdb.set_trace().

It's interesting that importing the settings directly doesn't throw any errors but I can't think of anything that would cause this behavior. Is there any public code I could see? Maybe a diff of the settings after adding the image-cropping-related constants?

from django-image-cropping.

Gwildor avatar Gwildor commented on June 3, 2024

That's too bad, but thanks for your help.

Sorry, there isn't any code which can be publicly available.

from django-image-cropping.

jonasvp avatar jonasvp commented on June 3, 2024

Well, good luck! Would love for you to check back when you found the problem, maybe others have the same issue.

from django-image-cropping.

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.