hi! I don’t know if it is a problem that beets is causing or my something else on my system. Recently, I noticed a lot of stale file handle errors when importing with beets. I use Manjaro and import the files from a nfs share to a nfs share. I have noticed that during my automated imports the error doesn’t show up but that might be due to the -q parameter. In manual mode, however, I do see the error on a lot of folders.
Is this something that the nfs shares are causing or does beets have a specific timeframe in which a file has to be processed in?
The exact error message:
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.7/logging/__init__.py", line 1038, in emit
self.flush()
File "/usr/lib/python3.7/logging/__init__.py", line 1018, in flush
self.stream.flush()
OSError: [Errno 116] Stale file handle
Call stack:
File "/usr/lib/python3.7/threading.py", line 885, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/site-packages/beets/util/pipeline.py", line 312, in run
out = self.coro.send(msg)
File "/usr/lib/python3.7/site-packages/beets/util/pipeline.py", line 171, in coro
task = func(*(args + (task,)))
File "/usr/lib/python3.7/site-packages/beets/importer.py", line 1375, in user_query
task.choose_match(session)
File "/usr/lib/python3.7/site-packages/beets/importer.py", line 840, in choose_match
session.log_choice(self)
File "/usr/lib/python3.7/site-packages/beets/importer.py", line 268, in log_choice
self.tag_log(u'asis', paths)
File "/usr/lib/python3.7/site-packages/beets/importer.py", line 249, in tag_log
self.logger.info(u'{0} {1}', status, displayable_path(paths))
File "/usr/lib/python3.7/logging/__init__.py", line 1383, in info
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/python3.7/site-packages/beets/logging.py", line 91, in _log
return super(StrFormatLogger, self)._log(level, m, (), exc_info, extra)
Message: <beets.logging.StrFormatLogger._LogMessage object at 0x7f9b2ce46780>
Arguments: ()