Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Improve missing binary error message #9804

Closed
memsharded opened this issue Oct 15, 2021 · 1 comment · Fixed by #10089
Closed

[feature] Improve missing binary error message #9804

memsharded opened this issue Oct 15, 2021 · 1 comment · Fixed by #10089
Assignees
Milestone

Comments

@memsharded
Copy link
Member

  • Change order, first the conan search --table
  • More descriptive message
  • Replace <reference> for the real one, so it can be copy pasted

Something like:

ERROR: Missing prebuilt package for 'zlib/1.2.11'
Use 'conan search zlib/1.2.11@ --table table.html -r=remote' and open the table.html file to see available packages
Or try to build locally from sources with '--build=zlib'

More info at 'http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'

Instead of current

ERROR: Missing prebuilt package for 'zlib/1.2.11'
Try to build from sources with '--build=zlib'
Use 'conan search <reference> --table table.html'
Or read 'http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
@abrousseau001
Copy link
Contributor

I wouldn't mind taking a crack at this. It looks to be some simple string changes in the installer.py's error message.

abrousseau001 added a commit to abrousseau001/conan that referenced this issue Nov 26, 2021
abrousseau001 added a commit to abrousseau001/conan that referenced this issue Nov 26, 2021
memsharded pushed a commit that referenced this issue Nov 28, 2021
#10089)

* Updated the ConanException in installer.py to improve the error message handling per #9804

* Updated a couple of unit tests to conform to the changed error message handling per #9804
@memsharded memsharded added this to the 1.43 milestone Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants