Git Product home page Git Product logo

Comments (9)

SephVelut avatar SephVelut commented on August 29, 2024

same. installed. command shift p. format php. nothing.

from phpbeautifier.

marcofiset avatar marcofiset commented on August 29, 2024

Same for Mac OS X.

from phpbeautifier.

jbrooksuk avatar jbrooksuk commented on August 29, 2024

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.

funkytaco avatar funkytaco commented on August 29, 2024

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.

funkytaco avatar funkytaco commented on August 29, 2024

I guess this project is dead. Any good forks?

from phpbeautifier.

buksy90 avatar buksy90 commented on August 29, 2024

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.

thaddeusreid avatar thaddeusreid commented on August 29, 2024

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.

galindus avatar galindus commented on August 29, 2024

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.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'


Reply to this email directly or view it on GitHub
#11 (comment)
.

from phpbeautifier.

Barbery avatar Barbery commented on August 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.