[sqlalchemy] Re: Problems connecting to Postgresql using collective.lead

2008-01-19 Thread Bernhard Mager
Alex Turner schrieb: I am getting an error connecting to Postgresql: ImportError: unknown database 'psycopg' The back story is that I am attempting to modify an example given in Martin Aspeli's Book: Professional Plone Development (Chapter 12 - page 274-. He recommends using SQLAlchemy,

[sqlalchemy] Re: Problems connecting to Postgresql using collective.lead

2008-01-19 Thread Andreas Jung
--On 18. Januar 2008 15:56:02 -0800 Alex Turner [EMAIL PROTECTED] wrote: I am getting an error connecting to Postgresql: ImportError: unknown database 'psycopg' The canonical driver name for Postgres databases is 'postgres'. Looks like a typo in Martin's book. psycopg(2) is name of the

[sqlalchemy] Re: Problems connecting to Postgresql using collective.lead

2008-01-19 Thread Alex Turner
Ahh - that is the thing - he doesn't say in the book about postgresql, that is sort of the problem! He uses MySQL (Ugh) in the book, so I was sort of guessing. Alex On Jan 19, 2008 11:23 AM, Andreas Jung [EMAIL PROTECTED] wrote: --On 18. Januar 2008 15:56:02 -0800 Alex Turner [EMAIL