7 Replies Latest reply on Jun 26, 2018 9:14 AM by Landon Conover Branched to a new discussion.

    2018.1 Error with VizAlerts 2.1.0

    Landon Conover

      I have updated my server to version 2018.1 and have been working on trying to update VizAlerts to version 2.1.0. In the past, I have had VizAlerts working, but it has been turned off because we didn't need it. I now have some use cases for VizAlerts and have been trying to get it up to date. However, I am running into a strange error:

       

      This is what I get in the email:

       

      coercing to Unicode: need string or buffer, int found

       

      Here is the full error: (Have changed some values for privacy)

       

      2018-05-09 09:16:41 - [INFO] - Logging initialized, writing to .\logs\vizalerts.log_2018-05-09.log

      2018-05-09 09:16:41 - [INFO] - VizAlerts v2.1.0 is starting

      2018-05-09 09:16:41 - [DEBUG] - testing trusted ticket: tableau.uvu.edu, <username>, <domain>, None

      2018-05-09 09:16:41 - [ERROR] - coercing to Unicode: need string or buffer, int found

      2018-05-09 09:16:41 - [INFO] - sending email: <SMTP Server>,<VizAlers Email>,<Admin Email>,None,None,ALERT: VizAlerts failed to execute properly,None

      2018-05-09 09:16:41 - [DEBUG] - email body: coercing to Unicode: need string or buffer, int found

      2018-05-09 09:16:41 - [DEBUG] - TO ADDRESS: <Admin Email>

      2018-05-09 09:16:41 - [DEBUG] - CC ADDRESS: None

      2018-05-09 09:16:41 - [DEBUG] - BCC ADDRESS: None

      2018-05-09 09:16:42 - [ERROR] - An unhandled exception occurred: Traceback (most recent call last):

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

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

        File "vizalerts.py", line 205, in trusted_ticket_test

        File "vizalerts.py", line 474, in quit_script

      SystemExit: 1

      Traceback (most recent call last):

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

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

        File "vizalerts.py", line 205, in trusted_ticket_test

        File "vizalerts.py", line 474, in quit_script

      SystemExit: 1

       

      I am wondering if it is related to this issue that I am currently working on with Tableau Support:

       

      https://community.tableau.com/message/762292?et=watches.email.thread#762292

       

      Thanks for the help!