10 Replies Latest reply on Aug 17, 2016 8:57 AM by Matt Coles

    Error in Executing Vizalert.py Script

    Aravindram Ragupathy

      Dear All,

       

      I had done the configurations on Vizalerts.yaml file.

       

      When I tried to execute python Vizalerts.py script getting the below error mesage

       

      2016-08-12 16:16:19 - [INFO] - LoggerQuickSetup - Logging initialized, writing to .\logs\vizalerts.log_2016-08-12.log

      2016-08-12 16:16:19 - [ERROR] - validate_conf - An exception was raised loading the config file .\config\vizalerts.yaml: (<class 'yaml.scanner.ScannerError'>, ScannerError(), <traceback object at 0x029A6C88>) Stacktrace: <traceback object at 0x029A6C88>

      2016-08-12 16:16:19 - [ERROR] - <module> - An unhandled exception occurred: Traceback (most recent call last):

        File "vizalerts.py", line 1654, in <module>

          main()

        File "vizalerts.py", line 171, in main

          configs = validate_conf(configfile, logger)

        File "vizalerts.py", line 289, in validate_conf

          sys.exit(1)

      SystemExit: 1

      Traceback (most recent call last):

        File "vizalerts.py", line 1654, in <module>

          main()

        File "vizalerts.py", line 171, in main

          configs = validate_conf(configfile, logger)

        File "vizalerts.py", line 289, in validate_conf

          sys.exit(1)

      SystemExit: 1

       

      I can understand there is an issue in config file. Please let me know exact issue to resolve this

       

      Regards,

      Aravind