Closed
Bug 1907448
Opened 11 months ago
Closed 10 months ago
mots user search wants a bugzilla api key but doesn't show the helpful message that says how to set one
Categories
(Conduit :: mots, enhancement, P3)
Conduit
mots
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: glandium, Assigned: zeid)
Details
Attachments
(1 file)
This is the error you get with mots user search
:
$ mots user search some@address
2024-07-12 07:03:53,971 cli ERROR
Traceback (most recent call last):
File "/tmp/venv/lib/python3.11/site-packages/mots/cli.py", line 299, in main
args.func(args)
File "/tmp/venv/lib/python3.11/site-packages/mots/cli.py", line 250, in search
bmo_client = BMOClient()
^^^^^^^^^^^
File "/tmp/venv/lib/python3.11/site-packages/mots/bmo.py", line 41, in __init__
raise MissingBugzillaAPIKey()
mots.bmo.MissingBugzillaAPIKey
This is the error you get with mots export-and-clean
:
$ mots export-and-clean
2024-07-12 07:08:01,933 cli ERROR Could not detect a Bugzilla API Key.
Either set it in your environment (MOTS_BUGZILLA_API_KEY) or add it to
your settings file by running:
`mots settings write BUGZILLA_API_KEY`.
You will be prompted to enter the API key after running this command.
You can generate a Bugzilla API key in your User Preferences page under
the API Keys tab.
The latter is more useful and should be shown for the former.
Assignee | ||
Updated•11 months ago
|
Priority: -- → P3
Comment 1•10 months ago
|
||
Assignee | ||
Updated•10 months ago
|
Assignee: nobody → zeid
Assignee | ||
Updated•10 months ago
|
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•10 months ago
|
||
Released in 0.12.
You need to log in
before you can comment on or make changes to this bug.
Description
•