Message398814
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. |
|
Date |
User |
Action |
Args |
2021-08-03 05:24:11 | Spacetown | set | recipients:
+ Spacetown |
2021-08-03 05:24:11 | Spacetown | set | messageid: <1627968251.97.0.10381933547.issue44817@roundup.psfhosted.org> |
2021-08-03 05:24:11 | Spacetown | link | issue44817 messages |
2021-08-03 05:24:11 | Spacetown | create | |
|