#30630: MemoryError appears when using cx-Oracle 7.2 on Oracle 12c (12.1.0.2.0)
with Python 3.7 (3.7.4).
-------------------------------------+-------------------------------------
Reporter: Alexandru Rudi | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 2.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: oracle cx-oracle | Triage Stage:
python-3.7 | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jani Tiainen):
Could you please check NLS settings from your db:
{{{#!sql
SELECT * FROM NLS_DATABASE_PARAMETERS;
SELECT * FROM NLS_INSTANCE_PARAMETERS;
}}}
Also note that following settings takes place in environment before
connection is opened:
{{{
NLS_LANG=.AL32UTF8
ORA_NCHAR_LITERAL_REPLACE=TRUE
}}}
{{{ _output_type_handler }}} is used to properly read numerical values
from db. It shouldn't affect model creation but it has effect when reading
values from db.
Also if you could please try older versions of cx_Oracle just to rule out
that it's some bug in cx_Oracle itself.
--
Ticket URL: <https://code.djangoproject.com/ticket/30630#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/077.93cf4aab39320a5cf7205320e8a6e499%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.