Closed sebhahn closed 7 years ago
From the backtrace:
python-config/init-flycheck-pyflakes()
You need to fix your configuration for flycheck-pyflakes. Check if anything in your config sets flycheck-pyflakes-executable
(including custom-set-*
sections).
Thanks @bmag, I thought it was a general problem! Isn't the value set automatically here?
defvar
sets the value only if the variable hasn't been set elsewhere. Your config probably sets it at some point. For more info: https://www.gnu.org/software/emacs/manual/html_node/elisp/index.html
Is there an easy way to find where it has been set before?
You can search ~/.emacs.d
, ~/.spacemacs
and ~/.spacemacs.d/
(if you have one) for "flycheck-pyflakes-executable", using a standard search tool.
Thanks! Isn't it set using the :command here
Sorry for these kind of questions, but I'm a Lisp newbie.
Can't say for sure without reading Flycheck's code, but I doubt it. Looks like it's used there, not set.
Woops! Sorry about that folks. I've fixed this in flycheck-pyflakes so it should now work if you upgrade.
Latest update fixes the problem! Thanks @Wilfred! :+1:
Description :octocat:
On start-up error of pyflakes error: python-pyflakes must be a string: flycheck-pyflakes-executable
Reproduction guide :beetle:
Observed behaviour: :eyes: :broken_heart: On start-up error of pyflakes error: python-pyflakes must be a string: flycheck-pyflakes-executable
Expected behaviour: :heart: :smile: No error
System Info :computer:
Backtrace :paw_prints: