On Sun, May 19, 2019 at 11:23:10AM +0200, Xavier Bustamante wrote: > Package: lshw > Version: 02.18.85-0.1 > Severity: normal > > Dear Maintainer, > > Executing lshw -json prints a json with wrong syntax, making it unusuable. > > I tried compiling the software directly from the repository of lshw with the > same results. > The only version that does not fail for me is the one that the original > author considers stable: B.02.18. Compiling and using this one in my Debian > 10 works.
This issue was also affecting me, reverting the following commit renders good JSON output for me, checking with: /usr/bin/lshw -json 2>/dev/null | python -m json.tool Revert: https://github.com/lyonel/lshw/pull/28/commits/95d0d50b6997194534eda02c4b6d6a61a19d48b1 Regards
signature.asc
Description: PGP signature

