Bug 14409 - Make some or most python exceptions ask the user to open a bug
Summary: Make some or most python exceptions ask the user to open a bug
Status: RESOLVED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: oe-core other (show other bugs)
Version: 3.3
Hardware: x86 Multiple
: Low enhancement
Target Milestone: Future
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-05-26 21:33 UTC by Randy MacLeod
Modified: 2025-06-05 15:07 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy MacLeod 2021-05-26 21:33:08 UTC
In talking on the OE Happy Hour, we talked about usability. 
I suggested that we install a default python exception handler that asks the user to open a bug.

Someone, Paul E maybe, said that it would be a bit tricky but in principle could be worth doing. We'd have to magically avoid reporting about anonymous code introduced by user recipes and likely other edge cases. It may also be possible to ask the user if they want to have bitbake automatically search or a bug ID and if not found, file a bug. For that to work, we'd need an account in bugzilla or some other mechanism.
Comment 1 Randy MacLeod 2021-05-26 21:33:49 UTC
In the simplest case, we could print out a link to bugzilla and instructions for manually reporting a bug.
Comment 2 Randy MacLeod 2021-05-27 15:06:47 UTC
We have mixed feelings about implementing this since we'll likely drown in bug reports because user likely would not suppress their own errors often enough.
Comment 3 Randy MacLeod 2025-06-05 15:07:33 UTC
Not the right thing to do from a usability point of view as explained in 2021.