wrye-bash / wrye-bash

A swiss army knife for modding Bethesda games.
https://wrye-bash.github.io
GNU General Public License v3.0
455 stars 79 forks source link

Fails to execute with -o parameter #671

Closed 13gears13 closed 6 months ago

13gears13 commented 6 months ago

Traceback (most recent call last): File "argparse.py", line 1902, in parse_known_args File "argparse.py", line 2114, in _parse_known_args File "argparse.py", line 2044, in consume_optional File "argparse.py", line 2208, in _match_argument argparse.ArgumentError: argument -o/--oblivionPath: expected one argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "Wrye Bash Launcher.pyw", line 29, in File "bash\barg.py", line 126, in parse File "argparse.py", line 1869, in parse_args File "argparse.py", line 1904, in parse_known_args File "argparse.py", line 2626, in error File "argparse.py", line 2596, in print_usage File "argparse.py", line 2607, in _print_message AttributeError: 'NoneType' object has no attribute 'write'

sibir-ine commented 6 months ago

You should report issues to the AFK Mods thread or WB Discord before posting issues here (see this repo's readme & the bug reporting guidelines). What's the exact argument you passed WB?

Infernio commented 6 months ago

Looks like you're missing the argument to -o, e.g. -o "G:\My Games\Oblivion". See the command line argument documentation.

And like sibir said, please report to the AFKMods thread or the Discord first so we don't use an issue for regular reports.