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 using flycheck #4138
Comments
You might have better luck not installing flycheck manually, and, instead, Try putting |
No change. I restarted emacs, let it orphan flycheck, enabled the syntax-checking and ruby layers, got the same seq-find error, this time with an additional error from enabling the ruby layer:
I should mention, this is with a fresh spacemacs installation. |
@wallacewinfrey This |
Should be fixed in develop. |
About seq-find: this is a common problem with use-package, if you use it, or you may find a similar situation: Short version: something is loading the seq library before package-initialize is called in spacemacs |
It doesn't appear to be fixed in develop, either. Still encountering the same error/lack of flycheck functionality after switching to the develop branch. |
This started happening for me today(on stable) (in C/C++ mode) after I updated packages.
|
Putting ruby in dotspacemacs-configuration-layers will cause this issue, while it's ok to just leave ruby-on-rails in it. |
Emacs 25.0.50.1 (Spacemacs 0.105.0) |
Replacing:
with:
didn't seem to make a difference in spacemacs-develop. Additionally, removing:
didn't seem to make a change with flycheck in other language modes.
Interesting. I suppose I should have mentioned earlier I'm using |
AFAIK, as long as you run package-initialize to set up the load-path before On Sun, Jan 3, 2016 at 4:08 AM Wallace Winfrey notifications@github.com
|
I'm not closing this one as it doesn't seems to be really fixed in develop. |
This seems to be an issue with JSON and JS as well. Still does not work for me. |
Same issue with latex files since I've updated spacemacs. |
Is everybody here having the issue is using Emacs 25 ? |
Yes. Also i tested it in 24 and it works fine. |
I'm on emacs 24 and having the same issue. |
As mentioned above, I've been using I copied my spacemacs directory from .confmacs/configs/spacemacs to .confmacs/config/spacemacs-emacs24, switched to the new config, removed all of the compiled emacs lisp files and flycheck now works without issue. I guess for the time being I'm gonna have to downgrade to 24; flycheck was a major part of my workflow and it's been painful not having it. NOTE: My results with Emacs 24 were obtained with the master branch. |
I'm having this issue on emacs 24 and spacemacs develop branch. |
If you're having this issue, please give the output of the following which might help track it down
|
I tested both 24 and 25 on Debian and both are working fine. But 25 doesn't work on Alpine Linux (it has seq-1.11) |
Updating emacs from 25.0 to 25.1 seems to have resolved the problem. |
@syl20bnr If I read these reports correctly, this is a problem with managing dependencies. flycheck requires seq v1.11 and people are not getting it when they install flycheck. Is this because emacs is comparing the version in date format to 1.11? |
This happens to me with a fresh install a week ago. I tried reinstalling seq-1.11, but no dice. Any help? |
What is your Emacs version ? Le mardi 19 janvier 2016, Matthew Newhook notifications@github.com a
-syl20bnr- |
25.0.50.1 - latest for OSX in the brew tap. |
I created a Docker images that reproduces this bug |
@newhook can you do this? #4138 (comment) |
M-x locate-library RET seq RET M-x pkg-info-library-version RET seq RET |
I'm also getting this issue, super fresh install of spacemacs from like 2 days ago, only enabled the racket mode layer. Running emacs 25.0.50.1 on OS X from homebrew. I get the exact same output as @newhook . Any resolution? |
What worked for me was to remove |
Yeah, well I tried that and it didn't work. |
@newhook since you're using emacs 25, seq library is included in emacs. Somehow you are not loading the right version, so maybe you have an old version of seq bundled with your emacs distribution. Can you check for an update to emacs itself? There's a pretest available now. My version string is "25.0.91.1" for example. A workaround until the release of 25 is final is to force the right library to load no matter what, which you could do with (load "~/.emacs.d/elpa/seq-1.11/seq.elc") if that is where you have the right version on your system. |
I have the same problem using Fresh install. I have completely removed my Note that I need to use I have been trying a fresh install both on |
@PierreR Emacs repository is down ╯°□°)╯︵ ┻━┻ |
@JAremko Thanks for the info. I will wait for it to go up again. |
@PierreR Is this still a problem? |
Closing for inactivity. Thanks @rgrinberg for pinging! |
I still get this issue running Emacs 25.0.50.1 on Windows, with seq located in I am trying to run syntax checking in a python buffer. |
Any ideas on how to help debugging this issue? I am also still running into it using |
FWIW, I had the same problem when using Emacs 25.0.50.1 and seq-2.19 on Ubuntu (I got my emacs package from Ubuntu Emacs Lisp ppa, it was the latest version available). I solved it by removing the current emacs (apt-get remove emacs-snapshot --purge) and upgrading to the latest Emacs version from git (26.0.50), which can be done relatively easily using the following workflow:
This will create and install a .deb file with the latest emacs that can be easily and cleanly installed/uninstalled. You may also need to do this: #7676 |
Thanks, @impca! Flycheck is now working in Python with an upgraded Emacs (25.2). |
When enabling flycheck-mode, and opening up a supported file, I get the following error:
Error while checking syntax automatically: (void-function seq-find)
enabling toggle-debug-on-error gives me:
Steps to reproduce:
M-x package-install flycheck
M-x flycheck-global-mode
The text was updated successfully, but these errors were encountered: