Comments (4)
Thanks for reporting.
I'll have a look asap, but i'm afraid that may be environment-specific. I'll come back soon with more info
from sniprun.
Okay, I could test locally and, sure enough, sniprun works on C and C++ files.
Because you say it works on Python files, I assure you that you don't have to reinstall anything. Though the fact that the checkhealth does this false error is worrisome, it's not impossible that the check might fail when sniprun works correctly, it's geared towards always failing if sniprun doesn't work at all. (aka, the way it checks is not 'clean' and is prone to a race condition and filesystem errors)
Could you provide copies of the file at ~/.cache/sniprun/sniprun.log (or your XDG_CACHE location):
- after a
checkhealth sniprun
- after you've run a simple snippet of code for c or cpp, such as `printf("hello\n");"
Also, could you check if next to the log there are directories with the name of C an Cpp interpreters, containing the last snippets of code you sent to sniprun + boilerplate wrapped around (if so try to compile the source file). whatever happens should appear in the log file anyway, but I prefer to ask.
Also, did you configure anything through the interpreter_option key?
from sniprun.
After cd into .cache/sniprun
, I found a bunch of junk file that I then deleted. After that, sniprun works normally again but checkhealth still show the error so I guess you are right. Yes, there are c_original file in the cache and the deleted file didn't output anything.
Thank you for your help!
from sniprun.
Okay, I'll keep in mind that this can happen (probably under very specific / crashy situation)
FYI, in the future if that happens again trash stuff (in fact ,the whole .cache/sniprun/)can be cleaned with :SnipReset
from sniprun.
Related Issues (20)
- Wrong cache directory path on linux HOT 1
- Wiki pages not working (404) HOT 2
- Check Health Deprecation HOT 1
- SnipRun failed to build in go, if last line is comment.. HOT 1
- add feature can auto add nested local package's function in go . HOT 3
- go file cant process dot import. HOT 2
- api.run_string cant work as expected. HOT 8
- Add a pre process goimports for golang project before really run_string. HOT 3
- Releases contain un-updated `Cargo.lock` file HOT 10
- Releases contain un-updated `Cargo.lock` file HOT 2
- Option to open Terminal in horizontal split HOT 2
- SnipRun is not working on markdown .md files on MacOS HOT 2
- Python3_jupyter not working HOT 3
- Bun Repl HOT 4
- [FEATURE] Explicit configuration for binaries HOT 3
- Error detected while processing function SnipRunLauncher HOT 6
- C+OpenGL ERROR HOT 1
- No Neorg support anymore? HOT 7
- Cpp Compile-Time Error HOT 2
- How to run the entire current file? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sniprun.