jaydebeapi icon indicating copy to clipboard operation
jaydebeapi copied to clipboard

conn terminates without any exception or error | unable to investigate further

Open sahPraveen opened this issue 5 years ago • 1 comments

Hii @baztian , I followed the usage steps as per the example, after the second step of defining "conn" the script terminates and comes back to the command line without raising any errors o warnings or exception. I am not able to identify what went wrong, has anyone faced this issue with jaydebeapi?

Sharing the libraries/environment details I am using and screenshot.

Example:

import jaydebeapi conn = jaydebeapi.connect("org.hsqldb.jdbcDriver", ... "jdbc:hsqldb:mem:.", ... ["SA", ""], ... "/path/to/hsqldb.jar",) <--------my script terminates at this step curs = conn.cursor()

Environment: Windows 10 64bit Python 3.7.4 JayDeBeApi==1.1.1 JPype1==0.6.3 sasl==0.2.1 thrift==0.10.0 thrift-sasl==0.3.0 Jar = hive-jdbc-1.2.1-standalone.jar

image

Resolution is appreciated.

sahPraveen avatar Apr 14 '20 04:04 sahPraveen

@sahPraveen can you upgrade JayDeBeApi and JPype1 to a more recent version? Especially on windows I found JPype1 0.6.3 flaky. If you're using Python 3 please use JPype 0.7.5 if you're bound to Python 2.7 please consider using JPype 0.7.0

baztian avatar May 28 '20 20:05 baztian