mountindex: Uncaught exception from FUSE operation getattr, returning errno.EINVAL.
Using mayanedms:3.3.16 docker image.
Created simple index and rebuild as described here https://docs.mayan-edms.com/chapters/indexes/examples.html
If i try to mount the index - mayan-edms.py stay in foreground. So i put in background and try to access the exported index.
docker exec -it mayan-edms /bin/bash
mkdir -p /indexes/magazines
/opt/mayan-edms/bin/mayan-edms.py mountindex magazines /indexes/magazines &
ls -l /indexes/magazines/2020/
total 0
dr-xr-xr-x 2 root root 0 Mar 21 15:40 01
ls -l /indexes/magazines/2020/01/
Uncaught exception from FUSE operation getattr, returning errno.EINVAL.
Traceback (most recent call last):
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 734, in _wrapper
return func(*args, **kwargs) or 0
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 774, in getattr
return self.fgetattr(path, buf, None)
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 1028, in fgetattr
set_st_attrs(st, attrs, use_ns=self.use_ns)
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 590, in set_st_attrs
setattr(st, key, val)
TypeError: an integer is required (got type NoneType)
ls: cannot access '/indexes/magazines/2020/01/ct.20.02.pdf': Invalid argument
Uncaught exception from FUSE operation getattr, returning errno.EINVAL.
Traceback (most recent call last):
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 734, in _wrapper
return func(*args, **kwargs) or 0
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 774, in getattr
return self.fgetattr(path, buf, None)
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 1028, in fgetattr
set_st_attrs(st, attrs, use_ns=self.use_ns)
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 590, in set_st_attrs
setattr(st, key, val)
TypeError: an integer is required (got type NoneType)
ls: cannot access '/indexes/magazines/2020/01/tr.19.13.pdf': Invalid argument
Uncaught exception from FUSE operation getattr, returning errno.EINVAL.
Traceback (most recent call last):
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 734, in _wrapper
return func(*args, **kwargs) or 0
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 774, in getattr
return self.fgetattr(path, buf, None)
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 1028, in fgetattr
set_st_attrs(st, attrs, use_ns=self.use_ns)
File "/opt/mayan-edms/lib/python3.7/site-packages/fuse.py", line 590, in set_st_attrs
setattr(st, key, val)
TypeError: an integer is required (got type NoneType)
ls: cannot access '/indexes/magazines/2020/01/tr.20.01.pdf': Invalid argument
total 0
?????????? ? ? ? ? ? ct.20.02.pdf
?????????? ? ? ? ? ? tr.19.13.pdf
?????????? ? ? ? ? ? tr.20.01.pdf