Page 1 of 1

Re: 2.5.0 New Nation ruleset not applying?

Posted: Wed Aug 12, 2015 9:00 am
by Alien Valkyrie
Did you add a newline to the end of the file? Everything after the last line break is ignored if I'm not mistaken, so in this case, it reads the comma after "Cabillonum" and expects another string, which it doesn't get.

Re: 2.5.0 New Nation ruleset not applying?

Posted: Wed Aug 12, 2015 10:35 am
by shanesurk500
Caedo wrote:Did you add a newline to the end of the file? Everything after the last line break is ignored if I'm not mistaken, so in this case, it reads the comma after "Cabillonum" and expects another string, which it doesn't get.
Thanks for the quick reply! So then adding an empty line at the end should fix the issue?

Re: 2.5.0 New Nation ruleset not applying?

Posted: Wed Aug 12, 2015 10:39 am
by shanesurk500
Thank you Cadeo! This fixed the issue.

Re: 2.5.0 New Nation ruleset not applying?

Posted: Thu Aug 13, 2015 7:18 pm
by cazfi
Caedo wrote:Did you add a newline to the end of the file? Everything after the last line break is ignored if I'm not mistaken, so in this case, it reads the comma after "Cabillonum" and expects another string, which it doesn't get.
I checked that, didn't find easy way to fix it (= it has to wait until someone has more time to invest) but this patch adds at least a warning so that user knows what's the problem: patch #6230. It's too late to get this to freeciv-2.5.1, but hopefully we get it to 2.5.2.