-
Notifications
You must be signed in to change notification settings - Fork 255
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
java.sql.Connection.unwrap throws JavaException: Invalid python object for this argument #22
Comments
@imd could test this with the master version of jnius because there have been updates regarding this issue, you can install the lastest version of jnius using the following pip command if you have all the required pip libraries:
Thanks. |
I can't install that. I get the following output from pip install:
|
Can't reproduce and it is a foreign package. In the future assemble a minimal example for both Python and Java side, so that the error can be reproduced. You don't need to use Android at all, you just need to have Java installed on your PC and Python+PyJNIus too. Also, there were some critical issues fixed recently, so you might want to try with |
Running this code under Jython works. Running the equivalent Java works. I'm doing it just as the docs say to. But PyJNIus prints:
for the following code:
(To run the test code, use same setup procedure as bug #21.)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: