TMSU icon indicating copy to clipboard operation
TMSU copied to clipboard

Could not read directory entries: readdirent: input/output error

Open pluma9 opened this issue 3 years ago • 1 comments

How I got the error

tmsu untagged --verbose

Error:

2022-05-02 04:44:26.2255203 +0700 +07 m=+0.000837501: tmsu: looking for database at '/mnt/d/temp/b43jwccybun/output/temp/.tmsu/db' 2022-05-02 04:44:26.2477541 +0700 +07 m=+0.023071801: tmsu: .: could not read directory entries: readdirent: input/output error

Environment

5.10.102.1-microsoft-standard-WSL2 TMSU 0.7.5

More info

  • The current working directory contains the .tmsu directory
  • The above command works if I cd to one of the sub directories
  • The directory contains more than 4000 files (I tried to reproduce the error by creating another directory with that same number of files, but the command worked). I guess this is not related to the large number of files.
  • I tried running that same command on Windows (I'm using WSL, so I can access the directory both through Windows and Linux) using TMSU 0.6.0 (Windows version), it works.

pluma9 avatar May 01 '22 22:05 pluma9

Difficult to say what's going on here. Maybe you could run dmesg on your WSL after you get this error for some more clues.

oniony avatar May 16 '22 21:05 oniony