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
Using os.path.realpath(...) in the MVFS of Clearcase SCM (virtual file system) in Windows 10 a exception occures:
X:\my_view\tools\python\3_8>python.exe
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.path.realpath('.')
Traceback (most recent call last):
File "X:\my_view\tools\python\3_8\lib\ntpath.py", line 647, in realpath
path = _getfinalpathname(path)
OSError: [WinError 87] Falscher Parameter: 'X:\\my_view\\tools\\python\\3_8\\.'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "X:\my_view\tools\python\3_8\lib\ntpath.py", line 651, in realpath
path = _getfinalpathname_nonstrict(path)
File "X:\my_view\tools\python\3_8\lib\ntpath.py", line 601, in _getfinalpathname_nonstrict
path = _getfinalpathname(path)
FileNotFoundError: [WinError 161] Der angegebene Pfadname ist ungültig: 'X:\\'
>>>
The error 161 (ERROR_BAD_PATHNAME) should also be ignored in _getfinalpathname_nonstrict.
Activity
Spacetown commentedon Aug 3, 2021
Using os.path.realpath(...) in the MVFS of Clearcase SCM (virtual file system) in Windows 10 a exception occures:
The error 161 (ERROR_BAD_PATHNAME) should also be ignored in _getfinalpathname_nonstrict.
5 remaining items
Spacetown commentedon Aug 5, 2021
Done.