#Error: while parsing a block mapping - what am I missing?
1 messages ยท Page 1 of 1 (latest)
Welcome @void osprey!
Someone from <@&938443185347244033> will assist when they're available.
Including the meta.log from the beginning is a huge help, type !logs for more information.
You can press the "Close Post" button above or type /close at any time to close this post.
logs please
YAML checked and is NOT valid. Error message:
while parsing a block mapping
in "<unicode string>", line 6, column 3:
"Disney's Golden Age":
^
expected <block end>, but found '<block mapping start>'
in "<unicode string>", line 45, column 4:
"Disney's Renaissance":
^
shariff, I see you attached a file ๐ meta.log ๐, shariff. Would you like to process this file and make some recommendations? Default value of No/Red X will be selected after 180 seconds.
You were just a bit too quick ๐
We highly recommend to use a decent editor software to manage PMM's .yml files.
Standard text editors (such as Notepad and TextEdit) often save text in a rich-text format which can result in text formatted in a way that PMM cannot read. But not only that, they also make it very hard to visually distinguish the formatting, such as indentation.
PMM requires indents to always be multiples of 2 spaces, and not TAB stops. If you have one space too much, or too few, it is very hard to notice that with a editor like Notepad.
An editor that is more focused on editing code instead of text will automatically detect the .YML fileformat and adjust things to make it easier to work. They can also try to detect possible errors even before you actually run the .yml in PMM.
This can save a lot of time and headaches.
Visual Studio Code (Windows/Mac/Linux, Opensource & Free)
Website
Notepad++ (Windows only, Opensource & Free)
Website
Sublime Text (Windows/Mac/Linux, Paid)
Website
For further details and a short list of highly recommended extensions, you can also take a look here.