Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault #15

Open
iMega opened this issue May 31, 2016 · 0 comments
Open

Segmentation fault #15

iMega opened this issue May 31, 2016 · 0 comments

Comments

@iMega
Copy link

iMega commented May 31, 2016

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant