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

Getting the below error while trying to open python code. #272

Closed
omps opened this issue Jun 12, 2015 · 11 comments
Closed

Getting the below error while trying to open python code. #272

omps opened this issue Jun 12, 2015 · 11 comments

Comments

@omps
Copy link

omps commented Jun 12, 2015

Suspicious state from syntax checker python-flake8: Checker python-flake8 returned non-zero exit code 1, but no errors from output:Checker definition probably flawed.

@omps
Copy link
Author

omps commented Jun 12, 2015

Soory this is fixed in the flycheck update. Closing now.

@omps
Copy link
Author

omps commented Jun 12, 2015

flycheck/flycheck#635

@omps omps closed this as completed Jun 12, 2015
@omps
Copy link
Author

omps commented Jun 12, 2015

Looks like the above issue didn't fix the bug, and same error as reported earlier is still persistent. :)

@omps omps reopened this Jun 12, 2015
@purcell
Copy link
Owner

purcell commented Jun 13, 2015

You probably have an incompatible flake8 version. This doesn't seem like something specific to my .emacs.d config.

@purcell
Copy link
Owner

purcell commented Jun 13, 2015

Specifically, I don't have any related configuration for flycheck, or flake8, so I'll close this issue, but please feel free to continue to discuss it here because I'm happy to help if I can.

@purcell purcell closed this as completed Jun 13, 2015
@omps
Copy link
Author

omps commented Jun 16, 2015

Thanks, yes I modified your emacs a little, but then I cloned your emacs.d from scratch and tried to run again, somehow I am getting the same error, trying to figure out what could be wrong here. Do you think there could be issue with flake8?

@purcell
Copy link
Owner

purcell commented Jun 16, 2015

Do you think there could be issue with flake8?

Yes, that would be my guess. Hey @lunaryorn, is there a way to make flycheck show the raw command output to aid in debugging this sort of issue?

@swsnr
Copy link

swsnr commented Jun 16, 2015

@purcell C-c ! C-c python-flake8 will run flake8 and shows its output in a separate buffer. C-c ! v will also be of interest, as it shows the state of syntax checkers.

I wonder why flake8 fails. Last time I look, its tests passed fine. I rather think that there's an issue with the OP's system.

@omps
Copy link
Author

omps commented Jun 17, 2015

@lunaryorn on Actually, I first thought it could be issue with the system, but
after trying on to other systems the problem remains. I in fact tried
building spurcell Emacs from scratch too. But I would check the commands
and report the output in the evening.
On 17 Jun 2015 01:39, "Sebastian Wiesner" notifications@github.com wrote:

@purcell https://github.com/purcell C-c ! C-c python-flake8 will run
flake8 and shows its output in a separate buffer. C-c ! v will also be of
interest, as it shows the state of syntax checkers.

I wonder why flake8 fails. Last time I look, its tests passed fine. I
rather think that there's an issue with the OP's system.


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

@omps
Copy link
Author

omps commented Jun 17, 2015

Well I think i found the error, i hope this should be correct, actually my bad i overlooked the code, and thought its bug with flychek. :) thanks for helping. Both the commands you suggested above does work.

@purcell
Copy link
Owner

purcell commented Jun 18, 2015

Great, glad you figured it out.

qioixiy pushed a commit to qioixiy/emacs.d that referenced this issue Aug 5, 2017
Now any characters, including read macro syntax, just before an opening
delimiter will be deleted when splicing or deleting a sexp.

Fixes purcell#272
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

3 participants