Ticket #242 (new defect)
ScannerError ("could not found expected ':'") on reading map keys longer than 1024 characters
|Reported by:||ed.brannin@…||Owned by:||xi|
I just got this error when reading a YAML map with a very long key:
"could not found expected ':'", self.get_mark()) yaml.scanner.ScannerError: while scanning a simple key
If I delete the end of the key until it's 1024 characters long, it works.
(In this case, the keys in my map are SSH public keys for a Puppet manifest whose data I'm trying to export into YAML for easier editing.)