You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the Connect To Database keyword instead of the deprecated ones, but it fails with the following error:
TypeError: connect() got an unexpected keyword argument 'database'.
JayDeBeApi is not in the list of supported Python modules. Is there a way to add support for it?
Hi @thuchet-u, thanks for submitting the issue.
Could you please provide more details on it?
How exactly are you calling the keyword, with which parameters?
Jaydebeapi is waiting arguments like : jclassname, url, driver_args, jars, libs.
It works well with this deprecated keyword :
DatabaseLibrary.Connect To Database Using Custom Params
... jaydebeapi
... 'com.ibm.as400.access.AS400JDBCDriver','jdbc:as400://hostname',['USER','PASSWORD'],'.{/}jt400.jar'
And it fails with error : TypeError: connect() got an unexpected keyword argument 'database'
And these log message : Connect to DB using : jaydebeapi.connect(database='{'jclassname': 'com.ibm.as400.access.AS400JDBCDriver', 'url': 'jdbc:as400://hostname', 'driver_args': '[user,password]', 'jars': '.\\jt400.jar'}', user='')
Hi,
I'm trying to use the
Connect To Database
keyword instead of the deprecated ones, but it fails with the following error:TypeError: connect() got an unexpected keyword argument 'database'.
JayDeBeApi is not in the list of supported Python modules. Is there a way to add support for it?
Environnement :
Python 3.10.8
Robot Framework 6.1.1
jaydebeapi 1.2.3
The text was updated successfully, but these errors were encountered: