I’ve been stuck trying to get the pylons application to connect to my
database.  I was able to connect to the database through a python
shell in the “virtualenv” as you can see below.  The app acts like it
can connect to the database, but not to the table.

I admit this is my first pylons project and I'm a little confused as
to where to start looking for a problem.  There seems to be a lot of
outdated doc's on the web and I don't know what to believe is the
current way of doing things.

>>> import sqlalchemy as sa
>>> engine = sa.create_engine("login-info")
>>> from pwi import model
>>> model.init_model(engine)
>>> engine.has_table("pwi_wildcard")
True


OperationalError: (OperationalError) no such table: pwi_wildcard
u'SELECT pwi_wildcard.wildcard_id AS pwi_wildcard_wildcard_id,
pwi_wildcard.priority AS pwi_wildcard_priority, pwi_wildcard.name AS
pwi_wildcard_name, pwi_wildcard.shot AS pwi_wildcard_shot,
pwi_wildcard.scene AS pwi_wildcard_scene, pwi_wildcard.created_by AS
pwi_wildcard_created_by, pwi_wildcard.expires AS pwi_wildcard_expires
\nFROM pwi_wildcard' []

thanks in advance,

James

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

Reply via email to