Errors

Java play! framework PubSubHubbub subscription confirmation problem

May 4th, 2011

I have lost hours and hours on this one. My subscription confirmations just didn’t work, I have scanned the network traffic with wireshark and my app just didn’t send a response to confirmation request.

To solve this problem all you need to do is open application.conf ande set play.pool value to 2 or higher. Default is one and server can’t responde to a request until the first one is finished so confirmation fails.

Installing Python 2.5 in Fedora 12 for Google App Engine

April 16th, 2010
This stupid install process gets me every time! How do you run Google App Engine which currently requires Python2.5 on a machine that has Python2.6 installed? This also goes for anybody trying to use Django with App-Engine. Read the rest of this entry »

Views in subfolder

April 15th, 2010

If you want to put your views in a subfolder and you are getting an import error, all you have to do is create a blank “__init__.py” file within that subfolder and everything should work fine. :)

django.core.exceptions.ImproperlyConfigured: Error loading psycopg module: No module named psycopg

February 26th, 2010

Well, it seems that you are simply missing Psycopg – PostgreSQL database adapter for Python, you need it to connect to PostgreSQL database.

To install untar file that you downloaded, go inside psycopg2-x.x.x folder and execute

> python setup.py build
> python setup.py install