Picard 2.0.3 crashing when using tagger script

Getting this error (running under PyCharm to get the log!):

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

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

I submitted a patch for this issue: https://github.com/metabrainz/picard/pull/924
Matching ticket created as https://tickets.metabrainz.org/browse/PICARD-1318

1 Like

That’s good. Unfortunately I can’t test it until next week as I am away without my PC.

Fix was merged today. We’ll prolly release Picard 2.0.4 soon.

1 Like

Just to confirm that the fix works OK

2 Likes