CDuke / sublime-tfs

Use TFS inside Sublime Text 2/3
5 stars 4 forks source link

Sublime Text 3 Problem #6

Closed CDuke closed 8 years ago

CDuke commented 11 years ago

Originally reported by: Anonymous


When attempting to use the TFS plugin with Sublime Text 3, I receive the following error:

Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 271, in on_modified callback.on_modified(v) File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 220, in on_modified path = get_unicode_filename(view) File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 10, in get_unicode_filename return unicode(view.file_name()).encode(locale.getpreferredencoding()); NameError: global name 'unicode' is not defined


CDuke commented 11 years ago

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


The new version is available and working great, thanks!

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


I do not know how often Package Control to update plugin version information. Wait an hour and try one more time.

CDuke commented 11 years ago

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


The version I see in the package control is from the 2013.06.10, how can I install the new version manually?

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


Try new version. Add support ST3

CDuke commented 11 years ago

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


Thanks for the great plugin!

I started using Sublime Text 3 and this is what I get right after installing the package:

File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 71, in reload_plugin m = imp.reload(m) File "X/imp.py", line 252, in reload File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 671, in load_module exec(compile(source, source_path, 'exec'), mod.dict) File "sublime_tfs in C:\Users\lior-y\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package", line 1 import sublime ^ SyntaxError: invalid character in identifier

CDuke commented 11 years ago

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


Sorry, I apologize, the error message in the console above was from a different package. I had to unzip the package and change my TFS variable and after that I was able to do "checkout" on file but now this is the error I receive: Package Control: Skipping automatic upgrade, last run at 2013-05-29 07:15:00, next run at 2013-05-29 08:15:00 or after Traceback (most recent call last): File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 128, in File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 115, in run File "C:\Program Files\Sublime Text 3\sublime.py", line 83, in status_message sublime_api.status_message(msg) TypeError: String required

CDuke commented 11 years ago

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


I got the latest version but the TFS menu options are grayed out and this is the error I receive:

reloading Packages/User/FileHistory.sublime-settings Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 231, in on_close callback.on_close(v) File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\orgmode.sublime-package\open_recently_closed_file.py", line 68, in on_close project_name = get_current_project_hash() File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\orgmode.sublime-package\open_recently_closed_file.py", line 57, in get_current_project_hash m.update(path) TypeError: Unicode-objects must be encoded before hashing

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


get new version.

CDuke commented 11 years ago

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


I updated the settings in the zip file and now the path is correct but I will set an error:

reloading Packages/User/Package Control.sublime-settings commands: ['E:\Programs\VisualStudio2012\Common7\IDE\tf.exe', 'status', b'C:\Projects\TFS\NCN - Other\MRASystem\Main\MRA.Batch.Client\IBatchService.cs'] is_graph: False Exception in thread Thread-12: Traceback (most recent call last): File "X/threading.py", line 639, in _bootstrap_inner File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 100, in run (self.success, self.message) = self.method(self.m_path) TypeError: 'NoneType' object is not iterable

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


Edit sublime_tfs.sublime-settings in zip file.

CDuke commented 11 years ago

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


Yes, the file exists if I open it up with a zip program.

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


What extension of zip file? .sublime-package or zip? Try open this zip and edit sublime_tfs.sublime-settings if exists.

CDuke commented 11 years ago

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


In ST3, I don't have a sublime_tfs.sublime-settings file, at least not one that I can find. I installed sublime_tfs vai package control and it looks like it is still zipped in C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


Try set here \Packages\Sublime TFS\sublime_tfs.sublime-settings

CDuke commented 11 years ago

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


Dennis, This now works in Sublime Text 2. I also tried this in Sublime Text 3 but I am getting a different error in ST3.
My "tf.exe" executable file is in a different location from the default (as you can see in the screenshots below). In ST2, I can set that default by going to Preferences -> Package Settings, etc.... However, in ST3, that option is not available so I tried to set the tf_path in my general users settings but the TFS plugin isn't using that value.

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


I found error. Try new version

CDuke commented 11 years ago

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


Denis,

I am not sure exactly what you would like for me to do when you say "trace line 68 variable commands"? I just started ST2 and below is the console output. Please let me know what else you need and I will do my best to get it to you:

startup, version: 2217 windows x64 channel: stable executable: /C/Program Files/Sublime Text 2/sublime_text.exe working dir: /C/Windows/system32 packages path: /C/Users/luke.mauldin/AppData/Roaming/Sublime Text 2/Packages settings path: /C/Users/luke.mauldin/AppData/Roaming/Sublime Text 2/Settings PackageSetup not required Py_GetProgramName(): sublime_text.exe Py_GetExecPrefix(): C:\Program Files\Sublime Text 2 Py_GetProgramFullPath(): C:\Program Files\Sublime Text 2\sublime_text.exe Py_GetPath(): C:\Program Files\Sublime Text 2\python26.zip;C:\Program Files\Sublime Text 2\DLLs;C:\Program Files\Sublime Text 2\lib;C:\Program Files\Sublime Text 2\lib\plat-win;C:\Program Files\Sublime Text 2\lib\lib-tk;C:\Program Files\Sublime Text 2 Py_GetPythonHome(): C:\Program Files\Sublime Text 2 catalogue loaded found 12 files for base name Default.sublime-keymap found 2 files for base name Default.sublime-mousemap found 33 files for base name Main.sublime-menu Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\CSS\css_completions.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\CompleteSharp\completesharp.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\comment.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\copy_path.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\delete_word.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\detect_indentation.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\duplicate_line.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\echo.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\exec.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\fold.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\font.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\goto_line.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\indentation.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\kill_ring.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\mark.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\new_templates.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\open_file_settings.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\open_in_browser.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\paragraph.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\save_on_focus_lost.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\scroll.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\set_unsaved_view_name.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\side_bar.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\sort.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\swap_line.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\switch_file.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\transform.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\transpose.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Default\trim_trailing_white_space.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Diff\diff.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\GoSublime.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gs9o.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gscommands.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gscomplete.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gsdoc.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gsev.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gslint.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gspalette.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\GoSublime\gstest.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\HTML\encode_html_entities.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\HTML\html_completions.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Package Control\Package Control.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Sublime TFS\sublime_tfs.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\SublimeMSBuild\msbuild_completions.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\SublimeREPL\completions.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\SublimeREPL\lang_integration.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\SublimeREPL\run_existing_command.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\SublimeREPL\sublimerepl.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\SublimeREPL\sublimerepl_build_system_hack.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\SublimeREPL\text_transfer.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Vintage\vintage.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Vintage\vintage_commands.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\Vintage\vintage_motions.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\VintageEx\ex_commands.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\VintageEx\ex_search_cmd.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\VintageEx\setup.py Traceback (most recent call last): File ".\sublime_plugin.py", line 62, in reload_plugin File ".\setup.py", line 11, in from distutils import log, dir_util, dep_util, file_util, archive_util ImportError: No module named distutils Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\VintageEx\test_runner.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\VintageEx\vintage_ex.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\help_it.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\navigation_history.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\open_recently_closed_file.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\orgmode.py plugin init time: 0.560885 GoSublime r13.05.12-7: init mod(gs) GoSublime r13.05.12-7: init mod(mg9) loading bindings loading pointer bindings found 1 files for base name Default.sublime-theme theme loaded app ready pre session restore time: 1.58795 Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' Traceback (most recent call last): File ".\sublime_plugin.py", line 195, in on_modified File ".\sublime_plugin.py", line 154, in run_timed_function File ".\sublime_plugin.py", line 194, in File ".\sublime_tfs.py", line 224, in on_modified File ".\sublime_tfs.py", line 14, in get_unicode_filename AttributeError: 'NoneType' object has no attribute 'encode' startup cache, total files: 170 cache hits: 170 startup time: 1.69478 (package setup was not run) Unable to open /C/Projects/TFS/NCN - Other/MRASystem/Main/Go/src/sqlprocesswatcher/sqlprocesswatcher_log.txt

\ 2013-05-21 07:11:59.441000 **: GoSublime init r13.05.12-7 (0.246s) | install margo: no | install state: done | sublime.version: 2217 | sublime.channel: stable | about.ann: a13.05.16-1 | about.version: r13.05.12-7 | version: r13.05.12-7 | platform: windows-x64 | ~bin: ~\AppData\Roaming\Sublime Text 2\Packages\User\GoSublime\9\bin | margo.exe: ~bin\gosublime.margo.r13.05.12-7.windows-x64.exe (ok) | go.exe: E:\Go\GoTip\bin\go.exe (ok) | GOROOT: E:\Go\GoTip | GOPATH: E:\Go\GoExternal;C:\Projects\TFS\NCN - Other\MRASystem\Main\Go

| GOBIN: (not set) (should usually be (not set))

reloading /C/Users/luke.mauldin/AppData/Roaming/Sublime Text 2/Packages/User/FileHistory.sublime-settings loaded 905 snippets Package Control: Installing 1 upgrades Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\help_it.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\navigation_history.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\open_recently_closed_file.py Reloading plugin C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 2\Packages\orgmode\orgmode.py reloading /C/Users/luke.mauldin/AppData/Roaming/Sublime Text 2/Packages/orgmode/orgmode.sublime-settings Generating meta info summary found 12 files for base name Default.sublime-keymap found 33 files for base name Main.sublime-menu Generating syntax summary Package Control: Upgraded orgmode to v2013.05.21.06.18.02 reloading /C/Users/luke.mauldin/AppData/Roaming/Sublime Text 2/Packages/User/Package Control.sublime-settings

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


Hi, let's start ST2. Can you trace line 68 variable commands?

CDuke commented 11 years ago

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


Hi, I am the original creator of the issue. I updated ST 3 with the latest TFS package and now I get this error:

Exception in thread Thread-3: Traceback (most recent call last): File "X/threading.py", line 639, in _bootstrap_inner File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 95, in run (self.success, self.message) = self.method(self.m_path) File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 56, in status return self.run_command("status", path) File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 72, in run_command p = self.launch_Without_Console(commands) File "C:\Users\luke.mauldin\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime TFS.sublime-package\sublime_tfs.py", line 83, 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 1049, in _execute_child File "X/subprocess.py", line 627, in list2cmdline TypeError: Type str doesn't support the buffer API

Unfortunately, it look like the update broke ST2 as well because now I am getting this error in ST2: Traceback (most recent call last): File ".\threading.py", line 532, in bootstrap_inner File ".\sublime_tfs.py", line 95, in run File ".\sublime_tfs.py", line 56, in status File ".\sublime_tfs.py", line 72, in run_command File ".\sublime_tfs.py", line 83, in launch_Without_Console File ".\subprocess.py", line 633, in __init File ".\subprocess.py", line 842, in _execute_child WindowsError: [Error 2] The system cannot find the file specified

CDuke commented 11 years ago

Original comment by Denis Kulikov (Bitbucket: CDuke, GitHub: CDuke):


Hi, try new version. I don't have Sublime Text 3, so I have no way to verify correction. Report if there are any problems