Skip to content

Conversation

@nuaays
Copy link

@nuaays nuaays commented May 10, 2018

Traceback (most recent call last):
File "/manage.py", line 5, in
from gBlockChain import app
File "/gBlockChain/init.py", line 116, in
register_extensions(app)
File "/gBlockChain/utils.py", line 39, in __deco
f(*args, **kwargs)
File "/gBlockChain/init.py", line 32, in register_extensions
getattr(kw['module'].extension, 'init_app')(app)
File "/gBlockChain/extensions/redis.py", line 16, in init_app
super(NewCache, self).init_app(app, config_cache)
File "/usr/local/lib/python3.6/site-packages/flask_cache/init.py", line 156, in init_app
from .jinja2ext import CacheExtension, JINJA_CACHE_ATTR_NAME
File "/usr/local/lib/python3.6/site-packages/flask_cache/jinja2ext.py", line 33, in
from flask.ext.cache import make_template_fragment_key
ModuleNotFoundError: No module named 'flask.ext'

Traceback (most recent call last):
  File "/manage.py", line 5, in <module>
    from gBlockChain import app
  File "/gBlockChain/__init__.py", line 116, in <module>
    register_extensions(app)
  File "/gBlockChain/utils.py", line 39, in __deco
    f(*args, **kwargs)
  File "/gBlockChain/__init__.py", line 32, in register_extensions
    getattr(kw['module'].extension, 'init_app')(app)
  File "/gBlockChain/extensions/redis.py", line 16, in init_app
    super(NewCache, self).init_app(app, config_cache)
  File "/usr/local/lib/python3.6/site-packages/flask_cache/__init__.py", line 156, in init_app
    from .jinja2ext import CacheExtension, JINJA_CACHE_ATTR_NAME
  File "/usr/local/lib/python3.6/site-packages/flask_cache/jinja2ext.py", line 33, in <module>
    from flask.ext.cache import make_template_fragment_key
ModuleNotFoundError: No module named 'flask.ext'
@alanhamlett
Copy link
Contributor

Duplicate of #139.

@emb03
Copy link

emb03 commented May 25, 2018

I am getting this error using Misaka plugin. Will this be updated soon?

@alanhamlett
Copy link
Contributor

Switch to Flask-Caching: https://github.com/sh4nks/flask-caching

@felexkemboi
Copy link

am getting an error but am working on a different project,,,,how can i go about please.am in python 3.6

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

Successfully merging this pull request may close these issues.

4 participants