Hei hei, Am Dienstag, 14. Mai 2019, 16:56:54 CEST schrieb Alexander Dahl: > I tried to run license-yaml2csv.py today, just out of curiosity, but it does > not work: > > > adahl@ada /mnt/data/adahl/src/DistroKit (git)-[master] % /usr/local/lib/ > ptxdist-$(p version)/scripts/license-yaml2csv.py platform-v7a/report/misc/ > openssl/license-report.yaml > Traceback (most recent call last): > File "/usr/local/lib/ptxdist-2019.05.0/scripts/license-yaml2csv.py", line > 56, in <module> > value = record.get(field, None) > AttributeError: 'str' object has no attribute 'get'
Well, it seems, that was the wrong input file. The followin works: adahl@ada ~/src/DistroKit (git)-[master] % /usr/local/lib/ptxdist-$(ptxdist version)/scripts/license-yaml2csv.py platform-v7a/release/license- compliance.yaml To generate that yaml file, one has to call this: ptxdist make license-compliance-data If you're interested in license report topics, there are more interesting make targets in rules/post/ptxd_make_license_report.make … Thanks for reading. ;-) Alex _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de