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

登陆后报错Error : 文件夹 id 无效 dir_id=-11, self._work_id=-11 #67

Open
gifyic opened this issue Sep 28, 2021 · 3 comments
Open

Comments

@gifyic
Copy link

gifyic commented Sep 28, 2021

No description provided.

@gifyic gifyic changed the title 登陆后提示 Error : 文件夹 id 无效 dir_id=-11, self._work_id=-11 登陆后报错Error : 文件夹 id 无效 dir_id=-11, self._work_id=-11 Sep 28, 2021
@telnetning
Copy link
Contributor

这个是因为查询目录瞎文件的 API 发生了变化导致的,具体是 core.py 中的 get_file_list 方法中:

之前的是:
url = self._host_url + "/v2/listFiles.action"
当前该接口在根目录下变成了:
url = self._host_url + "/api/portal/listFiles.action"
而在非根目录下该接口变成了:
url = self._host_url + "/api/open/file/listFiles.action"

当然,响应体也发生了一些变化,尤其是非根目录下列出文件时的响应体。

由于时间原因,我也没能修改完全,所以没有 PR,Sorry。

@lovechang1986
Copy link

Error : 文件夹 id=-11 无效(被删除), 将切换到根目录!
Error : 文件夹 id 无效 dir_id=-11, self._work_id=-11
正在检测更新...
(*/ω\*) 暂无新版本发布~
但项目可能已经更新,建议去项目主页看看
如有 Bug 或建议,请提 Issue
Github: https://github.com/Aruelius/cloud189

今天登录提示结果,是否一样得问题?

@liang-x-j
Copy link

今天安装了一下,同样问题,因为是小白,自己解决不了,请大神指点。

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

4 participants