2 Replies Latest reply on Jun 1, 2018 1:11 AM by Mounsif Hanafi

    extract API 2.0 import ISSUE

    Mounsif Hanafi

      Hi everybody,

      I'm trying to work on the extract API, on how to create a .hyper extract from a SCV or a datasource.

      So i followed the steps for doawloading and installing.

      When i tried this, according to the offcial website "https://onlinehelp.tableau.com/v10.5/api/extract_api/en-us/help.htm#Extract/extract_api_samples.htm%3FTocPath%3D_____10 ":

      Python Example

      Create an extract:

      python tableauSDKSample.py --build --filename your_data.hyper 

      I got this error:

      python tableauSDKSample.py --build --filename mytest_extract.hyper

      A fatal error occurred while creating the new extract:

      TableauException (300): Hyper Server did not start correctly

      Exiting now.

       

      I got an other ISSUE with python sample code presented here : "https://onlinehelp.tableau.com/v10.5/api/extract_api/en-us/help.htm#Extract/extract_api_working_with_extracts.htm%3FTocP… "

      It did'nt work too, even the extractAPI couldnt be imported. i have the error in the editor saying to me: 'from tableausdk import *'used; unable to detect undefined names.

      I followed all the steps , but don't know if the problem is with the extract API or me

      FOR INFORMATION: i'm working on python 2.7.14 version 64bit with the 64 BIT EXTRACT API