<div dir="ltr"><div class="gmail_extra">On 16 April 2015 at 22:48, Prince Henderson <span dir="ltr"><<a href="mailto:pfbuyersclub@yahoo.com" target="_blank">pfbuyersclub@yahoo.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><span></span></div><div><br><br></div>  <div style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"> <font face="Arial" size="2"> On Wednesday, April 15, 2015 6:02 PM, Prince Henderson <<a href="mailto:pfbuyersclub@yahoo.com" target="_blank">pfbuyersclub@yahoo.com</a>> wrote:<br> </font> </div>  <br><br> <div><div><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div dir="ltr">Hello, I'm attempting to configure my www-csc in /etc/ngcp-config/config.yml.  I put in my site title, sip and tftp domain.  Saved and exited. then, ngcpcfg apply.  I get:</div><div dir="ltr"><br> </div><div dir="ltr">Error: Invalid file syntax...YAML::Tiny found bad indenting in line    city''</div><div dir="ltr"><br></div></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>Welcome to YAML.<br><br></div><div>Could it be that you have placed a tab rather than a space somewhere? YAML is very specific about indentation, as this is down it builds its arrays. You might try an online YAML parser such as <a href="http://yaml-online-parser.appspot.com/">http://yaml-online-parser.appspot.com/</a> which might help to see where the issue is. Could be that the actual issue is on a line above this one.<br><br></div><div>You get used to it after a while and start to really admire its clean, readable format. <br><br></div><div>Hope this helps.<br><br></div><div>-Barry Flanagan<br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div style="display:block"><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><div><div><div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div dir="ltr"></div><div dir="ltr">I had not touched this line and I don't know why it was showing double spacing and double quotation marks at the end, so, using vim I went back in to see if it had been altered.  As it appeared fine I thought well, why not put the city in, so, I did, but, all I did was type the city name in between the single quotation marks.  I exited and ngcpcfg apply and got:</div><div dir="ltr">.....Tiny found bad indenting in line  '                           city:   'mycity''.  </div><div dir="ltr">Thats a lot of indentation and again with the double quotation marks.  When I went back into the file to see it it doesn't show like that in the file.  Anyone know why it's doing that?<br></div><div dir="ltr"> </div></div></div></div><br><br></div>  </div> </div>  </div> </div></div><br>_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
<br></blockquote></div><br></div></div>