[portland] Psycopg Question

Joshua D. Drake jd at commandprompt.com
Tue Feb 3 17:07:28 CET 2009


On Mon, 2009-02-02 at 18:57 -0800, Rich Shepard wrote:
> Anyone here familiar with psycopg?
> 
>    I'm trying to use a python app called tinyerp; it has two components:
> -server and -client. Both are installed, along with all the ancillary python
> tools the application uses.
> 
>    However, when I try to create a new database, it always returns "Could not
> create database." I grepped the code in the tinyerp-server and
> tinyerp-client python2.5/site-package directories and could not find that
> string. Psycopg for python-2.5 is a shared library rather than python code.
> I'm trying to find out why the database cannot be created so I can fix the
> problem.
> 
>    If anyone here has suggestions, please pass them on to me.
> 

I would turn on statement logging and see if tinyerp is actually trying
to create the database.


> Rich
> 
-- 
PostgreSQL - XMPP: jdrake at jabber.postgresql.org
   Consulting, Development, Support, Training
   503-667-4564 - http://www.commandprompt.com/
   The PostgreSQL Company, serving since 1997



More information about the Portland mailing list