-
Notifications
You must be signed in to change notification settings - Fork 66
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
Django doesn't work with the latest Oracle database (Oracle bug 36807094) #356
Comments
To be precise, it crashes with Oracle Database 23ai Free. |
Thanks for the report. We will look into it! |
We have confirmed that it can be reproduced with 23ai, but not with 19c. The internal bug number is 36807094 for any who may wish to contact Oracle Support regarding this issue. |
Thanks 👍 I'll only add that it also works with Oracle 23c. |
Can you specify which version exactly? You can print the output of |
@anthony-tuininga , I couldn't find any older versions on the official Oracle website, but the image 23.2 from here: https://hub.docker.com/r/gvenzl/oracle-free works for me. |
It works with:
and crashes with:
|
Thanks, @felixxm! |
Since the problem isn't in python-oracledb, I'm going to re-label this issue (to keep BUG for python-oracledb tasks). (PS Django/Oracle users, please support django/django#17834 which is a PR to add connection pooling to Django !) |
From investigation by @suraj-ora-2020 the problem doesn't occur with VARCHAR2. This is yet-another-reason to migrate Django away from NVARCHAR2. See end of 1.3 in
|
We could reconsider using |
Hello!
Django doesn't work with the latest Oracle database.
When I run Django's test suite (
runtests.py
), the database raises an unexpected errorORA-00600
.The error is raised in the
post_migrate
signal when inserting rows into theAUTH_PERMISSION
table.Interestingly, it manages to create the tables, but it fails on
Permission.objects.bulk_insert
.I tried thick mode, it doesn't work.
I tried disable_oob=True, it doesn't work.
23.4.0.0
platform.platform: Windows-10-10.0.22631-SP0
sys.maxsize > 2**32: True
platform.python_version: 3.11.3
oracledb.version: 2.2.1
error
ORA-00600
Stack trace: https://gist.github.com/csirmazbendeguz/220b6dd0d4058159f1e1b020e519ca2f
no
https://code.djangoproject.com/wiki/OracleTestSetup
The text was updated successfully, but these errors were encountered: