pokemon nest??

Hi
Why has my changeset been flagged with this:

https://osmcha.mapbox.com/changesets/51824005/

@DaveF63  Some filters are wrongly considering the user as a 'new user'. I'll try to work on it soon. 'Pokemon nest' are some features that people add to the map expecting that it would influence the pokemon go game.

We had some problems detecting new users in the past, but I believe it's fixed now.


Why ied?

I keep thinking about improvised explosive devices...

Same, haha.  The name is probably fine if you can come up with an actual meaning to put in the FAQ, but currently it just says "it's easy to type", so the only thing my brain can substitute is the existing definition. : ]

More discussion here:
https://news.ycombinator.com/item?id=10571065

It would have been more useful to help make npm faster instead of creating another divergence.

Locking. This doesn't lead anywhere. I answered all questions concerning the extremely bad name in the HN article above. I'm not a native speaker. I don't have any military experience and I frankly simply haven't heard of IEDs before. At least it didn't appear to me that the first thing one thinks of when hearing those three letters are wounded, dead soldiers.
In fact ied was originally called mpm, but I thought that was a confusing bad name..... boy have I been wrong....
It wasn't my intention to name this package manager after a bomb, nor did I intend to offend anyone.
At the same time, repeating what has been said before doesn't help anyone. If you have a better name, please let me know (email me at [myfirstname].[mylastname]@gmail.com). This project is very likely to be renamed, I simply haven't decided on a better name yet.
@bucaran I deleted your comment.


Drag Reordering only when mouse hovering tab

Hi !
I enabled mouse (disable_mouse = false) so I can drag buffers and reorder them, but this feature works on the ENTIRE buffer. I mean if i click + drag inside the buffer, it does activate the buffers reordering.
This is pretty annoying because when i want to select lines or words in the buffer, the selection "freeze" until I release my mouse button.
Is it a bug or a feature ?
If it is a feature to reorder inside the buffer, is it possible to deactivate it or maybe just enable it only when hovering a tab ?

Hmm that is not the intended behavior, and is not how it works for me. Mouse mappings should work like normal. Mind providing some more info about your environment / nvim version?

Thanks for your reactivity ! :)
Here a video to show you what's happening :
Kooha-2024-02-29-16-33-28.webm
About my environment, I'm on Arch Linux with Hyprland (so Wayland), with a Nvidia GPU, Neovim 0.9.5, Cokeline installed from main branch.
and here's my cokeline config :
`return {
"willothy/nvim-cokeline";
dependencies = {
"stevearc/resession.nvim";
};
config = function()
local palette = require("../config/palette")
    vim.o.mousemoveevent = true;  -- Needed for hover events

    require("cokeline").setup({
        show_if_buffers_are_at_least = 0;
        buffers = {
            filter_valid = false;
            focus_on_delete = "next";
            new_buffers_position = "last";
            delete_on_right_click = false;
        };
        mappings = {
            cycle_prev_next = true;
            disable_mouse = false;
        };
        history = {
            enabled = true;
            size = 50;
        };
        rendering = {
            max_buffer_width = 50;
        };
        pick = {
            use_filename = true;
            letters = "asdfjkl;ghnmxcvbziowerutyqpASDFJKLGHNMXCVBZIOWERTYQP";
        };
        default_hl = {
            fg = function(buffer)
                return buffer.is_focused and palette.white or palette.dark_light;
            end;
            bg = function(buffer)
                return buffer.is_focused and palette.dark_light or palette.dark;
            end;
            bold = true;
        };
        fill_hl = "Normal";
        components = {
            {
                text = "";
                fg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.green;
                    end;
                    return palette.dark_light;
                end;
                bg = palette.dark;
                truncation = {
                    priority = 1;
                    direction = "middle";
                }
            };
            {
                text = function(buffer)
                    return " " .. buffer.devicon.icon;
                end;
                fg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.dark;
                    end;
                    return palette.white;
                end;
                bg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.green;
                    end;
                    return palette.dark_light;
                end;
                truncation = {
                    priority = 1;
                    direction = "middle";
                }
            };
            {
                text = function(buffer)
                    return buffer.filename;
                end;
                fg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.dark;
                    end;
                    return palette.white;
                end;
                bg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.green;
                    end;
                    return palette.dark_light;
                end;
                truncation = {
                    priority = 2;
                    direction = "right";
                }
            };
            {
                text = function(buffer)
                    if buffer.is_modified then
                        return "  ";
                    end;
                    if buffer.is_readonly then
                        return "  ";
                    end;
                    if buffer.is_hovered then
                        return " 󰅙 ";
                    end;
                    return " 󰅖 ";
                end;
                on_click = function(_, _, _, _, buffer)
                    buffer:delete();
                end;
                fg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.dark;
                    end;
                    return palette.white;
                end;
                bg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.green;
                    end;
                    return palette.dark_light;
                end;
                truncation = {
                    priority = 1;
                    direction = "middle";
                }
            };
            {
                text = "";
                fg = function(buffer)
                    if buffer.is_focused or buffer.buf_hovered then
                        return palette.green;
                    end;
                    return palette.dark_light;
                end;
                bg = palette.dark;
                truncation = {
                    priority = 1;
                    direction = "middle";
                }
            };
        };
        sidebar = {
            filetype = { "neo-tree"; };
            components = {
                {
                    text = "NeoTree";
                    fg = palette.purple;
                    bg = palette.dark;
                    bold = true;
                };
            };
        };
    });
end;

}`

Hmm, alright. Not sure what's causing this since you're on 0.9 so vim.on_key should be available. I'll look into this as soon as I can!

I tested it and it is fixed ! Thanks :smile: (really cool LFA pic btw)

Awesome!
Haha thanks, pretty sure I just found it on google in like 2015 and never changed it :rofl:


wip: use Future

Summary by CodeRabbit

New Features

Enhanced the application's data query operations to be asynchronous, improving performance and scalability.

Refactor

Updated data retrieval methods to return futures for asynchronous processing.

Chores

Strengthened static code analysis with new linting rules for better code quality.

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (6d4c3f1) 75.07% compared to head (4174825) 75.54%.

Files
Patch %
Lines

src/main/scala/utils/FileUtility.scala
0.00%
2 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   75.07%   75.54%   +0.46%
==========================================
  Files          19       19
  Lines         317      323       +6
  Branches       34       35       +1
==========================================
+ Hits          238      244       +6
  Misses         79       79

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

https://github.com/kazumatsudo/GraphDB2RDB/pull/93


Allow more recent sass version in Gemfile

Sass got locked into the 3.2.x branch, presumably due to a bug in a more recent version that caused issues with Nanoc a while back. Sadly, upgrading breaks tests:
  3) Error:
Nanoc::Filters::SassTest#test_filter_can_import_external_files:
Sass::SyntaxError: File to import not found or unreadable: moo.
    (sass):1
    /usr/local/lib/ruby/gems/2.2.0/gems/sass-3.4.19/lib/sass/tree/import_node.rb:67:in `rescue in import'
[snip]
    /Users/ddfreyne/Documents/Development/nanoc/repos/nanoc/lib/nanoc/filters/sass.rb:18:in `run'
    /Users/ddfreyne/Documents/Development/nanoc/repos/nanoc/lib/nanoc/base/compilation/filter.rb:130:in `setup_and_run'
    /Users/ddfreyne/Documents/Development/nanoc/repos/nanoc/test/filters/test_sass.rb:54:in `block in test_filter_can_import_external_files'
    /Users/ddfreyne/Documents/Development/nanoc/repos/nanoc/test/helper.rb:47:in `if_have'
    /Users/ddfreyne/Documents/Development/nanoc/repos/nanoc/test/filters/test_sass.rb:46:in `test_filter_can_import_external_files'

@options[:importer] appears to be nil for the cases where it’s erroring.

Fixed by ::Sass.load_paths << '.'. This is presumably only a problem in the tests; will fix.

For reference: the Sass 3.4.0 release notes say this in the “Backwards Incompatibilities – Must Read!” section:

The current working directory will no longer be placed onto the Sass load path by default. If you need the current working directory to be available, set SASS_PATH=. in your shell’s environment.


 Try a different font or terminal or change the symbol (see the help, search for symbols

Thanks! let g:airline_symbols_ascii=1 fixed it.


CB7 icon missing (v1.7)

I just noticed today that there is no icon for CB7 (Comic 7zip) files. The info.plist file specifies one, but it is not in the Resources folder.

Just double checked, but this must have been fixed at one point.


Save Game Location

Where does the game save to?

On Windows there should be a file called eeprom.bin next to pd.exe. If it's not there, check C:\Users\YourUsername\AppData\Roaming\perfectdark.

I'm new at this....How would i extract the save file from one computer to be able to play that save on a different computer?

You just copy the file called eeprom to the other computer and put it in the game folder. Or the whole folder that the game is in.

Just override the one i have on my PC?

Yes.

Thank you sir. Love the port and Thank you again.

~/.local/share/perfectdark by default.


ER_BAD_DB_ERROR: Unknown database 'x'

I getting this error when running DROP DATABASE IF EXISTS x query. It shouldn't give me error when database doesn't exists only warning.

Hi @Almis90, sorry I didn't get back right away. I see you closed this issue, though. Are you still having the issue or has it been resolved? The errors this module returns like that are simply coming from your MySQL server.

I closed this because I though the error is not related to my query because CREATE DATABASE IF NOT EXISTS x CHARACTER SET utf8 COLLATE utf8_general_ci also gives the same error. After creating the database manually the drop and create query works. Not sure what is the issue.

Can you add debug: true to your createConnection, run your script that has this issue, and paste the output here?

<-- HandshakeInitializationPacket
HandshakeInitializationPacket {
  protocolVersion: 10,
  serverVersion: '5.6.27-log',
  threadId: 28,
  scrambleBuff1: <Buffer 7a 24 40 56 70 4f 7b 40>,
  filler1: <Buffer 00>,
  serverCapabilities1: 63487,
  serverLanguage: 33,
  serverStatus: 2,
  serverCapabilities2: 32895,
  scrambleLength: 21,
  filler2: <Buffer 00 00 00 00 00 00 00 00 00 00>,
  scrambleBuff2: <Buffer 6a 75 31 2e 33 54 2d 25 6e 21 54 64>,
  filler3: <Buffer 00>,
  pluginData: 'mysql_native_password',
  protocol41: true }

--> ClientAuthenticationPacket
ClientAuthenticationPacket {
  clientFlags: 455631,
  maxPacketSize: 0,
  charsetNumber: 33,
  filler: undefined,
  user: 'root',
  scrambleBuff: <Buffer 31 ee b9 06 a6 21 44 ec 9c 57 30 70 88 8b e2 9e 6e 40 80 14>,
  database: 'x',
  protocol41: true }

<-- ErrorPacket
ErrorPacket {
  fieldCount: 255,
  errno: 1049,
  sqlStateMarker: '#',
  sqlState: '42000',
  message: 'Unknown database \'x\'' }

Thanks! So the error is coming back from your MySQL and this module is just passing it through. There doesn't seem to be anything wrong with this module, I'm sorry.
The reason you are having that error is because you specified database: 'x' in your createConnection, but your MySQL server is saying there is no such database as that, and so you can't establish the connection to the database you wanted, thus the error.

When I run this manually on mysql workbench I getting 14:55:27	DROP DATABASE IF EXISTS x	0 row(s) affected, 1 warning(s): 1008 Can't drop database 'x'; database doesn't exist	0.000 sec I don't get the above error.

Well, you're probably not telling it to open the initial connect to databsse 'x'. The issue is that you have the database option in your createConnection set to a non-existent database. Just remove the database option if you don't want to initially connect to a specific database.
Like I said, the error you're seeing is coming directly from your MySQL server. This module is simply a protocol client, and will pass through whatever errors your MySQL server gives, so there is nothing we can change. If you need help with the MySQL itself, you may want to use the MySQL forms, rather than this issue tracker.

Thank you, after removing database from options everything is fine.

i did like this, but something wrong , it still run, not stop, i can't type anything . although it connected


Sync Popover internal open/close state to prop "isShown"

Motivation
We are using an evergreen popover to create an address search component. We want the ability to control when the popover is open / closed - for example when a user selects an option, we close the dropdown. We can achieve this via the isShown prop, but in doing so we lose 'click outside' and 'close on escape' functionality - because these are only applied when the component is internally controlled.
In the render method popover currently checks whether isShown is a boolean - indicating the component is controlled. This change follows the same pattern, syncing the internal state with the prop.
Changes
Adds check on component did update - if popover is controlled manually, call open / close to ensure event listeners are correctly managed

@mshwery - are we able to get an update on this? Hope it doesn't go stale if it could be merged 🙏

I think making this controlled would be a nice improvement in the future. I think this adds some good functionality to the component as is though! Thank you @andycarrell


Add support for Python 3.12 to the Nautobot App cookie

Nautobot 2.3 supports Python 3.12, so should we across our templates and apps.

A separate issue will be opened for deploying this out to all of the apps. This issue will just be updating the cookie itself.

Let's:

Test this in a couple repo with some "hypothetical" drift management PRs
Add an invoke command that run through the CI-like step to be able to reproduce any possible CI problems locally


Factory ignores defaults for explicit properties

Describe the bug
A component with Factory and a custom theme will ignore defaultProps or baseStyle from the theme if the user passes a custom prop.
To Reproduce
Steps to reproduce the behaviour:

Create a base Factory as the one in the docs.
Add a theme with default props and/or baseStyle that sets a prop like background color.
Also make the factory wrapped theme take the background as prop
Pass it to the wrapped component

Expected behaviour
When not passing the prop to the wrapped component it takes it but if none is provided it should go back to the theme ones.
CodeSandBox/Snack link
https://snack.expo.dev/8YsvmTxk6
Platform

NativeBase version 3.2.0
Device: Macbook Pro
OS: Big Sur
Browser Chrome
Browser version 93.0.4577.82
React Native version [e.g. 0.64]
Expo sdk version 41.0.1
node 12.22.6
npm 6.14.15

Resolved in NativeBase 3.2.2. Let us know if you face any issue.


Try working around dtparse panics

dtparse seems to panic on certain inputs, for example in the customization docs:
2019-07-03 12:02:13,977 - DEBUG    - test.py:9 - this is a debug message

This attempts to work around the panics with panic::catch_unwind.

I don't especially like this... it "solves" the immediate issue and prevents crashes, but we'd also need to override the default panic hook to clear up the stderr message, and is just generally a nasty workaround.
I'm leaning toward removing dtparse in favor of some other more robust solutions to exact timestamps:

better built-in format support with reliable timestamp extraction (plaintext logrus, klog)
custom format support using the regex parser
reader metadata for actual plaintext messages

kubernetes and docker timestamps are recorded at log ingest time and are a good source of truth
other readers can still provide low-confidence timestamps (line read time from stdin)

maybe some kind of timestamp interpolation as another fallback?

Also worth noting the other issues with dtparse, e.g. eprintln! use, false positives, poor performance, ...


docs(turbopack): fix typo in incremental-computation page

Description

Fix a small typo in the turbopack docs.

Allow CI Workflow Run

[ ] approve CI run for commit: 6e0b8c6f2de357ef81ff97e81abf51d26ca13dc4

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer


Cleanup NetBeans license header for module xml.tools.java

Review and cleanup the license header in xml.tools.java
Oracle donated NetBeans to the Apache Software Foundation.
Your task now is to replace the old license header that has Oracle (and/or Sun Microsystems
and/or NetBeans) in it with the standard Apache Software Foundation license header.
For an empty file that supports headers you must add the Apache license header.
Note that you have to use the proper license header for Java, .properties or HTML files.
Look at the nearby files for templates and copy-paste the license header.
When done commit the changes with a commit message that starts with first line
"[NETBEANS-54] Module Review " and a message body describing your review.
See a longer explanation about what we are doing here: https://cwiki.apache.org/confluence/display/NETBEANS/List+of+Modules+to+Review
Please announce in a comment when you have started work.
Files that need to be looked at in xml.tools.java:
xml.tools.java/src/org/netbeans/modules/xml/tools/java/resources/Bundle.properties

Working on.

OK.

PR https://github.com/emilianbold/incubator-netbeans/pull/234


New version: CompileBot v1.0.6

Registering package: CompileBot
Repository: https://github.com/aminya/CompileBot.jl
Created by: @aminya
Version: v1.0.6
Commit: 2208d4aa5347981e25a96ebbe0751cd21afb1e46
Reviewed by: @aminya
Reference: https://github.com/aminya/CompileBot.jl/commit/2208d4aa5347981e25a96ebbe0751cd21afb1e46#commitcomment-46370346

@DilumAluthge This version is not registered for some reason. Running the following installs 1.0.5 instead of 1.0.6:
using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") );

@DilumAluthge This version is not registered for some reason. Running the following installs 1.0.5 instead of 1.0.6:
using Pkg; Pkg.add( PackageSpec(name = "CompileBot", version = "1") );


Error Domain=NSCocoaErrorDomain Code=4099

Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.
Cocoapods
Using AWSCognito (2.6.31)
Using AWSCognitoAuth (2.6.31)
Using AWSCognitoIdentityProvider (2.6.31)
Using AWSCognitoIdentityProviderASF (1.0.1)
Using AWSCore (2.6.31)
Xcode Version 10.0 (10A255)
iOS version 12.0
Init
let serviceConfiguration = AWSServiceConfiguration(region: CognitoIdentityUserPoolRegion, credentialsProvider: nil)
        let userPoolConfiguration = AWSCognitoIdentityUserPoolConfiguration(clientId: CognitoIdentityUserPoolAppClientId, clientSecret: CognitoIdentityUserPoolAppClientSecret, poolId: CognitoIdentityUserPoolId)
        AWSCognitoIdentityUserPool.register(with: serviceConfiguration, userPoolConfiguration: userPoolConfiguration, forKey: AWSCognitoUserPoolsSignInProviderKey)
     var   pool = AWSCognitoIdentityUserPool(forKey: AWSCognitoUserPoolsSignInProviderKey)

//Call
pool?.signUp(email, password: password, userAttributes: attributes, validationData: nil).continueWith {(task) -> Any? in

            DispatchQueue.main.async(execute: {
                if let error = task.error as NSError? {
                    result(error)
                } else if task.result != nil  {
                    result(nil)
                }
            })
            return nil
        }

@Amornthep From the error message you posted:
Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.

I see that this message is not coming from AWS. Can you give a summary of what is the error you're getting?

@kvasukib
Sorry i'm bad . I see that log from console .
I'm try log from response. Got problem  thx.
`pool?.signUp(email, password: password, userAttributes: attributes, validationData: nil).continueWith {(task) -> Any? in
        DispatchQueue.main.async(execute: {
            if let error = task.error as NSError? {
                print(error.userInfo["message"])
                print(error.localizedDescription)
                result(error)
            } else if task.result != nil  {
                result(nil)
            }
        })
        return nil
    }`

response
Descriptors query returned error: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated.}
Optional(App client xxxxxxxxxxxxx is not configured for secret but secret hash was received)
The operation couldn’t be completed. (com.amazonaws.AWSCognitoIdentityProviderErrorDomain error 13.)

@Amornthep It looks like you have the Cognito Secret not configured on the userpools however you are passing in a secret hash.


imp DeprecationWarning

I get the following warning from pytest:
==================================== warnings summary =====================================
../../../../usr/local/lib/python3.8/site-packages/metaflow/R.py:2
  /usr/local/lib/python3.8/site-packages/metaflow/R.py:2:
DeprecationWarning: the imp module is deprecated in favour of importlib;
see the module's documentation for alternative uses
    import imp

-- Docs: https://docs.pytest.org/en/stable/warnings.html

I think this change would address the warning, but only for py3:
https://github.com/Netflix/metaflow/compare/master...dpoznik:replace-imp
I can, of course, just silence the warning on my end if there's not a good fix.

Thanks for the issue! The change would definitely address the warning, but only for py3. Flows using Python2 underneath will start breaking - maybe we can introduce a try... except... clause to handle both py2 and py3 properly?

maybe we can introduce a try... except... clause to handle both py2 and py3 properly?

OK, sounds good. I'll put in a PR in a moment...

Resolved in #1396


LanguageServerProjectSystem throws System.URIFormatException

Type: Bug
Issue Description
VSCode was working just fine for many years until the language
server started failing recently.
When it stopped working I completely removed vscode from my system
and deleted all my user data as well.
I then re-installed vscode and for a single session it was working.
After a system reboot it stopped working again.
Steps to Reproduce
Open any folder containing a C# project.
Expected Behavior
For it to load normally like before.
Actual Behavior
Logs
Using dotnet configured on PATH
Dotnet path: ../lib/dotnet/dotnet
Activating C# standalone...
[Info  - 10:35:44 AM] [Program]Language server initialized
[Info  - 10:35:44 AM] [LanguageServerProjectSystem]Loaded MSBuild at /usr/lib/dotnet/sdk/7.0.110
[Info  - 10:35:44 AM] [LanguageServerProjectSystem]Loading /home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverDemo.sln...
[Error - 10:35:45 AM] [LanguageServerProjectSystem]Exception thrown while loading /home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverDemo.csproj System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString, UriKind uriKind)
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.CreateAbsoluteUri(String absolutePath) in //src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 174
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.FileChangeContext.<>c.<.ctor>b__5_0(WatchedDirectory d) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 76
at System.Linq.Enumerable.SelectArrayIterator2.ToArray()    at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.FileChangeContext..ctor(ImmutableArray1 watchedDirectories, LspFileChangeWatcher lspFileChangeWatcher) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 76
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.CreateContext(WatchedDirectory[] watchedDirectories) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 43
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.DelegatingFileChangeWatcher.CreateContext(WatchedDirectory[] watchedDirectories) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/DelegatingFileChangeWatcher.cs:line 56
at Microsoft.CodeAnalysis.ProjectSystem.FileWatchedPortableExecutableReferenceFactory.<>c__DisplayClass5_0.<.ctor>b__0() in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/FileWatchedPortableExecutableReferenceFactory.cs:line 87
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)    at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue()    at Microsoft.CodeAnalysis.ProjectSystem.FileWatchedPortableExecutableReferenceFactory.CreateReferenceAndStartWatchingFile(String fullFilePath, MetadataReferenceProperties properties) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/FileWatchedPortableExecutableReferenceFactory.cs:line 100    at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.<>c__DisplayClass102_0.<OnBatchScopeDisposedMaybeAsync>b__0(SolutionChangeAccumulator solutionChanges) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 602    at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProjectFactory.<>c__DisplayClass46_0.<ApplyBatchChangeToWorkspaceMaybeAsync>b__0(Solution oldSolution) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProjectFactory.cs:line 262    at Microsoft.CodeAnalysis.Workspace.<>c.<SetCurrentSolutionAsync>b__27_3(Solution oldSolution, ValueTuple5 data) in //src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 249
at Microsoft.CodeAnalysis.Workspace.SetCurrentSolutionAsync[TData](Boolean useAsync, TData data, Func3 transformation, Boolean mayRaiseEvents, Action3 onBeforeUpdate, Action3 onAfterUpdate, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 408    at Microsoft.CodeAnalysis.Workspace.SetCurrentSolutionAsync(Boolean useAsync, Func2 transformation, Func3 changeKind, Action2 onBeforeUpdate, Action2 onAfterUpdate, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 244    at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProjectFactory.ApplyBatchChangeToWorkspaceMaybeAsync(Boolean useAsync, Action1 mutation) in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProjectFactory.cs:line 257
at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.OnBatchScopeDisposedMaybeAsync(Boolean useAsync) in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 520
at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.BatchScope.DisposeAsync() in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 493
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 145
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.LoadOrReloadProjectAsync(String projectPath, ProjectBuildManager projectBuildManager, CancellationToken cancellationToken) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 240
[Info  - 10:35:45 AM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:00.6063257
[Info  - 10:49:33 AM] Shutting down
Using dotnet configured on PATH
Dotnet path: ../lib/dotnet/dotnet
Activating C# standalone...
Starting server at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.LanguageServer
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.Remote.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.CSharp.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.Scripting.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.CSharp.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.Razor.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.Workspaces.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.AnalyzerUtilities.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.Elfie.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.CSharp.Features.dll added to workspace.
dbug: LanguageServerWorkspaceFactory[0]
Solution-level analyzer at /home/timothy/.vscode/extensions/ms-dotnettools.csharp-2.0.413-linux-x64/.roslyn/Microsoft.CodeAnalysis.Features.dll added to workspace.
[Info  - 10:49:34 AM] [Program]Language server initialized
[LanguageServerHost][02:49:34.520][Start]initialize
[LanguageServerHost][02:49:34.523][Start]Initialize
[LanguageServerHost][02:49:34.568][End]Initialize
[LanguageServerHost][02:49:34.602][End]initialize
[LanguageServerHost][02:49:34.604][Start]initialized
[LanguageServerHost][02:49:34.697][End]initialized
[LanguageServerHost][02:49:34.699][Start]solution/open
[LanguageServerHost][02:49:34.699][Start]textDocument/didOpen
[LanguageServerHost]didOpen for file:///home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverNode.cs
[LanguageServerHost][02:49:34.706][End]textDocument/didOpen
[Info  - 10:49:34 AM] [LanguageServerProjectSystem]Loaded MSBuild at /usr/lib/dotnet/sdk/7.0.110
[Info  - 10:49:34 AM] [LanguageServerProjectSystem]Loading /home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverDemo.sln...
[LanguageServerHost]Could not find 'file:///home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverNode.cs'.  Searched Host
[LanguageServerHost][02:49:34.769][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 1 documents
[LanguageServerHost][02:49:34.784][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]Closing workspace/diagnostics request
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][02:49:34.798][End]workspace/diagnostic
[LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: /home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverNode.cs in Miscellaneous Files
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][02:49:34.858][End]textDocument/diagnostic
[LanguageServerHost]/home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverNode.cs found in workspace MiscellaneousFiles
[LanguageServerHost][02:49:35.062][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverNode.cs in Miscellaneous Files
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][02:49:35.070][End]textDocument/diagnostic
[Error - 10:49:35 AM] [LanguageServerProjectSystem]Exception thrown while loading /home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverDemo.csproj System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
at System.Uri..ctor(String uriString, UriKind uriKind)
at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.CreateAbsoluteUri(String absolutePath) in //src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 174
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.FileChangeContext.<>c.<.ctor>b__5_0(WatchedDirectory d) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 76
at System.Linq.Enumerable.SelectArrayIterator2.ToArray()    at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.FileChangeContext..ctor(ImmutableArray1 watchedDirectories, LspFileChangeWatcher lspFileChangeWatcher) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 76
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.CreateContext(WatchedDirectory[] watchedDirectories) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 43
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.DelegatingFileChangeWatcher.CreateContext(WatchedDirectory[] watchedDirectories) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/DelegatingFileChangeWatcher.cs:line 56
at Microsoft.CodeAnalysis.ProjectSystem.FileWatchedPortableExecutableReferenceFactory.<>c__DisplayClass5_0.<.ctor>b__0() in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/FileWatchedPortableExecutableReferenceFactory.cs:line 87
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)    at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue()    at Microsoft.CodeAnalysis.ProjectSystem.FileWatchedPortableExecutableReferenceFactory.CreateReferenceAndStartWatchingFile(String fullFilePath, MetadataReferenceProperties properties) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/FileWatchedPortableExecutableReferenceFactory.cs:line 100    at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.<>c__DisplayClass102_0.<OnBatchScopeDisposedMaybeAsync>b__0(SolutionChangeAccumulator solutionChanges) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 602    at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProjectFactory.<>c__DisplayClass46_0.<ApplyBatchChangeToWorkspaceMaybeAsync>b__0(Solution oldSolution) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProjectFactory.cs:line 262    at Microsoft.CodeAnalysis.Workspace.<>c.<SetCurrentSolutionAsync>b__27_3(Solution oldSolution, ValueTuple5 data) in //src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 249
at Microsoft.CodeAnalysis.Workspace.SetCurrentSolutionAsync[TData](Boolean useAsync, TData data, Func3 transformation, Boolean mayRaiseEvents, Action3 onBeforeUpdate, Action3 onAfterUpdate, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 408    at Microsoft.CodeAnalysis.Workspace.SetCurrentSolutionAsync(Boolean useAsync, Func2 transformation, Func3 changeKind, Action2 onBeforeUpdate, Action2 onAfterUpdate, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 244    at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProjectFactory.ApplyBatchChangeToWorkspaceMaybeAsync(Boolean useAsync, Action1 mutation) in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProjectFactory.cs:line 257
at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.OnBatchScopeDisposedMaybeAsync(Boolean useAsync) in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 520
at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.BatchScope.DisposeAsync() in //src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 493
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 145
at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.LoadOrReloadProjectAsync(String projectPath, ProjectBuildManager projectBuildManager, CancellationToken cancellationToken) in //src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 240
[Info  - 10:49:35 AM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:00.5110403
[LanguageServerHost][02:49:35.391][End]solution/open
[LanguageServerHost][02:49:35.395][Start]workspace/debugConfiguration
[LanguageServerHost][02:49:35.400][End]workspace/debugConfiguration
[LanguageServerHost]/home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverNode.cs found in workspace MiscellaneousFiles
[LanguageServerHost][02:49:36.690][Start]textDocument/diagnostic
[LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=1
[LanguageServerHost]Processing 1 documents
[LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /home/timothy/Documents/Projects/DmxReceiverDemo/DmxReceiverNode.cs in Miscellaneous Files
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][02:49:36.691][End]textDocument/diagnostic
[LanguageServerHost][02:49:36.800][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
[LanguageServerHost]Closing workspace/diagnostics request
[LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics
[LanguageServerHost][02:49:36.804][End]workspace/diagnostic
[LanguageServerHost][02:49:38.809][Start]workspace/diagnostic
[LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics
[LanguageServerHost]previousResults.Length=0
[LanguageServerHost]Processing 0 documents
C# log
Post the output from Output-->C# here
C# LSP Trace Logs
Post the output from Output-->C# LSP Trace Logs here.

Output:
=====================
8/24/2023 11:01:06AM
LimitedFunctionality
System.AggregateException: Project system data flow 'Workspace update handler ActionBlockSlimAsync`1' closed because of an exception: Invalid URI: The format of the URI could not be determined.. (Invalid URI: The format of the URI could not be determined.)
---> (Inner Exception #0) StreamJsonRpc.RemoteInvocationException: Invalid URI: The format of the URI could not be determined.
   at StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](RequestId id, String targetName, IReadOnlyList`1 arguments, IReadOnlyList`1 positionalArgumentDeclaredTypes, IReadOnlyDictionary`2 namedArgumentDeclaredTypes, CancellationToken cancellationToken, Boolean isParameterObject)
   at Microsoft.VisualStudio.ProjectSystem.VSCode.LanguageServices.Workspace.<>c__DisplayClass45_1`1.<<OnProjectChangedAsync>g__ApplyInBatchAsync|1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.<>c__DisplayClass3_0.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.ExecuteAsync(Func`1 operation, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.ProjectSystem.OnceInitializedOnceDisposedUnderLockAsync.ExecuteUnderLockCoreAsync(Func`2 action, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.ProjectSystem.VSCode.LanguageServices.Workspace.OnBuildUpdateAsync(IProjectVersionedValue`1 update)
   at Microsoft.VisualStudio.ProjectSystem.VSCode.LanguageServices.Workspace.<>c__DisplayClass41_0.<<OnWorkspaceUpdateAsync>g__ApplyUpdateWithinLockAsync|1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.VisualStudio.ProjectSystem.VSCode.LanguageServices.Workspace.<>c__DisplayClass41_0.<<OnWorkspaceUpdateAsync>g__ApplyUpdateWithinLockAsync|1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.VisualStudio.ProjectSystem.VSCode.LanguageServices.Workspace.<>c__DisplayClass41_0.<<OnWorkspaceUpdateAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.<>c__DisplayClass3_0.<<ExecuteAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.VisualStudio.Threading.ReentrantSemaphore.StackSemaphore.ExecuteAsync(Func`1 operation, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.ProjectSystem.OnceInitializedOnceDisposedUnderLockAsync.ExecuteUnderLockCoreAsync(Func`2 action, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.ProjectSystem.DataReceivingBlockSlim`1.ProcessInputQueueAsync(InputDataBuffer inputQueue)
<--- (Inner Exception #0)
===================

got the same error too

got the same error too:(

I have the exact same issue on ubuntu 23.04

It also fails after I downgraded to 2.0.376 (I'm using MacOS):
2023-08-24 11:23:20.014 [error] [ms-dotnettools.csharp] provider FAILED
2023-08-24 11:23:20.015 [error] Error: Invalid URI: The format of the URI could not be determined.
	at /Users/iliatsvetkov/.vscode/extensions/ms-dotnettools.csharp-2.0.376-darwin-arm64/dist/extension.js:2:2191134
	at re (/Users/iliatsvetkov/.vscode/extensions/ms-dotnettools.csharp-2.0.376-darwin-arm64/dist/extension.js:2:2191428)
	at /Users/iliatsvetkov/.vscode/extensions/ms-dotnettools.csharp-2.0.376-darwin-arm64/dist/extension.js:2:2186212
	at Immediate.<anonymous> (/Users/iliatsvetkov/.vscode/extensions/ms-dotnettools.csharp-2.0.376-darwin-arm64/dist/extension.js:2:2186232)
	at process.processImmediate (node:internal/timers:466:21)

UPD. ✅ I downgraded to v2.0.328 - now it works

Downgrade to 2.0.376 works for me too. The latest version published to vscode (2.0.413) is not even tagged here.

Same problem. And C# extension is broken again?

Got the same error this morning on my Visual Studio Code, using it to code a remote project (via SSH) on a Debian Linux machine.
Looks like a problem in the path (which doesn't reflect the actual remote project URI).
Downgrading C# extension to previous version solved the problem for me.

Same problem for me using the extension on ubuntu 22.04 via wsl. downgrading to v2.0.376 fixed the problem
`

same here on ubuntu 23.04

The 2.0+ version is totally a disaster,it brings so many problems that the previous versions do not have :( now I have to roll back to version 1.26,thanks god this version works perfectly while later versions suck!

For those, like me, who need this to do their job, I suggest you switch back to  Omnisharp for now.
This is the only thing that worked for me. So in other words stick with the current version but enable Omnisharp

(Makes me wonder if we even need something new instead of Omnisharp)

@Cosifne would you help take a look? This is a recent regression.
@lonix1 we are currently releasing fixes every week. September, if there are no blockers will have 4 releases. We do have another release left in August we can catch early next week if we have a fix by then. We will readjust milestone if that spans out.

For those, like me, who need this to do their job, I suggest you switch back to Omnisharp for now. This is the only thing that worked for me. So in other words stick with the current version but enable Omnisharp

(Makes me wonder if we even need something new instead of Omnisharp)

Rolling back to version 1+ might be more straight way

Jesus, I nearly ran mad. Realizing now that its a bug from the extension and not from my system. Thank God. Will try this.

For those, like me, who need this to do their job, I suggest you switch back to Omnisharp for now. This is the only thing that worked for me. So in other words stick with the current version but enable Omnisharp

(Makes me wonder if we even need something new instead of Omnisharp)

Rolling back to version 1+ might be more straight way

Got the same error this morning. I solved it by rolling back to v2.0.376

rollback works fine, thought was my pc, but was the new realase 😂. Just rollback to v2.0.376
if you dont know how to change the version by terminal, you can do it with the UI, just right click on the extension and click on
"Install Another Version..."

Same issue here, fixed with a +1 rollback. Frustrating to spend time on this - and MARVELOUS that this made it to prod from an official Microsoft extension for a Microsoft maintained programming language (C#) on a Microsoft tool (vscode). I'm on Ubuntu 23.04.

For those are hitting this issue, can you provide a dump of the environment variables from your shell? For example, run printenv. Specifically we'd be looking at either your $HOME variable or $DOTNET_ROOT.

I do not have a DOTNET_ROOT and HOME is just my /home/bjorn. Here is my dotnet --info output:
.NET SDK:
 Version:   7.0.110
 Commit:    ba920f88ac

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  23.04
 OS Platform: Linux
 RID:         ubuntu.23.04-x64
 Base Path:   /usr/lib/dotnet/sdk/7.0.110/

Host:
  Version:      7.0.10
  Architecture: x64
  Commit:       a6dbb800a4

.NET SDKs installed:
  6.0.121 [/usr/lib/dotnet/sdk]
  7.0.110 [/usr/lib/dotnet/sdk]

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

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

@bjornharrtell If you have a minute, are you able to upgrade back to the current latest and share the output of the C# output window?
Our current operating theory is some environment variables we expect to have absolute paths with are getting relative paths set, and that's not ending well.

@jasonmalinowski I also do not have a 'DOTNET_ROOT' environment variable, my home is /home/briandoesdev.
As far as my C# output, I know you asked @bjornharrtell but mine looks like this at the current version:
Using dotnet configured on PATH
Dotnet path: ../lib/dotnet/dotnet
Activating C# standalone...
[Info  - 2:31:17 PM] [Program]Language server initialized
[Info  - 2:31:17 PM] [LanguageServerProjectSystem]Loaded MSBuild at /usr/lib/dotnet/sdk/7.0.110
[Error - 2:31:18 PM] [LanguageServerProjectSystem]Exception thrown while loading /home/briandoesdev/projects/test-project/test-project.csproj System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
   at System.Uri..ctor(String uriString, UriKind uriKind)
   at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.CreateAbsoluteUri(String absolutePath) in /_/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 174
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.FileChangeContext.<>c.<.ctor>b__5_0(WatchedDirectory d) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 76
   at System.Linq.Enumerable.SelectArrayIterator`2.ToArray()
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.FileChangeContext..ctor(ImmutableArray`1 watchedDirectories, LspFileChangeWatcher lspFileChangeWatcher) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 76
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.LspFileChangeWatcher.CreateContext(WatchedDirectory[] watchedDirectories) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/LspFileChangeWatcher.cs:line 43
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.FileWatching.DelegatingFileChangeWatcher.CreateContext(WatchedDirectory[] watchedDirectories) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/FileWatching/DelegatingFileChangeWatcher.cs:line 56
   at Microsoft.CodeAnalysis.ProjectSystem.FileWatchedPortableExecutableReferenceFactory.<>c__DisplayClass5_0.<.ctor>b__0() in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/FileWatchedPortableExecutableReferenceFactory.cs:line 87
   at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
   at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
   at System.Lazy`1.CreateValue()
   at Microsoft.CodeAnalysis.ProjectSystem.FileWatchedPortableExecutableReferenceFactory.CreateReferenceAndStartWatchingFile(String fullFilePath, MetadataReferenceProperties properties) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/FileWatchedPortableExecutableReferenceFactory.cs:line 100
   at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.<>c__DisplayClass102_0.<OnBatchScopeDisposedMaybeAsync>b__0(SolutionChangeAccumulator solutionChanges) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 602
   at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProjectFactory.<>c__DisplayClass46_0.<ApplyBatchChangeToWorkspaceMaybeAsync>b__0(Solution oldSolution) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProjectFactory.cs:line 262
   at Microsoft.CodeAnalysis.Workspace.<>c.<SetCurrentSolutionAsync>b__27_3(Solution oldSolution, ValueTuple`5 data) in /_/src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 249
   at Microsoft.CodeAnalysis.Workspace.SetCurrentSolutionAsync[TData](Boolean useAsync, TData data, Func`3 transformation, Boolean mayRaiseEvents, Action`3 onBeforeUpdate, Action`3 onAfterUpdate, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 408
   at Microsoft.CodeAnalysis.Workspace.SetCurrentSolutionAsync(Boolean useAsync, Func`2 transformation, Func`3 changeKind, Action`2 onBeforeUpdate, Action`2 onAfterUpdate, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/Workspace/Workspace.cs:line 244
   at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProjectFactory.ApplyBatchChangeToWorkspaceMaybeAsync(Boolean useAsync, Action`1 mutation) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProjectFactory.cs:line 257
   at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.OnBatchScopeDisposedMaybeAsync(Boolean useAsync) in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 520
   at Microsoft.CodeAnalysis.Workspaces.ProjectSystem.ProjectSystemProject.BatchScope.DisposeAsync() in /_/src/Workspaces/Core/Portable/Workspace/ProjectSystem/ProjectSystemProject.cs:line 493
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LoadedProject.UpdateWithNewProjectInfoAsync(ProjectFileInfo newProjectInfo) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LoadedProject.cs:line 145
   at Microsoft.CodeAnalysis.LanguageServer.HostWorkspace.LanguageServerProjectSystem.LoadOrReloadProjectAsync(String projectPath, ProjectBuildManager projectBuildManager, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/LanguageServerProjectSystem.cs:line 240
[Info  - 2:31:18 PM] [LanguageServerProjectSystem]Completed (re)load of all projects in 00:00:00.9151837

@briandoesdev What is in your PATH? This is failing because the path we're ending up with in dotnet.exe is a relative path:
Using dotnet configured on PATH
Dotnet path: ../lib/dotnet/dotnet

And we're trying to figure out how that got there.

@jasonmalinowski Here is my PATH:
PATH=/home/briandoesdev/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c49794/bin/remote-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/VMware/VMware Workstation/bin/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/bin:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Git/bin:/mnt/c/Program Files/Amazon/AWSCLIV2/:/mnt/c/Program Files/GitHub CLI/:/mnt/c/Program Files/CMake/bin:/mnt/c/Users/brian/AppData/Roaming/nvm:/mnt/c/Program Files/Go/bin:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Program Files/PowerShell/7/:/mnt/c/Users/brian/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/brian/.dotnet/tools:/mnt/c/Users/brian/go/bin:/mnt/c/Users/brian/AppData/Local/Microsoft/WinGet/Packages/stedolan.jq_Microsoft.Winget.Source_8wekyb3d8bbwe:/mnt/c/Users/brian/.dotnet/tools:/mnt/c/Users/brian/apps:/mnt/c/Users/brian/go/bin

Also experiencing this issue on Ubuntu 22.04.3 LTS.
This is my path:
/home/stephen/.gem/ruby/3.1.2/bin:/home/stephen/.rubies/ruby-3.1.2/lib/ruby/gems/3.1.0/bin:/home/stephen/.rubies/ruby-3.1.2/bin:/home/stephen/.nvm/versions/node/v18.15.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/stephen/.dotnet/tools

Interestingly when I downgrade to v2.0.376 (which appears to fix the issue), the C# output changes from:
Using dotnet configured on PATH
Dotnet path: ../lib/dotnet/dotnet
Activating C# standalone...
...etc

to
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/stephen/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.10/dotnet
Activating C# standalone...
[Info  - 21:13:34] [Program]Language server initialized
[Info  - 21:13:34] [LanguageServerProjectSystem]Loaded MSBuild at /usr/lib/dotnet/sdk/7.0.110
[Info  - 21:13:34] [LanguageServerProjectSystem]Loading /home/stephen/projects/buttercup/Buttercup.sln...
etc..

In other words, in the older version that works, the extension is falling back to what looks like its own copy of the runtime.

We've got a repro here now internally and working on a fix; thanks all for the reports!

Looks like this is figured out now.
For anyone waiting on this release - looks like updating the dotnet.dotnetPath setting to the actual dotnet installation directory (/usr/lib/dotnet in my case) bypasses the issue.

Fix is checked in, it will be released next Monday.

Thanks for fixing this! Most stuff kept working, but the constant pop-ups of VSCode that I could not seem to disable, drove me mad. Or arguably just slightly madder.

Release is out.

I still experience this on  v2.0.436 when I use Go to definition.
[Error - 11:07:22 AM] [LanguageServerHost]System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind, UriCreationOptions& creationOptions)
   at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.CreateAbsoluteUri(String absolutePath) in /_/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 174
   at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.<TextSpanToLocationAsync>g__ConvertTextSpanToLocation|30_0(Document document, TextSpan span, Boolean isStale, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 464
   at Microsoft.CodeAnalysis.LanguageServer.ProtocolConversions.TextSpanToLocationAsync(Document document, TextSpan textSpan, Boolean isStale, Nullable`1 context, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Protocol/Extensions/ProtocolConversions.cs:line 429
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FindUsagesLSPContext.ComputeLocationAsync(Nullable`1 documentSpan, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Protocol/Handler/References/FindUsagesLSPContext.cs:line 209
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FindUsagesLSPContext.GenerateVSReferenceItemAsync(Int32 definitionId, Int32 id, Nullable`1 documentSpan, ImmutableDictionary`2 properties, ClassifiedTextElement definitionText, Glyph definitionGlyph, Nullable`1 symbolUsageInfo, Boolean isWrittenTo, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Protocol/Handler/References/FindUsagesLSPContext.cs:line 194
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FindUsagesLSPContext.OnDefinitionFoundAsync(DefinitionItem definition, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Protocol/Handler/References/FindUsagesLSPContext.cs:line 118
   at Microsoft.CodeAnalysis.FindUsages.AbstractFindUsagesService.FindReferencesProgressAdapter.OnDefinitionFoundAsync(SymbolGroup group, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/FindUsages/AbstractFindUsagesService.ProgressAdapter.cs:line 110
   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.ReportGroupAsync(ISymbol symbol, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesSearchEngine.cs:line 175
   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.ReportGroupsAsync(ImmutableArray`1 symbols, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesSearchEngine.cs:line 146
   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.FindReferencesAsync(ImmutableArray`1 symbols, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesSearchEngine.cs:line 132
   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.FindReferencesAsync(ImmutableArray`1 symbols, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesSearchEngine.cs:line 132
   at Microsoft.CodeAnalysis.FindSymbols.FindReferencesSearchEngine.FindReferencesAsync(ImmutableArray`1 symbols, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/FindSymbols/FindReferences/FindReferencesSearchEngine.cs:line 132
   at Microsoft.CodeAnalysis.FindSymbols.SymbolFinder.FindReferencesAsync(ISymbol symbol, Solution solution, IStreamingFindReferencesProgress progress, IImmutableSet`1 documents, FindReferencesSearchOptions options, CancellationToken cancellationToken) in /_/src/Workspaces/Core/Portable/FindSymbols/SymbolFinder_FindReferences_Current.cs:line 68
   at Microsoft.CodeAnalysis.FindUsages.AbstractFindUsagesService.FindReferencesAsync(IFindUsagesContext context, ISymbol symbol, Project project, FindReferencesSearchOptions options, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/FindUsages/AbstractFindUsagesService_FindReferences.cs:line 154
   at Microsoft.CodeAnalysis.FindUsages.AbstractFindUsagesService.FindSymbolReferencesAsync(IFindUsagesContext context, ISymbol symbol, Project project, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/FindUsages/AbstractFindUsagesService_FindReferences.cs:line 125
   at Microsoft.CodeAnalysis.FindUsages.AbstractFindUsagesService.FindSymbolReferencesAsync(IFindUsagesContext context, Document document, Int32 position, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/FindUsages/AbstractFindUsagesService_FindReferences.cs:line 103
   at Microsoft.CodeAnalysis.FindUsages.AbstractFindUsagesService.FindLiteralOrSymbolReferencesAsync(IFindUsagesContext context, Document document, Int32 position, CancellationToken cancellationToken) in /_/src/Features/Core/Portable/FindUsages/AbstractFindUsagesService_FindReferences.cs:line 65
   at Microsoft.CodeAnalysis.LanguageServer.Handler.FindAllReferencesHandler.HandleRequestAsync(ReferenceParams referenceParams, RequestContext context, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Protocol/Handler/References/FindAllReferencesHandler.cs:line 68
   at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`3.StartRequestAsync(TRequestContext context, CancellationToken cancellationToken) in /_/src/Features/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 176
[Error - 11:07:22 AM] Request textDocument/references failed.

  Message: Invalid URI: The format of the URI could not be determined.

Yes I am. Same issue on mac and wsl. It works fine with OmniSharp 🤷♂

@moander Alright that's a known limitation then with the v2.0 extension. The fix is on it's way in https://github.com/dotnet/vscode-csharp/pull/5858, although it'll still be another week or so since we've been prioritizing some other issues at the moment.

Has a fix been released yet? I'm getting errors similar to this one and "Error: Unable to get working directory for project Miscellaneous Files"

@HugoCortell The known fixes for 6218 (this bug) are out; if you're seeing something else please file a new bug.


RG353M Won't come back on from standby when pressing the power button

On the RG353M since the latest update (06022023) once powered on and you press the power button to put the device into standby it no longer comes back from standby. Seems to have completely frozen as it requires me to hold the power button to power it off and then it powers on usual.
Update: found the issue, had to enable light sleep support to fix the issue, first time I’d seen this option.

Note that light sleep has higher power draw then deep sleep.  If your device can properly go into and come out of deep sleep without issue, try switching to deep sleep again.  If you still encounter this issue, then your unit is only compatible with light sleep so power drain will be something you'll have to be aware of depending on how long you tend to keep your unit in sleep mode instead of powered off.


File name incompatibility for bucketed tables between Presto and Velox

Bug description
When testing Glue catalog with Velox, I found that bucketed tables are broken in Prestissimo/Velox due to file name compatibility issues with Presto. The error is due to differences in file name format which are probably fine for regular and partitioned reads/writes but cause problems for bucketing.
Presto generates the following file names for bucketed tables: 000005_0_20230326_203358_00001_knt7i.
Velox generates different names: 20230326_195144_00002_wi48b.1.0.2_0_b2d34dc8-05b1-4a09-9ece-e9632a04b7b8.
Whenever the bucketing is enabled, computePartitionUpdatesForMissingBuckets method needs to compute the missing buckets to pad the amount of existing buckets (assuming your data does not fall into all of the buckets - for this case, read on). Because Velox file names are different, the total number of buckets ends up being existing + missing > total bucket count and fails the assertion.
Note that you can generate data that would create all of the buckets or simply set hive.create-empty-bucket-files  to false. This makes CREATE AS SELECT and CREATE + INSERT work for bucketed tables; however, you would encounter an issue reading such tables: File '20230328_202231_00002_kj8v<IP_ADDRESS>_0_c968fed0-0756-4235-9946- 517b0b4a62b0' does not match the standard naming pattern.
Here are the exceptions thrown depending on the value of hive.create-empty-bucket-files.
With hive.create-empty-bucket-files set to true (default) - I had to improve the assertion message to show the actual difference:
com.google.common.base.VerifyException: Bucket count mismatch, expected bucket count 7 but found existing file names
[20230328_201513_00002_45b<IP_ADDRESS>_0_416eceb1-21bd-46b3-8dc6-c5d0964843f3] and missing file names
[000000_0_20230328_201513_00002_45b64, 000001_0_20230328_201513_00002_45b64,
000002_0_20230328_201513_00002_45b64, 000003_0_20230328_201513_00002_45b64,
000004_0_20230328_201513_00002_45b64, 000005_0_20230328_201513_00002_45b64,
000006_0_20230328_201513_00002_45b64]
	at com.google.common.base.Verify.verify(Verify.java:443)
	at com.facebook.presto.hive.HiveMetadata.computeFileNamesForMissingBuckets(HiveMetadata.java:1868)
	at com.facebook.presto.hive.HiveMetadata.computePartitionUpdatesForMissingBuckets(HiveMetadata.java:1826)
	at com.facebook.presto.hive.HiveMetadata.finishInsertInternal(HiveMetadata.java:2002)
	at com.facebook.presto.hive.HiveMetadata.finishInsert(HiveMetadata.java:1981)
	at com.facebook.presto.spi.connector.classloader.ClassLoaderSafeConnectorMetadata.finishInsert(ClassLoaderSafeConnectorMetadata.java:452)
	at com.facebook.presto.metadata.MetadataManager.finishInsert(MetadataManager.java:858)

With hive.create-empty-bucket-files set to false:
Caused by: java.lang.RuntimeException: Hive table 'tmp_presto_glue_test_test_schemab69fd14160a5447f832499a950fb865c.
tmp_presto_glue_test_test_table638ca13efc524ec3ae076adb3a9f9629' is corrupt. File '20230328_202231_00002_kj8v<IP_ADDRESS>_0_c968fed0-0756-4235-9946-
517b0b4a62b0' does not match the standard naming pattern, and the number of files in the directory (1) does not match the
declared bucket count (7) for partition: orderdate=1996-12-09
	at com.facebook.presto.tests.AbstractTestingPrestoClient.execute(AbstractTestingPrestoClient.java:124)
	at com.facebook.presto.tests.DistributedQueryRunner.execute(DistributedQueryRunner.java:726)
	at com.facebook.presto.tests.DistributedQueryRunner.execute(DistributedQueryRunner.java:694)
	at com.facebook.presto.tests.QueryAssertions.assertQuery(QueryAssertions.java:175)
	... 32 more

The root cause appears to be divergence between Velox file name generation and HiveWriterFactory.computeBucketedFileName. Those should probably be synchronised with Velox being a library and receiving the final file name from Presto.
You can find examples of tests that reproduce the error in https://github.com/prestodb/presto/pull/19155/files#diff-7e4397f8e1a0d93026a6cd25a11dd7e15e3c704e99ec8b7ab9eb14111f13a035R364 (work in progress).
System information
Reproducible on the latest master. The build that I was testing locally with is as follows:
Velox System Info v0.0.2
Commit: 8b883b0b04ae63181650a2fd8a97ffe798269a39
CMake Version: 3.26.1
System: Darwin-21.6.0
Arch: arm64
C++ Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
C++ Compiler Version: <IP_ADDRESS>00029
C Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
C Compiler Version: <IP_ADDRESS>00029
CMake Prefix Path: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr;/Users/ivan/homebrew;/usr/local;/usr;/;/Users/ivan/homebrew/Cellar/cmake/3.26.1;/usr/local;/usr/X11R6;/usr/pkg;/opt;/sw;/opt/local
Relevant logs
No response

CC: @gggrace14


Retrieve and render Storybook Medium posts

Fixes #15.
Apologies that this took so long.
This solution uses the gatsby-source-medium plugin as suggested in https://github.com/storybooks/frontpage/issues/15#issuecomment-456590716. With the gatsby server running it works, but in the Storybook it displays a Loading(StaticQuery) for me.

Processed your feedback @domyen. Have to admit, it became quite repetitive as the Footer is used in all screen components. Is it an idea to maybe at least abstract such grapql queries to another place too? Because it's basically just the same query copy pasted into all the different places (same goes for the github contributor count)

Great stuff @Keraito. I agree, let's make a HoC withFooterData or something?
const withFooterData = Component => props => {
   return (
     <StaticQuery
       query={graphql`
         query AddonsScreenQuery {
           allMediumPost(sort: { fields: [createdAt], order: DESC }, limit: 3) {
             edges {
               node {
                 id
                 title
                 virtuals {
                   subtitle
                 }
                 medium_id
                 uniqueSlug
               }
             }
           }
         }
       `}
       render={data => <Component data={data} {...props} />}
     />
   );
 }

What do you think?

@tmeasday in the case that medium posts are the only data being queried through graphql that approach is decent. but there are a few cases where the medium query had to be combined with the github contributor query (https://github.com/storybooks/frontpage/pull/23/files#diff-42d93a1d8c39c023cf94708c926b1f00 f.e.). In that case, it doesn't make sense to separate both queries into an HOC. My idea was to only abstract the queries away since those are exactly the same everywhere, so it would become something like:
export default function ___Screen(props) {
  return (
    <StaticQuery
      query={graphql`
        query ___ScreenQuery {
          ${githubRepoQuery}
          ${mediumPostsQuery}
        }`
      }
      render={data => <Pure___Screen data={data} {...props}/>}
  );
}

WDYT?

@dakebl I would be OK with that. Can we mock it in storybook?

@tmeasday Yeah, we just need to export both the StaticQuery and the component itself: https://github.com/gatsbyjs/gatsby/blob/master/docs/docs/testing-components-with-graphql.md#testing-staticquery

@dakebl - yes I have seen that before but the downside of that technique is that you can write stories for Footer now (using PureFooter) but you can no longer write stories for any component that itself uses Footer.
I think to bypass this problem we'd need to provide a context to the Footer (not PureFooter) that looks something like what StaticQuery expects. I think I've looked into this before without immediate success, hopefully you can have more luck!

Bumping this PR 👋
We're in the final stages of Storybook 5.0 QA so this site will be launching soon. I want to make sure to get this in there!

I will try to pick this up again this week

I couldn't quite find the time for this issue in the past week. If this is a matter of turning it into Fragments, I can provide a patch quite quickly. But if we want to resort back to using the StaticQuery that @dakebl 	describes, I'm not sure if I will be able to tackle the issues described by @tmeasday. So if the latter solution is prefered, it might be better for someone else to pick this up. cc @domyen

Thanks @Keraito, everything is 👍 from my end.
The requirements from me are to:
✅Get posts from Medium
✅Get stories in Storybook
@tmeasday do you want to do optimizations or should we go ahead and merge?

@domyen Let's merge this as is. In the future I think we pull the GraphQL fragment out at the least.

This is failing to build so I can't merge it.
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

@Keraito can you take a look? It first appeared here 🙏

I can't work this one out. Somehow this commit: https://github.com/storybooks/frontpage/pull/23/commits/fa0b6918d6a75d2a9c5ada122ed6c5e3cbf1c822 made the gatsby build fail.

Gahh this was a really obvious problem in the end


[eas-cli] Fix build status when build is canceled

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
Closes #1007

/changelog-entry bug-fix Fix "Unknown status" error when a build is canceled.


fix(DTFS2-6713): estore buyer, deal, facilities and documents upload

Introduction :pencil2:
This PR mitigates issue with CRON execution pertinent buyer, deal, facility and documents upload, whilst also ensure strong TS static typing, improved documentation and enhanced logging.
Resolution :heavy_check_mark:

Deal CRON execution script.
Buyer CRON execution script.
Facility CRON execution script.
Documents upload CRON execution script.
Introduced repositories to external-api for cron-job-logs, this is a minimal implementation a typical implementation will require a complete cron-job-log interface definition with relevant types, which is outside this PR scope.

Miscellaneous :heavy_plus_sign:

Upgraded Husky to 9.1.4 and Husky GitHub hooks.
Improved documentation.
Consistent file naming conventions.
Updated publish.yml to specify release-type argument.
Updated deployment.yml to allow MSSQL data migration script execution @ChristianMcc
Have introduced .markdownlint.json to ensure consistent MD syntax linting and 80 characters limit to comply with MD013 rule.
Have enabled conditional replica set execution during MongoDB build process using entrypoint.sh, this approach allows for a singular docker-compose.yml file with build process configuration.

Note ⚠

Please ensure to add ENABLE_REPLICA_SET=true in your root .env, if you wish to run it locally with MongoDB replica set enabled.

Note I can't see the changes mentioned under Updated deployment.yml to allow MSSQL data migration script execution @ChristianMcc in the PR description, was that done as part of a different PR now?


Postgres enum support in datafusion table provider

Closed by: https://github.com/datafusion-contrib/datafusion-table-providers/pull/100


Fix ONNX Runtime inference in ORTTrainer

What does this PR do?
As suggested by the title, the inference with ONNX runtime is currently broken due to recent changes:

Migration of exporter(from transformers to optimum).
Using subclasses of ORTModel instead of bare inference session for inference.

Fixes #692 #707
This PR fixes the following:

Missing config(now the config will also be saved even without training, while exporting ONNX model)
Remove redundant codes for numpy->torch tensor, as we use ORTModel now.
Adapt export model names to the default of ORTModel.
Validate execution provider while using onnxruntime-training for inference.
IOBinding with dlpack while using onnxruntime-training.

[CAVEAT]
Due to current limit of ORTModelForCausalLM(doesn't support loss as an output), the inference for decoding will not be able to leverage pre-computed attention keys and values, which means significant overhead. This will be fixed after a refactoring, so to benchmark the performance of ONNX runtime inference, please use subclasses of ORTModel instead of ORTTrainer.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Looks great! Could you maybe add a nightly test? Basically to make sure that what was not working is now tested so that we can quickly catch if something breaks.

Highlighting it:

Could you maybe add a nightly test?

I really think it is important to test what was not tested, was failing while it should not. Or open an issue to track it so as to do it in a following PR.

@fxmarty For training tests, some of them are outdated, I would prefer to tackle it in another PR.


Update install on windows docs

Add use of command prompt, silent install and command-line options to installer.
Type of change

[ ] Bug fix
[ ] New feature
[X] Documentation update
[ ] Other

Checklist:

[X] I have followed the style guidelines of this project.~~
[X] I have performed a self-review of my own code.~~
- [ ] I have commented my code where applicable.
- [ ] I have updated the release notes.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have confirmed new and existing unit tests pass locally with my changes.
- [ ] I have added new baselines for any new tests to the repo.
- [ ] I have NOT made any changes to protocol or public interfaces in an RC branch.
[ ] I have assigned reviewers (see VisIt's PR procedures for more information).~~

@brugger, here's a link to the generated changed page


Adding to traits field not working as expected

Check for existing bug reports before submitting.

[X] I searched for existing Bug Reports and found no similar reports.

Expected Behavior
The added trait is appended once at the end of the list of existing traits.
Current behaviour
The trait is appended three times, once before the list of existing traits and twice after.

Reproduction

Create a stat block in any file
Append any new trait to the traits field

e.g.:
monster: Unicorn
traits+:
  - name: Test
    desc: Test

Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows

Obsidian Version Check
1.5.12
Plugin Version
4.4.2
Confirmation

[X] I have disabled all other plugins and the issue still persists.

Possible solution
No response

I am also finding this issue on the MacOS version

The exact same thing happens on adding to actions.
One entry is added above the existing actions and two below.
(Obsidian v1.6.7, Fantasy Statblock v4.6.0, Windows)


Can't build for java

I try build tdlib for java.
Build script get from https://tdlib.github.io/td/build.html?language=Java
Choice:

OS: linux
Distro: i was try for debian10+ and ubuntu20
Compiler: i was try for g++ and clang

In all cases with all compilers and distros i use docker for building.
In all ceses get same error:
[ 40%] Generating Javadoc documentation
Loading source files for package org.drinkless.tdlib...
./org/drinkless/tdlib/TdApi.java:43686: error: unmappable character (0xC3) for encoding US-ASCII
     * A cubic B??zier curve to a given point.
                ^
./org/drinkless/tdlib/TdApi.java:43686: error: unmappable character (0xA9) for encoding US-ASCII
     * A cubic B??zier curve to a given point.
                 ^
./org/drinkless/tdlib/TdApi.java:43703: error: unmappable character (0xC3) for encoding US-ASCII
         * A cubic B??zier curve to a given point.
                    ^
./org/drinkless/tdlib/TdApi.java:43703: error: unmappable character (0xA9) for encoding US-ASCII
         * A cubic B??zier curve to a given point.
                     ^
./org/drinkless/tdlib/TdApi.java:43709: error: unmappable character (0xC3) for encoding US-ASCII
         * A cubic B??zier curve to a given point.
                    ^
./org/drinkless/tdlib/TdApi.java:43709: error: unmappable character (0xA9) for encoding US-ASCII
         * A cubic B??zier curve to a given point.
                     ^
6 errors
gmake[2]: *** [CMakeFiles/generate_javadoc.dir/build.make:77: CMakeFiles/generate_javadoc] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:127: CMakeFiles/generate_javadoc.dir/all] Error 2
gmake: *** [Makefile:149: all] Error 2

When call git clone in build script i set this repository version 1.8.0 and master, in result has same errors.
I check generated file TdLib.java, i think problem with symbol E with dot

A cubic Bézier curve to a given point.

Any ideas how to fix problem?

Could you check that this is fixed in https://github.com/tdlib/td/commit/3edf14b64e8d3fa84f52d734508150cd00582774?

Thanks a lot, now it work.


inconsistent dtype conversion during join

Just stumbled about a very nasty subtle dtype inconsistency after join operation that crippled by out-of-core-join-many-result-files pipeline for unfitting index sizes for the HDF append operation.
See the example code here:
https://nbviewer.jupyter.org/gist/michaelaye/1c34cda54872046b5989
or here as screenshot:

What happens that the dtypes of the to-be-joined dataframe depend on if the joining dataframe has either 1 or 2 columns.
Any hint how to avoid that would be appreciated.
Version: '0.16.2+148.gc740bb0'

No this depends on whether things are converted to float (e.g. a NaN is needed or not)
In [10]: df1.join(df2)
Out[10]:
         0         1         2         3         4         5         6        7         8         9   10  11  12
0  0.516009  0.060819  0.651483  0.272277  0.666867  0.559865  0.790434  0.11257  0.990345  0.329986   1   2   3
1  0.355554  0.344380  0.835125  0.101141  0.691940  0.894923  0.922320  0.88279  0.497368  0.253967 NaN NaN NaN

In [11]: df1.drop(1).join(df2)
Out[11]:
         0         1         2         3         4         5         6        7         8         9   10  11  12
0  0.516009  0.060819  0.651483  0.272277  0.666867  0.559865  0.790434  0.11257  0.990345  0.329986   1   2   3

brave man for using master though :)

So i guess the only way to force dtype consistency is to copy the one row data frame n times the height of the first one to avoid the need for NaNs?
Lacks elegance**2. ;)
Sent from my iPhone

On Aug 20, 2015, at 15:39, Jeff Reback<EMAIL_ADDRESS>wrote:
brave man for using master though :)
—
Reply to this email directly or view it on GitHub.

how can you avoid the need for NaN in a type that doesn't support it (ATM)?
not really sure how/why this is an issue.

I need to join data frame 1 with data frame 2 and sometimes data frame 1 has 1 row and sometime more than 1.  When it has more than 1 the join operation leads to NaNs and therefore a type conversion of the Int columns of data frame 2 when joining them.
After they have been joined I need to store them in HDF files during an parallel processing for later joining them into a big HDF store. But for that the types need to be consistent. So I need to avoid the automatic conversion to float for the case data frame 1 has more than 1 row (which I prefer to the solution of concert the whole data frame 2 to floats even so it's storing  integers conceptually).
Sent from my iPhone

On Aug 20, 2015, at 16:30, Jeff Reback<EMAIL_ADDRESS>wrote:
how can you avoid the need for NaN in a type that doesn't support it (ATM)?
not really sure how/why this is an issue.
—
Reply to this email directly or view it on GitHub.

is their a reason you would just not use all floats in the first place ?

I didn't calculate if it mattered in terms of space for me, but usually I stay with integers if I can in case I need to do selection on their values. df[df.a==x] is easier to type than df[(df.a - x) < eps]

I shouldn't have used join in the first place, I think as I do a simple concat actually.
Here's my solution for keep using ints where appropriate:
if len(df1) > 1:
    df2 = df2.append([df2] * (len(df1) -1), ignore_axis=True)
joined = pd.concat([df1, df2], axis=1)


Update debug dependency to fix vulnerability

There is a vulnerability report via snyk in this module's dependency, debug.
And it has been resolved above<EMAIL_ADDRESS>references:

https://snyk.io/test/npm/tar-pack/3.3.0
https://github.com/visionmedia/debug/blob/master/CHANGELOG.md#267--2017-05-16

Oh, it has been resolved in 3.4.0. (with caret dependency)
https://snyk.io/test/npm/tar-pack/3.4.0

I'd better to close this :)


JPA with Azure DB

[Enter feedback here]
I am trying JPA with the same config in springbot 2.5.4(latest) and getting the error below for creating table.
Config
spring.datasource.url=jdbc:sqlserver://XXXXXXX;databaseName=XXXXXX
spring.datasource.username=wmscatint
spring.datasource.password=XXXXXXX
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto = create-drop
logging.level.org.hibernate.SQL=DEBUG

Error:
Hibernate: drop table student
2021-09-28 15:47:55.190  WARN 9912 --- [  restartedMain] o.h.t.s.i.ExceptionHandlerLoggedImpl     : GenerationTarget encountered exception accepting command : Error executing DDL "drop table student" via JDBC Statement
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "drop table student" via JDBC Statement
at org.hibernate.tool.schema.internal.exec.GenerationTargetToDatabase.accept(GenerationTargetToDatabase.java:67) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]
GenerationTargetToDatabase.java:67
at org.hibernate.tool.schema.internal.SchemaDropperImpl.applySqlString(SchemaDropperImpl.java:375) ~[hibernate-core-5.4.32.Final.jar:5.4.32.Final]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 97324ff3-4920-98ca-42e7-3eab1e77dc4f
Version Independent ID: 771d24a6-683d-09a0-f1b8-598b2e3b3db4
Content: Use Spring Data JPA with Azure SQL Database
Content Source: articles/java/spring-framework/configure-spring-data-jpa-with-azure-sql-server.md
Service: sql-database
GitHub Login: @KarlErickson
Microsoft Alias: judubois

I couldn’t recreate the issue.  Successful screen shots below.
I suspect it was one of two things, which I will be updating in the documentation:
-The MS SQL password has to meet VERY specific criteria, and does not pass an obvious message if the setup fails due to a non-compliant password.  I’ll add a note and a link to this documentation for the SQL Server QuickStart’s.
-If you use WSL on Windows, the WSL client ID is not the same as the Windows client ID, and the WSL client ID needs to be added to the database firewall.  I’ll update the QuickStarts with this detail as well.

Closing as no-repro. Thanks for investigating (and for the upcoming doc updates), @bbenz!


Refactor bad token detector into trait and module

I plan on using the trait to implement wrapping detectors that can add a
cache and explicit allow and deny lists.
I dropped the gas price from TokenQuality because I am not sure yet how it should work with the allow and deny lists. Can add this back later.
Test Plan
not needed

Looks excellent. I only wonder if we can expect the logs for bad token quality to come along with the token address as well. I presume this to be true, but don't really see a sign of it here.

Not sure exactly what you mean. This is just some infrastructure for detecting bad tokens. The code that calls it gives it a token address to check so it already knows what the address is and it can do logging how it wants to.


Limits names lookback in Elasticsearch

This reuses QUERY_LOOKBACK to limit names queries (service and span
names) from searching all indexes. This is particularly important for
high-volume sites (ex 100% sampling or high traffic), and those who do
not use curator or otherwise to prune data.
Fixes #1462 (at least helps a lot with no schema change)

circleci is freaking out on license header dates (which was a problem we had in travis prior)

sounds like a bug. mind sending a PR to fix this (along with a unit test to
show it working)?
nice find!

@adriancole Thank you for your conform, I will check if there are still similar issues and try fixing them.


Replace captcha with recaptcha for mweb

👓 @uzi @KeyserSosa
Have to wait for below PR deployed first:
https://github.com/reddit/reddit-public/pull/5828

:fish: assuming I shouldn't be worried about the unit test!

:fish: as well ... but of course have to wait for that other patch


New installs encountering trouble getting packages in the flutter_gallery example

This is happening to users following the https://flutter.io/get-started/install/ instructions.
The error appears similar to #16162.
I'm asking them to provide more details on this thread.

I downloaded it from Git as a Zip file. Then unzipped, opened the gallery folder and did a flutter get, the flutter upgrade.
Logs
Pix:flutter_gallery marco$ flutter run
Running "flutter packages get" in flutter_gallery...
Package file has no versions that match 2.3.7 derived from:

flutter_driver 0.0.0 depends on version 2.3.7
flutter_gallery depends on version 3.0.0
pub get failed (1)
Pix:flutter_gallery marco$

Flutter Doctor
Pix:flutter_gallery marco$ flutter doctor -v
[✓] Flutter (Channel beta, v0.2.3, on Mac OS X 10.13.4 17E199, locale en-US)
• Flutter version 0.2.3 at /Users/marco/flutter
• Framework revision 5a58b36e36 (3 weeks ago), 2018-03-13 13:20:13 -0700
• Engine revision e61bb9ac3a
• Dart version 2.0.0-dev.35.flutter-290c576264
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at /Users/marco/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.3, Build version 9E145
• ios-deploy 1.9.2
• CocoaPods version 1.4.0
[✓] Android Studio (version 3.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[✓] VS Code (version 1.21.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.11.2
[✓] Connected devices (1 available)
• iPhone X • 55C63F10-A0FA-4CD8-9E89-BF66AA5FEA8F • ios • iOS 11.3 (simulator)
• No issues found!
Pix:flutter_gallery marco$
---  I also tried the flutter packages get
flutter packages get
[flutter_gallery] flutter packages get
Running "flutter packages get" in flutter_gallery...
Package file has no versions that match 2.3.7 derived from:

flutter_driver 0.0.0 depends on version 2.3.7
flutter_gallery depends on version 3.0.0
pub get failed (1)
exit code 1

Works fine with the Beta 2 Update.

Based on the age of this, the comment above and comments in https://github.com/flutter/flutter/issues/16162 I think this is long fixed. Please post back if you still have issues.


Wrong starting date in data when getting in Direct DB Connection mode

When I getting data using Direct DB Connection mode, first data point is missed.
For example, I asking metrics trend data with date range starting from 2012/01/31 00:00:00, item have 5m interval.
Data inspection shows first data point is 2012/01/31 00:05:00. There is not such issue when I turn off Direct DB mode to use API, in this way I got first data point from 2012/01/31 00:00:00
Expected behavior: first data point date should be same, as in API mode
Grafana 7.4.3
Zabbix 4.0.25
Grafana-Zabbix Plugin 4.1.2

Yes, it seems, range from/to timestamps should be included in the filter:
https://github.com/alexanderzobnin/grafana-zabbix/blob/29a8bde236bd8bc059a2b649e2bb55440c827bd4/src/datasource-zabbix/zabbix/connectors/sql/mysql.js#L10


Capture telemetry data for Azure Spinnaker usage

@alvadb @jinglouMSFT @scotmoor  PTAL

@huanhuansunmsft

What about internal v. external subscriptions/users? Do we need to have a way to filter out internal users?


Provide mapping UI for C8Y -> Hub Events (outbound)

UI currently only supports inbound (Hub Events -> C8Y):

There should be another menu entry "Events to Hub" and a page to configure the mapping. At the moment C8Y to ADAMOS Hub event processing is implemented in the Hub Connector Backend in a fixed way:

Every 60s all events of type AdamosHubEvent are fetched
Check if the device is a Hub-connected device, progress only if true
Extract "adamos_hub_data" fragment from C8Y event
Enhance extracted fragment with the HUB id of the device and timestamp
Send event containing the enriched data to ADAMOS Hub

In the future the mapping should be configurable. A user should be able to select:

The Cumulocity event type that should be the source of the mapping (free-text field)
Optionally select one or multiple devices for which the event should be mapped. If no device is selected, rule should apply to all devices
The ADAMOS Hub event code (=type)  as a free-text field
A list of fragments from the C8Y event that should be mapped 1:1 into the "attributes" array of the ADMOS Hub event. If the C8Y event fragment is an array, the elements of that array should be flattened into the "attributes" array.

See here for specification  of ADAMOS Hub events:
https://enablement.adamos.com/adamos-hub/fuer-entwickler/developer-handbook/event-service/?anchor=Event-definition
The microservice implementation here:
https://github.com/SoftwareAG/c8y-adamos-hub-connector/blob/213e6499a24930ede4421272d68dbb96b241297f/ax-mm-hubconnector/src/main/java/com/adamos/hubconnector/services/EventRulesService.java#L118
needs to be extended to interpret the mapping rules and start separate listeners per mapping rule. Upon changes of mapping rules, the listeners should be updated. Listener logic should remain polling for the time being (change to Notification 2.0 is treated in #27). Probably best to have one repeated tasks that polls all "listeners".

@haraldmeyer The list of fragments is optional I guess? The list of devices - should it contain all c8y devices of a tenant or just the devices which are connected with ADAMOS Hub?

only Hub-connected devices
all ADAMOS Hub Events at the moment, require a payload in the form of one or multiple fragment. It is conceivable that this might not be the case in the future though. So let us make it optional.

In progress. Created UI part. Continuing with MS part.


Add ipset

@axeal can you please also change the README to reflect that ipset is added?

@axeal can you please also change the README to reflect that ipset is added?

@nicolaka Done


Queues

Hi,
Is that possible to find a contact from agent queues/connections with a phone number?

Closing the issue as it's not applicable for the streams API.