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
This is a follow-up issue for #166
While the original error is resolved now (Thanks!), unfortunately there is a new one:
conan art:build-info create conan_build_info.json "test_proj" 1.2.3 conancenter --server artifactory --add-cached-deps --with-dependencies
ERROR: Traceback (most recent call last):
File "conan\cli\cli.py", line 294, in main
File "conan\cli\cli.py", line 193, in run
File "conan\cli\command.py", line 187, in run
File "conan\cli\command.py", line 205, in run
File "C:\Users\dnoveczky\.conan2\extensions\commands\art\cmd_build_info.py", line 410, in build_info_create
cli_out_write(bi.create())
File "C:\Users\dnoveczky\.conan2\extensions\commands\art\cmd_build_info.py", line 321, in create
bi.update({"modules": self.get_modules()})
File "C:\Users\dnoveczky\.conan2\extensions\commands\art\cmd_build_info.py", line 291, in get_modules
deps_artifacts = self.get_artifacts(nodes.get(require_id), "package",
File "C:\Users\dnoveczky\.conan2\extensions\commands\art\cmd_build_info.py", line 144, in get_artifacts
remote_path = _get_remote_path(node.get('ref'), node.get("package_id"), node.get("prev"))
File "C:\Users\dnoveczky\.conan2\extensions\commands\art\cmd_build_info.py", line 40, in _get_remote_path
assert prev
AssertionError
ERROR:
The text was updated successfully, but these errors were encountered:
dnoveczky-ntr
changed the title
AssertinError when generating build info with dependencies
AssertionError when generating build info with dependencies
Jan 17, 2025
Hi,
This is a follow-up issue for #166
While the original error is resolved now (Thanks!), unfortunately there is a new one:
It can be reproduced with the same example I wrote for #166: https://github.com/dnoveczky-ntr/conan-build-info-bug-repro
And the same json too: conan_build_info.json
It looks like the issue is coming from this part, the
"prev": null
:Could you please have a look?
Thanks you!
The text was updated successfully, but these errors were encountered: