Run Project error

Hi, I started experiencing this error today too!

Corona Editor version is 1.7.0, I don’t have the issue with another pc with an older version.

This is overcomplating the usual development workflow.

Hey guys,

We’ve just pushed Corona Editor 1.7.1 which fixes an issue where ‘Run Project’ didn’t work on Windows

Sorry about that, I made a change but didn’t adequately test it on Windows.  I’ve just pushed Corona Editor 1.7.1 which fixes the issue where Run Project doesn’t work on Windows.

The update will show up in an hour or so (the Sublime Text Package Control system doesn’t react instantly to updates).  You can quit and restart Sublime Text to check for updates or use Tools ▶ Command Palette… [Package Control: Upgrade Package]

Thanks a lot, Bektur and Perry Clarke, I have updated the Corona Editor to 1.7.1 on my Sublime Text 3, and I find the issue has been solved.

But there is still a small issue. I cannot re-run the Run Project if the simulator is open. I have to close the simulator to execute the Run Project Command again from the Corona Editor menu.

Of Course, simply saving the changes with an open simulator does reflect the changes I make to my project.

But, when an error pops up I have to close the simulator to Run Project again after correcting the error. 

That problem is now happening on OS X…  I was able to identify the issue: it is when the path for the main.lua has spaces on it…

Just made a pull request on GitHub with the fix.

Release 1.7.3 is available (quit and restart Sublime Text to get it) and it fixes the issue with spaces in drive names and filenames on macOS.

@chandrashekhar.chaudhari  What operating system and version are you on?  

Sir, I am using Windows Home Premium 64 Bit with SP1. My System has 8 GB of RAM, 1 TB HDD, with 70% free space.

What happens actually is: When the simulator is on, if I click on Run Project, the console goes blank. Then if I click on the simulator, the simulator goes off. Then again if I click on Run Project the simulator reappears with the app showing on it and works normally.

But again, while its on, if I click on Run Project, the whole of above repeats.

Just started experiencing this problem today, same issue as above. Running Mac macOS Sierra v10.12.6. Updated Corona Editor today and ‘Run Project’ is now not working. Error msg below.

Cannot find executable Corona Simulator at path '/Applications/Corona/Corona Simulator.app/Contents/MacOS/Corona Simulator’

@hfroth3,

Is your Corona installation at:   '/Applications/Corona/Corona Simulator.app/Contents/MacOS/Corona Simulator’

It might be at:  ‘/Applications/Corona SDK/Corona Simulator.app/Contents/MacOS/Corona Simulator’  or something like that.

The path changed earlier this year.

@roaminggamer 

Thank you for your quick response.

I think I figured out the issue for this. In past, I had to have the Application folder named ‘CoronaSDK’. Now, it seems that in order for Sublime Text to pickup the path to the simulator, the application name cannot change after installation. For example, Corona installs build 3157 as ‘Corona-3157’. When I changed it to ‘CoronaSDK’, I broke the path. After I reinstalled and left the name alone ‘Corona-3157’, it worked. I must have missed that detail earlier in year. Thanks again for help.