[bug] `conan list packages` is broken
See original GitHub issueEnvironment Details (include every applicable attribute)
- Operating System+version:
21H2 (OS Build 19044.1706)
- Compiler+version: N/A
- Conan version:
←[1m←[32mConan version 2.0.0-alpha7←[0m
- Python version:
Python 3.9.7
Steps to reproduce (Include if Applicable)
run conan list packages zlib/1.2.11@#latest -r conanv2
Logs (Executed commands with output) (Include/Attach if Applicable)
conan list packages zlib/1.2.11@#latest -r conanv2
←[1m←[34mconanv2:←[0m
←[1m←[31m ERROR: 500: org.jfrog.repomd.conan.exceptions.ConanInfoException: Missing section in conaninfo.txt. [Remote: conanv2]←[0m
Issue Analytics
- State:
- Created a year ago
- Comments:16 (15 by maintainers)
Top Results From Across the Web
Troubleshooting — conan 1.44.1 documentation
By default, Conan doesn't build packages from sources. There are several possibilities to overcome this error:
Read more >Why is conan broken so often on my system? - Reddit
Yeah, Conan seems to break every few months, and then it's time to update its package, read some new obscure error messages, then...
Read more >Conan package not found on project level remote ... - GitLab
Installing Conan packages from project level remotes results in a "not found" error although a conan search and the WebUI shows that the ......
Read more >conan error:I need to cross build packages for os:iOS with my ...
But when the first package was testing, it broke my building with that "/bin/sh: bin/test_package: Bad CPU type in executable". I know I...
Read more >[#QTCREATORBUG-25680] QtCreator 4.15.0 breaks conan/cmake ...
Qt Creator 9 will have the package manager auto-setup feature disabled by default. Therefore, I think this bug report will be a "Cannot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
(conan-center-index context)
There are at least to places where we want the list of package-ids.
conan graph info
could be a replacement, although iterating all the profiles will take longer than one single call toconan list
… and this call cannot be cached, we need to query the remote for the packages that are available at that moment.IMHO, if
conan list
doesn’t work yet, using JFrog CLI can be the easiest alternative. It is very simple to list the directories under a given entry. The only drawback is that JFrog CLI cannot check anything (package integrity,…) it will just list folder names.I agree that the workaround could be documented (or even implemented behind the scenes in the Conan client) while Artifactory fixes this API endpoint.
It is impossible to loop over all possible infinite combinations of profiles that you need to feed to
conan graph info
to deduce the existingpackage_ids
.This will be fixed in the server. Not every user use this feature. The best would be to provide them with an Artifactory query they could run.