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

Script arguments are passed to pydev as part of file path #96

Closed
karthiknadig opened this issue Feb 20, 2018 · 2 comments
Closed

Script arguments are passed to pydev as part of file path #96

karthiknadig opened this issue Feb 20, 2018 · 2 comments

Comments

@karthiknadig
Copy link
Member

in VS set script arguments following error will be seen:

  Name Value Type
exception (<class 'FileNotFoundError'>, FileNotFoundError(2,...irectory'), None) tuple
  ▶ 0 <class 'FileNotFoundError'> type
  ▶ 1 FileNotFoundError(2, 'No such file or directory') FileNotFoundError
  2 None NoneType
  len 3 int
  filename 'C:\Users\kanadig\Source\Repos\PyScratch\Scratch\Scratch.py --apple --orange -b' str

call stack:

open
	at c:\Program Files (x86)\Microsoft Visual Studio\Shared\Python36_64\Lib\tokenize.py(452)
execfile
	at g:\pyenv\test1\Lib\site-packages\_pydev_imps\_pydev_execfile.py(14)
run
	at g:\pyenv\test1\Lib\site-packages\pydevd.py(1022)
main
	at g:\pyenv\test1\Lib\site-packages\pydevd.py(1615)
debug
	at g:\pyenv\test1\Lib\site-packages\ptvsd\debugger.py(31)
<module>
	at c:\Users\kanadig\AppData\Local\Microsoft\VisualStudio\15.0_dcfc3d47Exp\Extensions\Microsoft Corporation\Python\3.0\ptvsd_launcher.py(96)

@karthiknadig
Copy link
Member Author

This issue also blocks Django/Bottle application from running.

@karthiknadig
Copy link
Member Author

This fixes the issue:
microsoft/PTVS@091c53d

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

No branches or pull requests

1 participant