-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
meson format: unhandled python exception with invalid value types #13565
Labels
Comments
dcbaker
added a commit
to dcbaker/meson
that referenced
this issue
Aug 19, 2024
…value I ran into this with `option = true;` (not the trailing `;`). Now we provide a nicer message instead of an uncaught Python traceback. Closes: mesonbuild#13565
dcbaker
added a commit
to dcbaker/meson
that referenced
this issue
Aug 19, 2024
…value I ran into this with `option = true;` (not the trailing `;`). Now we provide a nicer message instead of an uncaught Python traceback. Closes: mesonbuild#13565
dcbaker
added a commit
to dcbaker/meson
that referenced
this issue
Aug 20, 2024
…value I ran into this with `option = true;` (note the trailing `;`). Now we provide a nicer message instead of an uncaught Python backtrace. Closes: mesonbuild#13565
dcbaker
added a commit
to dcbaker/meson
that referenced
this issue
Aug 20, 2024
…value I ran into this with `option = true;` (note the trailing `;`). Now we provide a nicer message instead of an uncaught Python backtrace. Closes: mesonbuild#13565
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Using an invalid type (or something that
ConfigParser
thinks is invalid, anyway) causes an uncaught python exception. This needs to be caught and given a gracefulMesonException
instead.To Reproduce
Create a
meson.format
with the following:(note the trailing semi-colon, I've been doing too much C). And then run
meson format
, get a nice traceback.Expected behavior
Provide a more helpful error message and no traceback.
system parameters
Meson 1.5 and meson master from git (cdf646f)
The text was updated successfully, but these errors were encountered: