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?
On 1 Mar 2017, at 21:44, Brian West <brian@freeswitch.org> wrote:It would be line 7391 in freeswitch.xml.fsxml.______________________________On Wed, Mar 1, 2017 at 2:06 PM, Rick Jarvis <rick@magicmail.mooo.com> wrote: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!
On 1 Mar 2017, at 16:08, Michael Jerris <mike@jerris.com> wrote:______________________________missing closing tag is hard for this parser to find, so it will usually say at the end. you are looking for a condition with no closing tag.On Mar 1, 2017, at 8:51 AM, Rick Jarvis <rick@magicmail.mooo.com> wrote:When getting something like:freeswitch@internal> reloadxml+OK [[error near line 7391]: unexpected closing tag </condition>]I’m sure I used to do something along the lines of:cat -n /var/log/freeswitch/freeswitch.xml.fsxml | sed -n '7380,7400p' And there at 7391 would be the offending line, surrounded by some of the lines before and after.Now, however, the line is never at the corresponding number. Am I looking at the wrong file maybe?______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-users
http://www.freeswitch.org
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-users
http://www.freeswitch.org--Brian West
brian@freeswitch.orgTwitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Allison prompts for FreeSWITCH:
Wish to schedule a meeting?
http://app.timebridge.com/#/
meet/freeswitch Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org
Brian West
brian@freeswitch.org
Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
Allison prompts for FreeSWITCH:
Wish to schedule a meeting?
http://app.timebridge.com/#/meet/freeswitch
Got Bugs? Report them here! | Reddit: /r/freeswitch
T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
Skype:briankwest