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

Crash when initializing translations on Python 3.8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.2.3
    • 2.2.2
    • Localization, Other
    • None
    • Python 3.8

      Trying to start Picard from source with Python 3.8 on Windows fails:

      Traceback (most recent call last):
      File ".\tagger.py", line 19, in <module>
      main(os.path.join(basedir, 'locale'), True)
      File ".\picard\tagger.py", line 907, in main
      tagger = Tagger(picard_args, unparsed_args, localedir, autoupdate)
      File ".\picard\tagger.py", line 226, in _init_
      setup_gettext(localedir, config.setting["ui_language"], log.debug)
      File ".\picard\i18n.py", line 82, in setup_gettext
      trans.install(True)
      File "C:\Program Files\Python38\lib\gettext.py", line 352, in install
      for name in allowed & set(names):
      TypeError: 'bool' object is not iterable

      Seems to work on macOS

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

              Created:
              Updated:
              Resolved:

                Version Package
                2.2.3