Hi,

I was able to figure out the reason, it was due to a missing return 
statement from the one of the decorators, which in turn was returning blank 
response to execview tween
enabling 
pyramid.debug_notfound = false
pyramid.debug_routematch = false

Gave me some clues in figuring out the issue.

Srikanth B


On Friday, October 6, 2017 at 11:28:08 PM UTC-5, Jonathan Vanasco wrote:
>
> 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/e5dff829-962b-4401-9b1d-655a9abd9097%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to