-
Notifications
You must be signed in to change notification settings - Fork 47
Dog Push not working #19
Description
Hi ,
I'm currently having issues running dogpush diff/push. Im able to download the config and init a new alerts file, however when I add the 'rule_files' file name reference to the config.yaml, i get the following errors:
Traceback (most recent call last):
File "/usr/local/bin/dogpush", line 5, in
dogpush.main()
File "/Library/Python/2.7/site-packages/dogpush/dogpush.py", line 422, in main
args.command(args)
File "/Library/Python/2.7/site-packages/dogpush/dogpush.py", line 316, in command_diff
local_monitors = get_local_monitors()
File "/Library/Python/2.7/site-packages/dogpush/dogpush.py", line 186, in get_local_monitors
r = yaml.safe_load(f)
File "/Library/Python/2.7/site-packages/yaml/init.py", line 93, in safe_load
return load(stream, SafeLoader)
File "/Library/Python/2.7/site-packages/yaml/init.py", line 71, in load
return loader.get_single_data()
File "/Library/Python/2.7/site-packages/yaml/constructor.py", line 39, in get_single_data
return self.construct_document(node)
File "/Library/Python/2.7/site-packages/yaml/constructor.py", line 48, in construct_document
for dummy in generator:
File "/Library/Python/2.7/site-packages/yaml/constructor.py", line 398, in construct_yaml_map
value = self.construct_mapping(node)
File "/Library/Python/2.7/site-packages/yaml/constructor.py", line 208, in construct_mapping
return BaseConstructor.construct_mapping(self, node, deep=deep)
File "/Library/Python/2.7/site-packages/yaml/constructor.py", line 133, in construct_mapping
value = self.construct_object(value_node, deep=deep)
File "/Library/Python/2.7/site-packages/yaml/constructor.py", line 88, in construct_object
data = constructor(self, node)
File "/Library/Python/2.7/site-packages/yaml/constructor.py", line 414, in construct_undefined
node.start_mark)
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/unicode'
in "/Users/cgerasimou/dogpush/animus_monitors.yaml", line 15, column 25
Can you please advise if i'm doing something wrong