Constant Crashes

Hopefully this isn’t the entirely wrong place to post this, but if it is I’m certain plenty of people will be vocal in letting me know how I screwed up and among those at least one will point out the correct place it should have gone (and will next time).

I’m using 2.0.4 and it crashes on me constantly. I cleared the error log, put it in debug mode and tried to load and scan 3 songs, and it crashed. I don’t see any way to attach the error log to this post (new user restriction?) so I’ll try adding it inline below.

If this says anything useful to anyone, please let me know.

D: 18:29:43,608 tagger.debug:232: Debug mode on
D: 18:29:43,608 tagger.init:163: Starting Picard from ‘C:\Program Files (x86)\MusicBrainz Picard\picard\tagger.pyc’
D: 18:29:43,608 tagger.init:165: Platform: Windows-10-10.0.17134-SP0 CPython 3.6.6
D: 18:29:43,608 tagger.init:166: Versions: Picard 2.0.4, PyQt 5.10.1, Qt 5.10.1, Mutagen 1.41.1, Discid discid 1.1.1, libdiscid 0.6.2, astrcmp C, SSL OpenSSL 1.0.2o 27 Mar 2018
D: 18:29:43,609 tagger.init:167: Configuration file path: ‘C:/Users/Larry/AppData/Roaming/MusicBrainz/Picard.ini’
D: 18:29:43,609 tagger.init:169: User directory: ‘C:\Users\Larry\AppData\Local\MusicBrainz\Picard’
D: 18:29:43,621 i18n.setup_gettext:53: unsupported locale setting
D: 18:29:43,621 i18n.setup_gettext:68: Using locale ‘en_US.cp1252’
D: 18:29:43,621 i18n.setup_gettext:70: Loading gettext translation, localedir=‘C:\Program Files (x86)\MusicBrainz Picard\locale’
D: 18:29:43,622 i18n.setup_gettext:74: Loading gettext translation (picard-countries), localedir=‘C:\Program Files (x86)\MusicBrainz Picard\locale’
D: 18:29:43,622 i18n.setup_gettext:81: [Errno 2] No translation file found for domain: ‘picard-countries’
D: 18:29:43,622 i18n.setup_gettext:100: _ = <function setup_gettext.. at 0x0000019C22542378>
D: 18:29:43,622 i18n.setup_gettext:101: N_ = <function at 0x0000019C21CC72F0>
D: 18:29:43,622 i18n.setup_gettext:102: ngettext = <function setup_gettext.._ngettext at 0x0000019C22542400>
D: 18:29:43,623 i18n.setup_gettext:103: gettext_countries = <function setup_gettext.._gettext_countries at 0x0000019C22542488>
D: 18:29:43,623 i18n.setup_gettext:104: gettext_attributes = <function setup_gettext.._gettext_attributes at 0x0000019C22542510>
D: 18:29:43,627 webservice.set_cache:279: NetworkDiskCache dir: C:/Users/Larry/AppData/Local/MusicBrainz/Picard/cache/picard/
D: 18:29:43,633 webservice.set_cache:281: NetworkDiskCache size: 93265516 / 104857600
D: 18:29:43,638 plugin.load_plugindir:282: Looking for plugins in directory ‘C:\Program Files (x86)\MusicBrainz Picard\plugins’, 9 names found
E: 18:29:43,640 plugin.load_plugin:349: Plugin ‘bpm’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\bpm_init
.py", line 24, in
from picard.util import encode_filename, decode_filename, partial, thread
ImportError: cannot import name ‘partial’

E: 18:29:43,642 plugin.load_plugin:349: Plugin ‘fanarttv’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\fanarttv_init
.py", line 30, in
from PyQt4.QtCore import QUrl
ModuleNotFoundError: No module named ‘PyQt4’

E: 18:29:43,643 plugin.load_plugin:349: Plugin ‘lastfm’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\lastfm_init
.py", line 9, in
from PyQt4 import QtCore
ModuleNotFoundError: No module named ‘PyQt4’

