Comments (9)
same. installed. command shift p. format php. nothing.
from phpbeautifier.
Same for Mac OS X.
from phpbeautifier.
Can you please comment with the version of Sublime Text you have installed, and if possible, any errors that may be in the console.
from phpbeautifier.
Either my code is really beautiful or it's not working for me neither.My "current" python is 2.7. I see a time stamps of June, so I recently was upgraded recently, but I don't see references to 2.6 in the plugin file php_beautifier.py.
Sublime Version:
Sublime Text 2 - Version 2.0.1, Build 2217.
From the console:
Traceback (most recent call last):
File "./sublime_plugin.py", line 362, in run_
File "./php_beautifier.py", line 39, in run
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 623, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1141, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
So I guess it's this line (39 in php_beautifier.py) that is causing my issue:
p = subprocess.Popen([cmd, indent, "-l", filters, "-f", "-", "-o", "-"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
from phpbeautifier.
I guess this project is dead. Any good forks?
from phpbeautifier.
I need to format a big one file Im supposed to edit. Sublime text ver. 2, plugin newest version (from today 12th of august).
WindowsError:
Traceback (most recent call last):
File ".\sublime_plugin.py", line 362, in run_
File ".\php_beautifier.py", line 37, in run
File ".\subprocess.py", line 633, in init
File ".\subprocess.py", line 842, in _execute_child
Could you please fix it? Thank you
from phpbeautifier.
Is this project still alive?
SublimeText3 Build 3059
OS: OSX 10.8.5
Python 2.7.5
Error in console:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 549, in run_
return self.run(edit)
File "/Users/thaddeusreid/Library/Application Support/Sublime Text 3/Packages/PhpBeautifier/php_beautifier.py", line 39, in run
p = subprocess.Popen([cmd, indent, "-l", filters, "-f", "-", "-o", "-"], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "X/subprocess.py", line 818, in init
File "X/subprocess.py", line 1416, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'php_beautifier'
from phpbeautifier.
Just a shot in the dark but have you installed php_beautifier with pear?
Looks like it cant be found on your system.
\BR
El 23/07/2014 19:57, "thaddeusreid" [email protected] escribió:
Is this project still alive?
SublimeText3 Build 3059
OS: OSX 10.8.5
Python 2.7.5Error in console:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py",
line 549, in run_
return self.run(edit)
File "/Users/thaddeusreid/Library/Application Support/Sublime Text
3/Packages/PhpBeautifier/php_beautifier.py", line 39, in run
p = subprocess.Popen([cmd, indent, "-l", filters, "-f", "-", "-o", "-"],
stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
File "X/subprocess.py", line 818, in init
File "X/subprocess.py", line 1416, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'php_beautifier'—
Reply to this email directly or view it on GitHub
#11 (comment)
.
from phpbeautifier.
Traceback (most recent call last):
File ".\sublime_plugin.py", line 362, in run_
File ".\php_beautifier.py", line 37, in run
File ".\subprocess.py", line 633, in init
File ".\subprocess.py", line 842, in _execute_child
WindowsError: [Error 2]
please help!
from phpbeautifier.
Related Issues (13)
- Issue using HTTPS HOT 1
- [EXPIRED] Windows step-by-step installation
- Doesnt' work with -t1
- settings json file parsing error due to extra ,
- . HOT 6
- sh: php_beautifier: command not found HOT 1
- UnicodeEncodeError: 'ascii' codec can't encode character HOT 4
- PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/lib/php/pear/PEAR/Config.php on line 650 HOT 3
- TypeError: 'NoneType' object is unsubscriptable HOT 4
- PHP Strict Standards: Non-static method Console_Getopt::readPHPArgv() should not be called statically in /usr/bin/php_beautifier on line 70 HOT 10
- AttributeError: 'PhpBeautifierCommand' object has no attribute 'status' HOT 1
- Cant seem to change filters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpbeautifier.