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

menuconfig: Avoid crashing when leaving a menu not shown in parent #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leandrolanzieri
Copy link

This adds a catch to an exception that might occur when leaving a menu which is not shown by the parent menu. For an example of this refer to issue #93.

For the snippet given in #93 this ends up showing the top menu. I'm not sure if this is the expected behaviour (after all, the second definition of the choice is defined in the top menu), or 'Sub' menu should be shown. At least this seems to avoid the crash.

This adds a catch to an exception that might occur when leaving a menu
which is not shown by the parent menu. For an example of this refer to
issue ulfalizer#93.
@jackrosenthal
Copy link

Rather unfortunately, it appears the original author of Kconfiglib disappeared. The Zephyr project has been granted ownership of the PyPI package via PEP-541 request, and I'm going to do a release based on a new repository in the zephyrproject-rtos organization here: https://github.com/zephyrproject-rtos/Kconfiglib

➡️ Action required: @leandrolanzieri Are you able to re-open your pull request on the new repository?

@leandrolanzieri
Copy link
Author

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 this pull request may close these issues.

2 participants