Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report warning/error when run flask-cache #171

Closed
wanghaiqing2015 opened this issue Jun 30, 2017 · 1 comment
Closed

report warning/error when run flask-cache #171

wanghaiqing2015 opened this issue Jun 30, 2017 · 1 comment

Comments

@wanghaiqing2015
Copy link

c:\python27\lib\site-packages\flask_cache\jinja2ext.py:33: ExtDeprecationWarning: Importing flask.ext.cache is deprecated, use flask_cache instead.

===============================================
report error when use pyinstaller to freeze flask project

C:\Users\root\Desktop\flask-aim-angle\flask_aim\dist\master>master.exe
Traceback (most recent call last):
File "flask-aim-angle\flask_aim\master.py", line 12, in
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
exec(bytecode, module.dict)
File "flask-aim-angle\flask_aim\app.py", line 21, in
File "site-packages\flask_cache_init_.py", line 121, in init
File "site-packages\flask_cache_init_.py", line 156, in init_app
File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
exec(bytecode, module.dict)
File "site-packages\flask_cache\jinja2ext.py", line 33, in
ImportError: No module named ext.cache
Failed to execute script master

@wanghaiqing2015
Copy link
Author

use flask-caching now

https://flask-caching.readthedocs.io/en/latest/

#156

coderise-ahsan added a commit to coderise-ahsan/gdash that referenced this issue May 14, 2018
I am getting an exception while installing gdash on Centos 7. The recommendation now is to use Flask-Caching instead of Flask-Cache - thadeusb/flask-cache#171. Please review and let me know if this is something we can change .. 

Thanks,
Ahsan
Ma27 added a commit to Ma27/nixpkgs that referenced this issue Jul 17, 2018
The package is currently broken and most folks recommend to use
`flask-caching` (see
thadeusb/flask-cache#171).

The only package in `nixpkgs` which remained to use `flask_cache`
(`graphite_api`) still builds with `pythonPackages.flask-caching`.

The removal and corresponding `graphite_api` change unbreaks several
Hydra builds (see https://hydra.nixos.org/build/76953777).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant