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

RecursionError after dragging folder from file browser

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.8.0rc2
    • 2.8.0rc1
    • None
    • None
    • Linux, Python 3.10

      After dragging a folder from file browser into Picard crashed with this recursion error:

      Traceback (most recent call last):
        File "/home/phw/devel/musicbrainz/picard/./picard/tagger.py", line 436, in event
          event.run()
        File "/home/phw/devel/musicbrainz/picard/./picard/util/thread.py", line 50, in run
          self.func(*self.args, **self.kwargs)
        File "/home/phw/devel/musicbrainz/picard/./picard/file.py", line 272, in _loading_finished
          self._copy_loaded_metadata(result, postprocessors)
        File "/home/phw/devel/musicbrainz/picard/./picard/file.py", line 288, in _copy_loaded_metadata
          self.metadata.copy(metadata)
        File "/home/phw/devel/musicbrainz/picard/./picard/metadata.py", line 389, in copy
          self._update_from_metadata(other, copy_images)
        File "/home/phw/devel/musicbrainz/picard/./picard/metadata.py", line 419, in _update_from_metadata
          self.set(k, v[:])
        File "/home/phw/devel/musicbrainz/picard/./picard/metadata.py", line 460, in set
          if isinstance(values, str) or not isinstance(values, Iterable):
        File "/usr/lib/python3.10/abc.py", line 119, in __instancecheck__
          return _abc_instancecheck(cls, instance)
      RecursionError: maximum recursion depth exceeded in comparison
      zsh: IOT instruction (core dumped)  python tagger.py 

      I am unable to willingly reproduce this. The folder itself contained ~1000 files in different subfolders, but loads fine when I try it now.

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

              Created:
              Updated:

                Version Package
                2.8.0rc2