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

"RuntimeError: dictionary changed size during iteration" in metadatabox

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.9
    • 2.5.1
    • None
    • None

      The following exception is occasionally thrown:

      E: 08:49:01,364 util.thread.run:64: Traceback (most recent call last):
      File "./picard/util/thread.py", line 60, in run
      result = self.func()
      File "./picard/ui/metadatabox.py", line 527, in _update_tags
      new_metadata = file.new_metadata
      File "./picard/formats/id3.py", line 648, in new_metadata
      copy.copy(self.metadata)
      File "./picard/metadata.py", line 360, in copy
      self._update_from_metadata(other, copy_images)
      File "./picard/metadata.py", line 389, in _update_from_metadata
      for k, v in other.rawitems():
      RuntimeError: dictionary changed size during iteration

      I don't know how to reproduce it, seems to be a timing issues where Metadata gets changed while being read.

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

              Created:
              Updated:

                Version Package
                2.9