Skip to main content

I am running a Python script with selenium in VS Code. Although i am able to run the script successfully, i am getting the below error in the terminal

log4net:ERROR Object type [log4net.Appender.FileAppender] is not assignable to type [log4net.Appender.FileAppender+LockingModelBase]. There are no acceptable type conversions.
log4net:ERROR Failed to create object to set param: lockingModel log4net:ERROR Object type [log4net.Appender.FileAppender] is not assignable to type [log4net.Appender.FileAppender+LockingModelBase]. There are no acceptable type conversions.
log4net:ERROR Failed to create object to set param: lockingModel

Does anyone know why i am getting this error? and how to fix it?

My settings.json:

"python.analysis.extraPaths": [],
"python.analysis.completeFunctionParens": true,
"python.languageServer": "Jedi",
"typescript.tsdk": "",
"python.jediEnabled": true,
"python.dataScience.searchForJupyter": false,
"python.defaultInterpreterPath": "C:UsersuserAppDataLocalProgramsPythonPython38-32",
"python.logging.level": "off",
"breadcrumbs.enabled": true

Thanks in advance :)

You should ask this question on Python forums such as PythonAnywhere or stack overflow to get better help.



Reply