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

Precompiled Binaires Cx_Oracle bug #15

Closed
omair2084 opened this issue Nov 9, 2017 · 3 comments
Closed

Precompiled Binaires Cx_Oracle bug #15

omair2084 opened this issue Nov 9, 2017 · 3 comments

Comments

@omair2084
Copy link
Contributor

There seems to be a bug in the precompiled binaries that are provided for odat.
I believe it comes from oracle/python-cx_Oracle#49

When you use dbms_scheduler specifically, a boolean value is passed (auto_drop) and this is not properly handled by cx_Oracle, resulting in the following error message:

Error with DBMS_SCHEDULER.create_job:ORA-03115: unsupported network datatype or representation

@omair2084
Copy link
Contributor Author

#22

@quentinhardy
Copy link
Owner

When I will have the time, I will push a ODAT docker instance in Docker Cloud.
I think the standalone is not anymore the best solution for ODAT.

@ihebski
Copy link

ihebski commented May 22, 2018

Solve cx_Oracle installation

While trying to run the odat.py file and installing the cx_Oracle pip package ,always failed to get it installed
checking command
python -c 'import cx_Oracle
I got this error

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named cx_Oracle

To fix this error all you have to do is to install the package with pip2.7 instead of pip ,the command as following :

sudo pip2.7 install cx_Oracle

Rerun the odat file again :

$python odat.py 
usage: odat.py [-h] [--version]
               {all,tnscmd,tnspoison,sidguesser,passwordguesser,utlhttp,httpuritype,utltcp,ctxsys,externaltable,dbmsxslprocessor,dbmsadvisor,utlfile,dbmsscheduler,java,passwordstealer,oradbg,dbmslob,stealremotepwds,userlikepwd,smb,privesc,cve,search,unwrapper,clean}
               ...
odat.py: error: too few arguments

It works now 👍 issue solved ,happy hacking

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