Giter VIP home page Giter VIP logo

Comments (2)

radiac avatar radiac commented on June 12, 2024

Thanks for the report - think this is something to do with the version of simplejson. I'll get onto this asap, hopefully have a fix tomorrow.

from django-yarr.

radiac avatar radiac commented on June 12, 2024

I believe this change should fix the problem, although I wasn't able to recreate your error to prove it. You should be able to upgrade with:

pip install -e git+https://github.com/radiac/django-yarr.git#egg=django-yarr

(see UPGRADE.rst for more info). Let me know if this doesn't fix it for you.

It looks like the problem was that simplejson was deprecated in Django 1.5, so when they changed a function's arguments somewhere, it caused a problem for Django (which they didn't need to fix). I've switched to the json module that ships with python >=2.6.

I've left a try/except to fall back to simplejson if someone's trying to run it on <2.6 and can find the latest version of simplejson which has the original function arguments. We can remove this when Yarr requires Django 1.5.

from django-yarr.

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.