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

office文件无法保存 #40

Open
earth10086 opened this issue Jan 10, 2025 · 3 comments
Open

office文件无法保存 #40

earth10086 opened this issue Jan 10, 2025 · 3 comments

Comments

@earth10086
Copy link

windows上office文件无法保存
QQ20250110-101451
保存时提示这个,所有的office文件都这样,txt什么的没事。使用RaiDrive挂载时也正常,只是直接使用文件管理不行

@117503445
Copy link
Owner

请给出更加详细的信息,比如运行 gowebdav 的命令和参数,wps文字是如何与 gowebdav 交互的(通过直接读写文件系统,还是通过WebDAV协议)

@earth10086
Copy link
Author

请给出更加详细的信息,比如运行 gowebdav 的命令和参数,wps文字是如何与 gowebdav 交互的(通过直接读写文件系统,还是通过WebDAV协议)

我是通过windows上添加网络位置添加的WebDAV共享,使用的配置文件
address="0.0.0.0"
port=8001
secret_dav_list=false
[[davs]]
prefix="/ws001"
pathDir="E:/share/001"
username="001"
password="001"
readOnly=false
这是具体配置。
保存是在桌面新建了一个word文档,然后另存到挂载的WebDAV共享里面,就提示这个,但是使用rclone挂载成本地磁盘那种就正常了

@117503445
Copy link
Owner

根据我测试的结果,确实有问题。使用 Rclone 的时候,会过一段时间才报错(Rclone 内部在重试),最终也无法保存。

目前定位到原因是,WPS 保存文件时会先 LOCK 文件再写入,但是实际写入的时候 WebDAV 返回了 Locked 错误

我再研究一下

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

2 participants