7 Replies Latest reply on Jun 20, 2018 9:47 PM by Wu Yaping

    Bug with Tableau Python SDK Extract API on Ubuntu

    Andrew Mendoza

      Hi everyone,

       

      I've come across a potential bug with the Python SDK Extract API on Ubuntu. It occurs intermittently and usually happens when I am processing larger datasets (1M+ rows).

       

      terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >' 
      what
      ():  boost: mutex lock failed in pthread_mutex_lock: Invalid argument

       

      I found mention of the error on Stack Overflow and it seems to be related to C++:

      c++ - What does mutex lock fail with invalid argument mean? - Stack Overflow

       

      After receiving the error, the extract is still readable but is incomplete (missing rows, some columns are completely null, etc.). Interestingly, running the script again will oftentimes solve the problem.

       

      I am using the 64 Bit Tableau SDK (version 9.3.3) with Python 2.7.11 on both Windows and Ubuntu systems, but the error only occurs when running my script on Ubuntu.

       

      Has anyone else run into this issue and/or know of a solution?

       

      Thanks,

      Andrew