GithubHelp home page GithubHelp logo

Comments (7)

jrypel avatar jrypel commented on June 30, 2024 8

in the meantime, pinning flask == 2.2.5 helps.

from flask-mongoengine.

idoshr avatar idoshr commented on June 30, 2024 2

I think that this could be helpful

#537

EDIT:
This fork can be helpful
https://pypi.org/project/flask-mongoengine-3/

from flask-mongoengine.

ruben-sprengel avatar ruben-sprengel commented on June 30, 2024 2

#537

from flask-mongoengine.

rohank0510 avatar rohank0510 commented on June 30, 2024 1

downgrading to flask==2.2.5 worked for me! No longer getting this error

from flask-mongoengine.

sskender avatar sskender commented on June 30, 2024

Yeap, can confirm the same problem.

from flask-mongoengine.

iammustafatz avatar iammustafatz commented on June 30, 2024

json_encoder and json_decoder attributes on app and blueprint, and the corresponding json.JSONEncoder and JSONDecoder classes, are removed from Flask version 2.3.0.

So, it shows JSONEncoder = json.JSONEncoder
AttributeError: module 'flask.json' has no attribute 'JSONEncoder'

For more refer: https://flask.palletsprojects.com/en/2.3.x/changes/#version-2-3-0

from flask-mongoengine.

Audiosutras avatar Audiosutras commented on June 30, 2024

Is this a bug that will be fixed or are we to use @idoshr fork going forward. I think downgrading isn't the solution.

from flask-mongoengine.

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.