Mopidy Discourse

Mopidy Local cannot scan local directory (operation forbidden on released memoryview object)

My mopidy cannot scan files from the local directory. Can someone support?

ERROR 2020-12-26 15:19:22,274 [4286:MainThread] mopidy.main
operation forbidden on released memoryview object
Traceback (most recent call last):
File “/usr/lib/python3.9/site-packages/mopidy/”, line 143, in main
return, proxied_config)
File “~/.local/lib/python3.9/site-packages/mopidy_local/”, line 95, in run
File “~/.local/lib/python3.9/site-packages/mopidy_local/”, line 218, in _scan_metadata
result = scanner.scan(file_uri)
File “/usr/lib/python3.9/site-packages/mopidy/audio/”, line 70, in scan
tags, mime, have_audio, duration = _process(pipeline, timeout)
File “/usr/lib/python3.9/site-packages/mopidy/audio/”, line 268, in _process
File “/usr/lib/python3.9/site-packages/mopidy/audio/”, line 83, in convert_taglist
if data:
ValueError: operation forbidden on released memoryview object

A fix for this was merged recently but there’s not a release that contains it yet.

I’ve released Mopidy 3.1.1 now, which contains the bug fix for this issue.