The error is most likely in your Pyramid code. If SqlAlchemy failed, there would be a SqlAlchemy error logged. Your example shows SqlAlchemy completing an INSERT, but then being instructed to ROLLBACK by the transaction manager. You should increase your Pyramid logging levels.
Between your code example and error patterns, I would guess the exception is being raised in the JSON renderer. Most likely that is because you're using the stock JSON renderer, which doesn't support most common Python and SqlAlchemy datatypes (such as datetime, decimals, etc). I suggest you look more closely at your exception logging, and run some tests to see if the active JSON encoder can handle your datatypes. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/3b84e66e-c6f9-44b8-aa21-6509616821ad%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
