[Bug] ServerBox 无法启动
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
Research direction
Start with the attached app.log and the SQLite opening path in fl_lib/src/core/store/sqlite.dart, especially _open and openDatabase; trace how Stores.init in server_box/data/res/store.dart initializes the database. Determine why SQLite reports a disk I/O error while querying sqlite_master on startup. Done means identifying a reproducible cause and confirming the app starts successfully after the relevant fix.
Written by the indexing model from the issue text.
Description
描述 Bug
SqliteException(1546): while preparing statement, disk I/O error, disk I/O error (code 1546)
Causing statement: SELECT count(*) FROM sqlite_master;
#0 throwException (package:sqlite3/src/implementation/exception.dart:101)
#1 DatabaseImplementation._prepareInternal (package:sqlite3/src/implementation/database.dart:378)
#2 DatabaseImplementation.prepare (package:sqlite3/src/implementation/database.dart:449)
#3 FfiDatabaseImplementation.prepare (package:sqlite3/src/ffi/implementation.dart:161)
#4 DatabaseImplementation.select (package:sqlite3/src/implementation/database.dart:477)
#5 SqliteDb._open (package:fl_lib/src/core/store/sqlite.dart:230)
#6 SqliteDb.open. (package:fl_lib/src/core/store/sqlite.dart:183)
#7 SqliteStore.openDatabase (package:fl_lib/src/core/store/sqlite.dart:456)
#8 Stores.init (package:server_box/data/res/store.dart:124)
#9 _openStores (package:server_box/main.dart:244)
#10 _initData (package:server_box/main.dart:328)
#11 _initApp (package:server_box/main.dart:226)
#12 main. (package:server_box/main.dart:57)
#13 _runInZone (package:server_box/main.dart:90)
#14 main (package:server_box/main.dart:51)
复现步骤
打开应用弹出
期望结果
实际结果
截图
设备
更多信息
- Dominant language
- Dart
- Stars
- 9k
- Forks
- 577
- Avg merge
- 6h 26m
- Merged PRs (30d)
- 142
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from lollipopkit/flutter_server_box
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 8/100
lollipopkit/flutter_server_box#1844 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
F-Droid build failedOpenbug
Difficulty 3/5 Half a day Newbie friendliness 22/100
lollipopkit/flutter_server_box#1841 · 2 comments · 2 reactions ·
Maintainers usually reply within 1 day
-
优化建议Openenhancement feature
Difficulty 4/5 3-5 days Newbie friendliness 30/100
lollipopkit/flutter_server_box#1829 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
lollipopkit/flutter_server_box#1827 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
lollipopkit/flutter_server_box#1808 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in lollipopkit/flutter_server_box
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
carp-dk/cognition_package#40 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area::auth
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
linagora/twake-on-matrix#3579 · 1 comment · 1 reaction ·
Maintainers usually reply within 3 days
-
auto-implement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bannzai/medicalarm#522 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
ymm-oss/flutter-mobile-project-template#735 ·
Maintainers usually reply within 3 days