Comments (12)
Found solution. Error happends because flask_manager could not find default db path for sqlite db. To fix this your need to change SQLALCHEMY_DATABASE_URI in caravel config.py
- Go to your anaconda / python directory.
- Open
%python_path%\Lib\site-packages\caravel\config.py
with text editor - Find row with SQLALCHEMY_DATABASE_URI connection string and change it according to your operation system / database setup. For windows you should type something like
'sqlite:///C:\\tmp\\caravel.db'
More examples on connection strings at sql alchemy docs pages:
http://docs.sqlalchemy.org/en/rel_0_9/core/engines.html#database-urls
from superset.
Hi, a note on Windows 10. I did not have to edit / create config files. Creating the now missing C:\Temp worked for me though...
from superset.
HI,
I'm managing with Ubuntu and Windows.
To make it work on windows you'll need to tricks:
- I'm sure about having to change the data path for the sqllite database, but can not find where I did it, sorry. BTW be sure to have an existing "tmp" folder at C:\
- Delete "panoramix\panoramix\static\assets" file and create a symlink to *"..\assest" * instead
mklink /D assests ..\assests
I'm using Anaconda as well instead normal python distribution. https://www.continuum.io/downloads
Hope this @helps
from superset.
Ubuntu should work great. I'm not planning on ever working on windows support. If someone was to take that on I can review the PRs and just make sure it doesn't break the rest.
from superset.
Looks like you are installing on windows. I have no way to test against or support windows...
from superset.
Thanks, will see if i can figure this out. What platform do you recommend installing for POC?
from superset.
Thanks
from superset.
Under windows you will need to create a panoramix_config.py in your PYTHONPATH.
from superset.
or you can create panoramix_config.py in the same location as config.py and when you run the server config should compile panoramix_config.py
P.S: its changed to caravel_config now ;)
from superset.
Hi, I am also getting the same error on my Windows machine.
Any updates on this?
from superset.
Thanks a ton! Works like charm :)
from superset.
Same for me ! Works perfectly now
from superset.
Related Issues (20)
- Unable to resize the cards inside a column
- Drawback on latest version 4.0.0 dashboard grid
- Logarithmic Axis in Apache Superset Charts
- Adjusting Font Size of Legend, Axes, and Value Labels in Apache Superset Dashboard HOT 1
- Dashboards should be loaded with current user access rights, not with dashboard owner's access rights HOT 9
- [ENABLE_TEMPLATE_PROCESSING] BaseTemplateProcessor interface (process_template) is misused HOT 1
- Helm installation bug: "Deployment is not ready: superset/superset-worker" HOT 1
- Not able to enable DASHBOARD_RBAC in helm chart ? HOT 4
- Helm: import_datasources.yaml - 'TypeError: 'str' object does not support item deletion'
- Superset Kubernetes documentation resource offline HOT 4
- Add Missing Stacktrace information on errors, SQL lab query execution HOT 1
- Hiding Force refresh in Dashboard HOT 6
- "There was an error connecting to the database" ... and general database connection woes! HOT 1
- Can't enter commas into database configuration setup
- Slider step size is incorrect in some cases
- Elements of markdown not supported by Text layout Element HOT 3
- Error is not precise when 2 database connexions use the same display name HOT 1
- Filter / Column of Dataset HOT 1
- Superset app loads infinitely or throws unexpected error occasionally. Ver. 3.1.2 HOT 7
- Can not Connect to AWS Redis Serverless HOT 4
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 superset.