giuspen / cherrytree

cherrytree
https://www.giuspen.net/cherrytree/
Other
3.46k stars 469 forks source link

Likely Interop Problem with Ondrive #2600

Open winnieXY opened 3 weeks ago

winnieXY commented 3 weeks ago

Version, Operating system Windows 10, Cherrytree 1.2.0/1.1.4

Describe the bug I use cherrytree with a folder structure. Since recently (it worked for more than a year before) cherrytree is no longer able to write/save to the folder structure. The error occured first with v1.1.4 but persists also after updating to 1.2.0.

After some time saving fails with the following error messages: grafik

grafik

I do have write permissions within the folder and I can create and delete the mentioned files manually via the explorer. I can export the complete tree into another folder and than it works for a certain amount of time and after that it starts to fail again.

To Reproduce See above

Screenshots See above.

Debug Logs

[2024-11-05` 10:21:40.721] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:21:40.721] [che] [error] !! mkdir C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:21:43.956] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:21:43.957] [che] [error] !! mkdir C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:21:55.813] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:21:55.813] [che] [error] !! mkdir C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:22:20.136] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:22:20.137] [che] [error] !! mkdir C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:22:20.137] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~~\32
[2024-11-05 10:22:20.137] [che] [warning] move_file, error: Ordner kann nicht über Ordner verschoben werden, from: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~\32, to: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~~\32
[2024-11-05 10:22:20.138] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~\32
[2024-11-05 10:22:20.139] [che] [warning] move_file, error: Ordner kann nicht über Ordner verschoben werden, from: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\.before, to: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~\32
[2024-11-05 10:22:23.344] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~~\32
[2024-11-05 10:22:23.344] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:22:23.344] [che] [error] !! mkdir C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:22:23.344] [che] [warning] move_file, error: Ordner kann nicht über Ordner verschoben werden, from: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~\32, to: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~~\32
[2024-11-05 10:22:23.345] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~\32
[2024-11-05 10:22:23.345] [che] [warning] move_file, error: Ordner kann nicht über Ordner verschoben werden, from: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\.before, to: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~\32
[2024-11-05 10:22:42.715] [che] [debug] autoSaveCounter->0
[2024-11-05 10:22:42.715] [che] [debug] autosave needed
[2024-11-05 10:22:42.720] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~~\32
[2024-11-05 10:22:42.720] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:22:42.720] [che] [error] !! mkdir C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\35\42\.before
[2024-11-05 10:22:42.720] [che] [warning] move_file, error: Ordner kann nicht über Ordner verschoben werden, from: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~\32, to: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~~~\32
[2024-11-05 10:22:42.721] [che] [error] fs::remove: g_rmdir failed to remove C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~\32
[2024-11-05 10:22:42.721] [che] [warning] move_file, error: Ordner kann nicht über Ordner verschoben werden, from: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\Laborjournal_Oxycheck\1\32\.before, to: C:\Users\z004tash\OneDrive - Siemens AG\Laborjournal_PW\.Laborjournal_Oxycheck~\32
[2024-11-05 10:22:47.961] [che] [debug] kill_callback_handler 15
gitvectors commented 2 weeks ago

I am just browsing through and I spot that you are (a) in Windows and (b) you have spaces in the file path. Although I am in Ubuntu could the spaces be an issue?