On Tue, 2011-08-30 at 10:46 -0700, Bruce Wade wrote: > Trace back works great until there is a 500 error, like trying to > using a Unicode number to an index for a list. If the renderer wasn't > set to json the error would be displayed however when the renderer is > json there is no message to trace, and the js console only says 500 > server error.
This is actually not quite true, at least as I understand what you're saying. The console used to start Pyramid will display a Python traceback regardless of whether the content type is JSON or not, or at least can be configured to do so. If you're saying your developers put Pyramid "in the background" when developing (via e.g. supervisor or paster serve --daemon) and therefore they don't see a traceback, you might instead choose to run it in the foreground. But maybe I'm misunderstanding. - C > > On Tue, Aug 30, 2011 at 10:31 AM, Chris McDonough <chr...@plope.com> > wrote: > On Tue, 2011-08-30 at 10:25 -0700, Bruce Wade wrote: > > OK Thanks, we like the debug tool bar so we will have to see > how our > > team can change things to make it easier debugging view > errors when > > using ajax. > > > FWIW, personally, I just use the traceback output on the > console. > There's also a pyramid_exclog package on PyPI that you can use > to log > (or even email) exceptions. See > https://docs.pylonsproject.org/projects/pyramid_exclog/dev/ > > - C > > > > > > > > > > > On Tue, Aug 30, 2011 at 10:19 AM, Chris McDonough > <chr...@plope.com> > > wrote: > > On Tue, 2011-08-30 at 10:18 -0700, Bruce Wade wrote: > > > Thank you for your response at least I know I am > not loosing > > my > > > mind :D. > > > > > > > > > Is there any plans on getting ajax/json support > into the > > debug > > > toolbar? > > > > > > No. > > > > - C > > > > > > > > > > > > > > > -- > > > Bruce > > > > > > On Tue, Aug 30, 2011 at 10:06 AM, Chris McDonough > > <chr...@plope.com> > > > wrote: > > > On Tue, 2011-08-30 at 09:55 -0700, Bruce > Wade wrote: > > > > Hello, > > > > > > > > > > > > I noticed a change in how paster is > handling > > errors. Prior > > > to v1.2a3 > > > > when I used renderer='json' and I had a > 500 server > > error the > > > console > > > > window would provide me with the debug > URL to > > check out. > > > However now > > > > there is no URL displayed with I get an > error. How > > do we > > > troubleshoot > > > > the errors when using ajax if there is > no debug > > url anymore? > > > Or is > > > > there a new way with the latest pyramid > to view > > the debug > > > info now? > > > > > > > > > This was a feature of WebError. The new > debugger > > doesn't have > > > this > > > feature, unfortunately, and there are no > plans to > > add it. If > > > you want > > > the feature back, you can change your > project to > > depend on the > > > WebError > > > distribution, change your development.ini > to include > > it in a > > > pipeline, > > > and disable the debug toolbar. > > > > > > - C > > > > > > > > > > > > -- > > > You received this message because you are > subscribed > > to the > > > Google Groups "pylons-discuss" group. > > > To post to this group, send email to > > > pylons-discuss@googlegroups.com. > > > To unsubscribe from this group, send email > to > > pylons-discuss > > > +unsubscr...@googlegroups.com. > > > For more options, visit this group at > > > > http://groups.google.com/group/pylons-discuss?hl=en. > > > > > > > > > > > > > > > > > > -- > > > -- > > > Regards, > > > Bruce Wade > > > http://ca.linkedin.com/in/brucelwade > > > http://www.wadecybertech.com > > > http://www.warplydesigned.com > > > http://www.fitnessfriendsfinder.com > > > > > > > > > > > -- > > > > > You received this message because you are > subscribed to the > > Google > > > Groups "pylons-discuss" group. > > > To post to this group, send email to > > pylons-discuss@googlegroups.com. > > > To unsubscribe from this group, send email to > pylons-discuss > > > +unsubscr...@googlegroups.com. > > > For more options, visit this group at > > > > http://groups.google.com/group/pylons-discuss?hl=en. > > > > > > -- > > You received this message because you are subscribed > to the > > Google Groups "pylons-discuss" group. > > To post to this group, send email to > > pylons-discuss@googlegroups.com. > > To unsubscribe from this group, send email to > pylons-discuss > > +unsubscr...@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/pylons-discuss?hl=en. > > > > > > > > > > > > > > -- > > -- > > Regards, > > Bruce Wade > > http://ca.linkedin.com/in/brucelwade > > http://www.wadecybertech.com > > http://www.warplydesigned.com > > http://www.fitnessfriendsfinder.com > > > > > > > -- > > > You received this message because you are subscribed to the > Google > > Groups "pylons-discuss" group. > > To post to this group, send email to > pylons-discuss@googlegroups.com. > > To unsubscribe from this group, send email to pylons-discuss > > +unsubscr...@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/pylons-discuss?hl=en. > > > -- > You received this message because you are subscribed to the > Google Groups "pylons-discuss" group. > To post to this group, send email to > pylons-discuss@googlegroups.com. > To unsubscribe from this group, send email to pylons-discuss > +unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > > > > > > -- > -- > Regards, > Bruce Wade > http://ca.linkedin.com/in/brucelwade > http://www.wadecybertech.com > http://www.warplydesigned.com > http://www.fitnessfriendsfinder.com > > > -- > You received this message because you are subscribed to the Google > Groups "pylons-discuss" group. > To post to this group, send email to pylons-discuss@googlegroups.com. > To unsubscribe from this group, send email to pylons-discuss > +unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.