canton7/SyncTrayzor

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

Aperta

#526 aperta il 27 ago 2019

 (2 commenti) (0 reazioni) (0 assegnatari)C# (425 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (6199 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor