Code

Opened 7 years ago

Closed 7 years ago

#5075 closed (duplicate)

Oracle and Unicode Errors

Reported by: Thejaswi Puthraya Owned by: adrian
Component: Database layer (models, ORM) Version: master
Severity: Keywords: oracle,unicode
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

On Django SVN 5788 and cx_Oracle 4.1.3.
Looks like Oracle backend is still not unicode compatible.
When the below is tried:

python manage.py sql <app_name>

or

python manage.py syncdb

the output is:

Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File "/usr/lib/python2.5/site-packages/django/core/management.py", line 1745, in execute_manager
    execute_from_command_line(action_mapping, argv)
  File "/usr/lib/python2.5/site-packages/django/core/management.py", line 1704, in execute_from_command_line
    output = action_mapping[action](mod)
  File "/usr/lib/python2.5/site-packages/django/core/management.py", line 117, in get_sql_create
    known_models = set([model for model in _get_installed_models(_get_table_list()) if model not in app_models])
  File "/usr/lib/python2.5/site-packages/django/core/management.py", line 71, in _get_installed_models
    return set([m for m in all_models if converter(m._meta.db_table) in map(converter, table_list)])
TypeError: descriptor 'upper' requires a 'str' object but received a 'unicode'

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by ian.g.kelly@…

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Already reported as #4827.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.