Giter Site home page Giter Site logo

Comments (9)

julienduchesne avatar julienduchesne commented on May 27, 2024 1

Interesting, I can unpublish the version while I investigate this. The vscode extension will prompt you to rollback

from jsonnet-language-server.

julienduchesne avatar julienduchesne commented on May 27, 2024

Are you using VSCode? If so you can get the server output in the ‘Jsonnet Language Server’ output tab

from jsonnet-language-server.

thepalbi avatar thepalbi commented on May 27, 2024

Yup, that's what I'm getting in VSCode:
image

Tried re-starting VSCode, the language server. Trying re-installing the extension

from jsonnet-language-server.

thepalbi avatar thepalbi commented on May 27, 2024

So looking at the Jsonnet extension logs:

Not using custom binary path. Using default path
Binary path is /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server (exists: true)
Auto-update is enabled. Fetching latest release from https://api.github.com/repos/grafana/jsonnet-language-server/releases/latest
Latest release is 0.7.1
Failed to get current version from /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server
Error: Command failed: /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server --version
Downloading latest release (0.7.1) to /Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server...
Downloading https://github.com/grafana/jsonnet-language-server/releases/download/v0.7.1/jsonnet-language-server_0.7.1_darwin_arm64
Successfully downloaded the language server version 0.7.1
Jsonnet Language Server will start: '/Users/pablo/Library/Application Support/Code/User/globalStorage/grafana.vscode-jsonnet/bin/jsonnet-language-server --log-level info --tanka'

And this is the LS logs:

[Info  - 4:05:11 PM] Connection to server got closed. Server will restart.
[Info  - 4:05:11 PM] Connection to server got closed. Server will restart.
[Info  - 4:05:11 PM] Connection to server got closed. Server will restart.
[Info  - 4:05:11 PM] Connection to server got closed. Server will restart.
[Error - 4:05:11 PM] Connection to server got closed. Server will not be restarted.

from jsonnet-language-server.

thepalbi avatar thepalbi commented on May 27, 2024

Let me know if you wan't me to test something

from jsonnet-language-server.

zzehring avatar zzehring commented on May 27, 2024

@julienduchesne I think this may be the same problem I ran into a while ago (M1 mac having issues with updated binary). I'm running 0.7.1 during my tuning for intellij-jsonnet plugin.

I think it may have something to do with MacOS permissions.

from jsonnet-language-server.

julienduchesne avatar julienduchesne commented on May 27, 2024

@julienduchesne I think this may be the same problem I ran into a while ago (M1 mac having issues with updated binary). I'm running 0.7.1 during my tuning for intellij-jsonnet plugin.

I think it may have something to do with MacOS permissions.

Yep, I've tested 0.7.1 a bunch and it seems fine. I'll republish it

from jsonnet-language-server.

julienduchesne avatar julienduchesne commented on May 27, 2024

Can you try 0.7.1 using this installation method: grafana/vscode-jsonnet#3 (comment) @thepalbi?

from jsonnet-language-server.

thepalbi avatar thepalbi commented on May 27, 2024

Worked like charm. Thanks @zzehring

from jsonnet-language-server.

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.