-
Notifications
You must be signed in to change notification settings - Fork 107
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: invalid names for slots of class “Oracle”: ptr, quote, info, encoding #685
Comments
Can you please include the output of the code too? |
@hadley: Sure, that's the output in English locale for your convenience:
Here is the full output in my locale:
And here the full traceback (credentials masked):
P.S.: Everything works when trying to connect to a Microsoft SQL Server, but Oracle fails. |
I am having the same problem too, after upgrading to odbc 1.4: con <- DBI::dbConnect( output error: |
Oh shoot, I made a silly typo 😭. I'll push out a fix ASAP. In the meantime, I think you can use this code to revert to the correct behaviour: unlockBinding(".__C__Oracle", asNamespace("odbc"))
setClass("Oracle", contains = "OdbcConnection", where = asNamespace("odbc")) |
Issue Description
I just installed odbc 1.4.0 from CRAN, but now face problems with Oracle databases.
odbc::dbConnect()
fails with the above error. Everything works in 1.3.5. Not sure if this is connected to #558, unfortunately I was not able to debug it with the information provided there.Database
Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production
Reproducible Example
Example (database name and credentials masked):
Session Info
The text was updated successfully, but these errors were encountered: