letorbi / synoindexwatcher

An automated media index updater for Synology DiskStations.
GNU General Public License v3.0
69 stars 7 forks source link

Proper error when running out of inode watchers #21

Closed letorbi closed 4 years ago

letorbi commented 4 years ago

By default the exception OSError: [Errno 28] No space left on device is thrown. This is somewhat irritating and even though a FAQ entry exists in the Synoindex Watcher Readme, the program itself should also print a better message.

Since this seems to be a common problem, the message should explain the error and show ways how to fix the problem. Maybe even a --fix-max-user-watches argument or similar could make sense.

letorbi commented 4 years ago

To add a --fix-max-user-watches argument seems a bit over-engineered here. Just displaying a proper error-message and a link to FAQ should be enough.