[Tutor] Whats wrong with this code..??

Emil Styrke emil@lysator.liu.se
Fri Nov 15 10:00:02 2002


shobhan <schalla@vasoftware.com> writes:

> Traceback (most recent call last):
>   File "/sourceforge/sfee/www/search/cc_scm_content.py", line 15, in ?
>     dbh = dbapi.connect(logger_conf.db_dsn)
> cx_Oracle.DatabaseError: Error while trying to retrieve text for error
> ORA-12154
> 
> [Fri Nov 15 08:58:37 2002] [error] [client 11.1.30.9] Premature end of
> script headers: /sourceforge/sfee/www/search/cc_scm_content.py
> 
> Can anyone tell whats wrong with this code??

The problem seems to be that the database server gives the error
"ORA-12154", and the oracle python module doesn't know what it means
(it can't convert it to a human-readable text string).  Maybe you can
find out what the error code means by looking at the oracle
documentation?

        /Emil