Hi everyone,

I'm having a hell of a time getting connected to Oracle...

We're running Intel MacBooks, OS X 10.5.6, Python 2.6.1, Django Trunk,
Oracle InstantClient 10_2.

We have tried using cx_Oracle-5.0 and 4.4.1. cx_Oracle seems to
compile and install successfully, but, when we attempt to run a
project using the built-in server, we're getting an error with both
versions:

Unhandled exception in thread started by <function inner_run at
0x782030>
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/django/core/management/commands/runserver.py",
line 48, in inner_run
    self.validate(display_num_errors=True)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/django/core/management/base.py", line 249, in
validate
    num_errors = get_validation_errors(s, app)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/django/core/management/validation.py", line
22, in get_validation_errors
    from django.db import models, connection
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/django/db/__init__.py", line 16, in <module>
    backend = __import__('%s%s.base' % (_import_path,
settings.DATABASE_ENGINE), {}, {}, [''])
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/site-packages/django/db/backends/oracle/base.py", line 21,
in <module>
    raise ImproperlyConfigured("Error loading cx_Oracle module: %s" %
e)
django.core.exceptions.ImproperlyConfigured: Error loading cx_Oracle
module: dlopen(/Users/bft228/.python-eggs/cx_Oracle-4.4.1-py2.6-
macosx-10.3-i386.egg-tmp/cx_Oracle.so, 2): Library not loaded: /
scratch/plebld/208/rdbms/lib/libclntsh.dylib.10.1
  Referenced from: /Users/bft228/.python-eggs/cx_Oracle-4.4.1-py2.6-
macosx-10.3-i386.egg-tmp/cx_Oracle.so
  Reason: image not found


Can anyone out there help me get this working? I have very limited
experience with Oracle, so please bear with me.

TIA,
Brandon
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to