no such module: fts5
See original GitHub issueIssue Summary
site-packages\django\db\backends\sqlite3\base.py", line 421, in execute return Database.Cursor.execute(self, query) django.db.utils.OperationalError: no such module: fts5
Steps to Reproduce
- Start a new project with
wagtail start myproject
- manage.py migrate
Technical details
Python 3.7.6 Django 3.2.10 wagtail 2.15.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:24 (1 by maintainers)
Top Results From Across the Web
Error: near line 1: no such module: fts5 - SQLite Forum
Error: near line 1: no such module: fts5. I am using sqlite3 version 3.10.2. Strangly this behaviour started a couple of days ago....
Read more >no such module: fts5 error with System.Data.SQLite.dll 1.0.101.0
101.0 and I get this error when execute the command "CREATE VIRTUAL TABLE tbl_fts USING fts5 (fld1, fld2)". error: no such module: fts5....
Read more >unable to delete book in calibre 3 (after managing in calibre 5)
hello forum! at the moment i cannot delete books in calibre 3. SQLError: SQLError: no such module: fts5
Read more >SQLError: no such module: fts5 - calibre - Launchpad Bugs
Hello, How can I resolve this, please ? calibre, version 2.68.0. ERROR: Unhandled exception: <b>SQLError</b>:SQLError: no such module: fts5.
Read more >"no such module: FTS5" on UPDATE/DELETE - Emby
Greetings!I have been living with a "ghost" playlist issue for some time now (placed a m3u file in a lib folder, then deleted...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
At this point this is extremely difficult to replicate, since you need an environment that’s old enough to not have sqlite-with-fts5 baked in, but new enough to evade the >3.19 version check, and new enough to let you install Python>=3.6 at all. The best I could do was to spin up an Ubuntu 16.04 instance in Vagrant and fake the sqlite version…
This does indeed fail with
sqlite3.OperationalError: no such module: fts5
, and updating thefts5_available
function to catchsqlite3.OperationalError
instead ofdjango.db.OperationalError
fixes it. PR incoming…Fixed in #7893