Skip to content

Error when attaching by process to python running in Maya #52

Closed

Description

pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\ntpath.py
pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\genericpath.py
pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\ctypes\__init__.py
pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\threading.py
pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\SocketServer.py
pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\traceback.py
pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\linecache.py
Traceback (most recent call last):
  File "c:\Users\v-rokowa\.vscode\extensions\ms-python.python-2020.2.63990\pythonFiles\lib\python\new_ptvsd\no_wheels\ptvsd\server\attach_pid_injected.py", line 74, in attach
    ptvsd.attach((options.host, options.port))
  File "c:\Users\v-rokowa\.vscode\extensions\ms-python.python-2020.2.63990\pythonFiles\lib\python\new_ptvsd\no_wheels\ptvsd\__init__.py", line 109, in attach
    return api.attach(address, log_dir)
  File "c:\Users\v-rokowa\.vscode\extensions\ms-python.python-2020.2.63990\pythonFiles\lib\python\new_ptvsd\no_wheels\ptvsd\server\api.py", line 75, in debug
    raise log.exception("{0}() failed:", func.__name__, level="info")
AssertionError: Paths passed to _NormPaths must be str. Found: C:/Users/v-rokowa/Documents/maya/2017/prefs/scripts\<string> (<type 'unicode'>)
pydev debugger: Unable to find real location for: C:\Program Files\Autodesk\Maya2017\bin\python27.zip\string.py
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\Users\v-rokowa\.vscode\extensions\ms-python.python-2020.2.63990\pythonFiles\lib\python\new_ptvsd\no_wheels\ptvsd\server\attach_pid_injected.py", line 86, in attach
    raise log.exception()
AssertionError: Paths passed to _NormPaths must be str. Found: C:/Users/v-rokowa/Documents/maya/2017/prefs/scripts\<string> (<type 'unicode'>)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions