cheshirekow / cmake_format

Source code formatter for cmake listfiles.
GNU General Public License v3.0
958 stars 105 forks source link

Crash when running `cmake-lint --dump-config` #171

Closed mortenfyhn closed 4 years ago

mortenfyhn commented 4 years ago

Hi, I just installed cmake-format. I found out about it via the C++ Weekly channel on youtube, and it looks really nice.

I'm getting a possible bug:

When running cmake-lint --dump-config, the program crashes:

cmakelint

cheshirekow commented 4 years ago

Oops. In the meantime, cmake-format --dump-config will do the same thing (they are in fact the same codepath, and the two programs use the same config file).

mortenfyhn commented 4 years ago

Cool, thanks!

cescobaz commented 1 year ago

Hello, config dump is still crashing on my machine. What ever format I ask, yaml, json, python or empty, always the same result:

Screenshot 2022-09-30 at 13 48 04

Command: cmake-format --dump-config yaml cmake-format version: 0.6.13

cescobaz commented 1 year ago

Sorry guys, my fault: I installed with pip3 so I tried to re-install with pip and everything works!