Bug 14409

Summary: Make some or most python exceptions ask the user to open a bug
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Randy MacLeod <randy.macleod>
Component: oe-core otherAssignee: Unassigned <unassigned>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: Low    
Version: 3.3   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

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.