![]() |
Error with misplaced '[' - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67) +--- Thread: Error with misplaced '[' (/showthread.php?tid=339309) |
Error with misplaced '[' - black_eagle - 2019-01-13 Hi, I have a line in an xml file which reads
However, when loading that xml, Kodi reports an error of Code: 13:05:41.569 T:140454630033792 ERROR: Misplaced [ I've looked at it multiple times but still can't see why it's wrong !! Anyone able to help me ? Thanks in advance !! RE: Error with misplaced '[' - Klojum - 2019-01-13 Use an editor that supports highlighting matching brackets. You should be able to find out faster where the problem lies. RE: Error with misplaced '[' - Hitcher - 2019-01-13 What's is infolabel_prefix exactly? RE: Error with misplaced '[' - black_eagle - 2019-01-13 (2019-01-13, 18:43)Klojum Wrote: Use an editor that supports highlighting matching brackets. You should be able to find out faster where the problem lies.I am, and it does ![]() Quote:What's is infolabel_prefix exactly? Good question. It's not my code originally, I am just trying to debug the errors, but I think it's defined in 'includes.xml'.
RE: Error with misplaced '[' - Hitcher - 2019-01-13 Looks like it's value is missing. RE: Error with misplaced '[' - black_eagle - 2019-01-13 Yeah, I thought that but figured if it evaluated to an empty string it might not matter. Guess I'll try removing it from the offending line and see if the error moves or disappears. RE: Error with misplaced '[' - Hitcher - 2019-01-14 I would assume it's meant to be a container control there but without seeing where else it appears in the skin I'm just guessing. |