Picard 2.0.3 crashing when using tagger script


#1

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)


#2

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


#3

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


#4

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


#5

Just to confirm that the fix works OK