Merge pull request #30101 from taosdata/doc/ana_doc

doc: update the gpt doc, and info in faq part.
This commit is contained in:
Simon Guan 2025-03-10 18:19:02 +08:00 committed by GitHub
commit ab92650474
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 3 deletions

View File

@ -3,7 +3,12 @@ title: "常见问题"
sidebar_label: "常见问题"
---
<b>1. 创建 anode 失败,返回指定服务无法访问</b>
### 1. 安装过程中编译 uWSGI 失败,如何处理
TDgpt 安装过程中需要在本地编译 uWSGI某些环境的 Python例如anaconda安装 uWSGI 会出现冲突导致编译失败,安装流程因此无法继续下去。这种情况下可以尝试在安装过程中忽略 uWSGI的安装。
由于忽略了 uWSGI 安装,后续启动 taosasnode 服务的时候,需要手动输入命令进行启动 `python3.10 /usr/local/taos/taosanode/lib/taosanalytics/app.py` 。 执行该命令的时候请确保使用了虚拟环境中的 Python 程序才能加载依赖库。
### 2. 创建 anode 失败,返回指定服务无法访问
```bash
taos> create anode '127.0.0.1:6090';
@ -26,7 +31,7 @@ curl: (7) Failed to connect to 127.0.0.1 port 6090: Connection refused
>请勿使用 systemctl status taosanode 检查 taosanode 是否正常
<b>2. 服务正常,查询过程返回服务不可用</b>
### 3. 服务正常,查询过程返回服务不可用
```bash
taos> select _frowts,forecast(current, 'algo=arima, alpha=95, wncheck=0, rows=20') from d1 where ts<='2017-07-14 10:40:09.999';
@ -34,7 +39,7 @@ DB error: Analysis service can't access[0x80000441] (60.195613s)
```
数据分析默认超时时间是 60s出现这个问题的原因是输入数据分析过程超过默认的最长等待时间请尝试采用限制数据输入范围的方式将输入数据规模减小或者更换分析算法再次尝试。
<b>3. 返回结果出现非法 JSON 格式错误 (Invalid json format) </b>
### 4. 返回结果出现非法 JSON 格式错误 (Invalid json format)
从 anode 返回到 TDengine 的分析结果有误,请检查 anode 运行日志 `/var/log/taos/taosanode/taosanode.app.log`,以便于获得具体的错误信息。