-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
2.7.0b1
-
None
-
Windows 7
Opening the Options dialog with an existing "config.ini" file that doesn't have the "acousticbrainz_extractor" setting results in the AcousticBrainz page being disabled.
The following error is recorded in the log.
E: 10:58:38,505 acousticbrainz.extractor.check_extractor_version:53: AcousticBrainz extractor failed with error: argument of type 'NoneType' is not iterable E: 10:58:38,519 ui.options.dialog.__init__:180: Failed loading options page <picard.ui.options.acousticbrainz.AcousticBrainzOptionsPage object at 0x00000000050C5E58> Traceback (most recent call last): File ".\picard\ui\options\dialog.py", line 178, in __init__ page.load() File ".\picard\ui\options\acousticbrainz.py", line 97, in load if not ab_check_version(extractor_path): File ".\picard\acousticbrainz\__init__.py", line 74, in ab_check_version extractor_path = find_executable(extractor) File ".\picard\util\__init__.py", line 311, in find_executable executables = _add_windows_executable_extension(*executables) File ".\picard\util\__init__.py", line 306, in _add_windows_executable_extension return [e if e.endswith(('.py', '.exe')) else e + '.exe' for e in executables] File ".\picard\util\__init__.py", line 306, in <listcomp> return [e if e.endswith(('.py', '.exe')) else e + '.exe' for e in executables] AttributeError: 'NoneType' object has no attribute 'endswith'
I should also mention that I was running this from the source code in the "master" branch.