An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
245
stars
73
forks
source link
Exception if file path contains UTF-8 (EX:Chinese word) #28
Closed
marcusting closed 6 years ago
Create folder with Chinese name. Then exception during file path encode then inotify watch stop.
[Exception Message] adapters add_watch Adding watch: [/share/Music/新增資料夾] Exception : argument 2: <type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 13-17: ordinal not in range(128) adapters del Cleaning-up inotify.