Thadeus Burgess

Results 12 comments of Thadeus Burgess

What is your CACHE_TYPE config set to? It should be "filesystem".

Could you create a pull request to make that part of the docs clearer? On Aug 9, 2014 9:58 AM, "vaamyob" [email protected] wrote: > Nevermind, I just re-read the docs,...

It looks like you are caching objects and they do not have a **repr** function defined that would allow flask-cache to convert the object to a string that would be...

CACHE_TYPE='redis' is the correct setting. You probably do not have a proper redis client installed that is accessible to the python environment you are running this code. The code that...

Can you include the exception that you are receiving, as well as a failing unit test? The pull request proposed causes some of the existing unit tests to fail.

Yeah, we need to figure out "why" you are getting invalid keys. The _memoize_make_cache_key function should be creating an MD5 for you already https://github.com/thadeusb/flask-cache/blob/master/flask_cache/__init__.py#L402

What is the name of the function you are memoizing?

I see now it is using the function namespace as-is without any translations

If you could add a print statement or debug breakpoint to get the value of fetch_keys in the _memoize_version function would be super helpful.

It is possible that the application is running outside of the python environment that contains werkzeug or redis... If the following two imports fail, then the redis backend is not...