Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection with Oracle. #17

Open
JyGius opened this issue Dec 16, 2019 · 2 comments
Open

Connection with Oracle. #17

JyGius opened this issue Dec 16, 2019 · 2 comments

Comments

@JyGius
Copy link

JyGius commented Dec 16, 2019

Hi all.

olapy runserver -st=db -dbc=C:\Users\x\olapy-data\olapy-config.yml -cbf=C:\Users\x\olapy-data\cubes\cubes-config.yml -sa=oracle+cx_oracle://x:y@ip:port -tf=OLAPTABLE

DB config file is C:\Users\x\olapy-data\olapy-config.yml:
connection_string : oracle+cx_oracle://olapx:olapx@ip:port

C:\Users\x\olapy-data\cubes\cubes-config.yml starts with:

cube name -> db name

name : olapcube
source : oracle
xmla_authentication : False
.....................
...............

The documentation says
-tf File path or DB table name
but it still looks for csv in the directory:

File "pandas_libs\parsers.pyx", line 387, in pandas._libs.parsers.TextReader.cinit
File "pandas_libs\parsers.pyx", line 705, in pandas._libs.parsers.TextReader._setup_parser_source
FileNotFoundError: [Errno 2] File b'OLAPCONSUMER' does not exist: b'OLAPTABLE'

How can I connect to my db?

Many thanks.

Bye.

@mouadhkaabachi
Copy link
Collaborator

Hi JyGius
Which oracle version are you using? so that I can reproduce your error

@marioscialpi
Copy link

@JyGius did you solve your configuration issue? I have similar problem.

Many thanks

Mario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants