KeyError: 'variation'
beibei198918 opened this issue · 0 comments
curl https://zoranbosnjak.github.io/asterix-specs/specs/cat062/cats/cat1.18/definition.json | python3 asterixjson2xml.py
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 612k 100 612k 0 0 135k 0 0:00:04 0:00:04 --:--:-- 156k
Traceback (most recent call last):
File "/Users/lbb/tmp/asterix/asterix-specs-converter/asterixjson2xml.py", line 744, in
result = cat.parse()
File "/Users/lbb/tmp/asterix/asterix-specs-converter/asterixjson2xml.py", line 720, in parse
self.cat.render()
File "/Users/lbb/tmp/asterix/asterix-specs-converter/asterixjson2xml.py", line 670, in render
i.render()
File "/Users/lbb/tmp/asterix/asterix-specs-converter/asterixjson2xml.py", line 626, in render
Variation.create(self, item).render()
File "/Users/lbb/tmp/asterix/asterix-specs-converter/asterixjson2xml.py", line 333, in create
variation = item['variation']
KeyError: 'variation'