GAP-LAB-CUHK-SZ / GAP-LAB-CUHK-SZ/Total3DUnderstanding

OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect

Open
#50 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
445
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Do you know how to solve this problem?

Traceback (most recent call last):
File "main.py", line 19, in
cfg = CONFIG(args.config)
File "D:\_Python_Respository\Total3DUnderstanding\configs\config_utils.py", line 39, in __init__
self._logger, self._save_path = self.load_logger()
File "D:\_Python_Respository\Total3DUnderstanding\configs\config_utils.py", line 65, in load_logger
os.makedirs(save_path)
File "C:\Anaconda3\envs\Total3D\lib\os.py", line 220, in makedirs
mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'out/total3d\\2023-06-13T11:09:46.665278'

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with main.py line 19 and configs/config_utils.py lines 39 and 65, tracing how CONFIG.load_logger builds save_path before calling os.makedirs. Reproduce the reported configuration on Windows and verify that the output directory can be created without WinError 123; the issue is resolved when this traceback no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.