2 Replies Latest reply on Sep 2, 2019 12:35 AM by Jonas Eckhardt

    Trouble creating Extract TableauException (999): Unknown Error

    Michael Farrow

      I am attempting to integrate the Extract API with another application that integrates with Python 2.7.12.  The application uses a Python wrapper which uses the comtypes package to translate their data file to a pandas dataframe.  I am then attempting to call up the Extract API and create and extract object, which always ends with the following error:


      Traceback (most recent call last):

        File "C:/extract_module/simpleextracttest.py", line 5, in <module>

          extract = Extract( filename )

        File "C:\Miniconda2\lib\site-packages\tableausdk\HyperExtract.py", line 594, in __init__

          raise Exceptions.TableauException(ret, Exceptions.GetLastErrorMessage())

      tableausdk.Exceptions.TableauException: TableauException (999): Unknown error


      I can execute my sampleextracttest.py outside the other application without this error.  Would there be any known issue with using this API with the comtypes package also loaded?



      from tableausdk.HyperExtract import *

      filename = r'C:\extract_test\testing.hyper'


      extract = Extract( filename )