Hi!
Have you tried this?

export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/
server/
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH

sudo apt-get install python-dev python-setuptools
sudo -E easy_install cx_Oracle

Test:

$ python
>>> import cx_Oracle
>>> cnxn = cx_Oracle.connect('system/systempasswd@xe')
>>> crsr = cnxn.cursor()
>>> crsr.execute('SELECT * FROM dual')



On Dec 2, 10:26 pm, tOlorun <omnioto...@gmail.com> wrote:
> Thanks for the other time ...
>
> buh iam back again ...
>
> i dont seem to get a hang of connection strings (lols)
>
> please kindly help me with the error below ...
>
> Traceback (most recent call last):
>   File "gluon/restricted.py", line 194, in restricted
>   File "E:/tOlorun/web2py/web2py/applications/est8ment/models/db.py",
> line 13, in <module>
>   File "gluon/dal.py", line 4156, in __init__
> RuntimeError: Failure to connect, tried 5 times:
> 'NoneType' object has no attribute 'connect'
>
> thanks in advance

Reply via email to