-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
racer returned a non-zero exit code: 1 null #57
Comments
I ran into this same issue at first. In the Maybe the |
I'd happily take a PR that fixed this to support both sets of paths :) |
Also seeing this problem... is there a way I can see the output from |
I have this problem, but I don't see anything I may have configured wrong. I have the |
Had the same issue on Windows, but setting the |
I can confirm that manually setting |
same problem, also fixed by setting |
Had the same problem, was fixed setting
|
Mine was working for a few days, but suddenly it started failing with this error. Any hints to debug? |
@aurabindo I fixed my installation using this method #61 (comment) |
I've tried @bunnybooboo's suggestion but am still getting They don't contain any trailing whitespace, This all works beautifully from the command-line:
And completion does work to an extent in Atom as well (though only for entities in my source code and language keywords, This is on Debian Jessie, Atom 1.13.1, atom-racer 0.20.0. |
I'm having this issue above. The real problem here is that it's not obvious at all what's causing the error. If the stdout/stderr output of the command was shown along with the exit code, we all might be able to figure this out for ourselves. :) |
@NfNitLoop I remember that I found an earlier version of this issue where someone provided a PR to add the error message and that's what you are seeing coming through as "1 null". In the end I installed VS Code, added the vscode-rust extension (a very active fork of the now unmaintained RustyCode, brilliantly maintained & developed by @KalitaAlexey) plus TOML Language Support and Native Debug (haven't used that one yet, actually). I am really impressed with it all. |
This is still happening for myself on Windows, my settings are the following: C:\Users\snmalton.cargo\bin\racer.exe |
Reporting in as ticket is not closed, the plugin works 100%. @Nokel81 Your second path is erroneous I'm afraid: It should read: |
For me, it seems that the relevant difference was the slash at the end of the path:
|
This is rediculous. |
Solved this problem. Just change the RUST_SRC_PATH=/home/$USER/rust/library(not src) |
I was just experiencing this issue on Atom for Windows and found the solution was in fact to use the path That is, using library at the end, not src. Also, restarting Atom is necessary for the message to go away, as you noted. This is implied on the racer-rust github repo, they wrote in their README, "Fetch the Rust sourcecode automatically via rustup and run rustup component add rust-src in order to install the source to So it appears in newer versions you need library, not src. |
Path to the Racer executable is
/home/amos/custom/racer/target/release/racer
. It looks right to me:Path to the Rust source code directory is
/home/amos/custom/rust
. Also looks right to me:language-rust
is installed.Do you recognize this error message, or is it a bug with racer? If so, how can I get more information so I can file it with the racer folks?
The text was updated successfully, but these errors were encountered: