Moz-phab 1.78 always exits with TypeError: __init__() got an unexpected keyword argument 'required'
Categories
(Conduit :: moz-phab, defect, P1)
Tracking
(Not tracked)
People
(Reporter: MarcoZ, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
After update to moz-phab 1.78 under MozBuild under Windows 10, no matter what argument or I use, or even none, I get:
TypeError: init() got an unexpected keyword argument 'required'
Run moz-phab again with '--trace' to show the stack trace
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
--trace does not work, gives the same error output.
I'm unable to reproduce this with moz-phab 0.1.78 on Windows 10.
moz-phab itself doesn't have a function named init
, so it isn't clear where this is coming from.
can you run again with DEBUG=1 moz-phab submit
? hopefully that'll generate a stack trace.
Reporter | ||
Comment 2•4 years ago
|
||
DEBUG 2020-03-03 16:30:54,299 MozPhab (0.1.78)
ERROR 2020-03-03 16:30:54,303 Traceback (most recent call last):
File "c:\mozilla-build\python3\lib\site-packages\mozphab\mozphab.py", line 5450, in main
args = parse_args(argv)
File "c:\mozilla-build\python3\lib\site-packages\mozphab\mozphab.py", line 5117, in parse_args
required=True,
File "c:\mozilla-build\python3\lib\argparse.py", line 1703, in add_subparsers
action = parsers_class(option_strings=[], **kwargs)
TypeError: init() got an unexpected keyword argument 'required'
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 4•4 years ago
|
||
(In reply to Marco Zehe (:MarcoZ) from comment #0)
After update to moz-phab 1.78 under MozBuild under Windows 10, no matter what argument or I use, or even none, I get:
TypeError: init() got an unexpected keyword argument 'required'
Run moz-phab again with '--trace' to show the stack trace
Sentry is attempting to send 0 pending error messages
Waiting up to 2 seconds
Press Ctrl-Break to quit--trace does not work, gives the same error output.
I have the same behavior on Ubuntu 18.04. I've update to most recent moz-central and re-run ./mach bootstrap with no change in results.
Comment 5•4 years ago
|
||
Please run pip3 install MozPhab --upgrade
Description
•