On Mar 30, 2011, at 12:42 PM, Hans-Martin wrote:

> On Mar 30, 5:43 pm, Michael Bayer <[email protected]> wrote:
>> That's not an error I'm familiar with how to reproduce; it suggests an 
>> incorrect string passed to create_engine().   Working code with Python 3.2 
>> plus pg8000 looks like:
>> 
>> from sqlalchemy import create_engine
>> 
>> e = create_engine("postgresql+pg8000://scott:tiger@localhost/test")
>> print(e.execute("select 1").scalar())
> 
> That might be it -- I have the Postgres installation set up to work
> with 'ident sameuser' authentication, so after
> 
> e = create_engine("postgresql+pg8000:///test")
> 
> I get the same error as before.

you'd need an @ sign in there perhaps:

db://@/test


> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/sqlalchemy?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to