Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Dialogue插件删除问答的时候报错 #1489

Open
hackzy opened this issue Feb 23, 2025 · 0 comments
Open

Bug: Dialogue插件删除问答的时候报错 #1489

hackzy opened this issue Feb 23, 2025 · 0 comments
Labels
bug BUG

Comments

@hackzy
Copy link

hackzy commented Feb 23, 2025

Describe the bug

2025-02-23 16:09:02 [W] sqlite > SELECT id, authority, onebot, name FROM user jsqsmeoi WHERE id in (4) []
2025-02-23 16:09:02 [W] command #10 -r
Error: no such column: onebot
at f.handleError (/koishi/node_modules/@minatojs/sql.js/dist/sql-wasm.js:90:53)
at f.prepare (/koishi/node_modules/@minatojs/sql.js/dist/sql-wasm.js:88:312)
at SQLiteDriver._exec (/koishi/node_modules/@minatojs/driver-sqlite/lib/index.cjs:351:28)
at SQLiteDriver._all (/koishi/node_modules/@minatojs/driver-sqlite/lib/index.cjs:362:17)
at SQLiteDriver.get (/koishi/node_modules/@minatojs/driver-sqlite/lib/index.cjs:415:23)
at _Selection.execute (/koishi/node_modules/minato/lib/index.cjs:807:34)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _Selection.execute (/koishi/node_modules/minato/lib/index.cjs:903:18)
at async Promise.all (index 0)
at async /koishi/node_modules/koishi-plugin-dialogue-author/lib/index.js:89:31

Steps to reproduce

用指令新建问答:

测试1 测试

随后用指令删除问答:
#id -r
提示未知错误 日志报错如上

Expected behavior

删除问答

Screenshots

No response

Versions

System:

OS: Linux 6.11 Alpine Linux

CPU: (32) x64 Intel(R) Xeon(R) CPU E5-2698 v3 @ 2.30GHz
CPU:(32)X64 Intel(R)Xeon(R)CPU E5-2698 V3 @ 2.30GHz

Binaries:

Node: 20.16.0

Yarn: 4.1.1

Koishi:

Core: 4.18.7

Console: 5.29.3

插件:dialogue
插件版本:4.1.3

Additional context

No response

@hackzy hackzy added the bug BUG label Feb 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug BUG
Projects
None yet
Development

No branches or pull requests

1 participant