You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/05/08 07:45:41 UTC

[GitHub] [iotdb] QueeGuo opened a new issue #3146: python客户端偶尔报错TTransportException

QueeGuo opened a new issue #3146:
URL: https://github.com/apache/iotdb/issues/3146


   运行中偶尔出现这个错误,报错堆栈信息如下:
   2021-05-08 10:39:59,082 - 12348-ThreadPoolExecutor-34_2 - .\base\abstract_processor.py[line:80] - ERROR: ('Could not set time zone because: ', TTransportException('Transport not open'))
   Traceback (most recent call last):
     File "E:\python\python-3.7.9\Lib\site-packages\iotdb\Session.py", line 729, in set_time_zone
       status = self.__client.setTimeZone(request)
     File "E:\python\python-3.7.9\Lib\site-packages\iotdb\thrift\rpc\TSIService.py", line 666, in setTimeZone
       self.send_setTimeZone(req)
     File "E:\python\python-3.7.9\Lib\site-packages\iotdb\thrift\rpc\TSIService.py", line 675, in send_setTimeZone
       self._oprot.trans.flush()
     File "E:\python\python-3.7.9\Lib\site-packages\thrift\transport\TTransport.py", line 304, in flush
       self.__trans.write(buf)
     File "E:\python\python-3.7.9\Lib\site-packages\thrift\transport\TSocket.py", line 149, in write
       message='Transport not open')
   thrift.transport.TTransport.TTransportException: Transport not open
   
   During handling of the above exception, another exception occurred:
   
   Traceback (most recent call last):
     File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\thread.py", line 57, in run
     File ".\base\abstract_processor.py", line 73, in _job
       result_data = self.process(data, time)
     File ".\temp_stability_processor.py", line 16, in process
       collecton_list = self.get_meter_collection(data['cust_id'], data['id'])
     File ".\base\abstract_processor.py", line 57, in get_meter_collection
       collecton_list = self._iotdb.query(sql, (self._tenant_id, cust_id, meter_id))
     File ".\db\iot_db.py", line 29, in query
       session = self.get_db()
     File ".\db\iot_db.py", line 22, in get_db
       session.open(False)
     File "E:\python\python-3.7.9\Lib\site-packages\iotdb\Session.py", line 134, in open
       self.set_time_zone(self.__zone_id)
     File "E:\python\python-3.7.9\Lib\site-packages\iotdb\Session.py", line 736, in set_time_zone
       raise RuntimeError("Could not set time zone because: ", e)
   RuntimeError: ('Could not set time zone because: ', TTransportException('Transport not open'))
   
   版本信息:
   客户端apache-iotdb==0.12.0,服务端0.12.1
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] github-actions[bot] commented on issue #3146: python客户端偶尔报错TTransportException

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3146:
URL: https://github.com/apache/iotdb/issues/3146#issuecomment-835182083


   Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org