Skip to main content
Question

Error log4net on VS Code running Python script

  • September 11, 2020
  • 1 reply
  • 341 views

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 :)

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • September 11, 2020

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



Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings