-
Notifications
You must be signed in to change notification settings - Fork 44
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
Doesn't work under Windows 7 and sublime 2 #21
Comments
There is a same the issue just before this one, |
Its not the same error, thats why I opened another one. WindowsError: [Error 5] Access is denied |
@lollypopgr add php.exe at the end of the path (assuming thats the name of the executable). If the error still persists, it might be an issue with permissions |
Hi gnarula, great work by the way! Tried to add this, but it didn't work. |
Try running sublime as administrator (just for the sake of testing this). This would ascertain if it is a permission issue. |
@gnarula - Running as an administrator worked, indeed! When I tried running it without the admin privileges, it ran artisan commands without any issue (because artisan doesn't need admin rights, I think) while generating models, resource etc failed. Anyway, I'm using this on win7 x64 with Xampp. This is my settings file: { Hope this helps people who are having issues running it on windows. |
Strange @rahulparekh because my user has admin rights and I really can't make it work. |
Just to confirm - adding { and running as administrator ( sublime text 2 program ) worked for me. It is a permission problem somewhere. This does fix it. If anyone knows why this exists on windows 7 let me know? |
The issue i had was, when trying to run any of the generation tools, what I get is 'Artisan not found' on the Sublime text command. I tried running window 7 as Administrator, I still get the same errors, I( am using XAMPP Any help please, Thanks |
Are you working on a laravel project on Sublime Text (the folder should be On Tue, Jul 2, 2013 at 12:17 AM, Akeem Temitayo notifications@github.comwrote:
|
This is making me cry right now, I think the stuff seems to be working but all I get is Artisan not found, funny enough artisan is at the root of my project. I dont really know what I am missing, the snippet is also working as explained in the workflow window. |
I have the same issue with "Artisan not found" using Mac Osx and I know it's there because I can run it manually, but not through Sublime Text generator |
Ok, but @imroue I believe you can run it via the console, if you can do that, carry on. The generator is a bomb on its own. imagine the generate:scaffold command. just like all the hell of work done for you, what a workflowic way to speed things. Thanks jeff. |
@goldnet, so are you saying you gave up on the plugin? |
@imroue let's create a separate issue for each platform. I checked the plugin on Linux (Sublime Text 3 build 3047) and OS X (Sublime Text 2 Build 2221) and it works fine. More information would be appreciated in a separate issue. P.S. Windows is next |
@imroue on sublime text 2 yes, but I now use the generator on the console, it works perfectly for me, and I dont really have the speed issue since my console is always open. Also I wish I could donate to the author of the generator someday, there are some things the generator taught me that even speed things up with learning laravel. Thanks again Jeffery. I'll make some donation as soon as I can |
I just stopped using it under windows. |
Hi lollypopgr - I have the exact same problem. Did you ever get it sorted out? |
I stopped using it. Started to work on ubuntu in general, so things like that doesn't exist there. |
I can't think of anything else to try. Sigh... |
Same issue here. Sad to have this happen. |
There is a scenario that your sublime project included many folders may caused "Artisan not found" issue, I'm using win7 64 and fix this issue by add php.exe just like what Rahulparekh did and has only folder that include Artisan. |
I put this in the path
"php_path": "C:/wamp/bin/php/php5.3.8/"
or this
"php_path": "C:\wamp\bin\php\php5.3.8"
Console says this after command:
found 13 files for base name Main.sublime-menu
Traceback (most recent call last):
File ".\generate.py", line 51, in call_artisan
File ".\subprocess.py", line 633, in init
File ".\subprocess.py", line 842, in _execute_child
WindowsError: [Error 5] Access is denied
The text was updated successfully, but these errors were encountered: