On 5/31/07, Mike Orr <[EMAIL PROTECTED]> wrote:
> I've been getting this on my Pylons site.
>
> sqlalchemy.exceptions.SQLError: (ReferenceError) weakly-referenced
> object no longer exists

In case it helps, the exception occurs at sqlalchemy/engine/base.py
line 583 (SQLAlchemy 0.3.7):

    context.dialect.do_execute(context.cursor, context.statement,
context.parameters, context=context)

which presumably was calling sqlalchemy/databases/mysql.py lines
347-348 when the original exception thrown:

    def do_execute(self, cursor, statement, parameters, **kwargs)
        cursor.execute(statement, parameters)

So I'm not sure if the real error is happening in SQLAlchemy or
MySQLdb.  Inspecting the variables shows the expected SQL statement.

 --
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
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