Code Monkey home page Code Monkey logo

Comments (19)

RainMark avatar RainMark commented on June 14, 2024 1

好,感谢,我稍后修复了重新发个版本

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

yes, you can use pip to install 0.5.4 directly

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

I have tried to use the-- password and-- passwd parameters, both of which indicate that the parameters are invalid
image

I have also checked the submission record of git, and after version 0.5.1, you added the way to log in through the cert file, when the parameter of password was deleted.
image

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

I tried to specify the version 0.5.0 and 0.5.1 installed. After installation, the cache directory does not exist in the directory of dist-packages/oxfs, which makes the old version unusable.

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

算了 还是用中文回复吧。翻译机翻译的都不知道对不对的
试过装0.4.0,0.5.0,0.5.1这三个版本, dist-packages/oxfs这个目录下的cache目录不存在,在执行oxfs挂载命令的时候提示cache模块不存在。

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

image
github的提交日志看到去年10月13号的时候 把password的入参给干掉了

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

不用指定参数,如果没有cert配置会自动fallback让你输入密码

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

但是并没有呢,提示paramiko.ssh_exception.SSHException: No authentication methods available
image

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

oxfs/oxfs/oxfs.py

Lines 104 to 107 in cf6176d

if not self.password:
sftp = self.try_connect(client, None, False)
if sftp:
return client, sftp

这样,你打开本地代码把这几行注释了,看样子是paramiko抛了个SSHException没catch住

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

oxfs/setup.py

Line 35 in cf6176d

'paramiko >= 2.0.0',

估计是paramiko新版本行为发生了改变,也可以试试pip install paramiko==2.0.0试试

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

image
安装了2.0.0版本,出现符号错误

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

奇怪了,试试2.8.0呢,我看3.0是最近才发布的,2.0.0有点旧了

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

image
2.8.0版本和之前3.0.0的一样,还是提示paramiko.ssh_exception.SSHException: No authentication methods available

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

你先本地改下代码吧,我找下正确的版本,代码路径文件你的报错截图里给出了

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

可以直接修改dist下的文件?
05B6ED56

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

可以直接修改dist下的文件? 05B6ED56

是的,只要有权限随便改

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

注释掉那几行代码后成功了

from oxfs.

MRDHR avatar MRDHR commented on June 14, 2024

感谢大佬,我先用用看。我先把issue关掉了

from oxfs.

RainMark avatar RainMark commented on June 14, 2024

oxfs==0.5.5可以了,可以试试

from oxfs.

Related Issues (14)

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.