Git Product home page Git Product logo

Comments (12)

 avatar commented on May 4, 2024 6

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

  1. Go to your anaconda / python directory.
  2. Open %python_path%\Lib\site-packages\caravel\config.py with text editor
  3. 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.

sweinbach avatar sweinbach commented on May 4, 2024 2

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.

gbrian avatar gbrian commented on May 4, 2024 1

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.

mistercrunch avatar mistercrunch commented on May 4, 2024 1

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.

mistercrunch avatar mistercrunch commented on May 4, 2024

Looks like you are installing on windows. I have no way to test against or support windows...

from superset.

pankajshrestha avatar pankajshrestha commented on May 4, 2024

Thanks, will see if i can figure this out. What platform do you recommend installing for POC?

from superset.

pankajshrestha avatar pankajshrestha commented on May 4, 2024

Thanks

from superset.

thanos avatar thanos commented on May 4, 2024

Under windows you will need to create a panoramix_config.py in your PYTHONPATH.

from superset.

sid88in avatar sid88in commented on May 4, 2024

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.

amrithyerramilli avatar amrithyerramilli commented on May 4, 2024

Hi, I am also getting the same error on my Windows machine.
Any updates on this?

from superset.

amrithyerramilli avatar amrithyerramilli commented on May 4, 2024

Thanks a ton! Works like charm :)

from superset.

Mowjo avatar Mowjo commented on May 4, 2024

Same for me ! Works perfectly now

from superset.

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.