[Django] #30522: How to use Custom install Sqlite3 in Django

11 views
Skip to first unread message

Django

unread,
May 28, 2019, 12:02:41 PM5/28/19
to django-...@googlegroups.com
#30522: How to use Custom install Sqlite3 in Django
-------------------------------------+-------------------------------------
Reporter: Ananthraj | Owner: nobody
Type: | Status: new
Uncategorized |
Component: Database | Version: 2.2
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
I have installed "Python 3.6.2" and " Django 2.2.1", when I tried to do
"python manage.py runserver" and I received error like below:

django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is
required (found 3.6.20).

So I have custom installed "SQLite3 3.28.0" then set ENVs for
LD_LIBRARY_PATH and LD_RUN_PATH to use the latest SQLite3. In Shell and
Python IDLE or normal SQL script, am able to access "3.28.0" versions
Sqlite. But when running manage.py, am getting the error below:

conn = Database.connect(**conn_params)
django.db.utils.NotSupportedError: URIs not supported


Please try once the steps I have followed and then to consider to keep or
closing the ticket by referencing "28376"

1. Custom install SQLite3
2. Set env for PATH , LD_LIBRARY_PATH and LD_RUN_PATH
3. Try accessing sqlite3 in Python scripts to check the versions.

If you are able to connect, kindly share the steps to overcome the issue
from our side.

--
Ticket URL: <https://code.djangoproject.com/ticket/30522>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 29, 2019, 1:47:57 AM5/29/19
to django-...@googlegroups.com
#30522: How to use Custom install Sqlite3 in Django.

-------------------------------------+-------------------------------------
Reporter: Ananthraj | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: sqlite | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: new => closed
* resolution: => invalid
* version: 2.2 => master
* keywords: => sqlite
* type: Uncategorized => Bug


Comment:

Thanks for the report, but I agree that it is probably some issue with
your custom SQLite installation. Closing per
TicketClosingReasons/UseSupportChannels.

Refs #28376.

--
Ticket URL: <https://code.djangoproject.com/ticket/30522#comment:1>

Reply all
Reply to author
Forward
0 new messages