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
Every time a project use one of the variables convert fails
here is the verbose output:
3.188063 25> INFO : Parsing... line 379 node Import attrib {'Condition': "'$(CpuOnlyBuild)'=='false'", 'Project': '$(VCTargetsPath)\BuildCustomizations\CUDA $(CudaVersion).targets'}
Traceback (most recent call last):
File "c:\program files\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\program files\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Program Files\Anaconda3\Scripts\cmake-converter.exe_main.py", line 9, in
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\main.py", line 144, in main
converter.convert_solution(project_context, os.path.abspath(args.solution))
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\visual_studio\solution.py", line 331, in convert_solution
results = self.do_conversion(project_context, input_data_for_converter)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 321, in do_conversion
results.append(self.run_conversion(data_for_converter))
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 289, in run_conversion
target_data['subdirectory'],
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 253, in convert_project
self.collect_data(context)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 53, in collect_data
context.parser.parse(context)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\visual_studio\vcxproj\parser.py", line 145, in parse
self._parse_nodes(context, root)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\parser.py", line 101, in _parse_nodes
node_handlers[child_node_tag](context, child_node)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\parser.py", line 92, in _parse_nodes
self._parse_attributes(context, child_node)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\parser.py", line 119, in _parse_attributes
attributes_handlers[attr](context, attr, node.get(attr), node)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\visual_studio\vcxproj\parser.py", line 291, in __parse_condition
cmake_setting = make_cmake_configuration(context, found.group(1))
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\utils.py", line 508, in make_cmake_configuration
return "{}|{}".format(*sln_conf_arch)
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered:
My sln is configurable using .prop files.
Every time a project use one of the variables convert fails
here is the verbose output:
3.188063 25> INFO : Parsing... line 379 node Import attrib {'Condition': "'$(CpuOnlyBuild)'=='false'", 'Project': '$(VCTargetsPath)\BuildCustomizations\CUDA $(CudaVersion).targets'}
Traceback (most recent call last):
File "c:\program files\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\program files\anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Program Files\Anaconda3\Scripts\cmake-converter.exe_main.py", line 9, in
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\main.py", line 144, in main
converter.convert_solution(project_context, os.path.abspath(args.solution))
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\visual_studio\solution.py", line 331, in convert_solution
results = self.do_conversion(project_context, input_data_for_converter)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 321, in do_conversion
results.append(self.run_conversion(data_for_converter))
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 289, in run_conversion
target_data['subdirectory'],
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 253, in convert_project
self.collect_data(context)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\data_converter.py", line 53, in collect_data
context.parser.parse(context)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\visual_studio\vcxproj\parser.py", line 145, in parse
self._parse_nodes(context, root)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\parser.py", line 101, in _parse_nodes
node_handlers[child_node_tag](context, child_node)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\parser.py", line 92, in _parse_nodes
self._parse_attributes(context, child_node)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\parser.py", line 119, in _parse_attributes
attributes_handlers[attr](context, attr, node.get(attr), node)
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\visual_studio\vcxproj\parser.py", line 291, in __parse_condition
cmake_setting = make_cmake_configuration(context, found.group(1))
File "c:\program files\anaconda3\lib\site-packages\cmake_converter\utils.py", line 508, in make_cmake_configuration
return "{}|{}".format(*sln_conf_arch)
IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered: