oss版本的TDgpt,create anode '127.0.0.1:6035'; 报错DB error: Invalid json format [0x8000011B] (0.001280s)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 25.1k
- Forks
- 5k
- Avg merge
- 4d 59m
- Merged PRs (30d)
- 7
Description
width="732" height="473" alt="Image" src="https://github.com/user-attachments/assets/a7e76bc1-0888-4266-ba8f-25caceea3139" />
操作系统是ubuntu,早上一切运行良好,我进行6.6TDgpt的6.6.9.11预测分析时,我在TDgpt安装目录/lib/taosanalytics/algo/fc下添加了一个py文件,代码使用了示例代码和myfc算法的代码,结果重新启动 taosanode 服务,发现没有,之后测试就报错,后来吧anode 删除 重新添加 发生了报错
taos> SHOW ANODES;
Query OK, 0 row(s) in set (0.002008s)
taos> create anode '127.0.0.1:6035';
DB error: Invalid json format [0x8000011B] (0.001280s)
taos> SHOW ANODES FULL;
Query OK, 0 row(s) in set (0.001795s)
taos>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TDgpt installation path /lib/taosanalytics/algo/fc and the added Python file, then review how the taosanode service is restarted and how SQL CREATE ANODE is handled. Reproduce the failure with create anode '127.0.0.1:6035' and compare SHOW ANODES output before and after; done means the anode can be created without the invalid JSON error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, sql, ubuntu
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100