You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using 13e0a6b with Python 3.7.1 on a following (redacted, simplified, but roughly the same) compile_commands.json, I get following error:
$ json2cmake
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Traceback (most recent call last):
File "/home/janisozaur/.local/bin/json2cmake", line 10, in <module>
sys.exit(main())
File "/home/janisozaur/.local/lib/python3.7/site-packages/json2cmake/__init__.py", line 223, in main
database.write(args.outfile, name=args.name)
File "/home/janisozaur/.local/lib/python3.7/site-packages/json2cmake/__init__.py", line 122, in write
name = os.path.basename(os.path.commonprefix(files).rstrip("/_"))
File "/usr/lib/python3.7/genericpath.py", line 76, in commonprefix
if not isinstance(m[0], (list, tuple)):
TypeError: 'set' object does not support indexing
Using 13e0a6b with Python 3.7.1 on a following (redacted, simplified, but roughly the same)
compile_commands.json
, I get following error:It looks like
json2cmake
is also looking for some git information, but in this case I built the project outside of the git clone.The text was updated successfully, but these errors were encountered: