Home Download Buy Blog Forum Support

TortoiseSVN, TortoiseGit and TortoiseHg Plugin

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby firefusion on Tue Mar 08, 2011 7:41 pm

Ok I get this error in the latest ST

Code: Select all
Traceback (most recent call last):
  File ".\sublime_plugin.py", line 243, in run_
  File ".\Tortoise.py", line 50, in run
  File ".\Tortoise.py", line 17, in get_vcs
  File ".\Tortoise.py", line 194, in __init__
  File ".\Tortoise.py", line 127, in find_root
  File ".\ntpath.py", line 205, in dirname
  File ".\ntpath.py", line 170, in split
  File ".\ntpath.py", line 125, in splitdrive
TypeError: 'NoneType' object is unsubscriptable
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby firefusion on Thu Mar 10, 2011 8:55 pm

Any ideas?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby firefusion on Wed Mar 16, 2011 8:56 am

?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby wbond on Wed Mar 16, 2011 11:57 am

From what I can tell, you were trying perform VCS operations on a file that had not been saved yet. I updated the plugin on Github (https://github.com/wbond/sublime_tortoise) last night to show an error when this happens.

Last night I also add context menu and sidebar menu support to the plugin. I should be publishing these features later today.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby wbond on Wed Mar 16, 2011 6:11 pm

I've pushed the latest version to Github (https://github.com/wbond/sublime_tortoise), which contains context and sidebar menu commands, plus a keyboard shortcut for reverting a file.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby firefusion on Wed Mar 16, 2011 10:45 pm

Ok I get the following error message...

Image


I have this in that config file. I don't have a hgtk.exe anywhere so I used hg.exe. Is that ok?

Code: Select all
{
   // "svn_tortoiseproc_path": r"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe",
   // "git_tortoiseproc_path": r"C:\Program Files\TortoiseGit\bin\TortoiseProc.exe",
    "hg_hgtk_path": r"C:\Program Files\TortoiseHg\hg.exe",
}
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby wbond on Thu Mar 17, 2011 12:41 am

@firefusion

Well, hg.exe won't work since that is the command-line version of mercurial. It is odd that you don't have an hgtk.exe - what version of TortoiseHg are you running? I have hgtk.exe in version 1.1.9.1.
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby firefusion on Thu Mar 17, 2011 5:55 am

I'm running TortoiseHg 2.0.2 (with Mercurial 1.8.1) for windows 7 64bit. I've been using it since TortoiseHg 1.1.5 (with Mercurial 1.7). It's totally weird. I tryed repairing the install but it hasn't added it :P
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby firefusion on Thu Mar 17, 2011 10:40 am

A removal and reinstall didn't help either :P

Very strange. Must just be my karma.
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Sublime Text 2 Plugin for TortoiseSVN/TortoiseGit/TortoiseHg

Postby bizoo on Thu Mar 17, 2011 10:51 am

TortoiseHg 2.0 has migrated to PyQt from PyGtk.
I suppose hgtk.exe doesn't exists anymore and was replaced with a new executable, check your installation folder and try with the exe files it contains.
With a little luck it could work without changing the ST2 plugin source.
bizoo
 
Posts: 889
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 6 guests