Sorry, my fault.
Attached is a patch that solves the problem with old tickets.
Best regards,
Mariano Reingart
http://www.sistemasagiles.com.ar
http://reingart.blogspot.com
On Thu, Aug 5, 2010 at 3:28 PM, David Marko <[email protected]> wrote:
> Judt little note. After this change, the existing error tickets
> cannot be read from "errors" tab in app admin.
>
> David
>
> On 5 srp, 18:45, mdipierro <[email protected]> wrote:
>> Thanks to Mariano, the code in trunk has much better ticket reporting.
>> Please give it a try. To see the new feature you must introduce bugs
>> in your code.
>>
>> Massimo
diff -r 9ea51b896ef0 gluon/restricted.py
--- a/gluon/restricted.py Thu Aug 05 10:46:30 2010 -0500
+++ b/gluon/restricted.py Thu Aug 05 16:52:06 2010 -0300
@@ -161,7 +161,7 @@
self.code = d['code']
self.output = d['output']
self.traceback = d['traceback']
- self.snapshot = d['snapshot']
+ self.snapshot = d.get('snapshot')
def compile2(code,layer):