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

Error when Beautifying Python using custom Python Autopep8 path #102

Closed
thedadams opened this issue Sep 20, 2014 · 2 comments
Closed

Error when Beautifying Python using custom Python Autopep8 path #102

thedadams opened this issue Sep 20, 2014 · 2 comments
Assignees
Milestone

Comments

@thedadams
Copy link
Contributor

I could not get autopep8 to work with atom-beautify; I would get the error in the title each time. I did verify that autopep8 worked from the command line. I changed line 12 in python-beautify.coffee from
"python \"" + path + "\" \"" + inputPath + "\" " + optionsStr
to
path + " \"" + inputPath + "\" " + optionsStr

This solved my problem. I'm not sure if this is a common error, but I wanted to share my problem and a possible solution.

@Glavin001 Glavin001 added the bug label Sep 20, 2014
@Glavin001 Glavin001 self-assigned this Sep 20, 2014
@Glavin001
Copy link
Owner

This is a bug. Thank you for sharing your experience and solution. I'll patch this and publish as soon as I can.

@Glavin001 Glavin001 added this to the v1.0.0 milestone Sep 28, 2014
@Glavin001 Glavin001 changed the title autopep8 pkg_resource:DistributionNotFound error Error when Beautifying Python using custom Python Autopep8 path Sep 28, 2014
@Glavin001
Copy link
Owner

Published to v0.13.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants