-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
On Windows systems, the name of log file may cause the following errors
Traceback (most recent call last):
File "D:\Software\Anaconda3\envs\DL_Study\lib\logging\config.py", line 563, in configure
handler = self.configure_handler(handlers[name])
File "D:\Software\Anaconda3\envs\DL_Study\lib\logging\config.py", line 744, in configure_handler
result = factory(**kwargs)
File "D:\Software\Anaconda3\envs\DL_Study\lib\logging\__init__.py", line 1147, in __init__
StreamHandler.__init__(self, self._open())
File "D:\Software\Anaconda3\envs\DL_Study\lib\logging\__init__.py", line 1176, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding)
OSError: [Errno 22] Invalid argument: 'D:\\MyCode\\Python\\CompGCN-master\\CompGCN-master\\log\\testrun_12_06_2022_11:38:39'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:/MyCode/Python/CompGCN-master/CompGCN-master/run.py", line 459, in <module>
model = Runner(args)
File "D:/MyCode/Python/CompGCN-master/CompGCN-master/run.py", line 147, in __init__
self.logger = get_logger(self.p.name, self.p.log_dir, self.p.config_dir)
File "D:\MyCode\Python\CompGCN-master\CompGCN-master\helper.py", line 49, in get_logger
logging.config.dictConfig(config_dict)
File "D:\Software\Anaconda3\envs\DL_Study\lib\logging\config.py", line 808, in dictConfig
dictConfigClass(config).configure()
File "D:\Software\Anaconda3\envs\DL_Study\lib\logging\config.py", line 570, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'file_handler'
Metadata
Metadata
Assignees
Labels
No labels
