Closed
Bug 1876224
Opened 1 year ago
Closed 1 year ago
error printing auto_submit message
Categories
(Conduit :: moz-phab, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1876257
People
(Reporter: pbone, Unassigned)
Details
moz-phab version (from moz-phab --version): MozPhab 1.5.0 (Python 3.11.2, Linux)
Python version (from python3 --version): Python 3.11.2 (but moz-phab is installed with pipx so I guess it might not be the same python)
OS: Debian Linux 12.
When I run moz-phab to upload patches it uploads the patches then exits with the error:
$ moz-phab submit
Submitting 3 commits for review
(D198652) 794097:4243d7a628be Bug 1867190 - Add prefs for PHC probablities r=glandium
(D194364) 794096:ab7a6d6cd4a7 Bug 1867190 - Make the PHC probability dynamic r=glandium
(D198651) 794095:6cc1bd429186 Bug 1867190 - Initialise the PHC allocate delay later r=glandium
Warning: found 76 untracked files (will not be submitted):
AttributeError: 'Config' object has no attribute 'name'
Run moz-phab again with '--trace' to show debugging output
Running with --trace gives me:
ERROR 2024-01-24 14:16:02,534 Traceback (most recent call last):
File "/home/paul/.local/pipx/venvs/mozphab/lib/python3.11/site-packages/mozphab/mozphab.py", line 126, in main
args.func(repo, args)
File "/home/paul/.local/pipx/venvs/mozphab/lib/python3.11/site-packages/mozphab/commands/submit.py", line 709, in submit
raise e
File "/home/paul/.local/pipx/venvs/mozphab/lib/python3.11/site-packages/mozphab/commands/submit.py", line 700, in submit
_submit(repo, args)
File "/home/paul/.local/pipx/venvs/mozphab/lib/python3.11/site-packages/mozphab/commands/submit.py", line 554, in _submit
"Automatically submitting (as per submit.auto_submit in %s)", config.name
^^^^^^^^^^^
AttributeError: 'Config' object has no attribute 'name'
I included the relevant part only.
Comment 1•1 year ago
|
||
Marking this bug as the dupe since the other bug has a patch. Thanks for reporting this, Paul.
You need to log in
before you can comment on or make changes to this bug.
Description
•