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

Plugin error provides broken doc URL #5107

Open
medubelko opened this issue Oct 10, 2024 · 2 comments
Open

Plugin error provides broken doc URL #5107

medubelko opened this issue Oct 10, 2024 · 2 comments
Labels
documentation Documentation changes to the project itself or in-code help triaged

Comments

@medubelko
Copy link
Contributor

Bug Description

The error during plugin failure guides the user to the wrong URL.

Instead of:

https://canonical-snapcraft.readthedocs-hosted.com/en/[version]/reference/plugins/,

It points to:

https://canonical-snapcraft.readthedocs-hosted.com/en/[version]/reference/plugins.html.

The Snapcraft log also prints this URL.

This is a docs-adjacent issue.

To Reproduce

  1. Create a Snapcraft config that declares the wrong plugin.
  2. Run snapcraft.

Environment

  • Ubuntu 24.04
  • Snapcraft 8.4.2
  • LXD container
  • dev mode

snapcraft.yaml

-

Relevant log output

# Terminal

Failed to run the build script for part '...'.
Recommended resolution: Check the build output and verify the project can work with the 'make' plugin.
For more information, check out: https://canonical-snapcraft.readthedocs-hosted.com/en/8.4.2/reference/plugins.html
Failed to execute snapcraft in instance. 

# Log

2024-10-09 17:29:44.286 :: 2024-10-09 17:29:43.860 For more information, check out: https://canonical-snapcraft.readthedocs-hosted.com/en/8.4.2/reference/plugins.html

Additional context

No response

@medubelko medubelko added the documentation Documentation changes to the project itself or in-code help label Oct 10, 2024
@mr-cal
Copy link
Collaborator

mr-cal commented Oct 10, 2024

Thanks for the report. Looks like this is failing for all craft applications as the issue is upstream in craft-parts (source).

@mr-cal mr-cal added the triaged label Oct 10, 2024
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3565.

This message was autogenerated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation changes to the project itself or in-code help triaged
Projects
None yet
Development

No branches or pull requests

2 participants