<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hey Mariano,<div class=""><br class=""></div><div class="">There’s a syntax error somewhere.</div><div class="">Ok… that’s a lousy response, I know :)<br class=""><div class=""><br class=""></div><div class="">Can you fetch the generated JS from the url and send that in a text file?</div><div class="">Just to be sure: is this happening with the result of a jQuery script callback?</div><div class=""><br class=""></div><div class="">It would be good to know what Seaside-JS code that is executing to generate the script you are sending.</div><div class=""><br class=""></div><div class="">Johan</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="gmail_extra"><div class="gmail_quote"><div class=""><div class=""><br class=""></div></div><div class="">I am now printint to console the requestResponse that was in this ajax error handler, and this is what I get:</div><div class=""><br class=""></div><div class=""><ol class="gmail-source-code gmail-tree-outline gmail-object-properties-section" style="min-width: 0px; min-height: 0px; box-sizing: border-box; font-family: menlo, monospace; white-space: pre-wrap; font-size: 11px; padding: 0px; margin: 0px; display: flex; list-style-type: none; color: rgb(33, 33, 33);"><li class="expanded gmail-object-properties-section-root-element gmail-parent" style="min-width: 0px; min-height: 16px; box-sizing: border-box; display: flex; text-overflow: ellipsis; white-space: nowrap;"><span style="min-width: 0px; min-height: 0px; box-sizing: border-box;" class="">Object<span class="gmail-object-state-note gmail-info-note" style="min-width: 0px; min-height: 0px; box-sizing: border-box; display: inline-block; width: 11px; height: 11px; color: white; text-align: center; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; line-height: 13px; margin: 0px 6px; font-size: 9px; background-color: rgb(179, 203, 247);"></span></span></li><ol class="gmail-children expanded" style="min-width: 0px; min-height: 0px; box-sizing: border-box; list-style-type: none; padding-left: 12px;"><li style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;" class=""><span class="gmail-name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145);">data</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-undefined" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(128, 128, 128);">undefined</span></li><li class="expanded gmail-parent" style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;"><span class="gmail-name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145);">error</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-error" style="min-width: 0px; min-height: 0px; box-sizing: border-box;">SyntaxError: Unexpected token , at eval (<anonymous>) at<span class="Apple-converted-space"> </span><a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a><span class="Apple-converted-space"> </span>at Function.globalEval (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627</a>) at n.fn.init.domManip (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:22515" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:22515</a>) at n.fn.init.replaceWith (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:21650" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:21650</a>) at eval (eval at <anonymous> (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a>), <anonymous>:1:13) at eval (<anonymous>) at<span class="Apple-converted-space"> </span><a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a><span class="Apple-converted-space"> </span>at Function.globalEval (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627</a>) at text script (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:4:26788" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:4:26788</a>)</span></li><ol class="gmail-children expanded" style="min-width: 0px; min-height: 0px; box-sizing: border-box; list-style-type: none; padding-left: 12px;"><li style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;" class=""><span class="gmail-name gmail-object-properties-section-dimmed" style="min-width: 0px; min-height: 0px; box-sizing: border-box; opacity: 0.6; color: rgb(136, 19, 145);">message</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-string" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(196, 26, 22); white-space: pre; unicode-bidi: -webkit-isolate;">"Unexpected token ,"</span></li><li class="gmail-" style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;"><span class="gmail-name gmail-object-properties-section-dimmed" style="min-width: 0px; min-height: 0px; box-sizing: border-box; opacity: 0.6; color: rgb(136, 19, 145);">stack</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-string" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(196, 26, 22); white-space: pre; unicode-bidi: -webkit-isolate;">"SyntaxError: Unexpected token ,↵    at eval (<anonymous>)↵    at <a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a>↵    at Function.globalEval (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627)%E2%86%B5" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627)↵</a>    at n.fn.init.domManip (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:22515)%E2%86%B5" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:22515)↵</a>    at n.fn.init.replaceWith (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:21650)%E2%86%B5" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:21650)↵</a>    at eval (eval at <anonymous> (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a>), <anonymous>:1:13)↵    at eval (<anonymous>)↵    at <a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a>↵    at Function.globalEval (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627)%E2%86%B5" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627)↵</a>    at text script (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:4:26788" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:4:26788</a>)"</span></li><li class="gmail-parent" style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;"><span class="gmail-name gmail-object-properties-section-dimmed" style="min-width: 0px; min-height: 0px; box-sizing: border-box; opacity: 0.6; color: rgb(136, 19, 145);">__proto__</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-object" style="min-width: 0px; min-height: 0px; box-sizing: border-box; vertical-align: baseline; color: inherit; display: inline-block;">Error</span></li></ol><li style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;" class=""><span class="gmail-name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145);">httpStatus</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-number" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(28, 0, 207);">200</span></li><li style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;" class=""><span class="gmail-name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145);">method</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-string" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(196, 26, 22); white-space: pre; unicode-bidi: -webkit-isolate;">"GET"</span></li><li style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;" class=""><span class="gmail-name" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(136, 19, 145);">url</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-string" style="min-width: 0px; min-height: 0px; box-sizing: border-box; color: rgb(196, 26, 22); white-space: pre; unicode-bidi: -webkit-isolate;">"/reps?_s=YZ0L_G1AYPiERSfd&_k=-szkZv0x3mvWhG7t&193&203=VALE&206=1&207=&216=&221=&_=1486757530835"</span></li><li class="gmail-parent" style="min-width: 0px; min-height: 16px; box-sizing: border-box; text-overflow: ellipsis; white-space: nowrap; display: flex;"><span class="gmail-name gmail-object-properties-section-dimmed" style="min-width: 0px; min-height: 0px; box-sizing: border-box; opacity: 0.6; color: rgb(136, 19, 145);">__proto__</span><span class="gmail-object-properties-section-separator" style="min-width: 0px; min-height: 0px; box-sizing: border-box; padding-right: 5px;">:</span><span class="gmail-value gmail-object-value-object" style="min-width: 0px; min-height: 0px; box-sizing: border-box; vertical-align: baseline; color: inherit; display: inline-block;">Object</span></li></ol></ol></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span style="font-family: menlo, monospace; font-size: 11px; white-space: pre;" class="">SyntaxError: Unexpected token ,
    at eval (<anonymous>)
    at <a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a>
    at Function.globalEval (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627</a>)
    at n.fn.init.domManip (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:22515" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:22515</a>)
    at n.fn.init.replaceWith (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:21650" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:3:21650</a>)
    at eval (eval at <anonymous> (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a>), <anonymous>:1:13)
    at eval (<anonymous>)
    at <a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2616</a>
    at Function.globalEval (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:2:2627</a>)
    at text script (<a href="https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:4:26788" class="">https://debrisdemo.quuve.com/JQDeploymentLibrary/jQuery.js:4:26788</a>)</span><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">I don't understand what is going on. Any ideas?</div><div class=""><br class=""></div><div class="">Thanks in advance</div><div class=""><br class=""></div><div class=""> </div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr" class=""><div class=""></div><div class="">Chrome shows me that with a red underline like if that would have an error, but such JS is correct. </div><div class=""><br class=""></div><div class="">Any idea how can I know what is going on? </div><span class="gmail-HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div><div class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail-m_-7009639393465748942gmail_signature">Mariano<br class=""><a href="http://marianopeck.wordpress.com/" target="_blank" class="">http://marianopeck.wordpress.<wbr class="">com</a><br class=""></div></div></font></span></div></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>--<span class="Apple-converted-space"> </span><br class=""><div class="gmail_signature">Mariano<br class=""><a href="http://marianopeck.wordpress.com/" target="_blank" class="">http://marianopeck.wordpress.com</a><br class=""></div></div></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">seaside mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:seaside@lists.squeakfoundation.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">seaside@lists.squeakfoundation.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a></div></blockquote></div><br class=""></div></div></body></html>