Visitar URL original
Error reflecting Oracle table but not database · Issue #478 · oracle/python-cx_Oracle · GitHub
The Wayback Machine - https://web.archive.org/web/20201123005641/https://github.com/oracle/python-cx_Oracle/issues/478
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

Error reflecting Oracle table but not database #478

Closed
charlesNumerator opened this issue Sep 23, 2020 · 8 comments
Closed

Error reflecting Oracle table but not database #478

charlesNumerator opened this issue Sep 23, 2020 · 8 comments
Labels

Comments

@charlesNumerator
Copy link

@charlesNumerator charlesNumerator commented Sep 23, 2020

platform.platform: Linux-4.19.76-linuxkit-x86_64-with-debian-9.13
sys.maxsize > 2**32: True
platform.python_version: 3.7.8
cx_Oracle.version: 8.0.0
cx_Oracle.clientversion: (19, 8, 0, 0, 0)
  1. Is it an error or a hang or a crash?

Error might be a hang or a crash, not sure.

  1. What error(s) or behavior you are seeing?

https://gist.github.com/charlesNumerator/aa6a1cc88503789572aab1c4b2ae386a

  1. Include a runnable Python script that shows the problem.

https://gist.github.com/charlesNumerator/f7219ab754ca1c6983fdff47e530ee61

  1. sql for the table in question

table_ddl.txt

@anthony-tuininga anthony-tuininga added question and removed bug labels Sep 23, 2020
@anthony-tuininga
Copy link
Member

@anthony-tuininga anthony-tuininga commented Sep 23, 2020 •

The error suggests that it is a crash and, more importantly, that the Oracle Client library crashed for some reason. You'll need to contact Oracle Support for this one, I think! @cjbj may have other suggestions.

@charlesNumerator
Copy link
Author

@charlesNumerator charlesNumerator commented Sep 24, 2020

thanks @anthony-tuininga

@cjbj
Copy link
Member

@cjbj cjbj commented Sep 24, 2020

Check for Oracle client logs. If you're using Instant Client, I often run something like rm -rf $HOME/instantclient/log/diag/clients && mkdir -p $HOME/instantclient/log/diag/clients

@charlesNumerator
Copy link
Author

@charlesNumerator charlesNumerator commented Sep 24, 2020

@cjbj it's kind of a partner's database and it's difficult for us to get them to get in there but i'm going to try. any idea why it would be this one table on its own its crashing when reflecting but we have no problem reflecting the entire database and pulling the metadata we need that way?

@cjbj
Copy link
Member

@cjbj cjbj commented Nov 19, 2020

@charlesNumerator how did you go with this?

@charlesNumerator
Copy link
Author

@charlesNumerator charlesNumerator commented Nov 19, 2020

@cjbj thanks for following up. unfortunately i wasn't able to get in there and see the logs. we are reflecting the entire db for the one or two tables that are giving us issues.

@cjbj
Copy link
Member

@cjbj cjbj commented Nov 20, 2020

@charlesNumerator an annoying but practical workaround. I will close this issue since it's been open for a while. Ping us as needed.

@cjbj cjbj closed this Nov 20, 2020
@charlesNumerator
Copy link
Author

@charlesNumerator charlesNumerator commented Nov 20, 2020

ok thanks for the help

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.