ERROR about "fabmanager create-admin --app caravel"
when i create an admin user: fabmanager create-admin --app caravel。 i get:
c:\anaconda2\lib\site-packages\flask_cache__init__.py:152: UserWarning: Flask-Cache: CACHE_TYPE is set to null, caching is effectively disabled. warnings.warn("Flask-Cache: CACHE_TYPE is set to null, " 2016-07-04 17:19:01,871:ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: (sqlite3.OperationalError) unable to open database file
@SevnChen caravel is supposed to run on unix like systems and not on windows
@xrmx on the Caravel documantation http://airbnb.io/caravel/installation.html say:
Windows isn’t officially supported at this point, but if you want to attempt it, download get-pip.py, and run python get-pip.py which may need admin access. Then run the following:
i dont understand and have not run the next:
C:> \path\to\vcvarsall.bat x86_amd64
C:> set LIB=C:\OpenSSL-1.0.1f-64bit\lib;%LIB%
C:> set INCLUDE=C:\OpenSSL-1.0.1f-64bit\include;%INCLUDE%
but i successfully install cryptography and caravel.
@SevnChen sure, but "it isn't officiallly supported" means you have to help yourself in fixing issues and not just open issues :) But again i cannot see how this can work easily if gunicorn does not work on windows.
The sqlite error is because the caravel_config does not specify a valid windows path for the db file.
Try something like sqlite:///C:\\path\\to\\database.db
If you haven't setup your caravel_config.py file you'll probably need to specify the pythonpath enironment variable so that it can be found.
The cryptography instructions are out of date. You can just pip install cryptography now on windows. It already includes binaries, which it seems like you already did.
Hope this helps.
Closing after updating doc regarding cryptography installation and sqlalchemy uri.