Closed Bug 1876257 Opened 1 year ago Closed 1 year ago

AttributeError: 'Config' object has no attribute 'name' when auto-submitting after updating moz-phab to 1.5.0

Categories

(Conduit :: moz-phab, defect)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file)

I had to remove the auto-submit from the configuration to proceed:

ERROR    2024-01-24 11:15:43,127 Traceback (most recent call last):
  File "/home/emilio/.local/lib/python3.11/site-packages/mozphab/mozphab.py", line 126, in main
    args.func(repo, args)
  File "/home/emilio/.local/lib/python3.11/site-packages/mozphab/commands/submit.py", line 709, in submit
    raise e
  File "/home/emilio/.local/lib/python3.11/site-packages/mozphab/commands/submit.py", line 700, in submit
    _submit(repo, args)
  File "/home/emilio/.local/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'
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Duplicate of this bug: 1876224

I'm going to publish a 1.5.1 release to get this fix out.

We should add an integration test for the auto-submit functionality while we're at it.

Duplicate of this bug: 1876294

Resolved in moz-phab 1.5.1.

No longer blocks: mach-busted
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: