Why do you always fail  to donwload  with new version 2.0

Hi @heartacker can I assume based on the dialog you are in mainland China region?
See https://github.com/microsoft/vscode-dotnettools/issues/186 where we had one other report. We’ve been unable to reproduce this.

i have install the runtime，why do you always try to down load again and again
why not use the installed version

@heartacker as a temporary workaround, would you be able to try setting the dotnet.dotnetPath option to point to the folder containing your installed version?  For example for me it would be C:\Program Files\dotnet?  I believe that should allow the server to start even if the specific runtime isn't able to be acquired.

re @dibarbet 's comment:

@dibarbet Your suggestion did not work for me, but it did lead me to a solution. In whichever settings file is appropriate for you
"dotnetAcquisitionExtension.existingDotnetPath": [
  {
    "extensionId": "ms-dotnettools.csharp",
    "path": "C:\\Program Files\\dotnet\\dotnet.exe"
  }
]

Hi @heartacker we've been checking with our edge delivery teams and we're just not seeing widespread indicators here. I know it's asking a lot but can you help provide us with more information so our network partners can troubleshoot some more?  I appreciate it.
Instructions:

Public IP (visit https://ipinfo.io/)
HAR file while the issue occurs
MTR (100 count) to "dotnetcli.azureedge.net" (excluding quotations)
Visit/provide us the results from http://wpc.2dcc.edgecastcdn.net/002DCC/n2/
Visit/provide us the results from https://tools.vdms.com/

We've additionally included steps on how to obtain a HAR/MTR below should the end user require assistance to the ask above. This information would help our team greatly towards our efforts in investigating the report.
Below are the steps for collecting HAR/MTR

HAR file :
Here is a guide from Google support, explaining how to use the developer tools to capture the full log of the interaction.
https://support.google.com/admanager/answer/10358597?hl=en
MTR:
Download and install WinMTR: Visit the WinMTR website (https://sourceforge.net/projects/winmtr/) and download the latest version of WinMTR suitable for your operating system.
Launch WinMTR: After installation, open WinMTR from the location where it was installed.
Enter the target destination: In the "Host" field, enter the IP address or domain name of the destination you want to test. For example, you can enter a website URL or an IP address , the domain name portion of the URL of the site where you are seeing 504 errors.
Start the test: Click on the "Start" or "Start/Stop" button to begin the test. WinMTR will start sending packets to the destination and collect data about each network hop along the way.
Copy the data or send a screenshot of the MTR to help us diagnose what server may be returning that code.

I have tried this   "dotnetAcquisitionExtension.existingDotnetPath": [
{
"extensionId": "ms-dotnettools.csharp",
"path": "C:\Program Files\dotnet\dotnet.exe"
}
]     as @dibarbet  said  , nothing is working .

The problem I'm having is that the installation is not completing due to group policy limiting PS1 file execution but even installing 7.0.9 runtime manually resolve the issue, it still attempts to install.
Setting the path manually in the settings file causes the extension to basically disable. The omnisharp status and selected project do not appear in the status bar after setting the path.

Setting the path manually in the settings file causes the extension to basically disable. The omnisharp status and selected project do not appear in the status bar after setting the path.

I wouldn't expect you to see specific OmniSharp status unless you've followed this: https://github.com/dotnet/vscode-csharp#how-to-use-omnisharp?

Thanks for the reply @dibarbet.  Unfortunately, even with the following options in my settings.json file:
"dotnetAcquisitionExtension.existingDotnetPath": [
 {
   "extensionId": "ms-dotnettools.csharp",
   "path": "/home/user/.dotnet/dotnet"
 }
]
"razor.trace": "Verbose",
"dotnet.server.trace": "Trace"

I do not see any changes on the .Net runtime output:
Downloading the .Net Runtime.
Using configured .Net path: /home/user/.dotnet/dotnet

Please attach the log that @dibarbet had suggested. The output is telling you that it is using your custom path, so it did change the behavior and output. The output you showed is not trying to acquire dotnet anymore. What is the problem you are experiencing? I'm guessing it may be an issue of the C# Extension to pick up this configured dotnet path if you are still experiencing an issue.

Specifically, I'm looking for these logs from the output window

@dibarbet https://github.com/dotnet/vscode-csharp/issues/6029#issuecomment-1665996087
Does it mean I need to download every update? .net7? .net 8?
I just want to use a fixed version of the runtime to work, why do I need to download every？

@dibarbet even installing 7.0.9 runtime manually resolve the issue, it still attempts to download everytime.

@nagilson is this expected behavior?

Does it mean I need to download every update? .net7? .net 8?

The server is currently fixed on the .net7 runtime.  It is likely we'll eventually update it to the .net 8 runtime, but not on every preview release for example.  Generally we will continue to (slowly) update the server runtime to pick up important bug fixes, perf improvements and security fixes.

Does it mean I need to download every update? .net7? .net 8?

The server is currently fixed on the .net7 runtime. It is likely we'll eventually update it to the .net 8 runtime, but not on every preview release for example. Generally we will continue to (slowly) update the server runtime to pick up important bug fixes, perf improvements and security fixes.

So the result is that if I don't choose to upgrade, this error will pop up every time I load cs project.
This doesn't seem very friendly, at least there's no way to close it.

I got rid of this by setting the dotnet.dotnetPath  in the settings.json file
"dotnet.dotnetPath": "/usr/local/share/dotnet",

Whatever I set, it still tries to download the .net SDK.  on Mac

Also on MacOS 13.4, setting the values below suppressed the download

I got the same issue.
I've already installed dotnet7.0.10 at /usr/share/dotnet/ but every time I run vscode it start installing the dotnet,
even though I've set the   "dotnet.dotnetPath": "/usr/share/dotnet/" as well as
  "dotnetAcquisitionExtension.existingDotnetPath": [
    {
      "extensionId": "ms-dotnettools.csharp",
      "path": "/usr/share/dotnet/"  # I tried /usr/sahre/dotnet/dotnet as well but doesn't seems to work
    }

For everyone getting the same issue, I've solved it using the following settings (For Linux users) :

Make sure you don't have /usr/bin/dotnet link or whatever

If you have just remove it sudo rm -rf /usr/bin/dotnet

Or check your dotnet path using which dotnet

Next Install dotnet (if you haven't already) on whatever path you want (I have installed it on /home/me/.dotnet/

Set DOTNET_ROOT variable in ~/.bashrc or ~./.zshrc

For me I'm using zsh so I've add this to my .zshrc file :

export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools

Now time for vscode, you have to edit settings.json file ( CTRL + ,  ) to open the settings tab

Then search fordotnetAcquisitionExtension and click on Edit in settings.json

Add these following lines to settings.json file :

  "dotnetAcquisitionExtension.existingDotnetPath": [
    {
      "extensionId": "ms-dotnettools.csharp",
      "path": "/home/me/.dotnet/dotnet"
    },
    {
      "extensionId": "ms-dotnettools.csdevkit",
      "path": "/home/me/.dotnet/dotnet"
    },
  ],

Restart vscode and everything should work just fine

Important

vscode version : 1.81.0 which is the latest version atm.

C# ext version :

C# devKit ext version (I'm using this extension and I think the issue was here but not sure tho):

DotNet info :

❯ dotnet --info
.NET SDK:
 Version:   8.0.100-preview.6.23330.14
 Commit:    ba97796b8f

Runtime Environment:
 OS Name:     fedora
 OS Version:  38
 OS Platform: Linux
 Base Path:   /home/me/.dotnet/sdk/8.0.100-preview.6.23330.14/

Environment variables:
  DOTNET_ROOT       [/home/me/.dotnet]

@dibarbet even installing 7.0.9 runtime manually resolve the issue, it still attempts to download everytime.

@nagilson this seems unexpected right? It looks like it found the dotnet path from the option, but its still downloading the runtime

It uses promise.resolve() with the given string whenever it outputs 'Using Configured Runtime blah`, so it shouldn't as it would never get to the install code --> but it can be a problem if there are multiple extensions calling with different settings for the existingDotnetPath, or if the user has set it as well as the calling extension to the API. For @Jss-Jss : May you share a list of all of the extensions on your vs code?

@dibarbet even installing 7.0.9 runtime manually resolve the issue, it still attempts to download everytime.

@nagilson this seems unexpected right? It looks like it found the dotnet path from the option, but its still downloading the runtime

It uses promise.resolve() with the given string whenever it outputs 'Using Configured Runtime blah`, so it shouldn't as it would never get to the install code --> but it can be a problem if there are multiple extensions calling with different settings for the existingDotnetPath, or if the user has set it as well as the calling extension to the API. For @Jss-Jss : May you share a list of all of the extensions on your vs code?

I don't think it was caused by other extensions，I've tried to uninstall and keep only the necessary for Unity，this error still pop everytime。

I've had enough of this problem.
Time 2 return version C# 1.26.0, bye guys.

This problem still exists，nothing works
  "dotnet.dotnetPath": "/usr/local/share/dotnet/",   "dotnetAcquisitionExtension.existingDotnetPath": [     {       "extensionId": "ms-dotnettools.csharp",       "path": "/usr/local/share/dotnet/"     }   ]

A solution that worked for me was re-installing the C# extensions along with the .NET Install Tool for Ext. etc. Then from the welcome menu, downloaded the .NET SDK through the C# extension's "Walkthrough" tab. Then, applied "C:\route to dotnet folder\dotnet" to "dotnet.dotnetPath" the .NET Install Tool settings. Hope this helps some.

@MirzkisD1Ex0 @moamlrh we're trying to track down why some geos are failing here...are you able to provide some info as seen here: https://github.com/dotnet/vscode-csharp/issues/6004#issuecomment-1664760326

A solution that worked for me was re-installing the C# extensions along with the .NET Install Tool for Ext. etc. Then from the welcome menu, downloaded the .NET SDK through the C# extension's "Walkthrough" tab. Then, applied "C:_route to dotnet folder_\dotnet" to "dotnet.dotnetPath" the .NET Install Tool settings. Hope this helps some.

I donno why, but it also works for me, thx!!! 😆😆😆

@dibarbet even installing 7.0.9 runtime manually resolve the issue, it still attempts to download everytime.

@nagilson this seems unexpected right? It looks like it found the dotnet path from the option, but its still downloading the runtime

It uses promise.resolve() with the given string whenever it outputs 'Using Configured Runtime blah`, so it shouldn't as it would never get to the install code --> but it can be a problem if there are multiple extensions calling with different settings for the existingDotnetPath, or if the user has set it as well as the calling extension to the API. For @Jss-Jss : May you share a list of all of the extensions on your vs code?

  @nagilson I don't think it was caused by other extensions，I've tried to uninstall and keep only the necessary for Unity，this error still pop everytime。

Thank you for sharing. @Jss-Jss the C# and Dev Kit extension actually both have their own settings and copy of the runtime extension so they are probably conflicting with one another, or more than that it's just not set for one of them. Thats probably why @MirzkisD1Ex0's suggestion to set it in both is working.

I successfully solved this problem. this is my dotnet. I install dotnet use pacman:
❯ dotnet --info
.NET SDK:
 Version:   7.0.109
 Commit:    3e9283a8e9

Runtime:
 OS Name:     manjaro
 OS Version:
 OS Platform: Linux
 RID:         manjaro-x64
 Base Path:   /usr/share/dotnet/sdk/7.0.109/

Host:
  Version:      7.0.9
  Architecture: x64
  Commit:       8e9a17b221
.NET SDKs installed:
  7.0.109 [/usr/share/dotnet/sdk]
.NET runtimes installed:
  Microsoft.NETCore.App 7.0.9 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

You can try to do these:
   "dotnetAcquisitionExtension.existingDotnetPath": [
        {
            "extensionId": "ms-dotnettools.csharp",
            "path": "/usr/share/dotnet/dotnet"
        },
        {
            "extensionId": "ms-dotnettools.csdevkit",
            "path": "/usr/share/dotnet/dotnet"
        }
    ]

then restart
note: The path should not be a soft link, otherwise extend  C# will report an error: write EPIPE. And language serve start failed
about C# extend:

For everyone getting the same issue, I've solved it using the following settings (For Linux users) :
* Make sure you don't have `/usr/bin/dotnet` _link_ or whatever

* If you have just remove it `sudo rm -rf /usr/bin/dotnet`

* Or check your `dotnet` path using `which dotnet`

* Next Install `dotnet` (_if you haven't already_) on whatever path you want (I have installed it on `/home/me/.dotnet/`

* Set `DOTNET_ROOT` variable in `~/.bashrc` or `~./.zshrc`

* For me I'm using `zsh` so I've add this to my `.zshrc` file :

export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools

* Now time for `vscode`, you have to edit `settings.json` file ( **CTRL + ,**  ) to open the settings tab

* Then search for`dotnetAcquisitionExtension` and click on `Edit in settings.json`
  ![image](https://user-images.githubusercontent.com/63509020/259415511-028f41d4-8f44-481b-8df5-7519a9ee3fbe.png)

* Add these following lines to `settings.json` file :

  "dotnetAcquisitionExtension.existingDotnetPath": [
    {
      "extensionId": "ms-dotnettools.csharp",
      "path": "/home/me/.dotnet/dotnet"
    },
    {
      "extensionId": "ms-dotnettools.csdevkit",
      "path": "/home/me/.dotnet/dotnet"
    },
  ],

* Restart `vscode` and everything should work just fine

Important
* `vscode` version : `1.81.0` which is the latest version atm.

* `C# ext` version :
  ![image](https://user-images.githubusercontent.com/63509020/259418386-8d6194c2-bf48-4295-9842-ef4a633bf049.png)

* `C# devKit ext` version (I'm using this extension and I think the issue was here but not sure tho):
  ![image](https://user-images.githubusercontent.com/63509020/259418619-a499239f-6f34-4901-9ab9-e8e869198861.png)

* `DotNet` info :

❯ dotnet --info
.NET SDK:
 Version:   8.0.100-preview.6.23330.14
 Commit:    ba97796b8f

Runtime Environment:
 OS Name:     fedora
 OS Version:  38
 OS Platform: Linux
 Base Path:   /home/me/.dotnet/sdk/8.0.100-preview.6.23330.14/

Environment variables:
  DOTNET_ROOT       [/home/me/.dotnet]

This work for me. Thanks!

The latest version of C# extension seems to stop download .Net if I have one. But could you please remove the .Net install tool extension or make it optiomal? I don't see any need of this extension if I have sdk.

I'm sorry, but this pisses me off.
I have a portable environment that manually to the dotnet sdk path relatively on launch of vscode, we don't need another bloat to the csharp extension that adds no further functionality than to frustrate us devs with more annoying non-optional settings.
Everything was fine and dandy until I updated to v2, not realising it fails to even detect the sdk? And the csharp v2 just seem to misbehave and tons of strange issues. What the sh*t, man? I'll stick to v1 for now...

try all things before, but not working
Downloading the .NET Runtime.
Downloading .NET version(s) 7.0.10 ...........................................................................................................
and it will never be downloaded
dotnet --info
.NET SDK:
Version:   7.0.100
Commit:    e12b7af219
OS Name:     Mac OS X
OS Version:  13.2
OS Platform: Darwin
RID:         osx.13-arm64
Base Path:   /usr/local/share/dotnet/sdk/7.0.100/
Host:
Version:      7.0.10
Architecture: arm64
Commit:       a6dbb800a4
.NET SDKs installed:
6.0.400 [/usr/local/share/dotnet/sdk]
6.0.401 [/usr/local/share/dotnet/sdk]
6.0.402 [/usr/local/share/dotnet/sdk]
6.0.404 [/usr/local/share/dotnet/sdk]
6.0.405 [/usr/local/share/dotnet/sdk]
6.0.407 [/usr/local/share/dotnet/sdk]
7.0.100 [/usr/local/share/dotnet/sdk]
7.0.101 [/usr/local/share/dotnet/sdk]
7.0.200-preview.22628.1 [/usr/local/share/dotnet/sdk]
7.0.202 [/usr/local/share/dotnet/sdk]
7.0.400 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.5 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.9 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.15 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.3 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.6 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.8 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.9 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.13 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.15 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.1 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:

@mi1890 (and anyone else who is interested) - we recently released a prerelease version of the extension that will attempt to use the dotnet version on your path (if it matches) instead of delegating to the runtime installer.
You can get to it via the 'switch to pre-release' button here

sadly,still not working

my setting:
"dotnet.dotnetPath": "/usr/local/share/dotnet/",
"dotnetAcquisitionExtension.existingDotnetPath": [
{
"extensionId": "ms-dotnettools.csharp",
"path": "/usr/local/share/dotnet/"
},
{
"extensionId": "ms-dotnettools.csdevkit",
"path": "/usr/local/share/dotnet/"
}
]

and i have tryed this
"dotnet.dotnetPath": "/usr/local/share/dotnet/",
"dotnetAcquisitionExtension.existingDotnetPath": [
{
"extensionId": "ms-dotnettools.csharp",
"path": "/usr/local/share/dotnet/dotnet"
},
{
"extensionId": "ms-dotnettools.csdevkit",
"path": "/usr/local/share/dotnet/dotnet"
}
]
as same result

@mi1890 Do you have version 1.7.0 of the .net install tool /  runtime extension? if so, when it errors out, itd be really helpful if you could attach the log it produces and send it to us. (keep in mind any private data that may need to be removed from the log)
cc @baronfel

@mi1890 please also post the C# output window log

2023-08-16 01:31:29.265 [info] ExtensionService#_doActivateExtension ms-dotnettools.vscode-dotnet-runtime, startup: true, activationEvent: 'workspaceContains:/*.csproj', root cause: ms-dotnettools.csdevkit
2023-08-16 01:31:29.426 [info] ExtensionService#_doActivateExtension ms-dotnettools.csharp, startup: true, activationEvent: 'workspaceContains:/.csproj', root cause: ms-dotnettools.csdevkit
2023-08-16 01:31:29.426 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: ''
2023-08-16 01:31:29.427 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: ''
2023-08-16 01:31:29.557 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-08-16 01:31:29.656 [info] ExtensionService#_doActivateExtension ms-dotnettools.csdevkit, startup: true, activationEvent: 'workspaceContains:**/.csproj'
2023-08-16 01:31:29.681 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-08-16 01:31:29.766 [info] ExtensionService#_doActivateExtension visualstudiotoolsforunity.vstuc, startup: true, activationEvent: 'workspaceContains:**/Packages/manifest.json'
2023-08-16 01:31:29.771 [info] ExtensionService#_doActivateExtension ms-dotnettools.vscodeintellicode-csharp, startup: false, activationEvent: 'api', root cause: ms-dotnettools.csharp
2023-08-16 01:31:29.813 [info] Eager extensions activated
2023-08-16 01:32:30.263 [info] ExtensionService#_doActivateExtension ms-dotnettools.vscode-dotnet-runtime, startup: true, activationEvent: 'workspaceContains:/.{csproj,sln,slnf,csx,cake}', root cause: ms-dotnettools.csharp
2023-08-16 01:32:30.294 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: ''
2023-08-16 01:32:30.294 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
2023-08-16 01:32:30.355 [info] ExtensionService#_doActivateExtension ms-dotnettools.csharp, startup: true, activationEvent: 'workspaceContains:/.{csproj,sln,slnf,csx,cake}'
2023-08-16 01:32:30.573 [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
2023-08-16 01:32:30.633 [info] ExtensionService#_doActivateExtension ms-dotnettools.csdevkit, startup: true, activationEvent: 'workspaceContains:**/.csproj'
2023-08-16 01:32:30.655 [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
2023-08-16 01:32:30.676 [info] ExtensionService#_doActivateExtension visualstudiotoolsforunity.vstuc, startup: true, activationEvent: 'workspaceContains:**/Packages/manifest.json'
2023-08-16 01:32:30.680 [info] ExtensionService#_doActivateExtension ms-dotnettools.vscodeintellicode-csharp, startup: false, activationEvent: 'api', root cause: ms-dotnettools.csharp
only these logs are related

dotnet runtime log:
Downloading the .NET Runtime.
Downloading .NET version(s) 7.0.10 ...................
c# log:
Dotnet path: /usr/local/share/dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
Starting server at /Users/zebra/.vscode/extensions/ms-dotnettools.csharp-2.0.366-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.LanguageServer.dll
dbug: LanguageServerWorkspaceFactory[0]
[Info  - 01:32:32] [Program]Language server initialized
[LanguageServerHost][05:32:32.872][Start]initialize
[LanguageServerHost][05:32:32.873][Start]Initialize
[LanguageServerHost][05:32:32.933][End]Initialize
[LanguageServerHost][05:32:32.950][End]initialize
[LanguageServerHost][05:32:32.960][Start]initialized
[LanguageServerHost][05:32:33.012][End]initialized
[LanguageServerHost][05:32:33.024][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost][05:32:39.515][Start]workspace/didChangeConfiguration
[LanguageServerHost][05:32:39.517][End]workspace/didChangeConfiguration
c# devkit log:
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Starting Spawn .NET server...
c# lsp trace log:
Extension vscode.bat does not contribute csharpExtensionLoadPaths
Extension vscode.clojure does not contribute csharpExtensionLoadPaths
Extension vscode.coffeescript does not contribute csharpExtensionLoadPaths
Extension vscode.configuration-editing does not contribute csharpExtensionLoadPaths
Extension vscode.cpp does not contribute csharpExtensionLoadPaths
Extension vscode.csharp does not contribute csharpExtensionLoadPaths
Extension vscode.css does not contribute csharpExtensionLoadPaths
Extension vscode.css-language-features does not contribute csharpExtensionLoadPaths
Extension vscode.dart does not contribute csharpExtensionLoadPaths
Extension vscode.debug-auto-launch does not contribute csharpExtensionLoadPaths
Extension vscode.debug-server-ready does not contribute csharpExtensionLoadPaths
Extension vscode.diff does not contribute csharpExtensionLoadPaths
Extension vscode.docker does not contribute csharpExtensionLoadPaths
Extension vscode.emmet does not contribute csharpExtensionLoadPaths
Extension vscode.extension-editing does not contribute csharpExtensionLoadPaths
Extension vscode.fsharp does not contribute csharpExtensionLoadPaths
Extension vscode.git does not contribute csharpExtensionLoadPaths
Extension vscode.git-base does not contribute csharpExtensionLoadPaths
Extension vscode.github does not contribute csharpExtensionLoadPaths
Extension vscode.github-authentication does not contribute csharpExtensionLoadPaths
Extension vscode.go does not contribute csharpExtensionLoadPaths
Extension vscode.groovy does not contribute csharpExtensionLoadPaths
Extension vscode.grunt does not contribute csharpExtensionLoadPaths
Extension vscode.gulp does not contribute csharpExtensionLoadPaths
Extension vscode.handlebars does not contribute csharpExtensionLoadPaths
Extension vscode.hlsl does not contribute csharpExtensionLoadPaths
Extension vscode.html does not contribute csharpExtensionLoadPaths
Extension vscode.html-language-features does not contribute csharpExtensionLoadPaths
Extension vscode.ini does not contribute csharpExtensionLoadPaths
Extension vscode.ipynb does not contribute csharpExtensionLoadPaths
Extension vscode.jake does not contribute csharpExtensionLoadPaths
Extension vscode.java does not contribute csharpExtensionLoadPaths
Extension vscode.javascript does not contribute csharpExtensionLoadPaths
Extension vscode.json does not contribute csharpExtensionLoadPaths
Extension vscode.json-language-features does not contribute csharpExtensionLoadPaths
Extension vscode.julia does not contribute csharpExtensionLoadPaths
Extension vscode.latex does not contribute csharpExtensionLoadPaths
Extension vscode.less does not contribute csharpExtensionLoadPaths
Extension vscode.log does not contribute csharpExtensionLoadPaths
Extension vscode.lua does not contribute csharpExtensionLoadPaths
Extension vscode.make does not contribute csharpExtensionLoadPaths
Extension vscode.markdown does not contribute csharpExtensionLoadPaths
Extension vscode.markdown-language-features does not contribute csharpExtensionLoadPaths
Extension vscode.markdown-math does not contribute csharpExtensionLoadPaths
Extension vscode.media-preview does not contribute csharpExtensionLoadPaths
Extension vscode.merge-conflict does not contribute csharpExtensionLoadPaths
Extension vscode.microsoft-authentication does not contribute csharpExtensionLoadPaths
Extension ms-vscode.js-debug does not contribute csharpExtensionLoadPaths
Extension ms-vscode.js-debug-companion does not contribute csharpExtensionLoadPaths
Extension ms-vscode.vscode-js-profile-table does not contribute csharpExtensionLoadPaths
Extension vscode.builtin-notebook-renderers does not contribute csharpExtensionLoadPaths
Extension vscode.npm does not contribute csharpExtensionLoadPaths
Extension vscode.objective-c does not contribute csharpExtensionLoadPaths
Extension vscode.perl does not contribute csharpExtensionLoadPaths
Extension vscode.php does not contribute csharpExtensionLoadPaths
Extension vscode.php-language-features does not contribute csharpExtensionLoadPaths
Extension vscode.powershell does not contribute csharpExtensionLoadPaths
Extension vscode.pug does not contribute csharpExtensionLoadPaths
Extension vscode.python does not contribute csharpExtensionLoadPaths
Extension vscode.r does not contribute csharpExtensionLoadPaths
Extension vscode.razor does not contribute csharpExtensionLoadPaths
Extension vscode.references-view does not contribute csharpExtensionLoadPaths
Extension vscode.restructuredtext does not contribute csharpExtensionLoadPaths
Extension vscode.ruby does not contribute csharpExtensionLoadPaths
Extension vscode.rust does not contribute csharpExtensionLoadPaths
Extension vscode.scss does not contribute csharpExtensionLoadPaths
Extension vscode.search-result does not contribute csharpExtensionLoadPaths
Extension vscode.shaderlab does not contribute csharpExtensionLoadPaths
Extension vscode.shellscript does not contribute csharpExtensionLoadPaths
Extension vscode.simple-browser does not contribute csharpExtensionLoadPaths
Extension vscode.sql does not contribute csharpExtensionLoadPaths
Extension vscode.swift does not contribute csharpExtensionLoadPaths
Extension vscode.theme-abyss does not contribute csharpExtensionLoadPaths
Extension vscode.theme-defaults does not contribute csharpExtensionLoadPaths
Extension vscode.theme-kimbie-dark does not contribute csharpExtensionLoadPaths
Extension vscode.theme-monokai does not contribute csharpExtensionLoadPaths
Extension vscode.theme-monokai-dimmed does not contribute csharpExtensionLoadPaths
Extension vscode.theme-quietlight does not contribute csharpExtensionLoadPaths
Extension vscode.theme-red does not contribute csharpExtensionLoadPaths
Extension vscode.vscode-theme-seti does not contribute csharpExtensionLoadPaths
Extension vscode.theme-solarized-dark does not contribute csharpExtensionLoadPaths
Extension vscode.theme-solarized-light does not contribute csharpExtensionLoadPaths
Extension vscode.theme-tomorrow-night-blue does not contribute csharpExtensionLoadPaths
Extension vscode.typescript does not contribute csharpExtensionLoadPaths
Extension vscode.typescript-language-features does not contribute csharpExtensionLoadPaths
Extension vscode.vb does not contribute csharpExtensionLoadPaths
Extension vscode.xml does not contribute csharpExtensionLoadPaths
Extension vscode.yaml does not contribute csharpExtensionLoadPaths
Extension Anjali.clipboard-history does not contribute csharpExtensionLoadPaths
Extension azemoh.one-monokai does not contribute csharpExtensionLoadPaths
Extension christian-kohler.path-intellisense does not contribute csharpExtensionLoadPaths
Extension Dart-Code.dart-code does not contribute csharpExtensionLoadPaths
Extension Dart-Code.flutter does not contribute csharpExtensionLoadPaths
Extension eamodio.gitlens does not contribute csharpExtensionLoadPaths
Extension ecmel.vscode-html-css does not contribute csharpExtensionLoadPaths
Extension GitHub.codespaces does not contribute csharpExtensionLoadPaths
Extension GitHub.copilot does not contribute csharpExtensionLoadPaths
Extension GitHub.copilot-chat does not contribute csharpExtensionLoadPaths
Extension GrapeCity.gc-excelviewer does not contribute csharpExtensionLoadPaths
Extension janisdd.vscode-edit-csv does not contribute csharpExtensionLoadPaths
Extension k--kato.docomment does not contribute csharpExtensionLoadPaths
Extension kisstkondoros.vscode-gutter-preview does not contribute csharpExtensionLoadPaths
Extension marcelovelasquez.flutter-tree does not contribute csharpExtensionLoadPaths
Extension MS-CEINTL.vscode-language-pack-zh-hans does not contribute csharpExtensionLoadPaths
Extension ms-dotnettools.csdevkit does not contribute csharpExtensionLoadPaths
Extension ms-dotnettools.csharp does not contribute csharpExtensionLoadPaths
Extension ms-dotnettools.vscode-dotnet-runtime does not contribute csharpExtensionLoadPaths
Extension ms-dotnettools.vscodeintellicode-csharp does not contribute csharpExtensionLoadPaths
Extension ms-vscode-remote.remote-ssh does not contribute csharpExtensionLoadPaths
Extension ms-vscode-remote.remote-ssh-edit does not contribute csharpExtensionLoadPaths
Extension ms-vscode-remote.remote-wsl does not contribute csharpExtensionLoadPaths
Extension ms-vscode.cmake-tools does not contribute csharpExtensionLoadPaths
Extension ms-vscode.cpptools does not contribute csharpExtensionLoadPaths
Extension ms-vscode.cpptools-extension-pack does not contribute csharpExtensionLoadPaths
Extension ms-vscode.hexeditor does not contribute csharpExtensionLoadPaths
Extension ms-vscode.powershell does not contribute csharpExtensionLoadPaths
Extension ms-vscode.remote-explorer does not contribute csharpExtensionLoadPaths
Extension msjsdiag.vscode-react-native does not contribute csharpExtensionLoadPaths
Extension naumovs.color-highlight does not contribute csharpExtensionLoadPaths
Extension peterj.proto does not contribute csharpExtensionLoadPaths
Extension PKief.material-icon-theme does not contribute csharpExtensionLoadPaths
Extension redhat.vscode-yaml does not contribute csharpExtensionLoadPaths
Extension ritwickdey.LiveServer does not contribute csharpExtensionLoadPaths
Extension slevesque.shader does not contribute csharpExtensionLoadPaths
Extension tomoki1207.pdf does not contribute csharpExtensionLoadPaths
Extension twxs.cmake does not contribute csharpExtensionLoadPaths
Extension VisualStudioExptTeam.intellicode-api-usage-examples does not contribute csharpExtensionLoadPaths
Extension VisualStudioExptTeam.vscodeintellicode does not contribute csharpExtensionLoadPaths
Extension visualstudiotoolsforunity.vstuc does not contribute csharpExtensionLoadPaths
Extension vscode-icons-team.vscode-icons does not contribute csharpExtensionLoadPaths
Extension yzhang.markdown-all-in-one does not contribute csharpExtensionLoadPaths
Extension zxh404.vscode-proto3 does not contribute csharpExtensionLoadPaths
[Trace - 01:32:32] Sending notification 'initialized'.
Params: {}
[Trace - 01:32:32] Sending request 'workspace/diagnostic - (1)'.
Params: {
"previousResultIds": [],
"partialResultToken": "0e07535b-5a63-405b-ae26-e9954b88bb25"
}
[Trace - 01:32:32] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost][05:32:32.950][End]initialize"
}
[Trace - 01:32:32] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost][05:32:32.960][Start]initialized"
}
[Trace - 01:32:32] Received request 'client/registerCapability - (2)'.
Params: {
"registrations": [
{
"id": "ede3c76c-48f2-4ccd-afd8-13b59e0ce4fb",
"method": "workspace/didChangeConfiguration"
}
]
}
[Trace - 01:32:32] Sending response 'client/registerCapability - (2)'. Processing request took 0ms
No result returned.
[Trace - 01:32:32] Received request 'workspace/configuration - (3)'.
Params: {
"items": [
{
"section": "csharp|symbol_search.dotnet_search_reference_assemblies"
},
{
"section": "visual_basic|symbol_search.dotnet_search_reference_assemblies"
},
{
"section": "csharp|implement_type.dotnet_insertion_behavior"
},
{
"section": "visual_basic|implement_type.dotnet_insertion_behavior"
},
{
"section": "csharp|implement_type.dotnet_property_generation_behavior"
},
{
"section": "visual_basic|implement_type.dotnet_property_generation_behavior"
},
{
"section": "csharp|completion.dotnet_show_name_completion_suggestions"
},
{
"section": "visual_basic|completion.dotnet_show_name_completion_suggestions"
},
{
"section": "csharp|completion.dotnet_provide_regex_completions"
},
{
"section": "visual_basic|completion.dotnet_provide_regex_completions"
},
{
"section": "csharp|completion.dotnet_show_completion_items_from_unimported_namespaces"
},
{
"section": "visual_basic|completion.dotnet_show_completion_items_from_unimported_namespaces"
},
{
"section": "csharp|quick_info.dotnet_show_remarks_in_quick_info"
},
{
"section": "visual_basic|quick_info.dotnet_show_remarks_in_quick_info"
},
{
"section": "navigation.dotnet_navigate_to_decompiled_sources"
},
{
"section": "csharp|highlighting.dotnet_highlight_related_json_components"
},
{
"section": "visual_basic|highlighting.dotnet_highlight_related_json_components"
},
{
"section": "csharp|highlighting.dotnet_highlight_related_regex_components"
},
{
"section": "visual_basic|highlighting.dotnet_highlight_related_regex_components"
},
{
"section": "csharp|inlay_hints.dotnet_enable_inlay_hints_for_parameters"
},
{
"section": "visual_basic|inlay_hints.dotnet_enable_inlay_hints_for_parameters"
},
{
"section": "csharp|inlay_hints.dotnet_enable_inlay_hints_for_literal_parameters"
},
{
"section": "visual_basic|inlay_hints.dotnet_enable_inlay_hints_for_literal_parameters"
},
{
"section": "csharp|inlay_hints.dotnet_enable_inlay_hints_for_indexer_parameters"
},
{
"section": "visual_basic|inlay_hints.dotnet_enable_inlay_hints_for_indexer_parameters"
},
{
"section": "csharp|inlay_hints.dotnet_enable_inlay_hints_for_object_creation_parameters"
},
{
"section": "visual_basic|inlay_hints.dotnet_enable_inlay_hints_for_object_creation_parameters"
},
{
"section": "csharp|inlay_hints.dotnet_enable_inlay_hints_for_other_parameters"
},
{
"section": "visual_basic|inlay_hints.dotnet_enable_inlay_hints_for_other_parameters"
},
{
"section": "csharp|inlay_hints.dotnet_suppress_inlay_hints_for_parameters_that_differ_only_by_suffix"
},
{
"section": "visual_basic|inlay_hints.dotnet_suppress_inlay_hints_for_parameters_that_differ_only_by_suffix"
},
{
"section": "csharp|inlay_hints.dotnet_suppress_inlay_hints_for_parameters_that_match_method_intent"
},
{
"section": "visual_basic|inlay_hints.dotnet_suppress_inlay_hints_for_parameters_that_match_method_intent"
},
{
"section": "csharp|inlay_hints.dotnet_suppress_inlay_hints_for_parameters_that_match_argument_name"
},
{
"section": "visual_basic|inlay_hints.dotnet_suppress_inlay_hints_for_parameters_that_match_argument_name"
},
{
"section": "csharp|inlay_hints.csharp_enable_inlay_hints_for_types"
},
{
"section": "visual_basic|inlay_hints.csharp_enable_inlay_hints_for_types"
},
{
"section": "csharp|inlay_hints.csharp_enable_inlay_hints_for_implicit_variable_types"
},
{
"section": "visual_basic|inlay_hints.csharp_enable_inlay_hints_for_implicit_variable_types"
},
{
"section": "csharp|inlay_hints.csharp_enable_inlay_hints_for_lambda_parameter_types"
},
{
"section": "visual_basic|inlay_hints.csharp_enable_inlay_hints_for_lambda_parameter_types"
},
{
"section": "csharp|inlay_hints.csharp_enable_inlay_hints_for_implicit_object_creation"
},
{
"section": "visual_basic|inlay_hints.csharp_enable_inlay_hints_for_implicit_object_creation"
},
{
"section": "csharp|code_style.formatting.indentation_and_spacing.tab_width"
},
{
"section": "visual_basic|code_style.formatting.indentation_and_spacing.tab_width"
},
{
"section": "csharp|code_style.formatting.indentation_and_spacing.indent_size"
},
{
"section": "visual_basic|code_style.formatting.indentation_and_spacing.indent_size"
},
{
"section": "csharp|code_style.formatting.indentation_and_spacing.indent_style"
},
{
"section": "visual_basic|code_style.formatting.indentation_and_spacing.indent_style"
},
{
"section": "csharp|code_style.formatting.new_line.end_of_line"
},
{
"section": "visual_basic|code_style.formatting.new_line.end_of_line"
},
{
"section": "code_style.formatting.new_line.insert_final_newline"
},
{
"section": "csharp|background_analysis.dotnet_analyzer_diagnostics_scope"
},
{
"section": "visual_basic|background_analysis.dotnet_analyzer_diagnostics_scope"
},
{
"section": "csharp|background_analysis.dotnet_compiler_diagnostics_scope"
},
{
"section": "visual_basic|background_analysis.dotnet_compiler_diagnostics_scope"
},
{
"section": "csharp|code_lens.dotnet_enable_references_code_lens"
},
{
"section": "visual_basic|code_lens.dotnet_enable_references_code_lens"
},
{
"section": "csharp|code_lens.dotnet_enable_tests_code_lens"
},
{
"section": "visual_basic|code_lens.dotnet_enable_tests_code_lens"
}
]
}
[Trace - 01:32:32] Sending response 'workspace/configuration - (3)'. Processing request took 2ms
Result: [
true,
null,
"withOtherMembersOfTheSameKind",
null,
"preferThrowingProperties",
null,
"true",
null,
"true",
null,
true,
null,
"true",
null,
"true",
"true",
null,
"true",
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
false,
null,
4,
null,
4,
null,
"space",
null,
"auto",
null,
false,
"openFiles",
null,
"openFiles",
null,
true,
null,
true,
null
]
[Trace - 01:32:33] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost][05:32:33.012][End]initialized"
}
[Trace - 01:32:33] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost][05:32:33.024][Start]workspace/diagnostic"
}
[Trace - 01:32:33] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics"
}
[Trace - 01:32:33] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost]previousResults.Length=0"
}
[Trace - 01:32:33] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[LanguageServerHost]Processing 0 documents"
}

