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
{{ message }}
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.
I am getting the following error when I try to run the main program -
E:\ivy>python -m main
Traceback (most recent call last):
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "E:\ivy\main.py", line 21, in
init_logger()
File "E:\ivy\util\logger.py", line 59, in init_logger
file_formatter = CustomJsonFormatter('(created) (logger) (level) (message)')
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\site-packages\pythonjsonlogger\jsonlogger.py", line 112, in init
logging.Formatter.init(self, *args, **kwargs)
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\logging_init.py", line 570, in init
self.style.validate()
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\logging_init.py", line 423, in validate
raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0]))
ValueError: Invalid format '(created) (logger) (level) (message)' for '%' style
The text was updated successfully, but these errors were encountered:
I am getting the following error when I try to run the main program -
E:\ivy>python -m main
Traceback (most recent call last):
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "E:\ivy\main.py", line 21, in
init_logger()
File "E:\ivy\util\logger.py", line 59, in init_logger
file_formatter = CustomJsonFormatter('(created) (logger) (level) (message)')
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\site-packages\pythonjsonlogger\jsonlogger.py", line 112, in init
logging.Formatter.init(self, *args, **kwargs)
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\logging_init.py", line 570, in init
self.style.validate()
File "C:\Users\sriks\AppData\Local\Programs\Python\Python39\lib\logging_init.py", line 423, in validate
raise ValueError("Invalid format '%s' for '%s' style" % (self._fmt, self.default_format[0]))
ValueError: Invalid format '(created) (logger) (level) (message)' for '%' style
The text was updated successfully, but these errors were encountered: