Comments (5)
Root cause
The traceback is:
Traceback (most recent call last):
File "/path/to/bin/superset", line 5, in <module>
from superset.cli.main import superset
File "/path/to/lib/python3.11/site-packages/superset/__init__.py", line 21, in <module>
from superset.app import create_app
File "/path/to/lib/python3.11/site-packages/superset/app.py", line 23, in <module>
from superset.initialization import SupersetAppInitializer
File "/path/to/lib/python3.11/site-packages/superset/initialization/__init__.py", line 27, in <module>
from flask_appbuilder import expose, IndexView
File "/path/to/lib/python3.11/site-packages/flask_appbuilder/__init__.py", line 5, in <module>
from .api import ModelRestApi # noqa: F401
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/path/to/lib/python3.11/site-packages/flask_appbuilder/api/__init__.py", line 38, in <module>
from ..baseviews import AbstractViewApi
File "/path/to/lib/python3.11/site-packages/flask_appbuilder/baseviews.py", line 22, in <module>
from .forms import GeneralModelConverter
File "/path/to/lib/python3.11/site-packages/flask_appbuilder/forms.py", line 3, in <module>
from flask_wtf import FlaskForm
File "/path/to/lib/python3.11/site-packages/flask_wtf/__init__.py", line 4, in <module>
from .recaptcha import Recaptcha
File "/path/to/lib/python3.11/site-packages/flask_wtf/recaptcha/__init__.py", line 1, in <module>
from .fields import RecaptchaField
File "/path/to/lib/python3.11/site-packages/flask_wtf/recaptcha/fields.py", line 3, in <module>
from . import widgets
File "/path/to/lib/python3.11/site-packages/flask_wtf/recaptcha/widgets.py", line 6, in <module>
JSONEncoder = json.JSONEncoder
^^^^^^^^^^^^^^^^
AttributeError: module 'flask.json' has no attribute 'JSONEncoder'
References
- MongoEngine/flask-mongoengine#522
- voxpupuli/puppetboard#888
- aptible/deploy-demo-app#37
- czbiohub-sf/excellxgene#20
- cs91chris/flask_autocrud#7
from cratedb-examples.
Downgrading to Flask 2.2, using pip install 'flask<2.3'
, as suggested, apparently resolves the problem, but then trips with a totally different error:
ERROR [flask_migrate] Error: Can't locate revision identified by 'b7851ee5522f'
from cratedb-examples.
I can't discover the root cause, so I've reported it to upstream.
from cratedb-examples.
The upstream issue has been converted into a discussion, because Apache Superset 2.x is not supported any longer. Thanks, @michael-s-molina.
/cc @proddata
from cratedb-examples.
GH-335 will remove testing of Apache Superset 2.x on CI.
from cratedb-examples.
Related Issues (20)
- AutoML: Test harness trips when installing `catboost` on macOS with Python 3.11, works with Python 3.10
- Add examples on how to use CrateDB with Polars in Write and Read operations.
- Improve tutorials about Apache Superset HOT 1
- Dependency installation fails on Google Colab for `cratedb-vectorstore-rag-openai-sql.ipynb`
- LLM example `document_loader.ipynb` fails HOT 4
- ODBC on Windows, pyodbc, and unixODBC
- [Testing] Demonstrate CrateDB test layers with parameterization
- LangChain: `cratedb_rag_customer_support.ipynb` trips with `CellTimeoutError` HOT 2
- AutoML: CI trips with `ValueError: Input contains NaN.` HOT 7
- AutoML: CI trips with `CellTimeoutError` HOT 2
- Issue with requirements.txt HOT 3
- [Tech Writing] CrateDB for Pythonistas with SQLAlchemy HOT 1
- [Java] crate-java-testing
- Issue with time series forecasting with pycaret notebook HOT 2
- Time Series: Modernize notebooks to use recent versions of pandas and SQLAlchemy
- Apache Kafka Streaming with PyFlink
- Use Python 3.10 on CI, at least for Jupyter Notebooks HOT 1
- RAG: Problems resolving dependencies on Google Colab HOT 3
- TSML: Error in `timeseries-anomaly-detection.ipynb` HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cratedb-examples.