File tree 3 files changed +21
-1
lines changed
3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -133,4 +133,14 @@ Error: django.db.utils.DatabaseError: database disk image is malformed (the db.s
133
133
134
134
Do not set the django-mdict folder and the folder where the dictionary is located as the synchronization folder of the synchronization software.
135
135
136
+ 22 . django.db.utils.DatabaseError: database disk image is malformed
136
137
138
+ a. [ Download sqlite tool] ( https://www.sqlite.org/download.html )
139
+
140
+ b. [ Repair db.sqlite3 file] ( https://blog.csdn.net/qq_41539778/article/details/136531120 )
141
+
142
+ c. Rename exported file to db.sqlite3.
143
+
144
+ 23 . django.db.utils.OperationalError: attempt to write a readonly database
145
+
146
+ Change db.sqlite3 file to read and write permission.
Original file line number Diff line number Diff line change @@ -127,4 +127,14 @@ pip install -U django-js-asset
127
127
128
128
不要将django-mdict文件夹以及词典所在文件夹设置为同步软件的同步文件夹。
129
129
130
+ 22 . django.db.utils.DatabaseError: database disk image is malformed
130
131
132
+ a. [ 下载sqlite工具] ( https://www.sqlite.org/download.html )
133
+
134
+ b. [ 修复db.sqlite3文件] ( https://blog.csdn.net/qq_41539778/article/details/136531120 )
135
+
136
+ c. 将导出文件重命名为db.sqlite3.
137
+
138
+ 23 . django.db.utils.OperationalError: attempt to write a readonly database
139
+
140
+ 更改db.sqlite3文件的读写权限.
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ services:
8
8
- .:/code
9
9
- /path/to/mdict/library:/library
10
10
ports :
11
- - " 18000:8090 "
11
+ - " 18000:18000 "
You can’t perform that action at this time.
0 commit comments