-
Notifications
You must be signed in to change notification settings - Fork 25
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: UndefVarError: iscall not defined at startup #62
Comments
What version of CSTParser do you have installed in your Julia environment? In a fresh session of the Snail REPL, run the following:
What is the output? |
Apparently CSTParser was not downloaded. Output from the REPL buffer
Output from the 'Messages' buffer:
|
Looks like you have CSTParser already installed in your global Julia environment, which conflicts with the version Snail tries to install. You probably have something from the v2 series, while Snail requires v3. Remove CSTParser and Tokenize from your global environment and try to restart Snail. I should try to make Snail more resilient for when this occurs. At least an informative error message would be nice. :) Meanwhile, why do you have CSTParser explicitly installed in your global environment? Were you hacking on it? Or did another tool install it? I thought most tools which depend on it have the grace to keep it isolated (as Snail does), but maybe not. |
Atom installed it and the Project.toml of Atom.jl has the following compat definition:
What would you recommend? |
I was thinking about how to deal with tooling which leaves conflicting litter in the global environment, and I may have a solution. Commit 74aa827 on branch https://github.com/gcv/julia-snail/tree/fix-load-path-order. Could you try running Julia from that branch? If you don't use an Emacs package manager or extension which can install arbitrary branches (such as Quelpa or Straight.el), the easiest way is to replace the It just changes the |
Using JuliaSnail.jl from branch https://raw.githubusercontent.com/gcv/julia-snail/fix-load-path-order/JuliaSnail.jl fixed the problem. |
Branch merged into master. |
When starting the julia session using C-c C-z from a julia file buffer
The text was updated successfully, but these errors were encountered: