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 2003 (doc, xls) file save failed! #70

Open
laobiao139 opened this issue Apr 17, 2024 · 1 comment
Open

Office 2003 (doc, xls) file save failed! #70

laobiao139 opened this issue Apr 17, 2024 · 1 comment

Comments

@laobiao139
Copy link

laobiao139 commented Apr 17, 2024

Hello,
I have tested the example you provided and found that WindowsMirrorFileSystem encounters errors when saving office excel 2003 files (xls) and office word 2003 files (doc). This issue is reproducible every time. Can this problem be fixed? Additionally, office versions 2007 and above can be saved normally. The tool used for editing documents is WPS.

Thank you very much.

this exception log :

java.nio.file.FileAlreadyExistsException: C:\Users\xxxx\Desktop\fsdownload\test\testExcel~DE996.tmp
	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:87)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
	at java.base/sun.nio.fs.WindowsFileSystemProvider.newFileChannel(WindowsFileSystemProvider.java:119)
	at java.base/java.nio.channels.FileChannel.open(FileChannel.java:309)
	at example.WindowsMirrorFileSystem.openFileChannel(WindowsMirrorFileSystem.java:67)
	at example.AbstractMirrorFileSystem.createOrOpen(AbstractMirrorFileSystem.java:457)
	at example.AbstractMirrorFileSystem.create(AbstractMirrorFileSystem.java:442)
	at org.cryptomator.jfuse.api.FuseOperationsDecorator.create(FuseOperationsDecorator.java:182)
	at org.cryptomator.jfuse.win.FuseImpl.create(FuseImpl.java:135)
@infeo
Copy link
Member

infeo commented Apr 24, 2024

The WindowsMirrorFileSystem is a sample filesystem, not meant for production. For a working filesystem implementation, see https://github.com/cryptomator/fuse-nio-adapter.

Of course we welcome PRs to improve the filesystem or fix bugs.

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