2 Replies Latest reply on Mar 16, 2017 7:50 AM by Matt Coles

    [ERROR] - export_view - Generic exception trying to export the url http://<servername:port>/views/VizAlertsConfig/ScheduledTriggerViews?&amp;:format=csv&amp;:refresh=y to csv, error: local variable 'auth_type' referenced before assignment

    alice.valentin

      Hi Matt;

       

      Our Tableau Server was upgraded to 10.2 along with refreshing data from the production environment.

       

       

      When performing the testing via python vizalerts.py, the following issue displays: 

       

      Thread - 2017-03-16 09:08:24 - [ERROR] - export_view - Generic exception trying to export the url http://tdcmstabd:8000/views/VizAlertsConfig/ScheduledTriggerViews?&amp;:format=csv&amp;:refresh=y to csv, error: local variable 'auth_type' referenced before assignment

      MainThread - 2017-03-16 09:08:24 - [ERROR] - download_trigger_data - Generic exception trying to export the url http://tdcmstabd:8000/views/VizAlertsConfig/ScheduledTriggerViews?&amp;:format=csv&amp;:refresh=y to csv, error: local variable 'auth_type' referenced before assignment

      MainThread - 2017-03-16 09:08:24 - [INFO] - send_email - sending email: mail.timet.com,vizalerts@timet.com,serveradmin@timet.com,None,None,ALERT: VizAlerts failed to execute properly,None

      MainThread - 2017-03-16 09:08:24 - [DEBUG] - send_email - email body: Could not process source viz data from VizAlertsConfig/ScheduledTriggerViews for the following reasons:<br/><br/>Generic exception trying to export the url http://tdcmstabd:8000/views/VizAlertsConfig/ScheduledTriggerViews?&amp;:format=csv&amp;:refresh=y to csv, error: local variable 'auth_type' referenced before assignment

      MainThread - 2017-03-16 09:08:24 - [ERROR] - <module> - An unhandled exception occurred: Traceback (most recent call last):

       

      It was working under Tableau Server 10.1.   

       

      Thank you for your insight.