Giter Site home page Giter Site logo

Comments (6)

michaelb avatar michaelb commented on September 27, 2024

Hi thanks for submitting an issue about this problem.... However I don't have enough data to understand what's going on (and I'm quite unable to reproduce). My ideas for now are:

  • What does :checkhealth sniprun says ?
  • did you customize sniprun's binary_path
  • does an executable exist at the path mentionned in the error (and what happens if you launch it ?)

from sniprun.

chenhui2016 avatar chenhui2016 commented on September 27, 2024

Thanks for your reply!
I just want to run c language using sniprun, I installed sniprun correctly and using the default configuration.
1: :checkhealth sniprun say
image
2:I'm not customize sniprun's binary_path
3.I just used the default installation method and installed sniprun correctly.
image

from sniprun.

michaelb avatar michaelb commented on September 27, 2024

The checkhealth suggests something very important (the sniprun binary) doesn't exist

There should be no reason the binary is not present, save for internet connection strangeness (unlikely), or an inoportune neovim crash/close while the binary wasn't completely downloaded.

In both case I would try to reinstall the plugin, but if it doesn't work, I'd find where the plugin manager (lazy.nvim in your case) put sniprun, check the./target/release/sniprun binary and try to run the ./install.sh script

from sniprun.

chenhui2016 avatar chenhui2016 commented on September 27, 2024

Thanks for your reply!
Fine , The reason is Internet connetction!
image

But, if I manually download a binary file, where should I place it? Is it this address /home/ch/.local/share/nvim/lazy/sniprun?

from sniprun.

chenhui2016 avatar chenhui2016 commented on September 27, 2024

OK, I have solved. The last question, I don’t know if it’s a bug or if it will have any impact in the future.
1.When I manage the plugin in the lazy interface I run checkhealth and everything is correct.
2. When I finished running the cpp file and got the correct results, then I ran the checkhealth command, the following error occurred:
image
4. Is this a bug? And I made the changes and reinstalled sniprun according to its error report, and it still shows this error.
5. Thank you very much for making this plug-in. Thank you very much.

from sniprun.

michaelb avatar michaelb commented on September 27, 2024

2 -> strange, I will look into it but I'm not sure I'll be able to do something

4 -> if sniprun works for you..., well it works, don't mind the checkhealth

5 -> you're welcome

from sniprun.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.