I trying the next, but not work say " 
    
invalid syntax (Script (Python), line 11)&quot;<br><br><div class="gmail_quote">2008/12/6 robert rottermann <span dir="ltr">&lt;robert@redcor.ch&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
<br>
I think you should &nbsp;write in a python script:<br>
<br>
try:<br>
 &nbsp;result = context.insert_data.zsql<br>
 &nbsp;msg = &#39;data inserted&#39;<br>
except StandardError as e:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;-- error here<br>
 &nbsp;msg = &#39;Error type %s. &lt;br&gt;Value: %s&#39; % (e.type, e.value)<br>
<br>
return msg<br>
<br></blockquote></div><br>If change to<br><br><br>try:<br>&nbsp;&nbsp; result=context.proyecto_alta_zsql()<br>&nbsp;&nbsp; msg=&quot;Se incertaron los datos correctamente&quot;<br>except StandardError, (e1,e2):<br>&nbsp;&nbsp; msg = &quot;Error valor %s y %s&quot; % (e1,e2)<br>
return msg<br><br>say<br>Tipo: Unauthorized<br>Valor: You are not allowed to access &#39;a particular str&#39; in this context<br><br>(same error with type?)<br>