-
Notifications
You must be signed in to change notification settings - Fork 126
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
Installed on Windows sublime 3 - Not working #178
Comments
I am experiencing the same issue. |
Hi @oakbani I don't have access to a windows machine, which makes supporting this a tad tricky. Could you post the output from the console when |
I have the same issue.
nor this:
Using phpcs from command line works without problems. Debug info: During handling of the above exception, another exception occurred: Traceback (most recent call last): |
Hey @oakbani @MrKarlDilkington Are you both having this issue still? Can you confirm that those files exist on your filesystem, and that they have executable permissions? Also, depending on what PHP version you have, you may need to define The comment for those settings are:
and
This may help. |
Can't comment. I haven't tried it for years. And Can't test since I have
moved from windows. Thanks
…On Sun, 15 Oct 2023, 20:33 Ben Selby, ***@***.***> wrote:
Hey @oakbani <https://github.com/oakbani> @MrKarlDilkington
<https://github.com/MrKarlDilkington> Are you both having this issue
still?
Can you confirm that those files exist on your filesystem, and that they
have executable permissions? Also, depending on what PHP version you have,
you may need to define phpcs_php_prefix_path and
phpcs_commands_to_php_prefix.
The comment for those settings are:
// The path to the php executable.
// Needed for windows, or anyone who doesn't/can't make phars
// executable. Avoid setting this if at all possible
and
// Options include:
// - Sniffer
// - Fixer
// - MessDetector
// - CodeBeautifier
//
// This will prepend the application with the path to php
// Needed for windows, or anyone who doesn't/can't make phars
// executable. Avoid setting this if at all possible
This may help.
—
Reply to this email directly, view it on GitHub
<#178 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADME472NFG35ANFI4BBANKTX7P65JANCNFSM4DUTYFLQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Here is the error message on command pallete when I try to sniff some file:
Traceback (most recent call last):
File "./python3.3/subprocess.py", line 1104, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
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 818, in run_
return self.run(edit)
File "phpcs in C:\Users\oakbani\AppData\Roaming\Sublime Text 3\Installed Packages\Phpcs.sublime-package", line 661, in run
File "phpcs in C:\Users\oakbani\AppData\Roaming\Sublime Text 3\Installed Packages\Phpcs.sublime-package", line 479, in run
File "phpcs in C:\Users\oakbani\AppData\Roaming\Sublime Text 3\Installed Packages\Phpcs.sublime-package", line 149, in get_errors
File "phpcs in C:\Users\oakbani\AppData\Roaming\Sublime Text 3\Installed Packages\Phpcs.sublime-package", line 231, in execute
File "phpcs in C:\Users\oakbani\AppData\Roaming\Sublime Text 3\Installed Packages\Phpcs.sublime-package", line 234, in parse_report
File "phpcs in C:\Users\oakbani\AppData\Roaming\Sublime Text 3\Installed Packages\Phpcs.sublime-package", line 176, in shell_out
File "./python3.3/subprocess.py", line 819, in init
File "./python3.3/subprocess.py", line 1110, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered: