HelloZeroNet / HelloZeroNet/ZeroNet

OperationalError: cannot commit - no transaction is active in core/src/Db/Db.py line 169 (reason: Interval)

未关闭
#2,415 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

### Step 1: Please describe your environment

* ZeroNet version: r4404
* Operating system: W10
* Web browser: FF beta
* Tor status: error
* Opened port: no

### Step 2: Describe the problem:

debug.log shows:

ERROR Db#0:Chart Commit error: OperationalError: cannot commit - no transaction is active in core/src/Db/Db.py line 169 (reason: Interval)

on restart it not appeared, then i quit and start again and appeared again.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先阅读 core/src/Db/Db.py 第 169 行附近的内容,并检查 debug.log 中关于 Chart commit 错误的条目。如果可能,重现报告中的 quit-and-restart 流程,然后确定 interval 相关路径是否仍会在没有活动事务的情况下尝试执行 commit。完成的标准是:在所述的重启流程中不再出现报告的错误。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。