Skip to content

Empty server extracted on Fedora 25 with dotnet-core #398

@mickaelistria

Description

@mickaelistria

I'm on Fedora 25 with dotnet-core installed. Here are some interesting messages from the log:

!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "telemetry/event",
  "params": {
    "type": "log",
    "message": "Finished downloading /home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/plugins/org.eclipse.acute.omnisharpServer_0.1.0.201703131751/server/omnisharp-fedora-x64-netcoreapp1.0/omnisharp-fedora-x64-netcoreapp1.0.tar.gz"
  }
}
!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "telemetry/event",
  "params": {
    "type": "log",
    "message": "Extracting /home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/plugins/org.eclipse.acute.omnisharpServer_0.1.0.201703131751/server/omnisharp-fedora-x64-netcoreapp1.0/omnisharp-fedora-x64-netcoreapp1.0.tar.gz"
  }
}
!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "telemetry/event",
  "params": {
    "type": "log",
    "message": "Connecting to child @ /usr/bin/node"
  }
}
!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "telemetry/event",
  "params": {
    "type": "log",
    "message": "Path to server: /home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/plugins/org.eclipse.acute.omnisharpServer_0.1.0.201703131751/server/omnisharp-fedora-x64-netcoreapp1.0/OmniSharp"
  }
}
!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "telemetry/event",
  "params": {
    "type": "log",
    "message": "Selected project: /home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/data/org.eclipse.acute.tests.TestIDEIntegration1489683983615/"
  }
}
!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "telemetry/event",
  "params": {
    "type": "log",
    "message": "Arguments: --stdio,--zero-based-indices,-s,/home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/data/org.eclipse.acute.tests.TestIDEIntegration1489683983615/,--hostPID,32151,--dotnet:enablePackageRestore\u003dtrue"
  }
}
!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "window/logMessage",
  "params": {
    "type": 3,
    "message": "{\"Type\":\"error\",\"Event\":\"error\",\"Seq\":-1,\"Body\":{\"Message\":\"failed to connect to connect to server\"}}"
  }
}
!MESSAGE NotificationMessage
{
  "jsonrpc": "2.0",
  "method": "telemetry/event",
  "params": {
    "type": "error",
    "message": {
      "code": "ENOENT",
      "errno": "ENOENT",
      "syscall": "spawn /home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/plugins/org.eclipse.acute.omnisharpServer_0.1.0.201703131751/server/omnisharp-fedora-x64-netcoreapp1.0/OmniSharp",
      "path": "/home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/plugins/org.eclipse.acute.omnisharpServer_0.1.0.201703131751/server/omnisharp-fedora-x64-netcoreapp1.0/OmniSharp",
      "spawnargs": [
        "--stdio",
        "--zero-based-indices",
        "-s",
        "/home/mistria/git/eclipse-ide-csharp/org.eclipse.acute.tests/target/work/data/org.eclipse.acute.tests.TestIDEIntegration1489683983615/",
        "--hostPID",
        32151.0,
        "--dotnet:enablePackageRestore\u003dtrue"
      ]
    }
  }
}

It appears it's doing the right things as expected, however directory server/omnisharp-fedora-x64-netcoreapp1.0/ which is supposed to contain the server is empty. I imagine the issue is in the download or expand operation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions