0
votes

I am trying to set up Tipfy extensions on a Python/Google App Engine project that I've been brought in on. I have followed all the instructions for running bootstrap.py and then bin/buildout. Everything seems to have worked but now when I try to import tipfy.ext.auth, I get this error:

File "C:\{project}\app\lib\dist\tipfy\ext\auth\__init__.py", line 15, in <module>
    from tipfy import abort, cached_property, import_string, redirect
ImportError: cannot import name cached_property

I'm a bit lost now and don't really know where to even look for the solution to this as I am, admittedly, very new to both Python and GAE. Any help or direction on how to get this extension working would be greatly appreciated.

1
Potential solution here: tipfy.googlecode.com/hg/docs/source/guide/migrating.rst Remove that import and import from werkzeug instead. - mechanical_meat
@AdamBernier - Thanks, that worked perfectly! - velojason
No problem. Per protocol I suppose I should enter that as an answer. You may accept it if you like, but don't feel obligated to do so. - mechanical_meat
I am not sure if you should be using tipfy, unless it is a requirement. Nobody is maintaining it now. - specialscope

1 Answers

0
votes

Potential solution here: http://tipfy.googlecode.com/hg/docs/source/guide/migrating.rst
tl;dr: Remove that import and import from werkzeug instead.