1 Reply Latest reply on Sep 28, 2016 11:24 AM by Steven Yvinec-Kruyk

    Tableau Python SDK 9.3 - closing orphaned session error

    Steven Yvinec-Kruyk

      Hoping someone can help here. I have a process which creates TDEs using the Python SDK .. I read records from a queue ... every once in a while I will get the error below ... which of course happens before Extract.close() so I lose data ... 

       

      2016-09-28 01:15:15.231 (139701218035520): tdeserver: closing connection, connection=::1:41381->::1:40512

      2016-09-28 01:15:15.231 (139701042263808): tdeserver: client disconnected

      2016-09-28 01:15:15.231 (139701042263808): endthread: recv, connection=::1:41381->::1:40512

      2016-09-28 01:15:15.231 (139701218035520): tdeserver: closing orphaned session, sess_guid=1

      2016-09-28 01:15:15.232 (139701033867008): LogScopeTime: FlowTable::Build,0,2016-09-28 01:15:13.7124,1.52

      2016-09-28 01:15:15.235 (139701038065408): endthread: send, connection=::1:41381->::1:40512

      2016-09-28 01:15:15.235 (139701218035520): tdeserver: exit (0)

       

      Anyone else running into this error and/or have a solution ?

       

       

        • 1. Re: Tableau Python SDK 9.3 - closing orphaned session error
          Steven Yvinec-Kruyk

          So found out why I was getting this. My process was being terminated due to

           

           

          terminate called after throwing an instance of 'TDE_RuntimeError'

            what():  error measuring utf32 to utf16

          terminate called after throwing an instance of 'TDE_RuntimeError'

            what():  error measuring utf32 to utf16

          terminate called after throwing an instance of 'TDE_RuntimeError'

            what():  error measuring utf32 to utf16

           

          The way my script was written I was not seeing this output form stderr