Comments (1)
I walk around this file not exists error by replacing $(SolutionDir) with "specific" (working) path.
Unfortunately, still I got this error:
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "/usr/lib/python3.10/multiprocessing/pool.py", line 48, in mapstar
return list(map(*args))
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/data_converter.py", line 285, in run_conversion
converted = self.convert_project(
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/data_converter.py", line 252, in convert_project
self.collect_data(context)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/data_converter.py", line 53, in collect_data
context.parser.parse(context)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/visual_studio/vcxproj/parser.py", line 145, in parse
self._parse_nodes(context, root)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/parser.py", line 101, in _parse_nodes
node_handlers[child_node_tag](context, child_node)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/visual_studio/vcxproj/parser.py", line 154, in __parse_item_group
self._parse_nodes(context, node)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/parser.py", line 92, in _parse_nodes
self._parse_attributes(context, child_node)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/parser.py", line 117, in _parse_attributes
attributes_handlers[node_key](context, node_key, node.get(attr), node)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/visual_studio/vcxproj/dependencies.py", line 59, in add_target_reference
ref = self.get_dependency_target_name(
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/dependencies.py", line 110, in get_dependency_target_name
project_name = get_global_project_name_from_vcxproj_file(vcxproj)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/utils.py", line 174, in get_global_project_name_from_vcxproj_file
project_name_node = vcxproj['tree'].xpath('//ns:ProjectName', namespaces=vcxproj['ns'])
TypeError: 'NoneType' object is not subscriptable
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/jp3/Src/cmakeconverter/cmake_converter/main.py", line 148, in <module>
main()
File "/home/jp3/Src/cmakeconverter/cmake_converter/main.py", line 144, in main
converter.convert_solution(project_context, os.path.abspath(args.solution))
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/visual_studio/solution.py", line 330, in convert_solution
results = self.do_conversion(project_context, input_data_for_converter)
File "/home/jp3/.local/lib/python3.10/site-packages/cmake_converter/data_converter.py", line 317, in do_conversion
results = pool.map(self.run_conversion, input_converter_data_list)
File "/usr/lib/python3.10/multiprocessing/pool.py", line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "/usr/lib/python3.10/multiprocessing/pool.py", line 774, in get
raise self._value
TypeError: 'NoneType' object is not subscriptable
from cmakeconverter.
Related Issues (20)
- [bad name] IndexError: Replacement index 1 out of range for positional args tuple HOT 15
- Support to work on one configuration only
- add_custom_command_if cyclic dependency HOT 2
- $(SolutionDir) not replaced in AdditionalOptions for Compile Options
- every time vcxproj contains: Import Condition="'$(CpuOnlyBuild)'=='false'" convert fails
- Option to create a single CMakeLists.txt
- Support vcpkg dependencies
- unicode character in vcxproj.filters might get trouble HOT 13
- Feature request: better support to entry options like "/SUBSYSTEM:WINDOWS" for GNU CLI HOT 1
- the path resolve of $(SolutionDir) is not corrected
- Identify OS specific libraries + Build order + Correct output type HOT 2
- index error replacement index 1 out of range for positional args tuple HOT 6
- /QxHost, /heap-arrays, and some other flags seems are missing HOT 1
- xmake
- Add support for Visual Studio 17 2022 generator HOT 2
- It's giving me this error, I'm trying to convert the GARbro project to cmake, but something wrong is happening. HOT 1
- FR: convert Atmel Studio / Microchip Studio Projects to cmake (based on VS2015) HOT 1
- Question: From where to run the converter command? HOT 2
- Only getting Debug build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmakeconverter.