SyncthingTray icon indicating copy to clipboard operation
SyncthingTray copied to clipboard

SyncthingTray only starts after Syncthing's configuration has been created

Open quantum5 opened this issue 11 years ago • 1 comments

When I compiled the master branch (44b45e66363469c535e6b02ec73296a97ab9a427), this error happens on startup:

The problem seems to be in SyncthingConfig.cs, where the following line fails to handle the null case for ConfigPath:

Watcher = new FileSystemWatcher(Path.GetDirectoryName(ConfigPath))

This goes away immediately after downloading and running syncthing.exe manually.

quantum5 avatar Mar 31 '15 13:03 quantum5

Had the same issue, can confirm the pull request from this issue fixed the problem.

yesrod avatar Apr 06 '15 15:04 yesrod