Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2688

Windows: Portable version crashes when launched with "-h"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 2.9.1
    • None
    • Packaging & Deployment
    • None

      E.g. when I run "MusicBrainz-Picard-2.9.0b3.exe -h" the mouse pointer first briefly changes to a loading animation and then an error dialog appears:

      Failed to execute script 'tagger' due to unhandled exception:
      'NoneType' object has no attribute 'write'
      
      Traceback (most recent call last):
        File "tagger.py", line 17, in <module>
        File "tagger.py", line 1440, in main
        File "tagger.py", line 1398, in process_picard_args
        File "argparse.py", line 1768, in parse_args
        File "argparse.py", line 1800, in parse_known_args
        File "argparse.py", line 2006, in _parse_known_args
        File "argparse.py", line 1946, in consume_optional
        File "argparse.py", line 1874, in take_action
        File "argparse.py", line 1044, in __call__
        File "argparse.py", line 2494, in print_help
        File "argparse.py", line 2500, in _print_message
      AttributeError: 'NoneType' object has no attribute 'write'
      

      However if use an option that opens the GUI there is no error (but no command line output either for e.g. "-d")

            outsidecontext Philipp Wolfer
            chaban chaban
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                2.9.1