[SERVER-70767] improve warning message from tool options failing to load Created: 21/Oct/22  Updated: 29/Oct/23  Resolved: 04/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Daniel Moody Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-71130 lint-sconslinters gives bad advice ab... Closed
Related
is related to SERVER-70713 No module named 'jsonschema' when com... Closed
is related to SERVER-70716 Python 3.11 fails to run build_metric... Closed
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Some tools need to load possible command line options before it is known for sure if the tool will be used or not.

Sometimes the tool will import things which the current python is missing, and so the options can not be extracted. A message is printed about the failed loading of the tool, but is more of a warning for failures to come. If for example you use the option on the command line that tool was supposed to supply, SCons would error on unknown option, and the warning message from try to load the options would give hints as to what went wrong.

Unfortunately this message currently looks more like an error than a warning and has caused some confusion in the linked tickets.

We need to improve the message to be more clear that this is about loading options, and is not an error just a warning that options may not be available.



 Comments   
Comment by Githook User [ 04/Nov/22 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com'}

Message: SERVER-70767 improve warning message from tool options failing to load
Branch: master
https://github.com/mongodb/mongo/commit/b1638c4a89d41295977a44feff5433e842bf02e2

Generated at Thu Feb 08 06:17:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.