canton7/SyncTrayzor

SyncTrayzor becomes unresponsive if #include path is wrong in .stignore

Open

#526 建立於 2019年8月27日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)C# (5,477 star) (390 fork)batch import
enhancementhelp wanted

描述

If #include is set to a non-existent file path, Syncthing continuously spams the log file with the following entries.

[***] **:**:** WARNING: Error on folder "***" (***-***): loading ignores: failed to load include file ***: open \\?\***: The system cannot find the path specified.
[***] **:**:** INFO: Cleared error on folder "***" (***-***)

This leads to SyncTrayzor being completely unresponsive due to the console window being updated indifintely with the log spam. The only method to make it responsive again is to either a) edit the .stignore file manually and fix the path there, or b) have the console in SyncTrayzor paused beforehand, so that the Syncthing log spam does not affect it.

I believe that this can be a very annoying problem, as the path could be wrong simply due to a spelling mistake, and once this happens, it is impossible to fix the mistake through the GUI. The whole system actually becomes unresponsive too as both Syncthing and SyncTrayzor use 100% CPU in this state.

貢獻者指南