<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="">It’s not though, that’s my point ;) It’s reporting the error to be around 13 lines earlier than it actually is (so in this example the problematic line was 7404). It’s hardly issue of the century I realise, but it’s messing my debugging processes up that’s all. Could there be whitespace somewhere that’s confusing it - does everyone else use “cat -n” to locate line numbers?<br class="">
<br class=""><div><blockquote type="cite" class=""><div class="">On 1 Mar 2017, at 21:44, Brian West &lt;<a href="mailto:brian@freeswitch.org" class="">brian@freeswitch.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">It would be line 7391 in freeswitch.xml.fsxml.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Mar 1, 2017 at 2:06 PM, Rick Jarvis <span dir="ltr" class="">&lt;<a href="mailto:rick@magicmail.mooo.com" target="_blank" class="">rick@magicmail.mooo.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">But shouldn’t line 7391 have the unexpected closing tag that it mentions? I found it in the end, and it wasn’t line 7391!<br class="">
<br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On 1 Mar 2017, at 16:08, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>&gt; wrote:</div><br class="m_-3202771193946948370Apple-interchange-newline"></div></div><div class=""><div class=""><div class="h5"><div style="word-wrap:break-word" class="">missing closing tag is hard for this parser to find, so it will usually say at the end. &nbsp;you are looking for a condition with no closing tag.<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Mar 1, 2017, at 8:51 AM, Rick Jarvis &lt;<a href="mailto:rick@magicmail.mooo.com" target="_blank" class="">rick@magicmail.mooo.com</a>&gt; wrote:</div><br class="m_-3202771193946948370Apple-interchange-newline"><div class=""><div style="word-wrap:break-word" class="">When getting something like:<div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">freeswitch@internal&gt; reloadxml</span></div><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">+OK [[error near line 7391]: unexpected closing tag &lt;/condition&gt;]</span></div>
<br class=""></div><div class="">I’m sure I used to do something along the lines of:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.933333)" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">cat -n /var/log/freeswitch/<wbr class="">freeswitch.xml.fsxml | sed -n '7380,7400p'</span></div></div><div class=""><br class=""></div><div class="">And there at 7391 would be the offending line, surrounded by some of the lines before and after.</div><div class=""><br class=""></div><div class="">Now, however, the line is never at the corresponding number. Am I looking at the wrong file maybe?</div></div></div></blockquote></div><br class=""></div></div></div></div><span class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" target="_blank" class="">consulting@freeswitch.org</a><br class=""><a href="http://www.freeswitchsolutions.com/" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a><br class=""><a href="http://confluence.freeswitch.org/" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class=""><a href="http://www.cluecon.com/" target="_blank" class="">http://www.cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class=""><a href="http://www.freeswitch.org/" target="_blank" class="">http://www.freeswitch.org</a></span></div></blockquote></div><br class=""></div><br class="">______________________________<wbr class="">______________________________<wbr class="">_____________<br class="">
Professional FreeSWITCH Consulting Services:<br class="">
<a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank" class="">http://www.<wbr class="">freeswitchsolutions.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class="">
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://confluence.freeswitch.<wbr class="">org</a><br class="">
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank" class="">http://www.cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="">FreeSWITCH-users@lists.<wbr class="">freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/<wbr class="">mailman/listinfo/freeswitch-<wbr class="">users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.<wbr class="">freeswitch.org/mailman/<wbr class="">options/freeswitch-users</a><br class="">
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank" class="">http://www.freeswitch.org</a><br class=""></blockquote></div><br class=""><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><p class=""><font face="courier new, monospace" class=""><b class=""><i class=""><font size="4" class="">Brian West</font></i></b><br class=""><span style="font-size:x-small" class=""><a href="mailto:brian@freeswitch.org" target="_blank" class="">brian@freeswitch.org</a></span></font></p><p class=""><b style="font-family:monospace,monospace;font-size:small" class=""><i class="">Twitter: @FreeSWITCH , @briankwest</i></b></p><p class=""><font size="2" face="monospace, monospace" class=""><a href="http://www.freeswitchbook.com/" target="_blank" class="">http://www.freeswitchbook.com</a>&nbsp;<br class=""><a href="http://www.freeswitchcookbook.com/" target="_blank" class="">http://www.freeswitchcookbook.com</a><br class=""><br class="">Allison prompts for FreeSWITCH:</font></p><table cellspacing="0" cellpadding="0" style="font-size:12.8px" class=""><tbody class=""><tr class=""><td valign="baseline" class=""><p class=""><span class=""><a href="https://www.gofundme.com/allison-prompts-for-freeswitch" target="_blank" class=""><b class="">https://www.gofundme.com/allison-prompts-for-freeswitch</b></a></span></p></td></tr></tbody></table><table cellspacing="0" cellpadding="0" class=""><tbody class="">
</tbody>
</table><p class=""><span class=""><font face="monospace, monospace" size="2" class="">Wish to schedule a meeting?</font></span></p><p class=""><span class=""><a href="http://app.timebridge.com/#/meet/freeswitch" target="_blank" class=""><font face="monospace, monospace" size="2" class="">http://app.timebridge.com/#/meet/freeswitch</font></a></span></p><p class=""><font face="monospace, monospace" class="">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank" class="">here</a>! | Reddit:&nbsp;<a href="https://www.reddit.com/r/freeswitch" target="_blank" class="">/r/freeswitch</a></font></p><p class=""><font size="2" face="monospace, monospace" class=""><b class="">T:</b>+19184209001 | <b class="">F:</b>+19184209002 | <b class="">M:</b>+1918424WEST (9378)<br class=""><b class="">Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Consulting Services: <br class=""><a href="mailto:consulting@freeswitch.org" class="">consulting@freeswitch.org</a><br class="">http://www.freeswitchsolutions.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">http://www.freeswitch.org<br class="">http://confluence.freeswitch.org<br class="">http://www.cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">http://www.freeswitch.org</div></blockquote></div><br class=""></body></html>