Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when trying to call Path.exists() - Python on Windows bug? #1

Open
JustinLex opened this issue Feb 3, 2021 · 0 comments
Open

Comments

@JustinLex
Copy link
Owner

JustinLex commented Feb 3, 2021

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"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant