pavelliavonau / cmakeconverter

This project aims to facilitate the conversion of Visual Studio to CMake projects.
GNU Affero General Public License v3.0
858 stars 109 forks source link

I'm Getting a index out of range crash whenever i use the program #127

Closed 343GuiltySpark-04 closed 3 years ago

343GuiltySpark-04 commented 3 years ago
0.000033 Converter runs in verbose mode
0.000076 processes count = 1
0.000082 warnings level = 2
0.000143 INFO : ------- Started parsing solution /home/tristan/Documents/RetrogradeOS/Makefile -------
Traceback (most recent call last):
  File "/usr/local/bin/cmake-converter", line 10, in <module>
    sys.exit(main())
  File "/home/tristan/.local/lib/python3.7/site-packages/cmake_converter/main.py", line 144, in main
    converter.convert_solution(project_context, os.path.abspath(args.solution))
  File "/home/tristan/.local/lib/python3.7/site-packages/cmake_converter/visual_studio/solution.py", line 312, in convert_solution
    solution_data = self.parse_solution(project_context, sln.read())
  File "/home/tristan/.local/lib/python3.7/site-packages/cmake_converter/visual_studio/solution.py", line 56, in parse_solution
    self.__check_solution_version(context, sln_text)
  File "/home/tristan/.local/lib/python3.7/site-packages/cmake_converter/visual_studio/solution.py", line 113, in __check_solution_version
    .format(version_match[0]), 'error')
IndexError: list index out of range

just happens with every Makefile i give it i even tried the one in the GCC source package and it gave me the same thing, i hope it can be fixed because this tool is a lifesaver lol