Tipfy on Google App Engine (GAE) installing extensions

I am trying to get tipfy while working on the Google App Engine > (GAE). I am using Windows XP .

The hello world example is working fine. I don’t understand how to install the extensions correctly.

I am trying to use the "multi-auth" example without much success.

I get the following error:

ImportError: No module named wtforms.validators 

I tried installing the extension according to the documentation that says:

bootstrap.py --distribute

What returns:

Download http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz

Extract to d: \ temp \ tmp2frf61

Now we work in d: \ Temp \ tmp2frf61 \ distribute-0.6.14

Creating a Distributed Egg in d: \ Temp \ tmpq4-j_v

warning: files not found "Makefile" in the "docs"

warning: files not found 'indexsidebar.html' in the 'Documents' directory

D: \ Temp \ tmpq4-j_v \ distribute-0.6.14-py2.5.egg

install_dir d: \ temp \ tmpq4-j_v

Then I run:

bin / buildout

and get the following:

While: Initialization. Error: Could not open D: \ downloads \ tipfy.0.6.3.build \ project \ bin \ buildout.cfg

Since this file does not exist in the bin directory, which, I assume, should be placed there after starting:

bootstrap.py --distribute

+4
source share
2 answers

You should run bin / buildout from the directory where buildout.cfg is executed, and not from the bin directory. Do something like this

 cd D:\downloads\tipfy.0.6.3.build\project start bin/buildout 
+4
source
Problems

bootstrap and buildout are caused by broken distribution in version 0.6.3 IMHO. Better use an all-in-one package.

Another problem is the lack of wtforms . I have the same problem as you, but with gae-auth , and I think tipfy-ext-auth also suffers from it. Simply put, tipfy-ext-auth updated to work with tipfy 0.7, and you are using 0.6.3.

Version 0.7 is a development version and is not yet available to the public. Thus, one option is to use 0.7 directly from the hg repository . But be careful: 0.7 is not compatible with 0.6.3.

Another option is to simply download the wtforms modules from the latest version and put them in the app/lib directory. I did this for my project, and it worked.

+1
source

All Articles