Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

ValueError: stat: path too long for Windows #119

Closed
zooba opened this issue Feb 24, 2018 · 4 comments
Closed

ValueError: stat: path too long for Windows #119

zooba opened this issue Feb 24, 2018 · 4 comments
Labels
Milestone

Comments

@zooba
Copy link
Member

zooba commented Feb 24, 2018

Traceback (most recent call last):
  File "C:\Users\stevdo\documents\visual studio 2017\Projects\PythonApplication1\PythonApplication1\env1\lib\site-packages\ptvsd\wrapper.py", line 456, in done
    fut.result()
  File "C:\Users\stevdo\documents\visual studio 2017\Projects\PythonApplication1\PythonApplication1\env1\lib\site-packages\ptvsd\futures.py", line 39, in result
    reraise(self._exc_info)
  File "C:\Users\stevdo\documents\visual studio 2017\Projects\PythonApplication1\PythonApplication1\env1\lib\site-packages\ptvsd\reraise3.py", line 11, in reraise
    raise exc_info[1].with_traceback(exc_info[2])
  File "C:\Users\stevdo\documents\visual studio 2017\Projects\PythonApplication1\PythonApplication1\env1\lib\site-packages\ptvsd\futures.py", line 154, in callback
    x = it.send(fut.result())
  File "C:\Users\stevdo\documents\visual studio 2017\Projects\PythonApplication1\PythonApplication1\env1\lib\site-packages\ptvsd\wrapper.py", line 623, in on_variables
    xml = untangle.parse(resp_args).xml
  File "C:\Users\stevdo\documents\visual studio 2017\Projects\PythonApplication1\PythonApplication1\env1\lib\site-packages\ptvsd\untangle.py", line 188, in parse
    if is_string(filename) and (os.path.exists(filename) or is_url(filename)):
  File "C:\Users\stevdo\AppData\Local\Programs\Python\Python36\lib\genericpath.py", line 19, in exists
    os.stat(path)
ValueError: stat: path too long for Windows
@int19h
Copy link
Contributor

int19h commented Mar 9, 2018

The relevant untangle bug: stchris/untangle#45

@longrobert
Copy link

you can fix it very easily. I have the personal suggestion for you, you can use the LongPathTool program. I am also using this tools. Hope your all problem will solve very fast.

@karthiknadig
Copy link
Member

@longrobert This was a issue with the untangle API and has nothing to do with actual file paths.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants
@int19h @zooba @huguesv @karthiknadig @longrobert and others