Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access is Denied #10

Closed
CDuke opened this issue Feb 12, 2014 · 2 comments
Closed

Access is Denied #10

CDuke opened this issue Feb 12, 2014 · 2 comments

Comments

@CDuke
Copy link
Owner

CDuke commented Feb 12, 2014

Originally reported by: spicydonuts (Bitbucket: spicydonuts, GitHub: spicydonuts)


All TF.exe commands are giving me this error: "PermissionError: [WinError 5] Access is denied"
TF.exe works fine when I run it in cmd, as well as in VS and the Explorer context menu. All of these applications are running under my user account, Windows 8.1 system where my user is tied to my Microsoft account. This is the same account used for my TFS access.

I also gave the patch in Issue #9 a try. It had no effect, but possibly will prevent me having that autocheckout issue once this one is solved.

Running Sublime Text 3 (3059). Here's some more Sublime console output:

#!cmd
Writing file /C/Users/michael/dev/tfs/main/.../file.js with encoding UTF-8 with BOM (atomic)
commands: ['C:/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE', 'status', 'C:\\Users\\michael\\dev\\tfs\\main\\...\\file.js']
is_graph: False
Exception in thread Thread-3:
Traceback (most recent call last):
  File "X/subprocess.py", line 1090, in _execute_child
PermissionError: [WinError 5] Access is denied

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "X/threading.py", line 639, in _bootstrap_inner
  File "C:\Users\michael\AppData\Roaming\Sublime Text 3\Packages\Sublime TFS\sublime_tfs.py", line 131, in run
    (self.success, self.message) = self.method(self.m_path)
  File "C:\Users\michael\AppData\Roaming\Sublime Text 3\Packages\Sublime TFS\sublime_tfs.py", line 58, in status
    return self.run_command("status", path)
  File "C:\Users\michael\AppData\Roaming\Sublime Text 3\Packages\Sublime TFS\sublime_tfs.py", line 73, in run_command
    return self.run_command_py3(commands, is_graph)
  File "C:\Users\michael\AppData\Roaming\Sublime Text 3\Packages\Sublime TFS\sublime_tfs.py", line 85, in run_command_py3
    p = self.launch_Without_Console(commands)
  File "C:\Users\michael\AppData\Roaming\Sublime Text 3\Packages\Sublime TFS\sublime_tfs.py", line 119, in launch_Without_Console
    return subprocess.Popen(command, stderr=subprocess.PIPE, stdout=subprocess.PIPE, cwd=self.cwd, startupinfo=startupinfo)
  File "X/subprocess.py", line 818, in __init__
  File "X/subprocess.py", line 1096, in _execute_child
PermissionError: [WinError 5] Access is denied

Thanks


@CDuke
Copy link
Owner Author

CDuke commented Feb 14, 2014

Original comment by Konstantin Kabanov (Bitbucket: DarkOverlord, GitHub: DarkOverlord):


@spicydonuts, please, check new version of plugin.

@CDuke
Copy link
Owner Author

CDuke commented Feb 14, 2014

Original comment by spicydonuts (Bitbucket: spicydonuts, GitHub: spicydonuts):


That did the trick. Thanks a bunch!

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

No branches or pull requests

1 participant