AttributeError: module 'iotdb.thrift.common.ttypes' has no attribute 'TShowConfigurationTemplateResp'
envgap__apache__iotdb-12921
01 / FAILURE SIGNATURE
As reported upstream
AttributeError: module 'iotdb.thrift.common.ttypes' has no attribute 'TShowConfigurationTemplateResp'
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
10ae8196eaf7ece94427790dd7e105098545845e- Manifest
iotdb-client/client-py/pom.xml- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
apache/iotdb #12921 · read the original issue
I have already compiled, installed and started the iotdb server, I can access the iotdb server via restapi endpoint. The compiling command (master branch):
`mvn clean package -pl distribution -am -DskipTests -Dthrift.download-url=http://apache.org/licenses/LICENSE-2.0.txt -Dthrift.exec.absolute.path=/opt/homebrew/bin/thrift`
However when I swich to apache-iotdb python client, I just get the following error message:
```
(.venv) (base) zy@yangs-MacBook-Pro getData % python main.py
Traceback (most recent call last):
File "/Users/zy/ws/trading/getData/main.py", line 2, in <module>
from iotdb.Session import Session
File "/Users/zy/ws/trading/getData/.venv/lib/python3.10/site-packages/iotdb/Session.py", line 26, in <module>
from iotdb.utils.SessionDataSet import SessionDataSet
File "/Users/zy/ws/trading/getData/.venv/lib/python3.10/site-packages/iotdb/utils/SessionDataSet.py", line 24, in <module>
from iotdb.utils.IoTDBRpcDataSet import IoTDBRpcDataSet
File "/Users/zy/ws/trading/getData/.venv/lib/python3.10/site-packages/iotdb/utils/IoTDBRpcDataSet.py", line 26, in <module>
from iotdb.thrift.rpc.IClientRPCService import TSFetchResultsReq, TSCloseOperationReq
File "/Users/zy/ws/trading/getData/.venv/lib/python3.10/site-packages/iotdb/thrift/rpc/IClientRPCService.py", line 10876, in <module>
(0, TType.STRUCT, 'success', [iotdb.thrift.common.ttypes.TShowConfigurationTemplateResp, None], None, ), # 0
AttributeError: module 'iotdb.thrift.common.ttypes' has no attribute 'TShowConfigurationTemplateResp'
```
The env: MacOS 14.5, Thrift version 0.20.0, Python3.10.10.04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]