Skip to content
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

Using "Build With..." makes build fails #11

Open
damiannmm opened this issue Jun 21, 2015 · 2 comments
Open

Using "Build With..." makes build fails #11

damiannmm opened this issue Jun 21, 2015 · 2 comments

Comments

@damiannmm
Copy link

Build with argument select, e.g. "command": "build", "args": {"select": true} fails to build while using this package. Below is a sample python file output.

/usr/local/opt/python/bin/python2.7: can't find '__main__' module in ''
[Finished in 0.3s with exit code 1]

Possible cause might be $file gives NULL value, as the current active window is "Build output" instead of build intended file.

screen shot 2015-06-21 at 7 50 14 am

Current workaround is adding this in user keymap

{ "keys": ["super+shift+b"], "command": "build", "args": {"select": true} },

though unfortunately doesn't close the default output.

screen shot 2015-06-21 at 7 55 18 am

@damiannmm damiannmm changed the title Using build with select make build fails Using "Build With..." make build fails Jun 21, 2015
@damiannmm
Copy link
Author

Additional to the workaround, add this line inside preferences.

"show_panel_on_build" : false,

@rctay
Copy link
Owner

rctay commented Jun 21, 2015

Thanks for reporting, I'll have a look.

@damiannmm damiannmm changed the title Using "Build With..." make build fails Using "Build With..." makes build fails Jun 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants