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

Got error when installing #55

Closed
crimx opened this issue Dec 1, 2016 · 9 comments
Closed

Got error when installing #55

crimx opened this issue Dec 1, 2016 · 9 comments

Comments

@crimx
Copy link

crimx commented Dec 1, 2016

Hi, I got error when installing

reloading plugin StandardFormat.standard-format
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 120, in reload_plugin
    m.plugin_loaded()
  File "standard-format in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\StandardFormat.sublime-package", line 52, in plugin_loaded
  File "standard-format in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\StandardFormat.sublime-package", line 19, in set_path
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'

And got this when I try to format

StandardFormat: error formatting selection(s)

Any idea what went wrong?

@bcomnes
Copy link
Owner

bcomnes commented Dec 4, 2016

I think it was a bug in the last release. I just realized 6.0.1 which should address the issue. I need to test it out on windows a bit more, but I believe it fixes the above issue. When Package Controls passes that out, let me know how it goes.

@crimx
Copy link
Author

crimx commented Dec 5, 2016

@bcomnes New errors while installing the new release.

Traceback (most recent call last):
  File "./subprocess.py", line 1112, in _execute_child
FileNotFoundError: [WinError 2] 

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 162, in on_api_ready
    m.plugin_loaded()
  File "standard-format in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\StandardFormat.sublime-package", line 100, in plugin_loaded
  File "standard-format in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\StandardFormat.sublime-package", line 21, in calculate_user_path
  File "./subprocess.py", line 576, in check_output
  File "./subprocess.py", line 824, in __init__
  File "./subprocess.py", line 1118, in _execute_child
FileNotFoundError: [WinError 2]

@crimx
Copy link
Author

crimx commented Dec 12, 2016

@evollu New errors while installing

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 120, in reload_plugin
    m.plugin_loaded()
  File "standard-format in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\StandardFormat.sublime-package", line 115, in plugin_loaded
  File "standard-format in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\StandardFormat.sublime-package", line 74, in generate_search_path
TypeError: 'NoneType' object is not iterable

And this shows when formatting

Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 574, in run_
    return self.run(edit)
  File "standard-format in C:\Users\Administrator\AppData\Roaming\Sublime Text 3\Installed Packages\StandardFormat.sublime-package", line 217, in run
  File "./ntpath.py", line 316, in dirname
  File "./ntpath.py", line 280, in split
  File "./ntpath.py", line 208, in splitdrive
TypeError: object of type 'NoneType' has no len()

@bcomnes
Copy link
Owner

bcomnes commented Dec 12, 2016

Uh Oh. I'll get a fix out this morning. Thanks for the heads up.

@bcomnes
Copy link
Owner

bcomnes commented Dec 12, 2016

@crimx can you post your user settings?

@crimx
Copy link
Author

crimx commented Dec 13, 2016

@bcomnes Sure

{
	"format_on_save": false
}
{
	"binary_file_patterns":
	[
		"node_modules/*"
	],
	"caret_extra_bottom": 0,
	"caret_extra_top": 0,
	"caret_extra_width": 0,
	"color_scheme": "Packages/User/Color Highlighter/themes/Seti_monokai.tmTheme",
	"default_line_ending": "unix",
	"draw_white_space": "all",
	"folder_exclude_patterns":
	[
		".git"
	],
	"font_size": 12,
	"highlight_line": true,
	"ignored_packages":
	[
		"AdvancedNewFile",
		"Vintage"
	],
	"overlay_scroll_bars": "enabled",
	"show_encoding": true,
	"show_line_endings": true,
	"tab_size": 2,
	"theme": "Seti.sublime-theme",
	"translate_tabs_to_spaces": true,
	"update_check": false
}

@bcomnes
Copy link
Owner

bcomnes commented Dec 13, 2016

Hrrm everything looks kosher. I'll try to mess around on a windows machine to see if I can reproduce.

@shtse8
Copy link

shtse8 commented Nov 2, 2017

I have the same issue, any update on this ?

@bcomnes
Copy link
Owner

bcomnes commented May 4, 2020

Closing, stale. Might be fixed. Please reopen a new issue if you run into this.

@bcomnes bcomnes closed this as completed May 4, 2020
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

3 participants