I have Django SVN version 5788 and just installed cx_Oracle version
4.3.1.

When I try to use the manage.py sql <app_name> command I get a weird
error. (Looks like the oracle backend is still not unicode
compatible.)

Here is the output that I get:

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'

I searched code.djangoproject.com for any similar problems but was
unsuccessful and hence have posted it in the list.

Hope you address the problem (if it is a problem) at the earliest.

Cheers
Thejaswi Puthraya


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to