Jika97 commented on issue #20371:
URL: https://github.com/apache/superset/issues/20371#issuecomment-1292677361

   Hello,
   
   I have the same issue on an Apache Superset 2.0.0 install on Ubuntu 20.04 
via docker-compose.
   
   My Oracle database is on another server.
   I installed everything cx_Oracle and Oracle Instant Client on the server, 
but I have the following error:
   
   `ERROR: (builtins.NoneType) None
   (Background on this error at: https://sqlalche.me/e/14/dbapi)`
   
   When I run a small python connection script, however I manage to connect to 
the database and get my data.
   
   ```
   import cx_Oracle
   from sqlalchemy import create_engine
   
   connection = cx_Oracle.connect(user="user", password="password:)!",
                                  dsn="x.x.x.x/SERVICENAME")
   
   cursor = connection.cursor()
   cursor.execute("""
           SELECT id2, ub
           FROM data
           """,
   )
   for id2, ub in cursor:
       print("Values:", id2, ub)
   ```
   
   
   Could someone help me, please ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to