it's so strange.....
i set
"dotnetAcquisitionExtension.installTimeoutValue": 60000,
and after a very long time .....almost one hour .....
it's downloaded finished.
and now i can use vscdoe to write c#  on mac again .....
but i still want to know why custom dotnet path is not working ....

Thanks for the logs - they're helpful.   So it looks like the C# extension is actually successfully using the dotnet.dotnetPath that you specified in the settings instead of using the .net runtime extension, but the C# devkit extension is still triggering the runtime download.  C# devkit does not yet support loading dotnet from the path, but it is planned for an upcoming release.
I'm not sure why though the dotnetAcquisitionExtension.existingDotnetPath is not working for devkit - I'll leave that to @nagilson to take a look.

thanks for your reply
i'm glad that my log is helpful
and for  the guys who cannot donwload  success,
you can set "dotnetAcquisitionExtension.installTimeoutValue": 60000,
set a long timeout value will be helpful sometimes

Why not remove auto download feature and use the installed one? Maybe keep the install tool extension as a stand alone optional one for users who want auto download feature.

Workaround described above doesn't work
C# Output still shows:
Failed to find dotnet info from path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime
Found dotnet version 7.0.10. Minimum required version is 7.0.100.
Dotnet path: /home/vscode/.dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
[Info  - 10:44:34 AM] [Program]Language server initialized

but .NET Runtime is using correct version of dotnet
Downloading the .NET Runtime.
Using configured .NET path: /home/vscode/.dotnet/dotnet

.NET SDK:
 Version:   7.0.400
 Commit:    73bf45718d

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  22.04
 OS Platform: Linux
 RID:         ubuntu.22.04-x64
 Base Path:   /home/vscode/.dotnet/sdk/7.0.400/

Host:
  Version:      7.0.10
  Architecture: x64
  Commit:       a6dbb800a4

.NET SDKs installed:
  7.0.400 [/home/vscode/.dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.10 [/home/vscode/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.10 [/home/vscode/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/home/vscode/.dotnet]

global.json file:
  Not found

I'm sorry, but this pisses me off.  I have a portable environment that manually to the dotnet sdk path relatively on launch of vscode, we don't need another bloat to the csharp extension that adds no further functionality than to frustrate us devs with more annoying non-optional settings. Everything was fine and dandy until I updated to v2, not realising it fails to even detect the sdk? And the csharp v2 just seem to misbehave and tons of strange issues. What the sh*t, man? I'll stick to v1 for now...

"hot garbage" -- I am not sure I could have said it better myself. These extension has always been utter trash and I don't see any evidence it is getting better or more simple to use. Everytime I get an SDK update I go through settings hell trying to point at the right sdk, blow away artifacts, restart vscode, restart my machine, etc, etc. I am at a point now where I am going to remove all extensions, blow away my source, and start as fresh as possible. This should not explode every time there is a minor change.

Workaround described above doesn't work
C# Output still shows:
Failed to find dotnet info from path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime
Found dotnet version 7.0.10. Minimum required version is 7.0.100.
Dotnet path: /home/vscode/.dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
[Info  - 10:44:34 AM] [Program]Language server initialized

but .NET Runtime is using correct version of dotnet
Downloading the .NET Runtime.
Using configured .NET path: /home/vscode/.dotnet/dotnet

.NET SDK:
 Version:   7.0.400
 Commit:    73bf45718d

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  22.04
 OS Platform: Linux
 RID:         ubuntu.22.04-x64
 Base Path:   /home/vscode/.dotnet/sdk/7.0.400/

Host:
  Version:      7.0.10
  Architecture: x64
  Commit:       a6dbb800a4

.NET SDKs installed:
  7.0.400 [/home/vscode/.dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.10 [/home/vscode/.dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.10 [/home/vscode/.dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/home/vscode/.dotnet]

global.json file:
  Not found

The workaround also does not work for me. I have two sdks installed with the below dotnet --info. When I load vscode I see the following and I lose code complete, navigation, etc. All the things that make the language server valuable. I have tried removing all extensions, dotnet clean/build multiple times. Not real sure how to proceed but very frustrated because it appears an extension update on 8/17 broke my ability to be productive, now I am trying to debug a tool that should just work. :P. Any ideas appreciated.
Dotnet path: /usr/local/share/dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
[Info  - 8:36:59 AM] [Program]Language server initialized

otnet --info
.NET SDK:
 Version:   7.0.400
 Commit:    73bf45718d

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  13.4
 OS Platform: Darwin
 RID:         osx.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/7.0.400/

Host:
  Version:      7.0.10
  Architecture: x64
  Commit:       a6dbb800a4

.NET SDKs installed:
  6.0.413 [/usr/local/share/dotnet/sdk]
  7.0.400 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/usr/local/share/dotnet]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

I think perhaps the SDK version and the Runtime versions are getting conflated... In my logs I have the following...
Failed to find dotnet info from path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime
Found dotnet version 7.0.10. Minimum required version is 7.0.100.

Thanks - this is https://github.com/dotnet/vscode-csharp/issues/6167 and should be fixed in the next version we release.

The workaround also does not work for me. I am on an 2019 Intel Macbook Pro. I have two sdks installed with the below dotnet --info. When I load vscode I see the following and I lose code complete, navigation, etc. All the things that make the language server valuable. I have tried removing all extensions, dotnet clean/build multiple times. Not real sure how to proceed but very frustrated because it appears an extension update on 8/17 broke my ability to be productive, now I am trying to debug a tool that should just work. :P. Any ideas appreciated.
Dotnet path: /usr/local/share/dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
[Info  - 8:36:59 AM] [Program]Language server initialized

otnet --info
.NET SDK:
 Version:   7.0.400
 Commit:    73bf45718d

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  13.4
 OS Platform: Darwin
 RID:         osx.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/7.0.400/

Host:
  Version:      7.0.10
  Architecture: x64
  Commit:       a6dbb800a4

.NET SDKs installed:
  6.0.413 [/usr/local/share/dotnet/sdk]
  7.0.400 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.21 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.10 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/usr/local/share/dotnet]

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

@coreyperkins
This line in the logs you sent:

Dotnet path: /usr/local/share/dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...

shows the server successfully finding a valid dotnet and starting - so we likely have a different problem here.  Would you be able to file a new issue

with some additional information?  Particularly:

Set dotnet.server.trace to Trace and reload the window
Run the repro
Make sure the project shows up in the solution explorer pane (it looks like you're using devkit)
Include (or email to me, linked in my github profile) the entire extensions logs folder (found by

Particularly looking for the C# logs, Projects log, etc. because based on your symptoms it sounds like there was an issue loading the project.

For those who are developing Unity games, you need to add local path to all Unity related extensions. For me they are :
"dotnetAcquisitionExtension.existingDotnetPath": [
        {
            "extensionId": "ms-dotnettools.csharp",
            "path": "/usr/local/share/dotnet/dotnet"
        },
        {
            "extensionId": "ms-dotnettools.csdevkit",
            "path": "/usr/local/share/dotnet/dotnet"
        },
        {
            "extensionId": "visualstudiotoolsforunity.vstuc",
            "path": "/usr/local/share/dotnet/dotnet"
        }

    ]

then restart vscode

I finally solved the downloding dotnet problem by this:
the .net install tool as it's name. it is install .net sdk whenever who depends on it need. when you have an exist .net sdk, the tool detail has already tell us the setting json:
"dotnetAcquisitionExtension.existingDotnetPath": [
        {
            "extensionId": "ms-dotnettools.csharp",
            "path": "/usr/local/share/dotnet/dotnet"
        },
        {
            "extensionId": "ms-dotnettools.csdevkit",
            "path": "/usr/local/share/dotnet/dotnet"
        },
        {
            "extensionId": "visualstudiotoolsforunity.vstuc",
            "path": "/usr/local/share/dotnet/dotnet"
        }
    ]

the three extensionId represent three extensions in vscode who depends on the .net install tool, the path is your .net sdk excutable file location, you can use whereisfind it.

for those who have no need for .NET Runtime?
I just want to explore source code of some projects, but every time I open the workspace it tries to download .NET Runtime......

Same problem here, I am having problem acquiring the .net version 7.0.9 in a proxied environment in a client, as I can not do anything besides opening a ticket to solve the proxy issue, I was trying to disable the Downloading of this new .Net Runtime version and use one of the versions I already have.同样的问题，我在客户端的代理环境中获取 .net 版本 7.0.9 时遇到问题，因为除了开票解决代理问题之外我无能为力，我试图禁用此新版本的下载.Net 运行时版本并使用我已有的版本之一。
But, setting the version using the latest one I have 7.0.306 with the recommended settings make the extensions being disabled or stuck:但是，使用我拥有的最新版本 7.0.306 和推荐设置来设置版本会使扩展被禁用或卡住：
when I set in my settings.json:当我设置 settings.json 时：
"dotnetAcquisitionExtension.existingDotnetPath": [
  {
    "extensionId": "ms-dotnettools.csharp",
    "path": "/home/user/.dotnet/dotnet"
  }
]

I receive the following output from the .Net Runtime:我从 .Net 运行时收到以下输出：
Downloading the .Net Runtime.
Using configured .Net path: /home/user/.dotnet/dotnet

And nothing happens, the extension stop to works.什么也没有发生，扩展停止工作。

My mistake was exactly the same as yours, until the usr/local/bin/dotnet was removed and the unity extension worked fine. (This is a shortcut that is no longer valid)

Closing - we've made a number of improvements to both the dotnet resolution and runtime download of dotnet since this was filed. If you're still having issues on the latest version of the extension, please file a new issue (with C# logs and general reproduction steps).

I finally solved the downloading dotnet problem by this: the .net install tool as it's name. it is install .net sdk whenever who depends on it need. when you have an exist .net sdk and you want use it, the tool detail has already tell us the setting json:
"dotnetAcquisitionExtension.existingDotnetPath": [
        {
            "extensionId": "ms-dotnettools.csharp",
            "path": "/usr/local/share/dotnet/dotnet"
        },
        {
            "extensionId": "ms-dotnettools.csdevkit",
            "path": "/usr/local/share/dotnet/dotnet"
        },
        {
            "extensionId": "visualstudiotoolsforunity.vstuc",
            "path": "/usr/local/share/dotnet/dotnet"
        }
    ]

the three extensionId represent three extensions in vscode who depends on the .net install tool, the path is your .net sdk excutable file location, you can use whereisfind it. if you have set it and the problem still be there, please check there must be other extensions depends on the .net install tool, and you have to add it's setting in the array.

Thank you dude. this is correct answer .


ocamlPackages.gg: 0.9.1 → 1.0.0

Motivation for this change
Improvements & future compatibility: https://github.com/dbuenzli/gg/blob/v1.0.0/CHANGES.md#v100-2022-02-15-la-forclaz-vs
cc maintainer @jirkamarsik
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build flitter


Remove additional build on travis.yml

During the CI danger swift is already builded for test by swift test and builded again (for release) from make install, then i think we can save some time by avoid building it again with swift build

Yep, merge on green

Looks like is taking one min less (total, not per build) 👍


Add test cases for Trade

Test cases were added to PCyl-CLI.
Currently, all Trade testing for PCyl-Web is being done interactively, most by following the PCyl-CLI test cases.  Thus, there is nothing to check in under this issue and branch.


GPU memory needed

Hello,
I'm wondering how much GPU memory is needed? I'm using an RTX2080Ti with 11Gb memory but keep getting CUDA out of memory error even if I add "-R 100" flag(for DTU experiments).
Many thanks.

Hello @HexagonPrime, I have the exact same configuration as yours. I decreased the batch size and it is now training in the DTU dataset

Many thanks for the reply. Did you change any other configuration upon the defaults? And I'm wondering what CUDA&pytorch version are you using?

I did not change any other setting and I am using pytorch 1.7.1 and CUDA 9.2.

For the training: It worked like a charm when I changed -V to 2.


[Bug]: Update to 379 broke installation

Error Message and Logs
Hey I just pressed the Upgrade button from the UI and this left me in a state where I am not quite sure on how to best recover from it.
Apparently there's been some kind of database migration issue, as coolifies docker compose logs show the following exception when starting the setup:
coolify           |
coolify           | [x]: Running in self-hosted mode.
coolify           |   Database\Seeders\OauthSettingSeeder ................................ RUNNING
coolify           |
coolify           | In Connection.php line 820:
coolify           |
coolify           |   SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates u
coolify           |   nique constraint "oauth_settings_provider_unique"
coolify           |   DETAIL:  Key (provider)=(azure) already exists. (Connection: pgsql, SQL: in
coolify           |   sert into "oauth_settings" ("id", "provider", "updated_at", "created_at") v
coolify           |   alues (0, azure, 2024-12-13 12:29:33, 2024-12-13 12:29:33) returning "id")
coolify           |
coolify           |
coolify           | In Connection.php line 412:
coolify           |
coolify           |   SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates u
coolify           |   nique constraint "oauth_settings_provider_unique"
coolify           |   DETAIL:  Key (provider)=(azure) already exists.
coolify           |
coolify           |
coolify           | s6-rc: warning: unable to start service init-seeder: command exited 1
coolify           | /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
coolify           | prog: fatal: stopping the container.
coolify           | [13-Dec-2024 12:29:35] NOTICE: Terminating ...
coolify           | [13-Dec-2024 12:29:35] NOTICE: exiting, bye-bye!

Steps to Reproduce

Upgarde coolify from the ui -> received bad gateway
Tried to manually run upgrade.sh (which previously worked on such occasions)
Checked the docker compose logs

Example Repository URL
No response
Coolify Version
v4.0.0-beta.379
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
No response
Additional Information
No response

Alright I ran the manual upgrade step from the docs twice:
https://coolify.io/docs/upgrade
Now it seems to be back live again.

I got the same problem after trying to downgrade to 376.

I think I found the issue. I will fix it in the next version.

I think I found the issue. I will fix it in the next version.

Thanks a lot for your work!


Not able to build 8u25 on Ubuntu 14.04

My build command:
XUSE_NEW_BUILD_SYSTEM=true XBUILD=true XUSE_TAG=jdk8-b25 XUSE_JFX_TAG=8u25-b18 XGRADLE=~/gradle-2.2.1/bin/gradle ./obuildfactory/openjdk8-javafx/linux/standalone-job.sh

The end of the build output:
Calculated MILESTONE=jdk8-b25, BUILD_NUMBER=b25
### using new build system ###
bash: /home/ubuntu/openjdkathome/sources/openjdk8-javafx/common/autoconf/configure: No such file or directory
make: *** No rule to make target `images'.  Stop.
can't find java into JDK /home/ubuntu/openjdkathome/sources/openjdk8-javafx/build/linux-x86_64-normal-server-release/images/j2sdk-image, build failed

8u25 doesn't build - there is a problem with the build, not obuildfactory. Build with 8u40 instead.

Here are some commands that i use to build openjdk and openjfx with my slightly modified version of obuildfactory.
export OBF_JAVA7_HOME=/home/ubuntu/jdk1.8/
export JAVA_HOME=/home/ubuntu/jdk1.8/
export PATH=$JAVA_HOME/bin:$PATH
cd ~/openjdkathome
XUSE_FPM=true XPACKAGE=true XCLEAN=true XUSE_NEW_BUILD_SYSTEM=true XBUILD=true XUSE_TAG=jdk8u40-b22 XUSE_JFX_TAG=8u40-b22 XGRADLE=/home/ubuntu/repo/gradle-1.8/bin/gradle ./obuildfactory/openjdk8-javafx/linux/standalone-job.sh > build.log
:smile:

Hi, all.
The package are built when it finish, but I see some errors:

FAILURE: Build failed with an exception.

Where:
Build file '/home/eugenio/openjdkathome/sources/openjdk8-javafx-openjfx/build.gradle' line: 2344

What went wrong:
Execution failed for task ':media:buildAVPlugin'.

Process 'command 'make'' finished with non-zero exit value 2

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 23.573 secs
cp: cannot stat 'build/sdk/bin/': No such file or directory
cp: cannot stat 'build/sdk/lib/': No such file or directory
cp: cannot stat 'build/sdk/man/': No such file or directory
cp: cannot stat 'build/sdk/rt/': No such file or directory
cp: cannot stat 'build/sdk/rt/*': No such file or directory
~/openjdkathome/sources/openjdk8-javafx/build/linux-x86_64-normal-server-release/images ~/openjdkathome
produced tarball files under /home/eugenio/openjdkathome/OBF_DROP_DIR/openjdk8
-rw-r--r-- 1 eugenio eugenio 211944403 Jul 17 10:48 /home/eugenio/openjdkathome/OBF_DROP_DIR/openjdk8/j2sdk-image-x86_64-b22-20150717.tar.bz2
-rw-r--r-- 1 eugenio eugenio 176329562 Jul 17 10:49 /home/eugenio/openjdkathome/OBF_DROP_DIR/openjdk8/j2re-image-x86_64-b22-20150717.tar.bz2
~/openjdkathome

But finally those packages are built, how can I fix that error?,
thank you.

@iZeus83  Hi, that is a bug when building javafx with media flag try to sit it false (or build FX 8u40 or later) in build file. About other error that i think is related to Android Sdk location. Please set the variables manually in build files/scripts. That may solve these problem

Hi deepsidhu,
Can you tell me, where is these scripts files?.  Maybe is inside on: ~/openjdkathome/sources/openjdk8  ?

@iZeus83 Hey sorry for my last quick reply.
Edit gradle.properties under ~openjdkathome/sources/openjdk8-javafx-openjfx
COMPILE_WEBKIT = true
COMPILE_MEDIA = true
change
COMPILE_MEDIA = false
if you want to build builds earlier than 8u45, bcz this bug got fixed in 8u40/45. This bug is related to version of media libraries on Linux (if you are building on Linux).
The second error is bcz your FX build was not completed, not android sdk related.

Hi,
I get this error again.
I change this setting (COMPILE_MEDIA = false) as you commented before and then when I build the process again then this file changes to original state and you can't make any changes to this file.
So there's another file that is interfering with this?.

Here is my gradle.properties file

Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.  Oracle designates this
particular file as subject to the "Classpath" exception as provided
by Oracle in the LICENSE file that accompanied this code.

This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

#####################################################################################

This properties file allows for a developer to override various properties used
when building JavaFX. Any settings you configure in the gradle.properties file
will have precedence over any values specified in the build script itself.

#####################################################################################
By default, the build will 'fail fast' if the version of gradle is incompatible.
Set this flag to false to have it print a warning and try to build anyway.
GRADLE_VERSION_CHECK = false
These properties give developers the chance to skip building WebKit and/or
GStreamer. WebKit takes a fair amount of time to build (more than 50% of the
overall full build time is taken by WebKit), so allowing a developer to
selectively enable building of WebKit is important. To build WebKit or
GStreamer, uncomment the appropriate lines below.
COMPILE_WEBKIT = true
COMPILE_MEDIA = true
#To disable building support for JRockit Flight Recorder, uncomment the line below
#COMPILE_JFR = false
The building of JavaDoc takes time. By default we disable the building of JavaDoc
so as to speed up the time in incremental builds. Uncomment this flag in order to
build all the JavaDoc
BUILD_JAVADOC = true
The building of the javafx-src bundle takes time. By default we disable the
building of javafx-src so as to speed up the time in incremental builds.
Uncomment this flag in order to build javafx-src.zip
BUILD_SRC_ZIP = true
Specifies whether to do a full test run or a "smoke test" run. By default we
do a smoke test run which excludes all tests that show a window or play media.
Certain long running tests might also be excluded when this is not set.
FULL_TEST = true
Specifies whether to enable robot-based visual tests when running a full test.
This flag is ignored if FULL_TEST is false.
USE_ROBOT = true
Specifies whether to run system tests that depend on AWT.
This flag is ignored if FULL_TEST is false.
#AWT_TEST = false
Specifies whether or not the results of the packager tests should be
retained.  If not they will be automatically deleted.
#RETAIN_PACKAGER_TESTS = false
Specify the COMPILE_TARGETS when performing cross compiles. A Cross-Compile is
when you build for a platform other than the one you are building on. For example,
to build for Apple iOS, you would specify ios as one of the COMPILE_TARGETS.
The case is not significant. Valid cross build targets for each OS include:

OS             Target
------------------------------
Mac             mac
Mac             ios
Mac             swt
Mac             android
Linux           linux
Linux           armv6hf
Linux           armv6sf
Linux           swt
Linux           android
Windows         win
Windows         swt
Window          android

The compile targets are listed as a comma separated list. Alternatively,
you can set COMPILE_TARGETS to "all" and every appropriate compile target
for your current machine configuration will be used. We will look up and
determine whether, for example, you have the Android tools installed and
only build Android if those tools are installed.

If you manually specify a compile target which cannot be built, then the
build will fail. If you specify "all" then only those targets which can
be built will be attempted. For example, if your system is missing the
required toolchains for embedded builds, then armv6 builds would not
even be attempted when "all" is set.
#COMPILE_TARGETS = all
The JDK_HOME must either be specified or will be inferred based on the JDK / JRE used to
execute Gradle. From the JDK_HOME are derived the JAVA, JAVAC, JAVAH, JAVADOC, and STUB_RUNTIME
properties, although each of these may be specified individually. In addition, the LIBRARY_STUB
property is derived from STUB_RUNTIME. Normally the gradle build
will work based on whatever "java" is being used to run gradle. It does this by looking for
a JDK relative to the bin/java location. However if you want to build with a different JDK than
what is used to execute Gradle, or to fix a failed attempt by the build script to locate the
JDK_HOME, you may want to specify it manually here.
JDK_HOME = /home/navdeep/jdk1.8
JAVA = /home/navdeep/jdk1.8/bin/java
JAVAC = /home/navdeep/jdk1.8/bin/javac
JAVAH = /home/navdeep/jdk1.8/bin/javah
JAVADOC = /home/navdeep/jdk1.8/bin/javadoc
STUB_RUNTIME = /home/navdeep/jdk1.8/jre
LIBRARY_STUB = //home/navdeep/jdk1.8/jre/lib
(different location depending on platform)
The generated JavaDocs contain many references to core JDK classes such as java.lang.String
and java.util.concurrent.Executor. These references are resolved via the JDK_DOCS property,
which should point to the JDK API documentation. You can override which JDK to point to here.
This follows the rules specified in the JavaDoc tool documentation. Examples are below.
JDK_DOCS = http://download.oracle.com/javase/8/docs/api
#JDK_DOCS = file:///Library/Java/JavaVirtualMachines/jdk1.8.0/Content/Home/docs/api
#JDK_DOCS = relative/path/to/docs/api
Specify the build configuration: Release, Debug, or DebugNative. The default setting is Debug.
#CONF = Release
Enables the use of the "use depend" feature. This speeds up incremental builds, but at the
cost of accuracy. Under normal circumstances, if you modify a single source file in the
"base" project, a near-complete recompile of the entire project is required for correctness
since that change may have caused other files to no longer compile / link correctly.
However, in many cases this is just additional compilation overhead because you may have
only added comments or performed some other work that didn't change the public API in any
way. By setting "use depend" to true, the build system will do more extensive analysis to
only recompile those classes directly impacted by your change. In some cases this will miss
compiling some classes that really do require recompilation and your build will be faulty.
This flag is enabled by default for command line builds. Uncomment to turn it off "use depend"
#USE_DEPEND = false
Specify compiler LINT arguments. These values are defined by the javac compiler. You can
study the list of available options here http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/javac.html
If LINT is empty, then no warning are generated. Otherwise, LINT should be a space or comma separated
list of names. If the name is prefixed with a '-' then that warning is removed (not used). For example:

LINT = static try -varags

This command would turn on the "static" and "try" warnings, but turn off the "varargs" warnings. The
special values "all" and "none" are used to turn on all recommended warnings, or turn them all off, respectively.
The default (for now) is "none" but as we clean up our warnings, we will likely change this to "all".
#LINT = all
The following flag specifies whether to generate code coverage
statistics when running tests
#JCOV = true
Define the number of threads to use when compiling native code. This value must be
> 0, or the build system will default to 1. If not specified, the number of compile
threads is determined based on the number of CPU cores on the machine. If this value
is too high, the amount of time servicing the threads will start slowing down your
build. Likely the optimal value is somewhat larger than the number of cores on the
machine, and playing with this value may improve build time performance.
#NUM_COMPILE_THREADS = 12
When you are working from behind a proxy and attempting to access public libraries, you need
to set the proxy host and port.
#systemProp.http.proxyHost=proxy.my.com
#systemProp.http.proxyPort=80
In order to enable Android builds, you must specify the paths to the Android SDK and NDK.
Uncomment the two lines below and configure them to point to the right location on your system
#ANDROID_SDK = /path/to/android/sdk
#ANDROID_NDK = /path/to/android/ndk
The COMPILE_FLAGS_FILES defines the native compilation flags to use. Each native project
defines a pair of flags, XXX_CC_FLAGS and XXX_LINK_FLAGS as defined below:

Project         Flags
-----------------------------------
Glass           GLASS_CC_FLAGS, GLASS_LINK_FLAGS
Decora          DECORA_CC_FLAGS, DECORA_LINK_FLAGS
Prism           PRISM_CC_FLAGS, PRISM_LINK_FLAGS
Prism SW        PRISM_SW_CC_FLAGS, PRISM_SW_LINK_FLAGS
Launcher        LAUNCHER_CC_FLAGS, LAUNCHER_LINK_FLAGS

Other projects may use CC_FLAGS and LINK_FLAGS, or may not be fully abstracted out yet.
As such, the set of flags a COMPILE_FLAGS_FILES must support will change as time goes on.
Setting a custom COMPILE_FLAGS_FILE should be something rarely done, usually by
somebody who is setting up builds for a new compile target.

The COMPILE_FLAGS_FILES is a gradle file and is applied directly by build.gradle.
This means that the file can implement logic (if / loop / etc) and has access to all of
the properties defined for the build.

If not specified, the appropriate COMPILE_FLAGS_FILES for the designated COMPILE_TARGETS
will be chosen automatically. For example, win.gradle will be used when compiling on
windows, and armhf.gradle will be picked up when compiling for armhf (such as for
the Raspberry PI).

Paths for those properties that take a path should be absolute or relative paths, or they
should be full URLs. For example:

COMPILE_FLAGS_FILES = foo.gradle
COMPILE_FLAGS_FILES = ../foo.gradle
COMPILE_FLAGS_FILES = bar/foo.gradle
COMPILE_FLAGS_FILES = file:///path/to/foo.gradle

#COMPILE_FLAGS_FILES = path/to/flags/file.gradle, path/to/flags/file2.gradle
Define settings used when creating the VersionInfo. These settings are generally left alone
by developers and set only from Hudson.
#HUDSON_JOB_NAME = not_hudson
#HUDSON_BUILD_NUMBER = 0000
#PROMOTED_BUILD_NUMBER = 00
PRODUCT_NAME = OpenJFX
Variables used when building on the Mac. These should need to be rarely, if ever set. The
default value for MACOSX_SDK_PATH is based on the MACOSX_MIN_VERSION, so if you wanted to
build with 10.8 instead of 10.7 you could just specify MACOSX_MIN_VERSION and the other
settings should not need to be specified.
MACOSX_MIN_VERSION = 10.7
MACOSX_SDK_PATH = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
MACOSX_JDK_FRAMEWORK = /System/Library/Frameworks/JavaVM.framework
if you need final files for amd64 with webkit and media compiled. I can upload it to a server. If you say so.

no activity/report for months, closing this ticket


Windows friendly built-in server command

Using the command from the docs to start the build-in webserver gave me two errors on windows:
first error:
$ php -S 0:8080 -t public/
Directory public/ does not exist.

second error:
$ php -S 0:8080 -t public

Warning:  Unknown: php_network_getaddresses: getaddrinfo failed:
Failed to listen on 0:8080 (reason: php_network_getaddresses: getaddrinfo failed: ... )

This PR fixes the docs so that windows users can enjoy zend-expressive from the first moment on too ;).

Better option:
$ php -S <IP_ADDRESS>:8080 -t public

(which is what we use in Apigility documentation). Windows cannot resolve 0:8080, but can resolve <IP_ADDRESS>:8080; this solution is better than specifying localhost, as it then allows clients on other IPs to reach the host, using arbitrary hostnames (assuming that either is allowed by the host's firewall).

@weierophinney Updated the PR based on your comment :+1:


feat(STONEINTG-998): support group snapshot

Create group snapshot for the component snapshots with opened PR and  belonging to the same pr group once a component snasphot is created for PR
Set group to snapshot type to group snapshot
Set event-type to pull-request to group snapshot
Set pr-group annotation and pr-group-sha label from component snasphot to group snapshot

Maintainers will complete the following section

[ ] Commit messages are descriptive enough (hints)
[ ] Code coverage from testing does not decrease and new code is covered (check the PR coverage on codecov)
[ ] Controllers diagrams are updated when PR changes controllers code  (if applicable)

Codecov Report
Attention: Patch coverage is 4.63576% with 288 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@4edfc44). Learn more about missing BASE report.

Files
Patch %
Lines

internal/controller/snapshot/snapshot_adapter.go
3.50%
110 Missing :warning:

loader/loader.go
0.00%
50 Missing :warning:

gitops/snapshot.go
0.00%
45 Missing :warning:

status/reporter_gitlab.go
0.00%
33 Missing :warning:

status/reporter_github.go
8.82%
31 Missing :warning:

loader/loader_mock.go
0.00%
10 Missing :warning:

git/github/github.go
0.00%
9 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #842   +/-   ##
=======================================
  Coverage        ?   67.32%
=======================================
  Files           ?       43
  Lines           ?     4373
  Branches        ?        0
=======================================
  Hits            ?     2944
  Misses          ?     1144
  Partials        ?      285

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

(please ignore this comment, testing something else)
/retest

/test integration-service-e2e

we moved to bigger clusters
/test integration-service-e2e

should work now, if not then I'll Paypal everyone in Integration service $10 each
/test integration-service-e2e

/retest-required

Tested component snapshot from github, group snapshot is created as below:
{
    "apiVersion": "appstudio.redhat.com/v1alpha1",
    "kind": "Snapshot",
    "metadata": {
        "annotations": {
            "test.appstudio.openshift.io/create-groupsnapshot-status": "Failed to get PR group hash from snapshot default/app-8969-vlnsw",
            "test.appstudio.openshift.io/group-test-info": "[{\"namespace\":\"default\",\"component\":\"devfile-sample-java-springboot-basic-8969\",\"buildPipelineRun\":\"build-plr-java-qjfxz\",\"snapshot\":\"app-8969-bbn7d\"},{\"namespace\":\"default\",\"component\":\"devfile-sample-go-basic-8969\",\"buildPipelineRun\":\"build-plr-go-jmsjq\",\"snapshot\":\"app-8969-kzq2l\"}]",
            "test.appstudio.openshift.io/pr-group": "test-1"
        },
        "creationTimestamp": "2024-08-30T13:41:36Z",
        "generateName": "app-8969-",
        "generation": 1,
        "labels": {
            "appstudio.openshift.io/application": "app-8969",
            "pac.test.appstudio.openshift.io/event-type": "pull_request",
            "test.appstudio.openshift.io/type": "group"
        },
        "name": "app-8969-vlnsw",
        "namespace": "default",
        "ownerReferences": [
            {
                "apiVersion": "appstudio.redhat.com/v1alpha1",
                "blockOwnerDeletion": true,
                "controller": true,
                "kind": "Application",
                "name": "app-8969",
                "uid": "0a33d99d-dfde-47bb-9cbd-78445bb71ce0"
            }
        ],
        "resourceVersion": "360360096",
        "uid": "2f5ee177-d98f-4507-a5c0-435eaa3a64ac"
    },
    "spec": {
        "application": "app-8969",
        "artifacts": {},
        "components": [
            {
                "containerImage": "quay.io/redhat-appstudio/sample-image@sha256:a785a38ed1decd9bb6d3f677320e9ba48e19621edbf070cd826d102db559fe12",
                "name": "devfile-sample-java-springboot-basic-8969",
                "source": {
                    "git": {
                        "revision": "sha256:ba81b79f5640e1833df8090b3100cc0b61339540ea8cdf3c6ffabaa761c0aa84",
                        "url": "git@github.com:redhat-appstudio/integration-service.git\n"
                    }
                }
            },
            {
                "containerImage": "quay.io/redhat-appstudio/sample-image@sha256:6704761b3cbf8260c556c3e41399ab8bcdf0b51a98935efc0405bd9ca098de87",
                "name": "devfile-sample-go-basic-8969",
                "source": {
                    "git": {
                        "revision": "sha256:53c46b267f9b06713ef3e67e6e31929c824a6ca30bfff47ba1f9a48552b3308f",
                        "url": "git@github.com:redhat-appstudio/integration-service.git\n"
                    }
                }
            },
            {
                "containerImage": "quay.io/redhat-appstudio/sample-image@sha256:ae0126bcb129ca1a72eda605c18598a5845669f87cc6de6324efc23dc20c1837",
                "name": "component-sample",
                "source": {
                    "git": {
                        "url": "https://github.com/redhat-appstudio-qe/hacbs-test-project"
                    }
                }
            }
        ]
    },
    "status": {
        "conditions": [
            {
                "lastTransitionTime": "2024-08-30T13:41:36Z",
                "message": "No required IntegrationTestScenarios found, skipped testing",
                "reason": "Passed",
                "status": "True",
                "type": "AppStudioTestSucceeded"
            }
        ]
    }
}

/test integration-service-e2e

/test integration-service-e2e

/test integration-service-e2e

/test integration-service-e2e


有提取好的BGM吗，求个网盘。

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

You just put the issue template without any bug or question.


Bug str_to_date "" should be null

Proposed changes
before：
str_to_date("","") -》 “”

after：
str_to_date("","") -》 null

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Revert "updated description of sku name values"

Reverts Azure/azure-rest-api-specs#3467

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-python

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java


what is the val acc when pre-training on the Miniimagenet dataset is finished?

Thank you for your great work!
Could you please tell me that on the Miniimagenet dataset, what is the highest val accuracy during pre-training, and at what epoch did it achieve it?

Hi, thanks for your interest in our work!
For pre-training on mini-ImageNet, on my end, it gets the highest validation accuracy (62.08 ± 0.20) at the end of the whole pre-training process, which is the 350 epoch.
Feel free to let me know if there's anything else I can help with.


Having problem enabling MQTT

I set:
STATUS_INDICATORS = "MQTT"
When I I found I had to add paho-mqtt but still got this error:
TypeError: init() missing 1 required positional argument: 'callback_api_version'
Not sure how to proceed. All works if I set:
STATUS_INDICATORS = "NULL"

Looks like installing a version <2.0.0 solves the problem. Otherwise it needs a minor code change as follows:
client = mqtt_client.Client(client_id)
to:
client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, client_id)
This will configure the library to use the v1 callback API

I'd like to contribute...should I fork and make changes?

Thanks for finding this. It has been a while since I have used/tested MQTT.
I have published an update (v1.7.4 pre-release) which supports both 1.x and 2.0+ Paho MQTT versions.
Fixed by: https://github.com/thess/callattendant/commit/5dc577d655c4b6f76555f422dec1a9aa9b5161a1

I'd like to contribute...should I fork and make changes?

Yes, please feel free to join the effort. Good, clean PRs are always welcomed

Describe purpose of submission, Ex: "Adding cool feature X to improve Y"
Submit PR from a development branch (not trunk)
Limit a PR to a single feature/bug/enhancement (unless complex dependencies)
If possible, a PR should be a single commit with all files involved. Use 'rebase' to squash multiple commits to a single one.
https://medium.com/@slamflipstrom/a-beginners-guide-to-squashing-commits-with-git-rebase-8185cf6e62ec

Looking forward to what you might have.

@thess, can you add a section to the documentation on how to update an installation, please?
Do you need to do a release?
I'm not sure how to update my installation to incorporate this change.

So I have something for you but I'd caveat it with: This is my first ever attempt at Python, I may have incorrectly made my changes on the trunk (instead of a dev branch as you suggested). I'll try to branch, rebase and then send you a PR in the next couple of days.

ive changed the
client = mqtt_client.Client(client_id)
to:
client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, client_id)
but i find that the mqtt not working...  i new to this fork  im from the original dealing with bruce 4 years ago only learning recently he had passed and was modding the code back then  for mqtt  as i have my own version to deal with Home Assistant..
but  is there something else to get this to work?  since  i cant get any message when a call comes in  so not sure if the mqtt is sending even though it should be sending

@comet424 - Need more information to describe you "not working" problem. Please supply the version of CA you have installed, whether you have it in a virtual environment or not and most importantly, any log output to shed some light on your issue. You should also check which version of Paho MQTT you are using.
Integration with Home Assistant is something I would be interested in.

so as in "not working"  as when i setup up the login user password   leave the topic  set the ip address as the host.. and set the NULL to MQTT  and have a call come in... in Home assistant where i use NodeRed  i have it setup both Home assistant to listen and NodRed to listen  to the topic "callattendant"  and nothing comes through as a message...  i dunno which version of the CA i recently installed it a week and ago week half  and been testing it.. i also noticed bugs in it i couldnt migrate my Database from from Bruces orginal.. sure it read able but its not properly editable  the "Reasons" bugger up  doesnt display it doesnt save right
im currently running in Virtual venv mode.. followed forkes instructions...    i did try installing it on my VM of Ubuntu  i did get it installed but it was a pain  just like bruces Original  it just a pain to install on Ubuntu  if u wanna run it on Unraid  in a VM  as just a RPI4..
the Paho MQTT im using is i not sure i also installed it last week  so whatever that version would be from the
https://pypi.org/project/paho-mqtt/

i had also worked on  trying to add extra webpage that would work in home assistant but for cell phones  as at least the Orginal Callattendant  didnt scroll or fit for a cell phone... so i had worked on it but cuz i wasnt good at it... and bruce was sick  i couldnt get help so i had shelved it ...
i also noticed  with this forked version...  a bug or so i changed the the NOMBRO to ""  like i had in the orignal  had to check my orginal file.. i noticed..  im in canada
but what i found  is i was on the phone...  and an incoming calling came in.. and the Callattendant  actuallaly noticed it and picked up the phone and hung up and it was a spam call and then made me have like a 3 way call  me and other caller.. and now the spam caller.. all i could figure out was the NOMBRO setting  it was weird.. usually Callattendant cant notice a incomming call while im on the phone...  but not sure if that was the setting or not..

oh and for me to MQTT i  dont use the paho-mqqt  i just the mosquitto client
and reason i posted in the other forum was i figured i probably should have wrote there and not in here for help so i figured i better write in the proper section

Supplying some log output showing the failures would go a long way towards resolving your problem. Optionally, setting
DEBUG = True
in your app.cfg will put additional diagnostic info into the log.

its been 4 yrs since i delt with log files..  where does it then report the logs as its been forever
and for how i mqtt to Home assistant this is how i do it the app.py and i was trying to get help from Bruce but cant
os.system('mosquitto_pub -t "callerid/caller" -m ' + caller["NAME"] + ' -h <IP_ADDRESS> -d --will-qos 1 -u "mqtt-user" -P "pass"')
os.system('mosquitto_pub -t "callerid/number" -m ' + caller["NMBR"] + ' -h <IP_ADDRESS> -d --will-qos 1 -u "mqtt-user" -P "pass"')
os.system('mosquitto_pub -t "callerid/TIME" -m ' + caller["TIME"] + ' -h <IP_ADDRESS> -d --will-qos 1 -u "mqtt-user" -P "pass"')

and i do this right below where it states logs every call to the console.. problem i wanted was i wanted to be able to send the Formated number  and i tried to to edit in the modem.py  where it calls the formated sub routine  but i couldnt get it to work
what i wanted to do was be able to mqtt as it rings to send the Formated Number and name of the caller either name it finds or  whatevers saved in the database .  but never solved that issue
so i edited the app.cfg  changed it to True for debug and set the Nomboro back from disabled....

Perhaps your problem with MQTT is that you are not using the version of Callattendant from this repository or it is your modifications that are not working. As you noted in https://github.com/thess/callattendant/issues/35#issuecomment-2081484706

ive changed the
client = mqtt_client.Client(client_id)
to:
client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, client_id)

The reference to client_id is not in this code base.

not sure what you mean code base...

This repository has been detached from the original for a while now. I started my own version (fork) of Callattendant a couple of years ago and have not had any contact with the original author.
In any event, the code reference to client_id is not in this version of CA and is most likely an error in the problem report from giri-v. I will fix that since it is causing confusion.

ya apparently orginal author has passed away from what i been told...
i thought the client_id is in this version of CA  since the orginal  didnt have MQTT...  and i edited  the client_id  in the mqttindicator.py  file...  as the orginal never never a mqttindicator.py file
so thats what i did i changed the line in mqttindicator.py file     to client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, client_id)  but it didnt solve the issue it still wouldnt transmitt message when a call came in.. so reason i added to the discussion on how do i update or what i doing wrong  if the change of the 1 line fixed the issue
and what i do  is i Import the MQTT  in Home assistant  using Node Red..  pushing into a Sensor  and then i have displays that update on value change
and this is here how i use it in NodeRed... and how it imports my 3 lines  but it doesnt import the callattendant one .. from the app.cfg  so not sure  where the log file would be for the errors?

and this is how i use it in Home Assistant and then i use it with ESPHOME with screens to display as calls are coming in the pop up

The log output from CA goes to stdout. If you are running CA as a system service, the log data can be examined by journalctl -xe -u callattendant. Otherwise, it is where you directed it. You might want to try running CA from a console and capture the output directly -- It's your choice.

here is log file i exported  doing the journalctl -xe -u callattendant
dont know if you can see anything if your mqtt trying to work or not
log.txt

this log  dump  had spam caller  while i was on the phone... the call attendant  picked up the phone and hung up while i was already on the phone ...  so it sees the incoming call even though im already On the phone  so its answering the call.. but cuz its answering the call and hanging up hts basiclly letting me be connected with the spam caller  and thats with the setting NOMBRO  setting   i should reset that back to "" for disabled... as it says for usa  but usa and canada pretty much the same    but here is the log anyways...
log2.txt
i going to set it to disabled...  to see if it disables from answering... as i know the orginal CA  never detected a call while i was on the phone but then that could be a fluke now lol

First off, it is clear you are not running a released, unmodified, version of CA. You have made modifications that more than likely are causing the adverse behavior you are witnessing.
A couple of observations:
1 - There is something causing the RING processing to be delayed enough that CA thinks ringing has stopped when clearly it hasn't.
2 - Your added MQTT implementation may be causing delays in the thread processing of incoming calls.
3 - The setting of BLOCK_SERVICE has no effect on whether a call is answered or not. It does however change thread timing.
If you want to add callerId to the MQTT reporting, you should either wait until I add it fully debugged, debug your own implementation or you are welcome to try PR https://github.com/thess/callattendant/pull/37
On the other hand, I could be completely wrong in my analysis.
HTH

ok im rem out the 3 lines so the mqtt doesnt run... so then its orginal.
and if you wanted to know the location of my 3 lines of code it was in between these
                # Log every call to the database (and console)
                call_no = self.logger.log_caller(caller, action, reason)
                print("--> {} {}: {}".format(number, action, reason))

                # Gather the data used to answer the call
                if caller_permitted:

so mqtt  right after the print statement...  .....
and i guess ill put the mqttindicator.py    client line leave it or change back to orginal
as right now  i have it set to
        else:
            # Version 1.x compatibility
            #client = mqtt.Client()
            client = mqtt_client.Client(mqtt_client.CallbackAPIVersion.VERSION1, client_id)

Closing this topic. OP issue resolved by https://github.com/thess/callattendant/issues/35#issuecomment-2041500259
Further issues with MQTT support will be on a separate topic - please.

here is log file set back to factory  do you see that the MQTT is working
as its still not working
log3.txt


<HOSTNAME_FROM_SERVICE>

how can i get the actual value for HOSTNAME_FROM_SERVICE?thank you very much

Hello Zhao
Sorry for late response. This info is available in the installation guides (AWS, minikube branches), p.9.
<HOSTNAME_FROM_SERVICE> contains ip/hostname of your application.
For AWS installation you can get it using the next command:
kubectl get svc vf-app-frontend -o yaml | grep hostname | cut -c 17-
Use minikube ip command to get it for minikube.
Let us know if you have more questions.


Android Emulator results in black screen on Windows

We've started getting reports again:
https://github.com/flutter/flutter/issues/10617#issuecomment-326234813
https://github.com/flutter/flutter/issues/10617#issuecomment-326797703
I'm opening this new issue to track this reoccurrence.  @chinmaygarde @goderbauer @bkonyi
@wmleler says he saw this at the instructor lead training for Flutter at Google Developer days.

Most of us helping at the GDD codelab saw it.
Didn't happen on a real device. And it didn't happen to everyone on Windows
using the Android emulator, so might be difficult to reproduce. We didn't
have time to note the version of Windows or anything more about it. Sorry!
On Wed, Sep 6, 2017 at 8:00 AM, Eric Seidel<EMAIL_ADDRESS>wrote:

We've started getting reports again:
#10617 (comment)
https://github.com/flutter/flutter/issues/10617#issuecomment-326234813
#10617 (comment)
https://github.com/flutter/flutter/issues/10617#issuecomment-326797703
I'm opening this new issue to track this reoccurrence. @chinmaygarde
https://github.com/chinmaygarde @goderbauer
https://github.com/goderbauer @bkonyi https://github.com/bkonyi
@wmleler https://github.com/wmleler says he saw this at the instructor
lead training for Flutter at Google Developer days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/11947, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADEtRp230-Le6F8TSYvbkvXa4IYzO21ks5sfjUUgaJpZM4PN4X2
.

One more interesting detail. If in the emulator you picked the right-hand (square) button, which shows all the apps running, the thumbnail for the Flutter app did show at least the app bar rather than a black screen, so the Flutter app does seem to be at least loading somewhere. But if you select that thumbnail and it opens the app, it still has a black screen.

I saw it three independent times at the workshop.

I'll see if I can by any chance reproduce this on my Windows machine.

There is flutter doctor output and setup details in the linked comments.

I can reproduce the black screen on Windows:
Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 7.1.1 (API 25) (emulator)

with OpenGL ES API Level set to "Host maximum". It's gone when selecting "Compatibility".

It's imperative that we have tests for this when we solve it. We keep having this problem.

Having the same issue. Followed the exact steps to setup emulator. I was running emulator with api 26 and enabled hardware GLE 2.0 . still getting balck screen for every project I create.

I experience the same issue. I'm using an Intel x86 Atom_64 system image for the emulator. API 25. My host system is running Windows 10 with intel hd 630 / nvidia gtx 1050. The app renders with software rendering.

I found a workaround on Windows. I started my emulator from the command line passing the -gpu angle argument. It uses DirectX and works as a charm

Thanks for the workaround!