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

No right-click menus? error: [Error 2] The system cannot find the file specified #15

Open
avggeek opened this issue May 26, 2012 · 9 comments

Comments

@avggeek
Copy link

avggeek commented May 26, 2012

Hi,

I get the following error message whenever I right-click on a file that has been committed to Git - "error: [Error 2] The system cannot find the file specified"

I have added the parent folder that contains the hidden ".git" folder and modified Tortoise.sublime-settings - User to specify location of TortoiseProc.exe but this does not seem to help.

Error log from console is:

error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 160, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 160, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 280, in is_visible_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 152, in is_visible
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 185, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 185, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 280, in is_visible_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 177, in is_visible
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 214, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 214, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 280, in is_visible_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 202, in is_visible
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 280, in is_visible_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 228, in is_visible
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 272, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 272, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 280, in is_visible_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 264, in is_visible
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 250, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 268, in is_enabled_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 250, in is_enabled
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment
error: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File ".\sublime_plugin.py", line 280, in is_visible_
File ".\Tortoise.py", line 71, in handler
File ".\Tortoise.py", line 242, in is_visible
File ".\Tortoise.py", line 446, in get_status
File ".\Tortoise.py", line 353, in process_status
UnboundLocalError: local variable 'status' referenced before assignment

I am running Sublime Text 2 Build 1281/TortoiseGit 1.7.9.0 with msysgit 1.7.10 on Windows7/64-bit

@schlamar
Copy link

Duplicate of #10, fix is in #11

@avggeek
Copy link
Author

avggeek commented May 27, 2012

Confirmed that patch in #11 resolves the issue.

@avggeek avggeek closed this as completed May 27, 2012
@IbnSaeed
Copy link

It is still not fixed in the latest release.

How was this bug closed ?

@KevinSheedy
Copy link

This is still not working. Can we re-open this bug?
It works for SVN but not for Git even though the paths to the .exe files are very similar.

Tortoise Version 2013.01.16.00.37.23
Sublime Version 2.0.1, Build 2217

@wbond
Copy link
Owner

wbond commented Mar 28, 2013

Yeah, we can re-open it, however unfortunately I don't have time for care and feeding of this package any longer.

If there is someone interested in running with it, the new channel infrastructure with PC 2.0 that is coming out soon should make the transition of this pretty easy.

@wbond wbond reopened this Mar 28, 2013
@atwright147
Copy link

Hi guys,

With the newest TortoiseGit on Win7 you seem to need to change your config to contain the following:

{
    "git_tgit_path": "C:\\Program Files (x86)\\Git\\bin\\git.exe",
    "git_tortoiseproc_path": "C:\\Program Files\\TortoiseGit\\bin\\TortoiseGitProc.exe"
}

You will also need to use the repo I have been maintaining: https://github.com/atwright147/sublime_tortoise

I have gathered all of the fixes from the open issues and merged them but I'm not a Python dev so Icannot properly maintain this plugin.

@johnlouie04
Copy link

it is still not fixed I also having this issue [error 2]

@atwright147
Copy link

@johnlouie04 have you tried my fork? You will have to clone it into your packages folder -- it isn't in Package Control

@gasatrya
Copy link

gasatrya commented Jan 8, 2014

@atwright147 thanks a lot, it works perfecly :)

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

No branches or pull requests

8 participants