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

RuntimeError: dictionary changed size during iteration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4
    • Component/s: Scripting
    • Labels:
      None

      Description

      File “.\picard\album.py”, line 279, in _finalize_loading
      self._new_metadata.strip_whitespace()
      File “.\picard\metadata.py”, line 349, in strip_whitespace
      self.apply_func(lambda s: s.strip())
      File “.\picard\metadata.py”, line 334, in apply_func
      for key, values in self.rawitems():
      RuntimeError: dictionary changed size during iteration

      crashes with 2.0.4dev1 and a very simple script: $set(newartists, %artists%)

       

      From https://community.metabrainz.org/t/picard-2-0-3-crashing-when-using-tagger-script/394671

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zas Zas
              Reporter:
              zas Zas
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  2.0.4