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

memoryview: a bytes-like object is required, not str #186

Open
rubobman opened this issue Aug 12, 2024 · 0 comments
Open

memoryview: a bytes-like object is required, not str #186

rubobman opened this issue Aug 12, 2024 · 0 comments

Comments

@rubobman
Copy link

rubobman commented Aug 12, 2024

oracle_sqldba is not working on Linux 8, python 3.6.8
Need replace
[sout, serr] = sql_process.communicate(input = sql_cmd)

to
[sout, serr] = sql_process.communicate(input=sql_cmd.encode('utf-8'))
sout = sout.decode('utf-8')
serr = serr.decode('utf-8')

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

1 participant