E: 18:29:43,656 plugin.load_plugin:349: Plugin ‘lastfmplus’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\lastfmplus_init
.py", line 12, in
from PyQt4 import QtGui, QtCore
ModuleNotFoundError: No module named ‘PyQt4’

E: 18:29:43,657 plugin.load_plugin:349: Plugin ‘moodbars’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\moodbars_init
.py", line 22, in
from picard.util import encode_filename, decode_filename, partial, thread
ImportError: cannot import name ‘partial’

E: 18:29:43,658 plugin.load_plugin:349: Plugin ‘musixmatch’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\musixmatch_init
.py", line 13, in
from ui_options_musixmatch import Ui_MusixmatchOptionsPage
ModuleNotFoundError: No module named ‘ui_options_musixmatch’

E: 18:29:43,660 plugin.load_plugin:349: Plugin ‘replaygain’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\replaygain_init
.py", line 20, in
from picard.util import encode_filename, decode_filename, partial, thread
ImportError: cannot import name ‘partial’

W: 18:29:43,663 plugin.load_plugin:345: Plugin ‘Video tools’ from ‘C:\Program Files (x86)\MusicBrainz Picard\plugins\videotools’ is not compatible with this version of Picard.
E: 18:29:43,665 plugin.load_plugin:349: Plugin ‘viewvariables’ : Traceback (most recent call last):
File “picard\plugin.py”, line 322, in load_plugin
File “imp.py”, line 245, in load_module
File “imp.py”, line 217, in load_package
File “”, line 684, in _load
File “”, line 665, in _load_unlocked
File “”, line 678, in exec_module
File “”, line 219, in call_with_frames_removed
File "C:\Program Files (x86)\MusicBrainz Picard\plugins\viewvariables_init
.py", line 11, in
from PyQt4 import QtGui, QtCore
ModuleNotFoundError: No module named ‘PyQt4’

D: 18:29:43,665 plugin.load_plugindir:282: Looking for plugins in directory ‘C:\Users\Larry\AppData\Local\MusicBrainz\Picard\plugins’, 4 names found
D: 18:29:43,666 plugin.load_plugin:335: Loading plugin ‘AcousticBrainz Mood-Genre’ version 1.1, compatible with API: 2.0
D: 18:29:43,671 plugin.load_plugin:335: Loading plugin ‘Last.fm’ version 0.8, compatible with API: 2.0
D: 18:29:43,671 plugin.load_plugin:335: Loading plugin ‘Soundtrack’ version 0.1, compatible with API: 2.0
D: 18:29:43,674 plugin.load_plugin:335: Loading plugin ‘wikidata-genre’ version 1.0, compatible with API: 2.0
D: 18:29:44,070 browser.browser.start:45: Starting the browser integration (127.0.0.1:8001)
D: 18:29:44,117 webservice.ratecontrol.get_delay_to_next_request:109: (‘picard.musicbrainz.org’, 443): First request
D: 18:29:44,118 webservice.ratecontrol.increment_requests:134: (‘picard.musicbrainz.org’, 443): Incrementing requests to: 1
D: 18:29:44,839 webservice.ratecontrol.decrement_requests:142: (‘picard.musicbrainz.org’, 443): Decrementing requests to: 0
D: 18:29:44,840 webservice._handle_reply:400: Received reply for https://picard.musicbrainz.org:443/api/v2/plugins/: HTTP 200 (OK)
D: 18:29:44,841 webservice.ratecontrol._out_of_backoff:225: (‘picard.musicbrainz.org’, 443): oobackoff; delay: 1000ms -> 1000ms; slow start; window size 1.000 -> 2.000

The most likely cause for the crashes is the wikidata-genre plugin, please try disabling this. There is a fix for this which should be available soon.

A related note, but likely not the cause for the crashes: You have some outdated plugins from previous installs in “C:\Program Files (x86)\MusicBrainz Picard\plugins”. I would suggest to just remove everything in this folder and reinstall the plugins you actually need via Options > Plugins.

2 Likes

Thanks for the reply, I’ve taken both steps that you recommended and so far it seems more stable.

1 Like