Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEBUG:fuse.log-mixin:<- init None #137

Open
hanj0415 opened this issue Jan 18, 2022 · 2 comments
Open

DEBUG:fuse.log-mixin:<- init None #137

hanj0415 opened this issue Jan 18, 2022 · 2 comments

Comments

@hanj0415
Copy link

hanj0415 commented Jan 18, 2022

Thank you for sharing the handy code.
dptrp1 is working flawlessly.

When I mount dpt with dptmount --config ~/.config/dpt-rp1.conf --verbose --logfile ~/.local/bin/dmlogs /mnt/data
It shows "INFO:dptmount:Loading initial document list" and never returns complete, and the log says below at the end of the line.
DEBUG:fuse.log-mixin:-> init / ()
DEBUG:fuse.log-mixin:<- init None

My environment is as below.
Ubuntu 20.04.3 LTS
dpt-rp1-py version: 0.1.16
libfuse version: libfuse2/focal,now 2.9.9-3
fusepy version: python3-fusepy/focal,focal 3.0.1-2 all

@ikuspegi
Copy link

+1 have same issue. On macOS, if you ignore this and try to take any action (copying a file etc.), the operation errors out with code -43. dptmount used to work flawlessly, I don't know what happened.

@pizzasok
Copy link

pizzasok commented Apr 9, 2022

Update: after a fresh install of Ubuntu 22.04.1 the problem is gone, and dptmount works flawlessly on my Quaderno A4 2nd Gen.

Previously on Ubuntu 20.04 I ran into a similar issue, which I posted earlier as follows:

For me a similar issue is happening, but after upgrading my Quaderno to the latest firmware (1.1.00.15020FP) I get a slightly different outcome:
$ dptmount --config ~/.config/dpt-rp1.conf --verbose --logfile ~/.local/bin/dmlogs /mnt/Quaderno

Then it stalls and the log contains:

DEBUG:fuse.log-mixin:-> init / ()
DEBUG:fuse.log-mixin:<- init None
DEBUG:fuse.log-mixin:-> access / (4,)
DEBUG:fuse.log-mixin:<- access 0
DEBUG:fuse.log-mixin:-> getattr /.Trash (None,)
DEBUG:fuse.log-mixin:<- getattr '[Errno 2] No such file or directory'
DEBUG:fuse:FUSE operation getattr raised a <class 'fuse.FuseOSError'>, returning errno 2.
Traceback (most recent call last):
File "~/.local/lib/python3.8/site-packages/fuse.py", line 734, in _wrapper
return func(*args, **kwargs) or 0
File "~/.local/lib/python3.8/site-packages/fuse.py", line 774, in getattr
return self.fgetattr(path, buf, None)
File "~/.local/lib/python3.8/site-packages/fuse.py", line 1027, in fgetattr
attrs = self.operations('getattr', self._decode_optional_path(path), fh)
File "~/.local/lib/python3.8/site-packages/fuse.py", line 1251, in call
ret = getattr(self, op)(path, *args)
File "~/.local/lib/python3.8/site-packages/dptrp1/cli/dptmount.py", line 242, in getattr
raise FuseOSError(ENOENT)
fuse.FuseOSError: [Errno 2] No such file or directory
DEBUG:fuse.log-mixin:-> getattr /.Trash-1000 (None,)
DEBUG:fuse.log-mixin:<- getattr '[Errno 2] No such file or directory'
DEBUG:fuse:FUSE operation getattr raised a <class 'fuse.FuseOSError'>, returning errno 2.
Traceback (most recent call last):
File "~/.local/lib/python3.8/site-packages/fuse.py", line 734, in _wrapper
return func(*args, **kwargs) or 0
File "~/.local/lib/python3.8/site-packages/fuse.py", line 774, in getattr
return self.fgetattr(path, buf, None)
File "~/.local/lib/python3.8/site-packages/fuse.py", line 1027, in fgetattr
attrs = self.operations('getattr', self._decode_optional_path(path), fh)
File "~/.local/lib/python3.8/site-packages/fuse.py", line 1251, in call
ret = getattr(self, op)(path, *args)
File "~/.local/lib/python3.8/site-packages/dptrp1/cli/dptmount.py", line 242, in getattr
raise FuseOSError(ENOENT)
fuse.FuseOSError: [Errno 2] No such file or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants