Webpack or Browserify doesn't work

Hello @caspervonb I have tried use webpack together with amok but I got error on this line https://github.com/caspervonb/node-rdbg/blob/master/index.js#L131 as [TypeError: Cannot read property 'apply' of undefined]. For it I use console.log(error) instead of this.error(error);. For example I use the following code
var React = require('react');

var HelloMessage = React.createClass({displayName: "HelloMessage",
  render: function() {
    return React.createElement("div", null, "Hello ", this.props.name);
  }
});

React.render(React.createElement(HelloMessage, {name: "Denis"}), document.body);

And this command amok --client chrome --compiler webpack app.js

Hm am able to run your example on my Linux setup at the very least.
Could you do a quick test that the canvas demo runs?
git clone https://gist.github.com/d58c3eecb72ba3dd0846.git examples
cd examples
amok --verbose --client chrome --compiler webpack canvas.js

same error here (OSX) even w/o webpack, just amok --client chrome canvas.js:
/.../amok/node_modules/rdbg/index.js:131
        this.error(error);
             ^
TypeError: undefined is not a function
    at WebSocket.<anonymous> (/.../amok/node_modules/rdbg/index.js:131:14)
    at WebSocket.emit (events.js:110:17)
    at Receiver.ontext (/.../amok/node_modules/rdbg/node_modules/ws/lib/WebSocket.js:798:10)
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/Receiver.js:473:18
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/Receiver.js:357:7
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/PerMessageDeflate.js:217:5
    at afterWrite (_stream_writable.js:361:3)
    at onwrite (_stream_writable.js:352:7)
    at WritableState.onwrite (_stream_writable.js:105:5)
    at afterTransform (_stream_transform.js:99:5)

I think it's somehow related to https://github.com/caspervonb/amok/commit/88a60049bd99d2b8100feb5b7cfac3b96959b963, because at first launch amok crashes but leaves chrome instance running. at second launch it spawns one more chrome instance and works fine with it.

Give 0.12.4 a try, fixes the error reporting at-least so we'll get the actual error.

Chrome version might also be relevant

same undefined is not a function at amok/node_modules/rdbg/index.js:131 as above.
└─┬<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  ├──<EMAIL_ADDRESS>  └──<EMAIL_ADDRESS>
Chrome 42.0.2311.68 beta (64-bit).

Should've been an emit('error', error)

Attaching debugger...
Debugger attached to
events.js:85
      throw er; // Unhandled 'error' event
            ^
TypeError: Cannot read property 'map' of undefined
    at EventEmitter.<anonymous> (/.../amok/cmd.js:167:42)
    at EventEmitter.emit (events.js:107:17)
    at ChromeConnection._process (/.../amok/node_modules/rdbg/index.js:67:23)
    at WebSocket.<anonymous> (/.../amok/node_modules/rdbg/index.js:129:14)
    at WebSocket.emit (events.js:110:17)
    at Receiver.ontext (/.../amok/node_modules/rdbg/node_modules/ws/lib/WebSocket.js:798:10)
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/Receiver.js:473:18
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/Receiver.js:357:7
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/PerMessageDeflate.js:217:5
    at afterWrite (_stream_writable.js:361:3)

Give v0.12.6 a try, can't reproduce so sorry for the back and forth :)

it works :+1:

Great. Appears there are some minor differences in the results from chrome between v41 and v42.

oops.
canvas.js works fine, but not the example with React from issue starter:
events.js:85
      throw er; // Unhandled 'error' event
            ^
TypeError: Cannot read property 'apply' of undefined
    at EventEmitter.<anonymous> (/.../amok/cmd.js:172:31)
    at EventEmitter.emit (events.js:107:17)
    at ChromeConnection._process (/.../amok/node_modules/rdbg/index.js:67:23)
    at WebSocket.<anonymous> (/.../amok/node_modules/rdbg/index.js:129:14)
    at WebSocket.emit (events.js:110:17)
    at Receiver.ontext (/.../amok/node_modules/rdbg/node_modules/ws/lib/WebSocket.js:798:10)
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/Receiver.js:473:18
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/Receiver.js:357:7
    at /.../amok/node_modules/rdbg/node_modules/ws/lib/PerMessageDeflate.js:217:5
    at afterWrite (_stream_writable.js:361:3)

Should be fixed as of 0.12.7

there are no errors with @0.12.7, but nothing changes until I manually hit the refresh in Chrome.
second attempt gives this:
Names
/var/folders/ml/gf29nss96nbcg16zk41p1n7m0000gn/T/amok-output11534-26188-fzj0ye/bundle.js  633 kB       0  [emitted]  main
   [0] ./app.js 286 bytes {0} [built]
    + 156 hidden modules
/var/folders/ml/gf29nss96nbcg16zk41p1n7m0000gn/T/amok-output11534-26188-fzj0ye/bundle.js changed
Re-compiling bundle.js ...
{ code: -32000, message: 'Uncaught Script not found' }

can you confirm that
var React = require('react');

var HelloMessage = React.createClass({displayName: "HelloMessage",
  render: function() {
    return React.createElement("div", null, "Hello ", this.props.name);
  }
});

React.render(React.createElement(HelloMessage, {name: "Denis"}), document.body);

works fine on your side? changing "Hello " inside render, for example.

I got it.. looks like we need to re-render it manually from setTimeout like in this video https://www.youtube.com/watch?v=-aWINzxCNW4
is there a better way to make the magic?

Yes it won't re-render because its strictly without side effects, the definition of the anonymous function referenced by the component's render property is changed, but React.render never gets called again.
setInterval would be the best option for now, something is coming in this space (watch #50)
You could stick it in a seperate file and do --require with browserify, leaving the application as is.

I can confirm that this works on Fedora
var React = require('react');

var HelloMessage = React.createClass({displayName: "HelloMessage",
  render: function() {
    return React.createElement("div", null, "Hello Yo ", this.props.name);
  }
});

setInterval(function() {
  React.render(React.createElement(HelloMessage, {name: "Denis"}), document.body);
}, 500);

Ran with
amok hello-react.js --client chrome --compiler webpack

Could I use this code without setTimeout like a webpack hot reload? Or I might use a webpack hot reload options with this tool? For example like this https://github.com/gaearon/react-hot-loader


Updated the Debian 9 ISO download URL to point to 9.13.0

Downloading the Debian 9 boot environment is currently failing. With this update it pulls the latest ISO which (as of this date) is 9.13.0
To replicate the issue run the following and notice that pulling version 9.12.0 fails:
drpcli bootenvs uploadiso debian-9-install

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Update cloudfront.tf

The values you entered for query_string_cache_keys are path_pattern values, not query string keys.
See this stack overflow answer for an approch that supports multiple path patterns
https://stackoverflow.com/a/61705359/2616170
You'll need to define path_patterns as a Python array first, which isn't shown in the example.


MINOR: Catch JsonMappingException subclass

InvalidTypeIdException cannot be catched currently

cc @rajinisivaram

@rhardouin Good catch. Would you be able to add an unit test? Thank you!

ok ;-)

I added unit tests for all RestExceptionMapper use cases

retest this please

cc @cmccabe


QR code not shown for plant with apostrophe in name

Fix that QR code is not shown if a plant name contains an apostrophe.

Implementation via 3cd55db1df0f17234dbc85b26c791df00f9036fc

Resolved.


what is the sensitivity of convert?

in the matrixnorms pdf there is suspicion that convert is actually 2-sensitive ont 1-sensitive, i'm probably wrong so i asked on SE:
https://cs.stackexchange.com/questions/145668/what-is-the-sensitivity-of-gradient-clipping-in-differentially-private-sgd

i'm not wrong. the norm used in the paper makes convert be 2-sensitive. the authors agree, proof is in the pdf...


xdebugPhpFpm permission denied fix

xdebugPhpFpm might not have execution access when cloned. This
addition to readme helps tell the user why he got Permission Denied and
what can be done to fix it.

This is reference to my comment in #385 .

@appleboy Thanks. A contributor finally!


Retry mechanism for when the rabbit mq server instance is down?

Hi,
A lot of thanks for the library. It's really easy to use.
I went through the documentation but I didn't see a way of retrying to reconnect if the first try to connect fails? Any suggestions?
Regards
Alex

Hi, Alexander!
Yup. you are right, there is no such functionality yet. Thank you for the suggestion, I will try to implement initial retries in the upcoming releases.
Best regards,
Antony

Alexandr, hi again!
I have implemented a retry mechanism and now you can configure that behaviour.
I covered this feature in this documentation file, but I will duplicate instructions here.
For now you can set new properties InitialConnectionRetries and InitialConnectionRetryTimeoutMilliseconds  in a configuration section
{
 "RabbitMq": {
    "HostName": "<IP_ADDRESS>",
    "Port": "5672",
    "UserName": "guest",
    "Password": "guest",
    "VirtualHost": "/",
    "InitialConnectionRetries": 5,
    "InitialConnectionRetryTimeoutMilliseconds": 200
  }
}

Values of those properties will be used when RabbitMqConnectionFactory try to create an initial connection. "InitialConnectionRetries": 5 and  "InitialConnectionRetryTimeoutMilliseconds": 200 accordingly are default values, but if you think that you need more retries or another timeout you can change it.
PR is right here https://github.com/AntonyVorontsov/RabbitMQ.Client.Core.DependencyInjection/pull/43
I will try to release a new version of the library in a couple of days.
Best regards,
Antony

This feature is now released with version 4.1.0. Try it out!
Closing the issue. If there is any other questions, feel free to re-open it.
Best regards,
Antony


[Autocomplete] Screen reader does not announce when it's open / closed

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When I open the screen reader using the keyboard, the screen reader does not announce that it's open
When I close the screen reader using the keyboard, the screen reader does not announce that it's closed
Expected behavior 🤔
When I open the screen reader using the keyboard, the screen reader should announce that it's open
When I close the screen reader using the keyboard, the screen reader should announce that it's closed
Steps to reproduce 🕹
Code sandbox link: https://codesandbox.io/s/combobox-material-demo-forked-d9joi
Screen reader: https://chrome.google.com/webstore/detail/screen-reader/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en
Steps:

Turn on screen reader
Go to codesandbox
Tab to the select dropdown
Press arrow down + ESC to open and close the component. The screen reader doesn't announce it

Context 🔦
I want the Autocomplete component to be accessible
Your environment 🌎

`npx @mui/envinfo`
Chrome browser
System:
    OS: macOS 11.5.2
  Binaries:
    Node: 14.18.1 - ~/.nvm/versions/node/v14.18.1/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 7.24.2 - ~/Documents/src/twic/twicapp-ui/node_modules/.bin/npm
  Browsers:
    Chrome: 96.0.4664.110
    Edge: Not Found
    Firefox: 92.0
    Safari: 15.0
  npmPackages:
    @emotion/react: 11.4.1 => 11.4.1
    @emotion/styled: 11.3.0 => 11.3.0
    @mui/base:  5.0.0-alpha.58
    @mui/lab: 5.0.0-alpha.59 => 5.0.0-alpha.59
    @mui/material: 5.2.2 => 5.2.2
    @mui/private-theming:  5.2.2
    @mui/styled-engine:  5.2.0
    @mui/styles: ^5.2.3 => 5.2.3
    @mui/system:  5.2.2
    @mui/types:  7.1.0
    @mui/utils:  5.2.2
    @types/react: 17.0.37 => 17.0.37
    react: 17.0.2 => 17.0.2
    react-dom: 17.0.2 => 17.0.2
    styled-components: 5.3.3 => 5.3.3
    typescript: 4.5.2 => 4.5.2

The role="combobox" should be on the input`, not on the outer div
My temporary workaround is to set
role={undefined}

and for inputProps
              'aria-expanded': is_open ? 'true' : 'false',
              role: 'combobox',

I've just verified that your proposal work with NVDA, I've used this sandbox - https://codesandbox.io/s/combobox-material-demo-forked-38b59?file=/demo.tsx
Would you like to create a pull request @EdmundMai?

@mnajdova Sure I can look into this. Before I begin, would you mind pointing me to the specific file(s) I need to update to save time?

@EdmundMai you should touch the useAutocomplete.js and maybe the Autocopmlete.js files.

Hi @mnajdova @EdmundMai , I am facing an issue with Mui Autocomplete when trying to move within the list of options with down arrow key on Firefox with VoiceOver screen reader enabled. It just collapses the list when i press the down arrow key, this is working fine with chrome. It is repeatable on official MUI docs for autocomplete https://mui.com/material-ui/react-autocomplete/, please let me know if this is a bug or how i will be able to fix it?


Remove $ignorePatternMatched variable

This variable will always be false.
See https://github.com/bramus/mixed-content-scan/pull/41#issuecomment-245213864

👍


Could this module support for more than 1 application.

In config we can set only 1 variant for cert and key.
Need feature like:

app_name1:
{
cert: cert.pem
key: key.pem
}
app_name2:
{
cert: cert.pem
key: key.pem
}

or another way?

@filos00f Hello,
How is the module supposed to decide which one of the keys to use?

Closing due to inactivity


Misplaced package names in graph view

It seems that package names are shifted when I look at the graphics at http://localhost:8080, which makes it quite unreadable:

I reproduce in Firefox and Chromium.

Did you have any additional package names in the cmd line or any more information about the input. Sometimes if the screen size changes after render it can truncate the svg but I've never seen anything like this.

@Nautigsam What happens when you run the tool in a directory that wont contain cookie?
I've been running the tool with a bunch of arguments and everytime I include the package cookie with enough packages to require a scroll bar I get this weird result where the cookie bar group will be labeled by another pkg, that label that is instead pointing to cookie its bar group will not be rendered and all the labels shift inward. Really confusing but if you could run the tool on some other packages and tell me what you get that'd be great.

I'll test it today.

The bar charts at the bottom were redesigned, see commit b78c2b967e98e086353523e3e9636b183a8294a6 . Or checkout the current version at http://npm-introspect.z3d.tech/


Remove deprecated WinGet package for March 2024 GDK Update 4

Remove deprecated WinGet package for March 2024 GDK Update 4
Microsoft Reviewers: Open in CodeFlow

@microsoft/xbox-developer-experience-toolbox for review


D3Net: training code

When will the training code for music source separation be released?

Thanks for your comment. We'll release the code soon.

D3Net MSS training code is now avaiable!
https://github.com/sony/ai-research-code/pull/35

Training code is already merged into master, so let me close.


undefined method 'config' for Monologue:Module when deploying to AWS w/ Capistrano 3

NoMethodError: undefined method config' for Monologue:Module /home/deploy/imagerelay-brand/releases/20150406203450/config/initializers/monologue.rb:1:in <top (required)>'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in load' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in block in load'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in load_dependency' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:268:in load'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:652:in block in load_config_initializer' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/notifications.rb:166:in instrument'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:651:in load_config_initializer' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:616:in block (2 levels) in class:Engine'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:615:in each' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:615:in block in class:Engine'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in instance_exec' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in run'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in block in run_initializers' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:44:in each'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:44:in tsort_each_child' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in run_initializers'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in initialize!' /home/deploy/imagerelay-brand/releases/20150406203450/config/environment.rb:5:in <top (required)>'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in require' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in block in require'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:240:in load_dependency' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:274:in require'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:328:in require_environment!' /home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:443:in block in run_tasks_blocks'
/home/deploy/imagerelay-brand/shared/bundle/ruby/2.2.0/gems/sprockets-rails-2.2.4/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'

this was resolved with some permission fixes


[hi] Replace deprecated fullversion shortcode in Hindi localized docs

Parent issue: https://github.com/kubernetes/website/issues/41005
Substitute the outdated fullversion shortcode with the new currentPatchVersion shortcode in the Hindi language documentation.
/assign
/triage accepted
/language hi

PR #41034 has been raised to address this issue.


git-prompt: add README and LICENSE (#7175)

Thanks! I deleted the license because it's not needed and we images weigh down on the repository but the rest was pretty much ok.

Great! Glad I could help.


Add "StatusCode" filter to ResponseLoggerOptions

I'd like to only log errors to lighten the amount of data written to my app insights account.
I'd be happy to make a pull request if you think this would be a valuable addition.

Hi Christian
I have started a major clean-up of the code basis to make it more testable, and also to implement the desired functionality. You can find the code in the branch feature/conditional_logging.
Also, I got rid of the path filter feature, as I think people will more likely use it the way you've suggested and in case an error occurred. See current options in BodyLoggerOptions.cs
You can use the middleware as shown below. Please let me know what you think.
public void ConfigureServices(IServiceCollection services)
{
	...

	services.AddApplicationInsightsTelemetry(Configuration["APPLICATIONINSIGHTS_CONNECTION_STRING"]);
	services.AddAppInsightsHttpBodyLogging(o =>
	{
		o.MaxBytes = 50000;
		o.HttpCodes = new List<int>
		{
			StatusCodes.Status200OK,
			StatusCodes.Status400BadRequest,
			StatusCodes.Status500InternalServerError
		};
	});
}

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
	if (env.IsDevelopment())
	{
		app.UseDeveloperExceptionPage();
		app.UseAppInsightsHttpBodyLogging();
	}

	...
}

First of all really appreciate all the work you're putting into this, I think it's going to be very useful.
Here are some of my thoughts:

From a user's perspective I'd want an easy way to target a range of status codes rather than have to define them so granularly. For me specifically for me personally I'd want to target all errors (400 and 500 level status codes)
Nitpick but it'd be nice if HttpVerbs were strongly typed. Like maybe instead of a string it takes in an HttpMethods
Defaults for HttpVerbs should probably include "PATCH" as well
My preference on defaults for HttpCodes should is to include all errors (400 and 500 level status codes)

Hi Christian, thanks again for your valuable feedback & praise 😃
I have just released a new version 2.0.0 of the nuget package that incorporates the changes. You might also want to have a look at the updated README.
Happy coding!

Awesome!! Can't wait to try it out


Register lucene shape filter conversion as ST_* function

SqlBindings.addDimFilterConversion(binder, LuceneShapeFilterConversion.of("ST_EQUALS", SpatialOperations.EQUALTO));
SqlBindings.addDimFilterConversion(binder, LuceneShapeFilterConversion.of("ST_WITHIN", SpatialOperations.COVEREDBY));
SqlBindings.addDimFilterConversion(binder, LuceneShapeFilterConversion.of("ST_CONTAINS", SpatialOperations.COVERS));
SqlBindings.addDimFilterConversion(binder, LuceneShapeFilterConversion.of("ST_INTERSECTS", SpatialOperations.INTERSECTS));
SqlBindings.addDimFilterConversion(binder, LuceneShapeFilterConversion.of("ST_OVERLAPS", SpatialOperations.OVERLAPS));

love it.


Move helloworld samples from getting-started-java

Fixes #issue

It's a good idea to open an issue first for discussion.

[ ] I have followed Sample Format Guide
[ ] pom.xml parent set to latest shared-configuration
[ ] Appropriate changes to README are included in PR
[ ] API's need to be enabled to test (tell us)
[ ] Environment Variables need to be set (ask us to set them)
[ ] Tests pass (mvn -P lint clean verify)

(Note- Checkstyle passing is required; Spotbugs, ErrorProne, PMD, etc. ERROR's are advisory only)

[ ] Please merge this PR for me once it is approved.

I think there is a parent pom in here you'll have to remove:
------------------------------------------------------------
- testing appengine-java8/helloworld
------------------------------------------------------------
     [java] JVM args ignored when same JVM is used.
[ERROR] com.example.appengine.java8.HelloAppEngine is Serializable; consider declaring a serialVersionUID [com.example.appengine.java8.HelloAppEngine] At HelloAppEngine.java:[lines 29-45] SE_NO_SERIALVERSIONID
[ERROR] This use of java/io/PrintWriter.println(Ljava/lang/String;)V could be vulnerable to XSS in the Servlet [com.example.appengine.java8.HelloAppEngine, com.example.appengine.java8.HelloAppEngine, com.example.appengine.java8.HelloAppEngine] At HelloAppEngine.java:[line 37]At HelloAppEngine.java:[line 38]At HelloAppEngine.java:[line 39] XSS_SERVLET

 Testing completed.

------------------------------------------------------------
- testing appengine-java8/sparkjava-helloworld
------------------------------------------------------------

 Testing failed: Unable to determine Java version. Please set in pom:

<properties>
  <maven.compiler.target>1.8</maven.compiler.target>
  <maven.compiler.source>1.8</maven.compiler.source>
</properties>

------------------------------------------------------------
- testing appengine-java8/springboot-helloworld
------------------------------------------------------------

 Testing failed: Unable to determine Java version. Please set in pom:

<properties>
  <maven.compiler.target>1.8</maven.compiler.target>
  <maven.compiler.source>1.8</maven.compiler.source>
</properties>

Probably need to remove appengine-java8/helloworld and test the other two independently


Build script fail on Xunit test failures

This PR is based off the PR #16

Wrap the call to xunit in an exec statement to throw when xunit exists with non-zero exit code
Consistent formatting of  curlies and params
Commented out the un-built tests (GetEventStore, Postgres & SqlLite)
Hide the dump of the System.Xml.Linq type information by capturing it as a variable.

:+1:


Subquery joins omit nil fields

Environment

Elixir version (elixir -v): Erlang/OTP 23 [erts-11.1.8] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe] Elixir 1.11.4 (compiled with Erlang/OTP 23)
Database and version (PostgreSQL 9.4, MongoDB 3.2, etc.): postgres (PostgreSQL) 13.2
Ecto version (mix deps): 3.6.1
Database adapter and version (mix deps): 0.15.8
Operating system: Darwin 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:07:06 PST 2021; root:xnu-7195.81.3~1/RELEASE_X86_64 x86_64 i386 MacBookPro16,2 Darwin

Current behavior
Minimal example query:
Repo.all(
  from s in "stories",
  join: v in subquery(from v in "votes", select: %{a: nil}),
  select: %{a: v.a}
)

Results with:
[debug] QUERY ERROR source="stories" db=0.0ms queue=0.9ms idle=1966.5ms
SELECT s1."a" FROM "stories" AS s0 INNER JOIN (SELECT TRUE FROM "votes" AS sv0) AS s1 ON TRUE []
** (Postgrex.Error) ERROR 42703 (undefined_column) column s1.a does not exist

    query: SELECT s1."a" FROM "stories" AS s0 INNER JOIN (SELECT TRUE FROM "votes" AS sv0) AS s1 ON TRUE
    (ecto_sql 3.6.0) lib/ecto/adapters/sql.ex:749: Ecto.Adapters.SQL.raise_sql_call_error/1
    (ecto_sql 3.6.0) lib/ecto/adapters/sql.ex:682: Ecto.Adapters.SQL.execute/5
    (ecto 3.6.0) lib/ecto/repo/queryable.ex:224: Ecto.Repo.Queryable.execute/4
    (ecto 3.6.0) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3

If I replace nil with fragment("NULL") it works as expected:
Repo.all(
  from s in "stories",
  join: v in subquery(from v in "votes", select: %{a: fragment("NULL")}),
  select: %{a: v.a}
)
# => [%{a: nil}, ...]

Expected behavior
The query should always return [%{a: nil}, ...] as these two queries should be treated as equivalent.

Good find. PR is welcome!


Getting literally 2 FPS

I've tried multiple different servers, even the demo, Im pretty sure its due to my bad computer or the network usage, just thought I'd put this as a bug as I do not lag on agar.

Could you try it with the server on your localhost? Most of the lag (currently) are due to the connection to server.
You can check the connection speed with -ping command (enter it to the chatbox)

It is still something I believe should be worked on as it is kind of making the game useless unless playing on LAN.

Same here.

Closing this issue since the problem seems to be caused by #5, #188, etc.


getKernel should return hipErrorNotFound if no module

In HipSolutionAdapter.cpp, getKernel(hipFunction_t& rv, string name) is used to search in the loaded kernels/modules for the right kernel matching the provided name. In the corner case of no module, getKernel will return hipSuccess  instead of hipErrorNotFound.
https://github.com/ROCmSoftwarePlatform/Tensile/blob/cbdcbb9083035c85467276585ed743e8166298f5/Tensile/Source/lib/source/hip/HipSolutionAdapter.cpp#L168

When using tensile_client without code-object, the loadEmbeddedCodeObjects()  method will be called. But since this object is empty, the m_modules attribute is left empty. So it's not even a rare case.


Can't attach host tags to metrics on AWS Fargate

Describe what happened:
I launched datadog-agent container in a ECS task( cf. https://www.datadoghq.com/blog/monitor-aws-fargate/) and attaching host tags by environment variable DD_TAGS.
My app sent custom metrics via dogstatsd.
This metrics are not found in metrics explorer when filtering by host tags.
Describe what you expected:
Metrics Explorer shows metrics with host tags sent from Fargate container.
Steps to reproduce the issue:
Described above.
Additional environment details (Operating System, Cloud provider, etc):
It seems that associating metrics and host tags fails because host is empty on Fargate.
https://github.com/DataDog/datadog-agent/pull/1182/files#diff-1d9d99d196299ff9a78c3e928058494aR111

I talked to support and the DD team about this on Slack a couple weeks ago, and the reason this isn't working as you expect is that you (just like me) are incorrectly assuming that host tags are applied BEFORE the metrics are sent to DD.  In fact, the host tag metrics are added AFTER the dogstatsd process has sent the metrics to the API.
This happens by the DD service creating a "host object" for each datadog agent process and associating tags with it.  Then when processing the statsd metrics it checks if they are associated with any host objects and they inherit those tags.
Since there's no "host object" when running the agent with ECS_FARGATE=true then there's no way to attach the metrics from DD_TAGS with your statsd metrics.
The team suggested using the docker labels approach (DD_DOCKER_LABELS_AS_TAGS, see https://github.com/DataDog/datadog-agent/blob/master/Dockerfiles/agent/README.md#tagging) as the correct way to attach tags to statsd metrics, but this isn't working for me.  Last I spoke to them they are aware this is something most people coming from an EC2 world into Fargate are going to run into and they are working on making it better.
For now, I have resorted to explicitly sending the tags we care about on all of our metrics.  Hopefully the auto-tagging will work itself out soon.
It's worth noting that if you're using the Python client library to emit stats from inside the container you can set DATADOG_TAGS in the env (https://github.com/DataDog/datadogpy/blob/a439467/datadog/dogstatsd/base.py#L79).  This doesn't work for anything other than Python though, and in my use case I needed to support a mix of languages, so we wired it all up ourselves at the app level.
Here's my Slack convo with their product team that has more info: https://datadoghq.slack.com/archives/C4JREERCY/p1534910557000100
CC @irabinovitch

Thanks for the issue!  We are working on making this work via Docker labels (rather than env vars) in 6.5.1, which is in testing now.

@borgstrom @mikezvi
Thanks for reply and solution.
I came up with the workaround, which overwrites entrypoint as follow and works well.
#!/bin/bash

if [[ -n "${ECS_FARGATE}" ]]; then
  taskid=$(curl <IP_ADDRESS>/v2/metadata | sed -r 's/^.*"TaskARN":".*:task\/([A-z0-9\-]+?)".*$/\1/')
  export DD_HOSTNAME=$taskid
fi

/init

@skobaken7 i'm finding that the count metric from our application is under-reported is a service runs multiple task instances.  i think it's resulting from the same commit https://github.com/DataDog/datadog-agent/commit/5867aaee13bfb546f1e0ba47f9f325cc78029fff which then winds up with dropping all but one count metric since it thinks they are from the same source.
while using your solution of a custom entrypoint.sh works i think perhaps that the datadog agent should still set a hostname on fargate for DogStatsD relayed metrics but still drop all host checks.

Thanks for the workaround @skobaken7. I hope Datadog would address this issue, it's' been open for quite a while already... The agent works so well "out of the box" anyway in so many cases, it's unfortunate that this kind of trickery is needed...

Another workaround that I stumbled on was duplicating the value of DD_TAGS into DD_DOGSTATSD_TAGS (mentioned here).

Hi all!
As commented here: https://github.com/DataDog/datadog-agent/issues/3159#issuecomment-529464023
We have a feature request opened on our side to add the task_arn as a tag when sending custom metrics with dogstatsd (this would be the same as the agent as both containers are running in the same task). It should resolve the issue by giving a unique tag (with a higher cardinality) without adding a hostname to the agent, which could cause billing issue.
Please reach out to our support team<EMAIL_ADDRESS>if you'd like to open another feature request that you think is relevant.
Simon

Hi!  Not sure if anyone is still following this issue, but it has been more-or-less fixed as of agent 7.29.1.  More related enhancements were released with 7.35.0.

This is still an issue in the latest version of the container

Would this be an issue if we ran sidecar datadog agents on non-Fargate ECS tasks?


Add communication apps

Zulip - Chat for distributed teams
https://zulip.com/apps/

Session https://github.com/oxen-io/session-ios

NextCloud Talk https://nextcloud.com/talk/

Twake - https://twake.app/

Status - https://status.im/

[ ] Zulip
[x] Session
[ ] NextCloud Talk
[ ] Twake
[ ] Status

Thank you!


[Backend] Node.js Server

Some features are still missing from the Node.js backend:

[x] Add User/Sessions in Core API
[x] Core Extension via config
[x] Add missing "curl" API call support
[ ] Needs a cleanup
[ ] Add the same VFS security checks as in PHP server
[x] Needs "example" handler
[ ] Websocket implementation (alternative to AJAX/XHR)
[x]  Buffered file downloads/reads

I know it #34 you were discussing using ws over socket.io, I found this article that might be of some use. https://medium.com/@denizozger/finding-the-right-node-js-websocket-implementation-b63bfca0539

I will open a separate issue for security based issues -- closing this


Video as input.

It works perfectly for me. One question: Is it possible to have a video as input? Apparently you can... If so, what are the parameters?

Solved.
"animation_mode":"Video Input"
"seed_behavior":"fixed"


[6.5] Remove obsolete statement in handler option docs

Fixes https://github.com/guzzle/guzzle/pull/1852#issuecomment-501727140
(Of course you can also decide to change the code to deprecate/forbid per-request override of  handler, but that would be a BC break, thus not before 7.0/8.0)

I do agree with this change.. but I would feel more comfortable if someone else from maintainers had a look as well..

Thank you!


Add db and server sqlcmd variables for database references

This PR fixes #12036
Adding a dacpac reference with location different database, different server looks like this:
  <ItemGroup>
    <ArtifactReference Include="\Users\kisantia\Keep_WideWorldImporters-2020-7-10-17-43.dacpac">
      <SuppressMissingDependenciesErrors>False</SuppressMissingDependenciesErrors>
      <DatabaseSqlCmdVariable>keepWWIVar</DatabaseSqlCmdVariable>
      <ServerSqlCmdVariable>serverVar</ServerSqlCmdVariable>
    </ArtifactReference>
  </ItemGroup>
  <ItemGroup>
    <SqlCmdVariable Include="keepWWIVar">
      <DefaultValue>Keep_WideWorldImporters-2020-7-10-17-43</DefaultValue>
      <Value>$(SqlCmdVar__1)</Value>
    </SqlCmdVariable>
    <SqlCmdVariable Include="serverVar">
      <DefaultValue>server</DefaultValue>
      <Value>$(SqlCmdVar__2)</Value>
    </SqlCmdVariable>
  </ItemGroup>

Pull Request Test Coverage Report for Build 236672082

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 39.066%

Totals

Change from base Build 236648637:
0.0%

Covered Lines:
18934

Relevant Lines:
44303

💛  - Coveralls


Found multiple accounts with same username

When trying to log in using the CLI I get this error:

I have obviously made a mess of things here but I don't know how to sort this out now :/
Any ideas?

Could you please share some extra information:

How is Azure CLI installed? Did you install it following https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli or using pip?
Could you turn off token encryption first and log in again?az config set core.token_encryption=false
az login

Then share the content of Account property in C:\Users\<username>\.azure\msal_token_cache.json.

Thanks so much for pointing me in the right direction. cleared the cache and works 100% now!

@dylankdreyer78, I am glad to know it works for you. Do you mind letting us know what action you have performed? Thanks a lot.

No problem. I deleted the json files in the .azure directory :)

Hmm... This still didn't reveal why it happened in the first place. Anyway, we will keep monitoring for other occurrences. Thanks for letting us know.

Hi there, I am seeing the same issue. Deleting the cache file and relogging in did not work. I also only see a msal_token_cache.bin file, not a .json file.

@hivyas, as shown in the output, these 2 accounts share the same "home_account_id": "508c96e0-d4ff-4c30-b886-34c377353339.72f988bf-86f1-41af-91ab-2d7cd011db47". In such case, MSAL will group them (https://github.com/AzureAD/microsoft-authentication-library-for-python/pull/349).
Are you using Azure CLI from source code? If so, please verify if your MSAL is update to date and configure all Azure CLI dependencies again.
pip list
azdev setup --cli

Hi jiasli, Thanks for the email.  I'm in a similar situation.
I Installed Azure CLI from .msi package
Heres contents of unencrypted account tokens
"Account": {         "00000000-0000-0000-7646-451e2554e8a2.9188040d-6c67-4c5b-b112-36a304b66dad-login.microsoftonline.com-organizations": {             "home_account_id": "00000000-0000-0000-7646-451e2554e8a2.9188040d-6c67-4c5b-b112-36a304b66dad",             "environment": "login.microsoftonline.com",             "realm": "organizations",             "local_account_id": "mxZ7AZSUax9B16n3lwE4isegKGToyJ0ZIK1iDkfY5vQ",             "username": "<redacted>",             "authority_type": "MSSTS"         },         "237e830d-aa10-4fce-bdbc-62bf9acc8b73.98c2b1ec-775b-49fa-9ba5-1362cc916655-login.microsoftonline.com-organizations": {             "home_account_id": "237e830d-aa10-4fce-bdbc-62bf9acc8b73.98c2b1ec-775b-49fa-9ba5-1362cc916655",             "environment": "login.microsoftonline.com",             "realm": "organizations",             "local_account_id": "237e830d-aa10-4fce-bdbc-62bf9acc8b73",             "username": "<redacted>",             "authority_type": "MSSTS"         }     },
thanks

Is the <redacted> username the same? It is uncommon for the same <redacted> username to have 2 district home_account_ids. +@rayluo

Sorry, yes the username is the same. It's my private email address.  When I log in via a browser I am asked which account I want:  the one set up by me, or one set up by my IT department.  As I don't have an IT department I'm not sure why they are separate.  I tried to "merge" the accounts but that hasn't solved the problem.

Let me involve MSAL developer and AAD expert @rayluo to help take a look.

After discussing with MSAL developer @rayluo, we feel this is an unexpected scenario. 9188040d-6c67-4c5b-b112-36a304b66dad is the tenant ID for Microsoft Account.
I tried to log in with my own Microsoft Account and the Account field looks like:
    "Account": {
        "00000000-0000-0000-a399-d570a52cd9de.9188040d-6c67-4c5b-b112-36a304b66dad-login.microsoftonline.com-organizations": {
            "home_account_id": "00000000-0000-0000-a399-d570a52cd9de.9188040d-6c67-4c5b-b112-36a304b66dad",
            "environment": "login.microsoftonline.com",
            "realm": "organizations",
            "local_account_id": "hfwAXfMGhps2MGbpc70lxh7wAMljXr6y1wqiSvvMfnw",
            "username"<EMAIL_ADDRESS>            "authority_type": "MSSTS"
        }
    },

However, in your case, the same email address is also an AAD account, because it has a full "home_account_id": "237e830d-aa10-4fce-bdbc-62bf9acc8b73.98c2b1ec-775b-49fa-9ba5-1362cc916655".
For now, the solution would be to clear the Azure CLI storage and MSAL token cache, then re-login with only one account:
az account clear
az login

I believe this is how @dylankdreyer78 solved this issue.
To better help us understand your account configuration, would you mind sending a screenshot of your AAD login page to my email address<EMAIL_ADDRESS>We can then help you on this issue privately.
Thanks a lot for the information.

Do you mind letting us know what action you have performed?

I got a personal & work account w/ the same email / username... I logged in w/ one & get that message on az provider register --namespace Microsoft.Web 🤷♂
I've emailed you my powershell session, if that helps.

I got a personal & work account w/ the same email / username...

I am not sure if this due to some historical reason, but currently I am not able to create Microsoft Account with work or school account email:

@microsoft.com is also reserved.

@spottedmahn, thanks for the email. Apparently, az account clear and az login have helped solve the "Found multiple accounts with the same username" issue.
However, your last problem doesn't seem to be related to this issue, it is rather a problem with az provider register:
> az provider register --namespace Microsoft.Web
Registering is still on-going. You can monitor using 'az provider show -n Microsoft.Web'

As the error suggests, the registration is on-going and it should complete in a while. If you still see any problem with this command, could you create a new issue? Thanks.

However, your last problem doesn't seem to be related to this issue

I figured not, thanks 👍

Solution
To get unblocked, please clear Azure CLI's accounts and log in again with only one account (Microsoft Account or AAD Account):
az account clear
az login

Later if you want to logging in again, please make sure to select the same account, but not the other one.

A little more context:
Previously, ADAL raises an exception when multiple tokens are found for the same username:
https://github.com/AzureAD/azure-activedirectory-library-for-python/blob/1.2.7/adal/cache_driver.py#L123-L124
                raise AdalError('More than one token matches the criteria. The result is ambiguous.')

This was reported at #5548, #6147, #6957, #15320 (search link).

Locked

@CitypassengerIT, "state": "Enabled" is from ~/.azure/azureProfile.json indicating the subscription is enabled. It has nothing to do with the MSAL token cache ~/.azure/msal_token_cache.bin (encrypted) or ~/.azure/msal_token_cache.json which is the direct cause of this "multiple accounts" error.

According to a search on issues, several issues are caused by sandbox account:

#20364
#20342
#20317

Found these resources for Microsoft Learn sandbox:

https://docs.microsoft.com/en-us/learn/support/faq?pivots=sandbox
https://community.dynamics.com/crm/b/dynamics-365-blog-with-manish/posts/learn-azure-with-a-free-sandbox-subscription

We will do some investigation about this topic.

@dylankdreyer78, I am glad to know it works for you. Do you mind letting us know what action you have performed? Thanks a lot.

For me, this below command solved the same issue highlighted by @dylankdreyer78
az config set core.token_encryption=false

@dylankdreyer78, I am glad to know it works for you. Do you mind letting us know what action you have performed? Thanks a lot.

For me, this below command solved the same issue highlighted by @dylankdreyer78 az config set core.token_encryption=false

@johanchen , I would assume your statement above was not precise. The situation we know so far is:

The workaround to the "Found multiple accounts with same username" symptom is to do az account clear and then you can az login again. But we do not yet fully understand how that symptom would happen in the first place.
The az config set core.token_encryption=false is an attempt to temporarily disable token encryption, for you to subsequently share the content of Account property in C:\Users\<username>\.azure\msal_token_cache.json to us, to help our investigation. Turning the encryption on or off would not change the "multiple accounts" situation.

If it helps, I ran into this too and this was because during login, I have two accounts registered to the same email: one was the work account and one was identified as personal account. The latter I might've made just while being confused by the process of sync'ing my email with our azure stuff.
So I would do az login with the personal email and that one would fail. I would attempt it again and use the work one but then run into this issue.

I see this message on Ubuntu Linux, though I can continue with the flow. Happy to help diagnose from this state. I think my account is a mess behind the scenes, a few things don't work as I expect. For example, unrelated to this, I can't properly log into a devops project using github, which seems to prevent me from inviting other github contributors to that repo, which is a problem I have no idea how to sort out.

And now I can't continue, so I am blocked from doing my work, again.

Last night I was using microsoft learn to create a sandbox.  The sandbox creation failed initially, but I was left with an account that is not signed into my normal PAYG subscription.    At some point I visited aad.portal.azure.com and during the log in process things started to go wrong.  The CLI (version I installed with Gentoo Linux) gave me this:
$ az login
The default web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.
Opening in existing browser session.
[19176:19176:0100/000000.166713:ERROR:vaapi_wrapper.cc(1119)] vaQuerySurfaceAttributes failed, VA error: invalid parameter
[19176:19176:0100/000000.166756:ERROR:vaapi_wrapper.cc(1066)] FillProfileInfo_Locked failed for va_profile VAProfileH264Main and entrypoint VAEntrypointVLD
[19176:19176:0100/000000.166786:ERROR:vaapi_wrapper.cc(1119)] vaQuerySurfaceAttributes failed, VA error: invalid parameter
[19176:19176:0100/000000.166809:ERROR:vaapi_wrapper.cc(1066)] FillProfileInfo_Locked failed for va_profile VAProfileH264High and entrypoint VAEntrypointVLD
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-baf4-282f003203cd.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'eRI7YFbzT2A78sky0As1Ix6SDHNqwM3-satLWHHKM5c', 'realm': 'organizations'}, {'home_account_id': '35d7b220-2b2d-4b82-a5a1-2e8f2907fd79.a9bc815e-e46f-4c95-9c96-bc46c4d342b5', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '35d7b220-2b2d-4b82-a5a1-2e8f2907fd79', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

I deleted ~/.azure and started over and got the right login this time:
[
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "5b234a67-1ad7-4021-9056-328b95f63810",
    "id": "e8868903-7f75-40d3-8cf6-9ac1a3fbd5c1",
    "isDefault": true,
    "managedByTenants": [],
    "name": "Azure subscription 1",
    "state": "Enabled",
    "tenantId": "5b234a67-1ad7-4021-9056-328b95f63810",
    "user": {
      "name"<EMAIL_ADDRESS>      "type": "user"
    }
  },
  {
    "cloudName": "AzureCloud",
    "homeTenantId": "5b234a67-1ad7-4021-9056-328b95f63810",
    "id": "aa79e39f-b196-4705-9073-85746c273a97",
    "isDefault": false,
    "managedByTenants": [],
    "name": "Azure Testing",
    "state": "Disabled",
    "tenantId": "5b234a67-1ad7-4021-9056-328b95f63810",
    "user": {
      "name"<EMAIL_ADDRESS>      "type": "user"
    }
  }
]

That "Azure Testing" AAD was something I created for learning, and I haven't yet figured out how to get rid of it entirely, but it's not the problem.   The "wrong" account has no subscription at all.

I just moved my ~/.azure directory out of the way and ran the command again. Now it worked.

Hi guys, it seems I have same problem :(
I installed Azure CLI on my Ubuntu box. Standard installation from docs.
When I tried to run az login I got the error from the first post. After running az account clear and then az login it works ok and I was able to set my account subscription az account set --subscription <subscription_name>. Next step for me is to run az acr login -n <container_registry_name>` this command should work without problem but it asks me my credentials and after I enter my credentials I got folowing error.
sudo az acr login -n <my_container_registry_name>                                                                                ─╯
Unable to get AAD authorization tokens with message: Please run 'az login' to setup account.
Unable to get admin user credentials with message: Please run 'az login' to setup account.
Username: <my_email>
Password:
Error response from daemon: Get "https://<my_registry_name>.azurecr.io/v2/": unauthorized: Application not registered with AAD.
Login failed.

Any help with this?

@alan994, your issue regarding az acr login is a separate one. I have split it into https://github.com/Azure/azure-cli/issues/21083 and asked ACR service team to take a look.

Same problem. I set up a starter Azure account with $200 credit. All fine for a few days. Then I had weird login problems. Then I could login but could not see my subscription. Support reported " I see that it is recognized as a “Personal Account” and as well as “Work or School Account”" and gave instructions starting "Open Edge browser | InPrivate mode" which I followed (but using Chrome/Incognito). I can now only see my account in Incognito mode.
Using az login from the command line (I'm doing a CLI training module), I get a message:
Found multiple accounts with the same username<EMAIL_ADDRESS>
(snip 2 records - I imagine it's insecure to publish the values!)
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

This is URGENT.  Please advise steps to regain access to my professional work and workspace.
I have had a Microsoft account for personal use / xbox for years. I signed up for DevOps and other technology services with the same email that I accessed through portal.azure.com. Created a significant amount of work over the past several weeks. Today, I was asked to change my password. When I did, I got several errors which led me here. I finally clicked through enough buttons that when I got to portal.azure.com, where I previously saw my technology resources (mysql server, kubernetes, etc),  I now see my PERSONAL info that discusses my xbox subscription, family account stuff, etc.
az login or az login -t <my professional tenant id> all lead to login loops.
I've lost access to ALL my professional work and have no idea how to get back. I've deleted the .azure folder; I've ran az account clear; nothing works. Please advise!
This is the error I keep getting:
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-d399-d6d1d4a4ca7a.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '618057b1-4c21-4e36-b684-03135cbcbed3', 'realm': '0457c22a-03ab-4ceb-8e26-391ef8087bc2'}, {'home_account_id': 'b9d64a87-8413-4861-8cce-40ad8f530962.30ff9873-366e-4653-8ff0-63f6d2ebf293', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'GAmuQnC8tFfz0fRU6JAQy7FjmpWT4l5zIQdT1tVPhRE', 'realm': '0457c22a-03ab-4ceb-8e26-391ef8087bc2'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

@blue928,

I finally clicked through enough buttons that when I got to portal.azure.com, where I previously saw my technology resources (mysql server, kubernetes, etc), I now see my PERSONAL info that discusses my xbox subscription, family account stuff, etc.

Based on my understanding, you cannot sign in to Azure Portal either, right? For that case, could you clear the browser cache or use InPrivate or Incognito mode?

I've deleted the .azure folder; I've ran az account clear; nothing works.

After clearing the browser cache, run az account clear and az login, but only select the account you use to access Azure resources, and see if the error is gone.

I ran into this same issue. How can I fix it?

Please adopt the approach suggested in the last comment.

Hope this helps.
Steps to reproduce

az login
choose your 'work' account for the email address
az account set -s "subscription"
choose the different account (personal) for the same email address as 2.
get the error

fix is
az account clear
az login

and use the same 'account' for the email address each time... user error, no bug here.

The above works for me.
Issue in my case was caused by a tenancy migration

Same issue here,  but above solution does not work for me. If, when I'm presented with the two matching accounts to chose from during login (after clearing account):

Work account - I get a "No subscription found error".
Personal account - log in and I can see my MSDN subscription. However, I can no longer access the artifacts repository created by that subscription.

Same issue here! I deleted the token cache and was able to login as normal. I have one personal account and a work account with the same name. Can't rename them or else my MVP profile becomes inaccessible :(

Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '4cc03aea-8a4c-4092-a20a-9b3653079ed2.a86a5cb3-752e-49a9-82e6-dd80ee4bf2c2', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '4cc03aea-8a4c-4092-a20a-9b3653079ed2', 'realm': 'organizations'}, {'home_account_id': '263e78d2-19cf-48dc-a8f0-6f478b71fcbc.ddb21e3d-29dd-4280-a4dd-d05a97bc050c', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '263e78d2-19cf-48dc-a8f0-6f478b71fcbc', 'realm': 'organizations'}]

No problem. I deleted the json files in the .azure directory :)

same here :D

Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '4cc03aea-8a4c-4092-a20a-9b3653079ed2.a86a5cb3-752e-49a9-82e6-dd80ee4bf2c2', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '4cc03aea-8a4c-4092-a20a-9b3653079ed2', 'realm': 'organizations'}, {'home_account_id': '263e78d2-19cf-48dc-a8f0-6f478b71fcbc.ddb21e3d-29dd-4280-a4dd-d05a97bc050c', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '263e78d2-19cf-48dc-a8f0-6f478b71fcbc', 'realm': 'organizations'}]

Did you get the solution for this

Hello! Im this error too! I set my default browser to Edge and deleted all cache & cookies. Still the same error after login attempt. Any help appreciated

Even i am facing the same problem.
On Wed, 14 Dec 2022, 9:58 pm Ben Exell, @.***> wrote:

Hello! Im this error too! I set my default browser to Edge and deleted all
cache & cookies. Still the same error after login attempt. Any help
appreciated
[image: image]
https://user-images.githubusercontent.com/52918186/207651181-d4f31490-acf1-4152-aa91-44555d1549c0.png
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-cli/issues/20168#issuecomment-1351730440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4UXOE74JRNOSG3TZNKLNVDWNHYTFANCNFSM5HILCEQA
.
You are receiving this because you commented.Message ID:
@.***>

Same issue here as well

I started having this problem today.

Hi,
As requested I'll report the issue:
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': 'ad1fb935-c50f-4b07-8ebe-bc82f2efedd0.58a40091-38c3-4621-884a-026b6b95bd1e', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'ad1fb935-c50f-4b07-8ebe-bc82f2efedd0', 'realm': 'organizations'}, {'home_account_id': '00000000-0000-0000-726c-8ac3fed1fb58.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'DUPZnRKweTkgq6RDJjgL-c16xu7aNUG8dUQQd0aFxrg', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

when logging in to Azure CLI in VS Code PowerShell.
az account clear solved the issue and I could log in. Thank you for the advice!
One of those accounts is Microsoft account and the other is work/school account for my private domain.
I see that there is some discussion about how this is possible. There is at least one possible workflow to create the situation.
I don't know if this is still possible. I think it is:

set up a domain, let's say mydomain.com
use Google or some other email provider for the domain
create email<EMAIL_ADDRESS>create a Microsoft account using the email<EMAIL_ADDRESS>purchase Microsoft 365, you get domain mydomain.onmicrosoft.com
transfer your domain (mydomain.com) and email to Microsoft 365
now you have a work email<EMAIL_ADDRESS>
I did this in 2008 - 2011.

Turning off token encryption and removing the token cache file resolved it for me as well. On mac rm ~/.azure/msal_token_cache.json

Turning off token encryption and removing the token cache file resolved it for me as well. On mac rm ~/.azure/msal_token_cache.json

While you are removing the token cache file anyway, the token encryption is irrelevant. Besides, I believe Azure CLI does not yet encrypt tokens on mac.

Reporting as requested:

Reporting as directed:
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '1d2573cc-12cf-45ab-b3c3-166139d7f7a9.bfef2b06-d256-4f8e-bd03-8d3687987063', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '1d2573cc-12cf-45ab-b3c3-166139d7f7a9', 'realm': 'organizations'}, {'home_account_id': '00000000-0000-0000-de1b-4e5a5c2478ff.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '00000000-0000-0000-de1b-4e5a5c2478ff.9188040d-6c67-4c5b-b112-36a304b66dad.f8cdef31-a31e-4b4a-93e4-5f571e91255a', 'realm': 'organizations'}

Reporting as requested:
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': 'c4e998be-d05e-43d3-9fa5-34c669965194.3f6e4746-ca7a-4fd2-8994-5ad7b4df62b0', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'c4e998be-d05e-43d3-9fa5-34c669965194', 'realm': 'organizations'}, {'home_account_id': '00000000-0000-0000-96ca-c1b80e94862f.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '1e819715-e63c-46b1-b778-272b5fbc4f19', 'realm': 'bf5b97bd-7c69-4424-9dd3-72af5a8ac4af'}]

I got this error too.
Found multiple accounts with the same username 'ernie.hershey@xxx': [{'home_account_id': 'xxx', 'environment': 'login.microsoftonline.com', 'username': 'ernie.hershey@xxx', 'authority_type': 'MSSTS', 'local_account_id': 'xxx', 'realm': 'organizations'}, {'home_account_id': 'xxx', 'environment': 'login.microsoftonline.com', 'username': 'ernie.hershey@xxx', 'authority_type': 'MSSTS', 'local_account_id': 'xxx', 'realm': 'organizations'}]

Reporting as directed: Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-226c-4e0a43c67914.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'kISun9DEDcR3pNu7H8kd4CS8PbJ0XXkmW2yMvziPqiQ', 'realm': 'organizations'}, {'home_account_id': '3eec8dab-c90d-4871-a539-bf53a88f25ad.589bcab5-cea5-4eaa-ba34-9e58b9d21b40', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '3eec8dab-c90d-4871-a539-bf53a88f25ad', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168
I need this resolved asap. I've got a client who won't have any service until I can access the cloud again...

I had this issue too. As a summary, we previously used Personal MS accounts (with our work email) to sign in.
We then migrated from that to Azure AD, and migrate the devops tenant.
I suspect this is related as to why the errors occur.

I had this issue too.
Used
az config set core.token_encryption=false
az login
and followed the directions that were printed in the browser.
That worked.

You can cleanup one of the entries of the same account in the json file under your home directory ".azure/azureProfile.json"
It solved the issue for me..

I experienced the same issue. I do have 2 accounts with the same email name. One "Personal" and another "Work". The personal account has access to the correct subscription. It worked fine before until today.
Here is the information about the az version:
C:\Users\master>az --version
azure-cli                         2.49.0

core                              2.49.0
telemetry                          1.0.8

Extensions:
containerapp                      0.3.33

Dependencies:
msal                              1.20.0
azure-mgmt-resource               22.0.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\master\.azure\cliextensions'

Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

I found a solution.

Uninstall AZ msi See: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest&tabs=powershell#uninstall
Run PowerShell command:  Install-Module -Name Az -Repository PSGallery -Force -AllowClobber
Install the latest MSI: https://aka.ms/installazurecliwindows
Use Connect-AzAccount -TenantId <TenantID>
Continue to use the az command (without using az login).

You may try steps 4-5 without steps 1 to 3.

I found a solution.
Use Connect-AzAccount -TenantId <TenantID>

I think we're experiencing the same exact issue. I don't think that using powershell instead of the cli is a proper solution to this problem. I wonder if there's a way to merge these accounts? This isn't the only area in which I'm experiencing strange behavior within the azure ecosystem, and I'm getting more and more convinced me having both a personal and a work account on the same email is the problem.

Here is another workaround:

Sign in to the Azure Portal (https://portal.azure.com/)
Click on the Cloud Shell (Next to the search box).
Use az login there.

❯ az login
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.
Opening in existing browser session.
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '8a5134bc-65f5-4de8-9611-9ed50f821da8.3e9ceed8-1dd5-422c-8d37-b26422dce745', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '8a5134bc-65f5-4de8-9611-9ed50f821da8', 'realm': '3e9ceed8-1dd5-422c-8d37-b26422dce745'}, {'home_account_id': '00000000-0000-0000-cdb6-0b41b24413e2.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '331c08ab-44b9-449c-b2d9-4e0e18d347ef', 'realm': '3e9ceed8-1dd5-422c-8d37-b26422dce745'}]

I still have this problem:
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

I'm struggling to understand how you can be running a cloud service where users get logged out of their accounts.

Here's the error - github removed it for some reason:
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-226c-4e0a43c67914.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'kISun9DEDcR3pNu7H8kd4CS8PbJ0XXkmW2yMvziPqiQ', 'realm': 'organizations'}, {'home_account_id': '3eec8dab-c90d-4871-a539-bf53a88f25ad.589bcab5-cea5-4eaa-ba34-9e58b9d21b40', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '3eec8dab-c90d-4871-a539-bf53a88f25ad', 'realm': 'organizations'}]

I have same problem here is the error
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': 'a1e2efba-95f3-4703-befb-0ebe01d062d2.aefbf958-7519-4710-990a-d2312cfe4fc2', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'a1e2efba-95f3-4703-befb-0ebe01d062d2', 'realm': 'organizations'}, {'home_account_id': '00000000-0000-0000-63eb-d2114b254395.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'OORfRCtkTyOBLt4FdLmekmPhVtg7s79fhOvReBnP0Dk', 'realm': 'organizations'}]

ERROR: Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': 'd32db2dd-4414-4cdd-917e-c2f1cb3b8e85.5c9a4ff6-00e2-4775-9e18-cc5e6745a1f9', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'd32db2dd-4414-4cdd-917e-c2f1cb3b8e85', 'realm': 'organizations'}, {'home_account_id': '01948d69-2651-41cd-9815-d75892fb52a0.67d2b627-4607-4f1d-b430-2760715a2ae2', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '01948d69-2651-41cd-9815-d75892fb52a0', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

Same error:
╷
│ Error: obtaining Authorization Token from the Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '012156d7-6e1b-4ef1-b9d2-41a9ec136447.518917f1-fecb-440c-b871-99406caf2528', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': '012156d7-6e1b-4ef1-b9d2-41a9ec136447', 'realm': 'organizations'}, {'home_account_id': 'ef6e89f8-6656-442e-8dd7-676a2651b8d5.518917f1-fecb-440c-b871-99406caf2528', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'ef6e89f8-6656-442e-8dd7-676a2651b8d5', 'realm': 'organizations'}]
│ Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168
az account clear
az login
resolved the issue

Just got directed here by az login, "Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168".
The error was "Found multiple accounts with the same username", followed by specific account information I won't post here.
My situation is I was sent an azure login link by an admin and I've been using that to manage things in azure.  That azure account hasn't been associated with a microsoft account, though it does have an email associated with it, "emailA".  I created a microsoft account at some point with a different email address ("emailB"), but somehow it got associated with the emailA even though that was not listed on my user information profile.  Not really sure of the sequence of events there, its been over a year I think.
Anyway, recently I was trying to az login and it wanted a microsoft account.  I tried creating one with emailA, but it said that was already associated with a microsoft account, even though I couldn't log in with emailA.  I went through the process of creating a new account with emailA, but it would get to a "Create Account" dialog and hang.
So I tried deleting the emailB microsoft account, but still could not create a microsoft account under emailA.  I did not wait the required 60 days for full deletion.
So I logged in with emailB (reviving that microsoft account) and changed the email on that account to emailA, then removed emailB from it.

Thanks. It’s a Windows server, so this worked for me:
az account clear
az login
Stormy Winters
System Administrator
Susser Bank
3030 Matlock Road | Arlington, Texas 76015
Direct:<PHONE_NUMBER>
@.***
From: Anderson Lopes @.>
Sent: Friday, December 8, 2023 6:01 AM
To: Azure/azure-cli @.>
Cc: Susser Bank GitHub @.>; Comment @.>
Subject: Re: [Azure/azure-cli] Found multiple accounts with same username (Issue #20168)
Caution: This email was received from an external source.
On Ubuntu 22.04 rm ~/.azure/*.json will solve the issue.
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/Azure/azure-cli/issues/20168*issuecomment-1847056737__;Iw!!PQJeJ_XT8Nha!ai93fj9pl_18Ki8zD2GjTdjPIoLKGW7SY81hQ9PCTFzXNDX6J8h_1FJCccLPw59zlurHhdHXVvfyTxt869acIjpnAPE$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BEAOTBOQJLEDYET2S4IOIFDYIL6P7AVCNFSM5HILCEQKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBUG4YDKNRXGM3Q__;!!PQJeJ_XT8Nha!ai93fj9pl_18Ki8zD2GjTdjPIoLKGW7SY81hQ9PCTFzXNDX6J8h_1FJCccLPw59zlurHhdHXVvfyTxt869ac1XhuYcI$.
 If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication (except to the intended recipient or to us) is strictly prohibited. If you are aware of the intended recipient, you are responsible for delivering the message to the intended recipient. If you have received this communication in error, please notify us immediately by telephone and return the original message to us at the above address.

On Ubuntu 22.04 rm ~/.azure/*.json will solve the issue.

This fixed my az login issue.  Along the way I also changed the email on my non-work microsoft account so it wouldn't conflict with the work azure account with the same email.

On Ubuntu 22.04 rm ~/.azure/*.json will solve the issue.

This helped also to resolve this:
(evalenv) michi@michi:~/grdt$ az login
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-db93-547fxxxxxxxxxxxxxxx-6c67-4c5b-b112-xxxxx', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'ySpdjOrR8rByUI2sxIOGaroF9vXp-GlNvYmKGTvbiwQ', 'realm': 'organizations'}, {'home_account_id': '0f5e035b-fe69-4fbd-aced-be134d871024.a4d0a6ec-5402-xxxxxxxx-xxxxxx', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'authority_type': 'MSSTS', 'local_account_id': 'xxxxxxxx-fe69-4fbd-aced-xxxxxxx', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

I followed all possible option mentioned here in my windows machine but it dint work for me,
I tried,
az account clear
az login
once I login with my user account , I am getting below error,
033ET744> az login
Please select the account you want to log in with.
<urllib3.connection.HTTPSConnection object at 0x07057530>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed
@jiasli kindly help to resolve this issue

I'm not entirely sure but I believe I resolved this issue with the following steps (because any of the individual suggestions above not work):

Going to portal.azure.com and logging out to remove any browser session
Running az account clear in the terminal
Running rm ~/.azure/*.json
Running  az login --tenant TENANT_ID --use-device-code

Thanks! I did a rm ~/.azure/msal_token_cache.json and that solved it for me.

Food for thought, @jiasli.
We have been collecting the user reports for this issue for a while now. The "multiple accounts with same username" symptoms covered a wide spectrum.

Some cases contained exact same account (and now those cases are bypassed by MSAL automatically grouping those same accounts).
Some cases contained an MSA account and an AAD account.
Some cases contained two AAD accounts in different tenants, some in the same tenant.
The latest report above even gave us more hint by the recent account_source info so we know in that particular case, at least one of the accounts was signed in via device code flow.

The problem is that we still don't really know why we ended up with such a state in the first place, despite sporadic repro report(s). We just knew that username is not unique, and Entra ID somehow has no problem allowing different accounts with same username to sign in and knows who-is-who.
I suppose on the client side, and Azure CLI in particular, we could either:

Add an experimental check after each successful az login ... to proactively check get_accounts(username=current_username_obtained_via_ID_token) and fail early with same error message. That way, when everything else being equal, at least we will have better idea of how the 2nd account would have been established via an "az login".
Alternatively, MSAL could add a last_modification_time field into the accounts so that Azure CLI may use it to automatically choose the newer account to proceed, optionally automatically removing the old account. This essentially automates the "az account clear; az login ..." workaround.

I have the same problem and was directed here:
<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-3eac-1861bc270a84.9188040d-6c67-4c5b-b112-36a304b66dad',
'environment': 'login.microsoftonline.com',
'username'<EMAIL_ADDRESS>'account_source': 'authorization_code',
'authority_type': 'MSSTS',
'local_account_id': 'LKp369dl9OE6DHMonYlFiiDPH4Tii9sUT9H_j6mw_bg',
'realm': 'organizations'},
{'home_account_id': 'b564f479-80c5-42c5-bdd1-90a33fa7dd3f.52e9439d-02fc-48c8-b0ad-318955628465',
'environment': 'login.microsoftonline.com',
'username'<EMAIL_ADDRESS>'account_source': 'broker',
'authority_type': 'MSSTS',
'local_account_id': 'b564f479-80c5-42c5-bdd1-90a33fa7dd3f',
'realm': 'organizations'}]

Same issue not sure how to merge these accounts
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-3eac-1861bc270a84.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'authorization_code', 'authority_type': 'MSSTS', 'local_account_id': 'LKp369dl9OE6DHMonYlFiiDPH4Tii9sUT9H_j6mw_bg', 'realm': 'organizations'}, {'home_account_id': 'b564f479-80c5-42c5-bdd1-90a33fa7dd3f.52e9439d-02fc-48c8-b0ad-318955628465', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'broker', 'authority_type': 'MSSTS', 'local_account_id': 'b564f479-80c5-42c5-bdd1-90a33fa7dd3f', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

Same problem here . Tried to use az login, but get this message. My e-mail was omitted below.
% az login
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web browser is available or if the web browser fails to open, use device code flow with az login --use-device-code.
Retrieving tenants and subscriptions for the selection...
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '16223eeb-871b-47ed-a948-cd5ba9241cc4.995266c5-aa22-415a-afc2-2cc026ce99f9', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'authorization_code', 'authority_type': 'MSSTS', 'local_account_id': '16223eeb-871b-47ed-a948-cd5ba9241cc4', 'realm': 'organizations'}, {'home_account_id': '00000000-0000-0000-0c83-47e3c67e0948.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'authorization_code', 'authority_type': 'MSSTS', 'local_account_id': 'HbyDaX5XjgMbvbQ0VVnF_58o-Ch_9DaeSQBatAgrRZE', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

Same issue.  My issue is my user thinks i have a personal and a microsoft account in the same user ID.
ERROR: Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '747e0494-612a-49d2-a9f0-ac512e4340ae.f20f5397-6421-44f6-80aa-1dbcc827e24d', 'environment': 'login.microsoftonline.com', 'username': 'tixxxxx@i.com':, 'account_source': 'broker', 'authority_type': 'MSSTS', 'local_account_id': '747e0494-612a-49d2-a9f0-ac512e4340ae', 'realm': 'f20f5397-6421-44f6-80aa-1dbcc827e24d'}, {'home_account_id': '00000000-0000-0000-edbe-a05df11c0122.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username': ''tixxxxx@i.com':, 'account_source': 'broker', 'authority_type': 'MSSTS', 'local_account_id': '00000000-0000-0000-edbe-a05df11c0122.9188040d-6c67-4c5b-b112-36a304b66dad.f8cdef31-a31e-4b4a-93e4-5f571e91255a', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

Same issue.
azure.core.exceptions.ClientAuthenticationError: ERROR: Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '6793ad6a-e2b9-4b04-9ae4-001e9a505e49.56d2060f-2bdb-4206-80a1-4a09f5f7e9ed', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'broker', 'authority_type': 'MSSTS', 'local_account_id': '6793ad6a-e2b9-4b04-9ae4-001e9a505e49', 'realm': '56d2060f-2bdb-4206-80a1-4a09f5f7e9ed'}, {'home_account_id': '00000000-0000-0000-4d7d-e1fd64222eed.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'broker', 'authority_type': 'MSSTS', 'local_account_id': '00000000-0000-0000-4d7d-e1fd64222eed.9188040d-6c67-4c5b-b112-36a304b66dad.f8cdef31-a31e-4b4a-93e4-5f571e91255a', 'realm': 'organizations'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

Same here: I do have a personal and a work microsoft account, and would very much like to be rid of the personal one! It's not used for anything.
C:\src\backend> az login
Select the account you want to log in with. For more information on login with Azure CLI, see https://go.microsoft.com/fwlink/?linkid=2271136

Retrieving tenants and subscriptions for the selection...
Found multiple accounts with the same username<EMAIL_ADDRESS>[{'home_account_id': '00000000-0000-0000-befc-f04dd7b64129.9188040d-6c67-4c5b-b112-36a304b66dad', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'broker', 'authority_type': 'MSSTS', 'local_account_id': 'a57d4441-a938-46cc-9ac8-2aabcbeb22a5', 'realm': 'fa9e26e0-015d-45c0-9d54-2af246e6ddf2'}, {'home_account_id': 'eeb928d6-4e33-48fb-8eed-74de067e512a.9e3ee5fe-3a99-45db-ac6e-691e86febef3', 'environment': 'login.microsoftonline.com', 'username'<EMAIL_ADDRESS>'account_source': 'broker', 'authority_type': 'MSSTS', 'local_account_id': '1d2b51c3-21e9-41d6-bb68-edf52d0d93bd', 'realm': 'bf8ba62d-740b-46e9-a7da-cfe794c7da80'}]
Please report to us via Github: https://github.com/Azure/azure-cli/issues/20168

I have a repro of this after my account got deleted in Entra. Then recreated again with the same username / login.

Solution
To get unblocked, please clear Azure CLI's accounts and log in again with only one account (Microsoft Account or AAD Account):
az account clear
az login

Later if you want to logging in again, please make sure to select the same account, but not the other one.

This solved the problem for me, thanks so much!


Improve performance of maps

Include mutable variant of Set() (UnsafeMutableSet()). Useful to construct maps efficiently.

Improve performance when recomputing node counts in Set()

Hashing: unsafe cast strings to []byte in order to avoid parsing unicode

@mndrix We included these changes in our fork and thought you may want to use them upstream.

Thanks for the enhancements.  I was able to verify the speed improvements through the existing benchmark suite.
I've pushed commit e070eaace9afad953c756ca68c809bbac84aebb4 which includes your changes along with a test and benchmark for UnsafeMutableSet.


failure/success threshold before sending notifications

Background & X Problem
It's easy to have false postitives when looking at CPUs/latencies. For example, CPU might have a peak at 80%+ but just for a few seconds.
Proposal and Expectation
Just like failure-threshold in https://github.com/TwiN/gatus, it's handy if I'm allowed to set the threshold before sending notifications.

just want to confirm the requirement, and be more specific.
the requirement is
with the latest `n` times probe, there are `m` times failures, then we send the failure notification. ( n>=m )

so, when n==m, it means
only we continuously meet the `n` times failures, then we send the failure notification.

the threshold in gatus works in this way:

failure-threshold: the failure notification will be sent if there're n continues failures.
success-threshold: once there're n continues success event, the resolved noticiation will be sent.

I have no concern on your proposal. To me, a simple N is good enough.

All right, I will work on my proposal. that's would be flexible.

after deep thinking, I think using m/n would make things complicated.  for example, if we configure  2/3 for failure and  1/1 for success, it would be failure or success at the same time. This would introduce ambiguity.
I think just using the continuous n  times failure/success would be clear.

@zhzy0077  the PR is ready to review, please feel free to review it.


Use power/reset/exit icons from theme if .svg are unavailable

Due to packaging issues, nwg-drawer in gentoo shows no power/reset/exit/sleep icons.
It would be nice, if svg icons are missing, to pull icon from theme. It also would unify looks of apps and buttons.

Which specific icon names would you like me to use? Remember, that they must exist in Adwaita GTK theme.

Exit - system-log-out-symbolic.svg
Lock - system-lock-screen-symbolic.svg
Poweroff - system-shutdown-symbolic.svg
Reboot - system-reboot-symbolic.svg
Can't find any for Sleep

Can't find any for Sleep

Don't stop searching! ;)

Maybe this one?

Finally I ended up using the face-yawn-symbolic icon, as the above looks differently in themes other than Adwaita (exclamation, mostly). Keep in mind that it still won't look well with some icon themes.

To use icon theme icons, add the -pbuseicontheme flag.

Thank you


[dsch] minor pipe improvement and its tests refactoring

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

17 of 17 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 98.22%

Totals

Change from base Build<PHONE_NUMBER>4:
0.02%

Covered Lines:
1299

Relevant Lines:
1317

💛  - Coveralls


Reset button is not resetting to default code in editor

Challenge Name
Basic HTML and HTML5: Uncomment HTML
Issue Description
After making an error on my code, I am trying to reset the code to the default, it is not defaulting the original lesson code. No error appears on screen.
Browser Information

Browser Name, Version:
Operating System: FireFox 57.0 (64-bit) and Chrome Version 63.0.3239.84 (Official Build) (64-bit)
Mobile, Desktop, or Tablet: Laptop Windows 10 Professional 64-bit
Your Code

Screenshot

nevermind !!


onWillUnmount decorator to auto dispose reactions

a decorator that make disposers run on componentWillUnmount as seen in https://github.com/mobxjs/mobx/issues/1698
import {onWillUnmount, observer} from "mobx-react"

@observer
class Test extends React.Component {
   @onWillUnmount
   fetchData = reaction(....) // would also work for autorun, when, etc...

    // non decorator version?
    fetchData2 = onWillUnmount(this, reaction(.....))
}

Released as 5.3.0! Details: https://github.com/mobxjs/mobx-react#disposeonunmountcomponentinstance-propertykey--function--function


Structure All the projects

Issue Type:

[x] Bug Report
[x] Feature Request
[ ] Documentaion

Describe the bug

lots of project having images in root folder so make a new folder named img and put all images in that and edit path of images in file properly.

2.must check every project have a preview.png or not
3.It should be png not jpeg or any other format
4.make 1st letter of project capital and change  it in json file also

Hey, can you assign this issue to me?
Some projects don't have any preview image
Like this: https://github.com/arpit456jain/Cool-Front-End-Templates/tree/master/project2


msg.Len() disagrees with Pack()

Here's a test that fails:

func TestMsgCompressLength2(t *testing.T) {
	msg := new(Msg)
	msg.Compress = true
	msg.SetQuestion(Fqdn("_foo._tcp.bar."), TypeANY)
	msg.Answer = append(msg.Answer, &SRV{Hdr: RR_Header{Name: "_foo._tcp.bar.", Rrtype: 0x21, Class: 0x1, Ttl: 0x3c}, Port: 0x4c57, Target: "foo.bar."})
	msg.Answer = append(msg.Answer, &SRV{Hdr: RR_Header{Name: "_foo._tcp.bar.", Rrtype: 0x21, Class: 0x1, Ttl: 0x3c}, Port: 0x3307, Target: "foo.bar."})
	msg.Answer = append(msg.Answer, &SRV{Hdr: RR_Header{Name: "_foo._tcp.bar.", Rrtype: 0x21, Class: 0x1, Ttl: 0x3c}, Port: 0x35b0, Target: "foo.bar."})
	msg.Answer = append(msg.Answer, &SRV{Hdr: RR_Header{Name: "_foo._tcp.bar.", Rrtype: 0x21, Class: 0x1, Ttl: 0x3c}, Port: 0x5a7a, Target: "foo.bar."})
	msg.Answer = append(msg.Answer, &SRV{Hdr: RR_Header{Name: "_foo._tcp.bar.", Rrtype: 0x21, Class: 0x1, Ttl: 0x3c}, Port: 0x211a, Target: "foo.bar."})
	msg.Extra = append(msg.Extra, &A{Hdr: RR_Header{Name: "foo.bar.", Rrtype: 0x1, Class: 0x1, Ttl: 0x3c}, A: net.IP{0xac, 0x11, 0x0, 0x3}})
	msg.Extra = append(msg.Extra, &A{Hdr: RR_Header{Name: "foo.bar.", Rrtype: 0x1, Class: 0x1, Ttl: 0x3c}, A: net.IP{0xac, 0x11, 0x0, 0x3}})
	msg.Extra = append(msg.Extra, &A{Hdr: RR_Header{Name: "foo.bar.", Rrtype: 0x1, Class: 0x1, Ttl: 0x3c}, A: net.IP{0xac, 0x11, 0x0, 0x3}})
	msg.Extra = append(msg.Extra, &A{Hdr: RR_Header{Name: "foo.bar.", Rrtype: 0x1, Class: 0x1, Ttl: 0x3c}, A: net.IP{0xac, 0x11, 0x0, 0x3}})
	msg.Extra = append(msg.Extra, &A{Hdr: RR_Header{Name: "foo.bar.", Rrtype: 0x1, Class: 0x1, Ttl: 0x3c}, A: net.IP{0xac, 0x11, 0x0, 0x3}})
	predicted := msg.Len()
	buf, err := msg.Pack()
	if err != nil {
		t.Error(err)
	}
	if predicted != len(buf) {
		t.Errorf("predicted compressed length is wrong: predicted %s (len=%d) %d, actual %d",
			msg.Question[0].Name, len(msg.Answer), predicted, len(buf))
	}
}

Results in
=== RUN   TestMsgCompressLength2
--- FAIL: TestMsgCompressLength2 (0.00s)
	dns_test.go:215: predicted compressed length is wrong: predicted _foo._tcp.bar. (len=5) 246, actual 250

Thanks for the test case.
This is tricky to get right as Len and Pack use 2 diff. algorithms, i.e. you don't want to Pack for every Len you do, and then throw away the buffer.

Totally, this is why I posted a test case and didn't submit a PR :)

Do you think you'll get around to this in the near future? If not I could have a look.

This is the problem: https://github.com/miekg/dns/blob/master/msg.go#L994
Didn't want to use reflection at the time, but now that we "go gen" the packs and unpacks this needs to be generated as well. Although looking through the list, SRV is in there

Can you make your example smaller?

func TestMsgCompressLength2(t *testing.T) {
	msg := new(Msg)
	msg.Compress = true
	msg.SetQuestion(Fqdn("_foo._tcp.bar."), TypeANY)
	msg.Answer = append(msg.Answer, &SRV{Hdr: RR_Header{Name: "_foo._tcp.bar.", Rrtype: 0x21, Class: 0x1, Ttl: 0x3c}, Port: 0x4c57, Target: "foo.bar."})
	msg.Extra = append(msg.Extra, &A{Hdr: RR_Header{Name: "foo.bar.", Rrtype: 0x1, Class: 0x1, Ttl: 0x3c}, A: net.IP{0xac, 0x11, 0x0, 0x3}})
	predicted := msg.Len()
	buf, err := msg.Pack()
	if err != nil {
		t.Error(err)
	}
	if predicted != len(buf) {
		t.Errorf("predicted compressed length is wrong: predicted %s (len=%d) %d, actual %d",
			msg.Question[0].Name, len(msg.Answer), predicted, len(buf))
	}
}

shows the problem as well.

compressionLenSearchType does not have SRV; i.e. yes we should gen these functions.

This is prolly also: https://github.com/skynetservices/skydns/issues/313

https://github.com/miekg/dns/pull/454 does not fix it, but is still good to have.

Updated that PR which fixes the issue. Does that work/help you?

I'll have a look asap - thanks for the fast turn-around

I confirm that this PR fixes the issue for me.

Fixed by #454


Feature request: Storing WSI references in database instead of images

I have a local database with about 10 TB of WSIs. It is not practical to have duplicates of these inside a separate MongoDB database which DSA uses. The original database is also used for other stuff than DSA, and thus, relying fully on MongoDB only is not a viable option.
I had the impression that DSA supported two ways of storing data:

Upload WSI and store it directly in the MongoDB database (stores a copy of the image)
Upload WSI directly from filesystem where the server is launched (only stores a reference/path to the image)

For option 2 I assumed, perhaps naively, that it only stored the reference to the WSI inside the database and not the entire WSI.
However, I just noticed that the collection I was working with had stored ~22 GB of data when the original test cohort was on about ~16.3 GB. Hence, I would think that it stores the full images (in addition to annotations and other stuff). Hence, my understanding is likely wrong.
If you do not storing references in DSA, wouldn't that be a great idea? This is what QuPath does and enables the user to make "infinite" projects without running out of storage. I understand that it is convenient to have the images in the database itself as the DSA solution would be more stable and less prone to external forces, such as the user suddenly moving the images on disk, and then the reference would no longer be valid - resulting in corrupted IDs in the database and all that fun stuff.
For exactly this issue, QuPath has added a feature to enable users to fix broken image paths by enabling them to set the new path manually or asking for a directory of where the WSI should be where QuPath would then run a search to find the missing image. I find this extremely useful in a variety of situations and it is honestly the only practical solution for me.
What are your thoughts on this idea? I don't mean to replace storing images, but rather having an alternative and less storage-hungry alternative.

So big big point.. We can either IMPORT a file into our local assetstore,
OR what I do 99% of the time, is we create indexes/references to files that
already exist on a NAS somewhere.  In that case, you have to make sure the
docker container has been configured so the volume is bind-mounted into the
container.
I often have a docker-compose.override.yml file (similar to below), that
will mount

version: '3'
services:
girder:
volumes:
# For local development, uncomment the set of mounts associated with
the
# local source files.  Adding the editable egg directories first
allows
# allow mounting source files from the host without breaking the
internal
# data.
- /home/dagutman/devel/testData:/testData
- /myLocalNAS:/myLocalNas
So then under the existing admin console --> Assetstores, there's a magical
IMPORT DATA button (in green), once your file system / nas /whatever is
"visable" within the main girder docker container, you can then have it
walk that file path and it will import the data into the filesystem.. again
in this mode you are INDEXING the files and grabbing metadata from the file
header, but are NOT copying 10TB of files into a mongo database.  As you
mentioned, that would be a total disaster.
The only thing the actual MONGO database stores is the actual internal DSA
metadata, annotation documents, etc.
The assetstore is a separate folder / resource where things people have
"manually" uploaded i.e. via drag & drop through the uI would appear.
[image: image.png]
[image: image.png]
On Sat, Feb 25, 2023 at 5:33 PM André Pedersen @.***>
wrote:

I have a local database with about 10 TB of WSIs. It is not practical to
have duplicates of these inside a separate MongoDB database which DSA uses.
The original database is also used for other stuff than DSA, and thus,
relying fully on MongoDB only is not a viable option.
I had the impression that DSA supported two ways of storing data:

Upload WSI and store it directly in the MongoDB database (stores a
copy of the image)
Upload WSI directly from filesystem where the server is launched
(only stores a reference/path to the image)

For option 2 I assumed, perhaps naively, that it only stored the reference
to the WSI inside the database and not the entire WSI.
However, I just noticed that the collection I was working with had stored
~22 GB of data when the original test cohort was on about ~16.3 GB. Hence,
I would think that it stores the full images (in addition to annotations
and other stuff). Hence, my understanding is likely wrong.
If you do not storing references in DSA, wouldn't that be a great idea?
This is what QuPath does and enables the user to make "infinite"
projects without running out of storage. I understand that it is
convenient to have the images in the database itself as the DSA solution
would be more stable and less prone to external forces, such as the user
suddenly moving the images on disk, and then the reference would no longer
be valid - resulting in corrupted IDs in the database and all that fun
stuff.
For exactly this issue, QuPath has added a feature to enable users to fix
broken image paths by enabling them to set the new path manually or asking
for a directory of where the WSI should be where QuPath would then run a
search to find the missing image. I find this extremely useful in a variety
of situations and it is honestly the only practical solution for me.
What are your thoughts on this idea? I don't mean to replace storing
images, but rather having an alternative and less storage-hungry
alternative.
—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/digital_slide_archive/issues/254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFODTQMZU3DHTFPLNHP5KLWZKCCTANCNFSM6AAAAAAVIDBSVY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
David A Gutman, M.D. Ph.D.
Associate Professor of Neurology
Emory University School of Medicine

@dgutman OK, but then option (2) is possible which is the ideal scenario! Great!
I followed the steps with the docker compose as you mentioned but maybe something is wrong. I could try to reset the DSA docker container tomorrow.

@andreped The WSI files are never stored in the database UNLESS you upload them to a GridFS based assetstore.  If you upload them, they are stored in the assetstore (typically either a file system or an S3 bucket) under some hash-based naming scheme.  If you IMPORT them, it just stores a path reference to the original file, plus some minor metadata (file size, file path or bucket path).  The reported size is from that metadata.

Oh, OK. That explains it. Cheers! :]

Yes those numbers are telling you how big the DATA set is, but the actual
database size is.. not that.  :-)
On Tue, Feb 28, 2023 at 4:00 PM André Pedersen @.***>
wrote:

Closed #254
https://github.com/DigitalSlideArchive/digital_slide_archive/issues/254
as completed.
—
Reply to this email directly, view it on GitHub
https://github.com/DigitalSlideArchive/digital_slide_archive/issues/254#event-8631422027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFODTU6O2Y2DEQO54MMDHLWZZRORANCNFSM6AAAAAAVIDBSVY
.
You are receiving this because you were mentioned.Message ID:
<DigitalSlideArchive/digital_slide_archive/issue/254/issue_event/8631422027
@github.com>

--
David A Gutman, M.D. Ph.D.
Associate Professor of Neurology
Emory University School of Medicine


[BUG] bpy.types.NodeTreeInterface SocketMenu only exists in versions greater than Blender 4.1

bpy.types.NodeTreeInterface SocketMenu only exists in versions greater than Blender 4.1
OS:WindowsX64
blender version:4.0.2
bug:when clicking on a material with a custom node group in the material panel, an exception occurs. just create a custom node group and it will be reproduced
addon_version:3.3.0
exception:
Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\NodeToPython\shader\operator.py", line 171, in execute
self._process_node_tree(node_tree)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\NodeToPython\shader\operator.py", line 108, in _process_node_tree
self._tree_interface_settings(ntp_nt)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\NodeToPython\ntp_operator.py", line 789, in _tree_interface_settings
self._process_items(None, panel_dict, items_processed, ntp_nt)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\NodeToPython\ntp_operator.py", line 771, in _process_items
self._create_socket(item, parent, panel_dict, ntp_nt)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\NodeToPython\ntp_operator.py", line 653, in _create_socket
self._set_tree_socket_defaults(socket, socket_var)
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\NodeToPython\ntp_operator.py", line 572, in _set_tree_socket_defaults
if type(socket_interface) is bpy.types.NodeTreeInterfaceSocketMenu:
AttributeError: 'module' object has no attribute 'NodeTreeInterfaceSocketMenu'

Thanks for the bug report! I was able to reproduce the issue, and it's been resolved with #141

this is a great plugin that solves many problems,thank you for your work