Hi folks,

I'm having difficulty applying the patch at:

http://code.djangoproject.com/attachment/ticket/87/oracle_patch_as_of_rev_2074.patch

I got Django rev. 2074 from subversion, applied the above patch, and
downloaded oracle.py from:

http://code.djangoproject.com/attachment/ticket/87/oracle.py

I started a new Django project, and edited its settings.py to use
Oracle. On trying to start the server, I got:

Validating models...
Unhandled exception in thread started by <function inner_run at
0x3193f0>
Traceback (most recent call last):
  File "/apps/home/cns/zed/lib/python/django/core/management.py", line
796, in inner_run
    validate()
  File "/apps/home/cns/zed/lib/python/django/core/management.py", line
780, in validate
    num_errors = get_validation_errors(outfile)
  File "/apps/home/cns/zed/lib/python/django/core/management.py", line
671, in get_validation_errors
    import django.models
  File "/apps/home/cns/zed/lib/python/django/models/__init__.py", line
1, in ?
    from django.core import meta
  File "/apps/home/cns/zed/lib/python/django/core/meta/__init__.py",
line 3, in ?
    from django.core import db
  File "/apps/home/cns/zed/lib/python/django/core/db/__init__.py", line
35, in ?
    get_limit_offset_sql = dbmod.get_limit_offset_sql
AttributeError: 'module' object has no attribute 'get_limit_offset_sql'

Looking at all the files attached to that ticket, it looks like
oracle.py was updated in:

http://code.djangoproject.com/attachment/ticket/87/unified_diff_oracle_backend_rev_656.txt

but that that didn't make it into oracle.py or the 2074 patch. Using
the oracle.py from the rev. 656 patch (leaving all other files as they
were after patching 2074), on running the server I get:

Validating models...
Unhandled exception in thread started by <function inner_run at
0x319430>
Traceback (most recent call last):
  File "/apps/home/cns/zed/lib/python/django/core/management.py", line
796, in inner_run
    validate()
  File "/apps/home/cns/zed/lib/python/django/core/management.py", line
780, in validate
    num_errors = get_validation_errors(outfile)
  File "/apps/home/cns/zed/lib/python/django/core/management.py", line
671, in get_validation_errors
    import django.models
  File "/apps/home/cns/zed/lib/python/django/models/__init__.py", line
1, in ?
    from django.core import meta
  File "/apps/home/cns/zed/lib/python/django/core/meta/__init__.py",
line 3, in ?
    from django.core import db
  File "/apps/home/cns/zed/lib/python/django/core/db/__init__.py", line
38, in ?
    get_table_description = dbmod.get_table_description
AttributeError: 'module' object has no attribute
'get_table_description'

None of the ticket 87 files seem to have anything about
'get_table_description.'

So how is one supposed to install the Oracle patch?

thanks,

Zed


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to