operator icon indicating copy to clipboard operation
operator copied to clipboard

In the tutorials, advise how to handle "Too many levels of symbolic links" when packing

Open dwilding opened this issue 7 months ago • 1 comments

We've observed some people hit an error when packing the tutorial charms. See https://github.com/canonical/charmcraft/issues/2661.

If it won't be possible to fix the issue in the near future, we should advise people how to avoid the error. For example, should they delete .venv and .tox before trying to pack again? Would it be helpful to ask for people to report the issue, to help the Charmcraft team identify the specific cause & fix?

dwilding avatar Apr 21 '26 05:04 dwilding

Opened a docs update here: https://github.com/canonical/operator/pull/2452

This adds a warning to the tutorial pack step with a workaround for Too many levels of symbolic links failures during charmcraft pack, and suggests reporting persistent failures upstream while the root cause is still being investigated.

gcomneno avatar Apr 25 '26 08:04 gcomneno