[2.0.0] Jython: load("some.jar") does not put jar on java runtime classpath --- bug --- workaround
###### accepted bug: https:/
-------
*******
-------
Hi.
I have been using the below function in version 1.1.3 for quite a while with no issues.
def SQL(DB,
load(
from com.ziclix.
jdbc_url = DB
username = User
password = PSW
driver = "org.postgresql
# Obtain a Connection Using the With-Statement
with zxJDBC.
with conn:
with conn.cursor() as c:
SQLQ(POSTGRESQL
But After Sikuli 2.0.0 I receive the following error message:
[error] script [ Palette4 ] stopped with error in line 39
[error] zxJDBC.
[error] --- Traceback --- error source first
line: module ( function ) statement
16: main ( SQLQ ) driver = "org.postgresql
39: main ( <module> ) SQLQ(POSTGRESQL
[error] --- Traceback --- end --------------
Please please assist or advise.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Lem for more information if necessary.