error using curl test after following datastore setup instructions

This is a follow on related to comment https://github.com/okfn/ckan/pull/269#issuecomment-12519785 and follow on comments.  I installed from source master branch.

I followed through the data store setup instructions and things went smoothly.  To test it out I tried the curl command suggested:

    curl -X GET "http://127.0.0.1:5000/api/3/action/datastore_search?resource_id=_table_metadata"

At first this wasn't working.  I was getting the same error as @seanh as mentioned in the comment.  To test other parts of the system, I ran the development server from the command line, i.e.

  paster serve development.ini

I then registered a user and clicked on a few links.  Surmising that the database may have been initialized in some way, possibly addressing the problem, I tried the curl request/query again, and it worked.  It will be hard to reproduce this, since I'd need to reinstall again from scratch, but hopefully it will provide some hints toward a fix.