Segmentation fault
iMega opened this issue · 0 comments
iMega commented
I did # echo "123132" >> /data/zip/1.txt
# watcher.py debug
2016-05-31 17:55:04.736179 Daemon started
2016-05-31 17:55:04.736284 zip: /data/zip
Segmentation fault
my conf
[DEFAULT]
logfile=/tmp/watcher.log
pidfile=/var/run/watcher.pid
[zip]
watch=/data/zip
events=all
recursive=true
autoadd=true
excluded=
command=ls -l $filename
Log
# more /tmp/watcher.log
2016-05-31 17:42:21.123884 Daemon started
2016-05-31 17:42:21.123970 zip: /data/zip
Traceback (most recent call last):
File "/usr/bin/watcher.py", line 384, in <module>
daemon.start()
File "/usr/bin/watcher.py", line 124, in start
self.run()
File "/usr/bin/watcher.py", line 273, in run
excluded = self.config.get(section,'excluded')
File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'excluded' in section: 'zip'
2016-05-31 17:42:22.195822 Daemon started
2016-05-31 17:42:22.195937 zip: /data/zip
Traceback (most recent call last):
File "/usr/bin/watcher.py", line 384, in <module>
daemon.start()
File "/usr/bin/watcher.py", line 124, in start
self.run()
File "/usr/bin/watcher.py", line 273, in run
excluded = self.config.get(section,'excluded')
File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'excluded' in section: 'zip'
2016-05-31 17:42:24.283982 Daemon started
2016-05-31 17:42:24.284062 zip: /data/zip
Traceback (most recent call last):
File "/usr/bin/watcher.py", line 384, in <module>
daemon.start()
File "/usr/bin/watcher.py", line 124, in start
self.run()
File "/usr/bin/watcher.py", line 273, in run
excluded = self.config.get(section,'excluded')
File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'excluded' in section: 'zip'
2016-05-31 17:42:27.365618 Daemon started
2016-05-31 17:42:27.365717 zip: /data/zip
Traceback (most recent call last):
File "/usr/bin/watcher.py", line 384, in <module>
daemon.start()
File "/usr/bin/watcher.py", line 124, in start
self.run()
File "/usr/bin/watcher.py", line 273, in run
excluded = self.config.get(section,'excluded')
File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'excluded' in section: 'zip'
2016-05-31 17:43:52.965675 Daemon started
2016-05-31 17:43:52.965796 zip: /data/zip
Traceback (most recent call last):
File "/usr/bin/watcher.py", line 384, in <module>
daemon.start()
File "/usr/bin/watcher.py", line 124, in start
self.run()
File "/usr/bin/watcher.py", line 273, in run
excluded = self.config.get(section,'excluded')
File "/usr/lib/python2.7/ConfigParser.py", line 618, in get
raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'excluded' in section: 'zip'
2016-05-31 17:46:47.676795 Daemon started
2016-05-31 17:46:47.676903 zip: /data/zip
2016-05-31 17:48:59.228131 Daemon started
2016-05-31 17:48:59.228233 zip: /data/zip
2016-05-31 17:54:41.934230 Daemon started
2016-05-31 17:54:41.934344 zip: /data/zip