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

Crash when initializing translations on Python 3.8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.3
    • Component/s: Localization, Other
    • Labels:
      None
    • Environment:
      Python 3.8

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                2.2.3