You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would try watcher in Debian Wheezy so when I launch ./watcher.py debug I have this error :
2013-10-23 15:44:29.731466
<open file '/root/.watcher/jobs.yml', mode 'r' at 0x1a598a0>
'str' object has no attribute 'iteritems'
Traceback (most recent call last):
File "./watcher.py", line 407, in
daemon.run()
File "./watcher.py", line 287, in run
for job in jobs.iteritems():
AttributeError: 'str' object has no attribute 'iteritems'
In /root/.watcher/jobs.yml I have :
; ----------------------
; General Settings
; ----------------------
[DEFAULT]
; where to store output
logfile=/var/log/watcher.log
; where to save the PID file
pidfile=/var/run/watcher.pid
Hello,
I would try watcher in Debian Wheezy so when I launch ./watcher.py debug I have this error :
2013-10-23 15:44:29.731466
<open file '/root/.watcher/jobs.yml', mode 'r' at 0x1a598a0>
'str' object has no attribute 'iteritems'
Traceback (most recent call last):
File "./watcher.py", line 407, in
daemon.run()
File "./watcher.py", line 287, in run
for job in jobs.iteritems():
AttributeError: 'str' object has no attribute 'iteritems'
In /root/.watcher/jobs.yml I have :
; ----------------------
; General Settings
; ----------------------
[DEFAULT]
; where to store output
logfile=/var/log/watcher.log
; where to save the PID file
pidfile=/var/run/watcher.pid
; ----------------------
; Job Setups
; ----------------------
[job1]
watch=/home/ftp
events=create
recursive=true
command=/root/ajout_fichier.sh $filename
Thanks for your help
And in
The text was updated successfully, but these errors were encountered: