Crash when trying to call Path.exists() - Python on Windows bug?
Opened this issue · 0 comments
JustinLex commented
C:\Users\user\Downloads\drg-save-transfer-master>python drg_transfer_cli.py
Traceback (most recent call last):
File "C:\Users\user\Downloads\drg-save-transfer-master\drg_transfer_cli.py", line 15, in <module>
new_xb_path = transfer_tools.handle_random_xbox_filename(xb_path)
File "C:\Users\user\Downloads\drg-save-transfer-master\drg_transfer\transfer_tools.py", line 105, in handle_random_xbox_filename
if suspected_path.exists():
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 1407, in exists
self.stat()
File "C:\Users\user\AppData\Local\Programs\Python\Python39\lib\pathlib.py", line 1221, in stat
return self._accessor.stat(self)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '"C:\\Users\\user\\AppData\\Local\\Packages\\CoffeeStainStudios.DeepRockGalactic_496a1srhmar9w\\SystemAppData\\wgs\\000901F9B370C0DE_882901006F2042808DB0569531F199CB\\734434DB22C646F7AB2B5BCC71340FEA\\3331E997CF7F416BB6E6C97049FBEADF"'