Coder Social home page Coder Social logo

Can't ls a certain folder about oxfs HOT 3 CLOSED

oxfs avatar oxfs commented on May 12, 2024
Can't ls a certain folder

from oxfs.

Comments (3)

RainMark avatar RainMark commented on May 12, 2024

Hi. I have an issue that I cannot read the contents of a certain folder. Others work without issues. The only difference in this folder is that it contains 1162 files and it's 19TB although I don't know if it's related with the issue.

[2021-12-27 12:12:45,767][INFO][_internal.py -- _log():225][ * Running on http://127.0.0.1:10010/ (Press CTRL+C to quit)] [2021-12-27 13:05:24,744][ERROR][fuse.py -- _wrapper():750][Uncaught exception from FUSE operation readdir, returning errno.EINVAL.] Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/fuse.py", line 734, in _wrapper return func(*args, **kwargs) or 0 File "/usr/local/lib/python3.9/dist-packages/fuse.py", line 960, in readdir for item in self.operations('readdir', self._decode_optional_path(path), File "/usr/local/lib/python3.9/dist-packages/fuse.py", line 1251, in call ret = getattr(self, op)(path, *args) File "/usr/local/lib/python3.9/dist-packages/oxfs/oxfs.py", line 234, in readdir entries = self.sftp.listdir(path) File "/usr/local/lib/python3.9/dist-packages/paramiko/sftp_client.py", line 218, in listdir return [f.filename for f in self.listdir_attr(path)] File "/usr/local/lib/python3.9/dist-packages/paramiko/sftp_client.py", line 254, in listdir_attr filename = msg.get_text() File "/usr/local/lib/python3.9/dist-packages/paramiko/message.py", line 178, in get_text return u(self.get_string()) File "/usr/local/lib/python3.9/dist-packages/paramiko/py3compat.py", line 161, in u return s.decode(encoding) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 56: invalid continuation byte

Any thoughts about how I can debug this?

cheers

Looks a bit like this issue: paramiko/paramiko#707

from oxfs.

RainMark avatar RainMark commented on May 12, 2024

@manwe your sftp server running on Windows? it's seem to like file name not use utf-8 encode.

from oxfs.

manwe avatar manwe commented on May 12, 2024

No, it's a synology NAS. DSM 6.2

from oxfs.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.