[VERSION TRACK] v3.4.1 Known Issues & Bugs

Known Bugs - v3.4.1
This issue is an umbrella issue to keep track of bugs in the current version.  You can reply directly here, but opening a new issue would make life easier for us.
Issue List (included in 3.4.1)

[x] (3.4.1) Misspelling of 2 new fill types from straw harvest (or variants) 954c80174d3c9cb6687f6cef8295b2e9f684d079
[x] (3.4.1) Dumb logic typo for base game placeables (they all have the "parent file" warning background) 72f1325edd55c42336d4d76d66243c5d7f03893d
[x] (3.4.1) Game running indicator not hiding as expected. 0d06dc5c9632db7530cb49c3fae3c17e032c78bf
[x] (3.4.1) Chart Units missing on mod detail pages ab26a44e1d71990bc363908b1804d71824f99103
[x] (3.4.1) Unusable mods not visually different in mod list f1142e69a011449b199a9b9aee13eb48423c2097
[x] (3.4.1) Documentation was very, very outdated. ce3383290acb48c3e9d996e950d91bc055134698, d61773d9a1120ef81e03d33407bb26ae15d9aba5, 4d5daab5a5d744c5d2cc97868bee0685ba851fa6, 855b55dcd321f0382a712d87d158828a47efdb30

Issue List (included in 3.5.0-RC1)

[x] (3.4.91) Add logic trap to remove /x86/ from game path on base game browser. #211 c663d5296a0b477d7c33c90a98dfc4f5261daae3
[x] (3.4.91) Download display was wonky, mis-placed text, and the speed calculation failed at 1,000Mb. Also allow https:// in server URL's. 91b1d5f42f1245a334b17bdaca9cde4cfaaa42e4
[x] (3.4.91) Visual indication needed on mini-mode when game is running. 7850107a44dabd7b8a10d789e607ab16de988957
[x] (3.4.91) Add option to drag-and-drop a CSV collection export to the main window to compare it to current collections.  Uses the same visual interface as the savegame compare tool. #208 7850107a44dabd7b8a10d789e607ab16de988957, 278fcc2d03cac68144870688a9397eeb7c4ba5c1
[x] (3.4.91) Deep link of attacher joints in mod detail display broken 4ecd658d32931f898975fb8aeaa70921fe04f91a
[x] (3.4.91) Button list for collections was getting long, prefer icon for savegame checker. ab1a8f3e88277577bd689fee7ca8e015040da1eb
[x] (3.4.91) Preferences window is clunky - #212 0a5fbcc6b713b4ca26f2ff8a266f9a7dd1728be6, f02cd6e1d44ef9d1c8834582f585100e76ba1de8
[x] (3.4.91) Collection Management in separate window is clunky - #213  0a5c3387224cc42419fb94d38888ac7bcf808eeb
[x] (3.4.91) Code duplication in preload files, some can probably be shared. fd045036185a7d075f3f0537e9f2981df1ec2a2c
[x] (3.4.91) Disabling older FS does not disable XML file checking #214 0c18f1312cbab5136279ada40bfe5be842ceabd4
[x] (3.4.91) Game Polling (status bubble) should be optional. 1b630fa0de123e699df4d4b71c67af1ba5ca6a4f
[x] (3.4.91) Collection details/notes page should visually resemble settings page. 193cc6dc3f392c46c5f1ae40595fb9094a1ca1b6

Issue List

[x] Missed some log spam for game polling 15760ebd63aff25dbb97f9d9eb9693433eb8d2da
[x] Checkbox on preferences / collections details is unclear, use a custom option diff 3bf6245777fff8e255059c7e462946bf16bf5fee
[x] Visual overlap on gamelog screen #215 7eff21642c5f95c6833f75b7af92419e69c4c46a
[x] Right click to copy/move/delete all selected would be nice ae205dcf5126f6f96e26ee51fedc62a7a19e463c
[ ] Savegame filters are not working right #216
[x] Not happy with the spacing / alignment of side buttons since change to configurable font-size f7523ac2a2d818bd3d679142ca8af01bd68115a6
[x] Right click on a savegame had an icon code, not text.  fix in l10n files. f23e09e8d536b62c1d54385ef80b23cccf7dd671

Progress

[x] BugFix 3.4.1 Released : v3.4.1
[x] 3.5.0-RC1 Released : v3.5.0-RC1
[ ]  3.5.0-RC2 Released : (planned 1/29/2024 evening EST)

This is probably overkill for non-cards:

Oh, good catch - yeah, it should hide it if it doesn't have it.  honestly, it should probably always be hidden behind a click-gate, it's pretty specialized as to who needs it :)

P.S.
In addition to maps with a “calendar”, as you know ) , there are mods like Crop Calendar Manager https://www.farming-simulator.com/mod.php?lang=en&country=us&mod_id=275437

P. S. In addition to maps with a “calendar”, as you know ) , there are mods like Crop Calendar Manager https://www.farming-simulator.com/mod.php?lang=en&country=us&mod_id=275437

Haha.  Yes indeed.  I actually spoke to Jos when he released this to nicely let him know I wasn't going to directly support it in MA :)  It's a very cool mod though.

Probably, there is space left here for command icons like in Windows Explorer?

I don't know.  But that looks rather nice with the icons, and I will find out for sure.

I don't understand why the "heart" is there. They are not necessarily looking for what they “like”.

But this, of course, is just my opinion. )
As always, you are doing much better and on a larger scale than expected.

It's to match the button on the side - I think I picked it because it was the only option that wasn't just the spy glass.  I'm open to other ideas as to what could mean "modhub" - I came up pretty empty.

Just a no-frills magnifying glass.
And it doesn’t matter that the same will happen for another “Find”.
Search is search. )

By the way – “binoculars”?

"Add Icons to right click menu" is not available in 3.4.93.

Hide Crop Calender JSON display when not applicable,

"Add Icons to right click menu" is not available in 3.4.93.

huh.  that's odd.  I have it, on the work computer I just installed on (not my work machine)

So, something is odd here.  I'll try and reproduce.

"Hide Crop Calendar JSON display when not applicable" - in the same place, but in the form of a button:

Lol.  this one is on me, I hid the header, but the button isn't a child of the header.  my bad.

huh. that's odd. I have it, on the work computer I just installed on (not my work machine)
I only looked in the Search field.

LOL!  ok.  they are in fact there, probably.  But they are white.  I didn't do any sort of theme checking on it. I'll get one that :)

But they are white.

That's what I assumed. )

Is it possible to navigate by clicks or the ability to copy the title?

Yeah, I can make those do something - tell me more on your idea - open up the details page for the clicked dependency / requirement?  (I have to check if those lists are populated only with existing mods - it might be everything, even if the "requirement" is not met)

Indeed, some scripts are not on ModHub. Then just copy the name. It seemed like: scroll the list to the mod whose name you clicked on.
There is an option: search for the missing mod on the Internet, but for me, for example, this is not suitable - Google search in my Republic is blocked by providers. Then you will need a choice of search engines, and this is unnecessary.

that makes sense.  ok.  I'll do a "scroll to the mod" if it exists.  If not, I'll have it populate the system clipboard with the name of the mod, along with a little bubble popup that says it was not found, and it's available to paste into whatever of your choice.

It would probably be more convenient if these category labels

were displayed in the main list:

Oh.  yeah, I see what you mean.  Ok.  I'm gonna need to think about how to achieve that - the results in the savegame compare window are pretty transient, but I should be able to populate them back to the main window.
While you are around - do you have any thoughts on the copy/move/delete operation being a separate window? Would it better serve as a overlay to the main interface?
I had hoped to get 3.5.0 released today - however, I've gotten involved in some style changes in some windows, and adding an initial setup wizard, so that is not going to happen.  I hope to have a new RC build late tonight though.  Fair warning, there are more than a few new translation strings for the initial setup wizard that I will add as soon as I can take decent screenshots :)

While you are around - do you have any thoughts on the copy/move/delete operation being a separate window? Would it better serve as a overlay to the main interface?

I think this is not necessary. For what?
If I get you right.

These windows.

My thoughts for making it a overlay of the window:

less extra windows opening. (both easier and slightly harder from a programming perspective)
I'm using an "always on top" flag on those - but I don't have the option to make it always on top of only other Mod Assistant windows - I find that frustrating sometimes.

My thoughts against making it an overlay:

The way it is now, you can still scroll in the main window if you move it out of the way if you have a reason to need to do that.

I have never moderated a group game. Perhaps such an option is useful/convenient for such moderators, but I have no idea about it.

It would probably be more convenient if these category labels

This one was kinda hard.  But it is tied to the open save game compare window, when you close that, the tags disappear again.  They also only appear on the collection you have compared to (limitation in how I'm doing the comparison, when these tags go back to the main window it's too late to figure out if they were not present in the compared collection but do exist in the new one you are viewing)

as per usual, I'm still messing with exactly how the tags are displayed.  Alas, it is also too late to add them to the filter buttons next to the search box.

Sorry, I forgot ( , which can be done like this:
https://github.com/FSGModding/FSG_Mod_Assistant/assets/41552153/dbfe0d6a-2d9e-4661-b7bd-c6f13ed93d63

It might make sense to add a "Selected" button:

aye.  it's been a space problem - but part of the update is a rework to how the two filter buttons appear, so there is likely room there now

Video capturing all the necessary windows:
https://github.com/FSGModding/FSG_Mod_Assistant/assets/41552153/0e7f8d51-9efb-4947-9829-e2e7e22d4e5d

sweet, thank you - I had thought that was what you meant - added to my working copy.  I have a bunch to do as far as updating screenshots and documentation, but I hope to have the updated translations to crowdin and a test build sometime tonight (UTC-05:00)

Video capturing all the necessary windows:
https://github.com/FSGModding/FSG_Mod_Assistant/assets/41552153/1910d451-1ee8-402c-a092-93608d553ca9

3.4.96 - strange/not always the close button “Select game version” works: when the window is minimized, with several clicks it expands the window to the full screen and only then works:
https://github.com/FSGModding/FSG_Mod_Assistant/assets/41552153/4759dfd0-8f81-44b9-b9d1-48b2795a1432

Here's another place where there are no icons for menu items ) :

I didn’t find anything “good” anymore. )))
Liked the maps icon:

I really should already be sleeping - but thanks, I'll take a look in the morning closer.
As to that close button - on closer inspection, it looks like it only works if you click exactly on the white X (not the background doesn't count).  I'll adjust to the more standard button style.
Good catch on the context menu icons, I forgot that one was there.
As to the map icons - yes.  I'm still playing with a way to reasonably display more than one - as of right now, it will show a map icon if there is one, and only one map in the folder.  Maybe a hover/dropdown combo or something if it has more than one would look nice

This huge planet: when someone just wakes up, someone else's day will already be over.
Maybe it’s possible/easier to add a mod to “Selected” when click it?

ok, I think this is pretty clever...

Thumbs Up - you have it, in the same collection, all is well - clicking on it will do what you described - select it in the main window, with the search field filled to just that mod.
Thumbs Down - you don't have it anywhere, the mod short name (everything before the .zip) will be copied to your keyboard
Spy Glass - you have it, but it's in the wrong collection - clicking it will bring up the "Find All" window with that mod pre-selected so you can grab it from the collection of your choice and copy it around if you want.

yeah, you're probably right - I wasn't sure I could mess with those after I created them, but in getting the theme right I had to figure out how to do just that anyway

If you can change the background behind the image with the tag name:

multiple-map dropdown for collections with more than 1

If you can change the background behind the image with the tag name:

I can change the background, yes - where I am having trouble is in using the standard red/yellow/green traffic light design to communicate what is really happening in this dropdown.
The buttons correlate pretty closely to the RFC standard definitions : https://datatracker.ietf.org/doc/html/rfc2119
The PIN is the mod MUST have that tag (more than one pin, it MUST have all of them)
The SLASHED EYE is the mod MUST NOT have that tag (more than one slashed eye, it MUST NOT have any of them)
The OPEN EYE is the mod MAY have that tag (it does not need to, it's provided as a visual opposite of the SLASHED EYE)
Finally, the PIN causes the OPEN EYE to be forcibly toggle "on"
I can see how red would correlate well to the SLASHED EYE - but the green state could be either the PIN or the OPEN EYE, and that's where my confusion comes in.

раскрывающийся список с несколькими картами для коллекций, содержащих более 1

Great!
Are these targets for a mini-game?

heh.  Bot integration with the bot our community leader wrote - it's really a multi-player specific feature, but it's kinda cool
https://fsgmodding.github.io/FSG_Mod_Assistant/fsgbot.html
In the case you posted, that would be our 16 regular realistic servers along with the 2 "co-operative" ones.

I can change the background, … my confusion comes in.

I'll think about it. But it’s hard, because I’m not used to it. )

When working with this list, I feel like clicking on the picture with the tag name, but now it’s not a button.
And that would probably be more convenient.
But and now everything is fine.

I could add a click there - maybe have it just cycle to the "next" setting? show->hide->limit to->repeat?

I think it’s normal now, but you know better.

This https://discord.com/channels/949619926463840327/1009879187429003377 is very frustrating.

working on it right now.  it'll be in the next update

I just pushed the changes for the malware detector - there are probably other false positives out there, but I did check it against the entire 'gameplay' category on modhub, along with the popular script mods that I use.  Please use issue #220 to report any others.  If you want a safe file to test with, see here for my test mod, it has the offending code in a LUA file that is neither loaded nor able to actually run.

Users may have problems with 3.5.0-RC7!

When "I do not trust it, delete it right now" are archives with mods deleted not to the Recycle Bin/bypassing the Recycle Bin?

When "I do not trust it, delete it right now" are archives with mods deleted not to the Recycle Bin/bypassing the Recycle Bin?

that's correct - they are removed from disk directly, it bypasses the recycle bin.  In this case, I could send it to the recycle bin - keep in mind, this is detecting mods with funky scripting (there were a whole bunch released in the last few days on some sites) - it is not, nor is intended to be a system wide malware scan - there are plenty of options for that already.  This is only looking for mods that may maliciously alter your farm sim installation only.

At the first launch, the color of the text did not change when hovering the cursor (the next time it changed):
https://github.com/FSGModding/FSG_Mod_Assistant/assets/41552153/396d0bfb-8acb-45d8-be9c-32069032be0e
it would be better if the arrow became a “pointing finger” - not everyone will be able to see the change in text color and understand that when clicked, an action from the text will occur.

Oh, and some additional information on the rest of the buttons - the first one you mentioned does indeed delete the mod.
The second "I want to investigate this" adds it to an ignore list by hash and folder hash - if you move or copy the file to another collection, the warning will re-display for that copy of the mod.  Also, that ignore flag is not saved, so the next time you start Mod Assitant, the warning will show again.
Finally the "I'm sure I trust this..." (last button) adds it to a saved list in your preferences, by name only - it will not show the "malware" tag, and it will not ask you about that mod ever again.

At the first launch, the color of the text did not change when hovering the cursor (the next time it changed):
it would be better if the arrow became a “pointing finger” - not everyone will be able to see the change in text color and understand that when clicked, an action from the text will occur.

Got it - when I ran the RC build I noticed some odd behavior as well - it looked like the dialog was getting hung up in or under the changelog of the splash screen - I'll look at the timing of events on those.  And i'll look at changing the pointer type as well.

For some reason, MA didn’t like FS19_GlobalCompany:

And deleted (due to my carelessness) VehicleInspector
VehicleInspector.zip

whoops.  I should have checked vehicleinspector - I forget what his other massive overlay one was called, but I bet that does it too.  And for some reason it never occurred to me to run it against my copy of 19 mods - I bet there's a fair few in there too. Thanks, I'll get them added prior to the next release

That's why there was a question about the reason for deleting bypassing the Recycle Bin. Someone may delete something that they edited for a long time and/or cannot restore.

That's why there was a question about the reason for deleting bypassing the Recycle Bin. Someone may delete something that they edited for a long time and/or cannot restore.

I agree - I'll change this call to send it to the recycle bin instead.

It might be possible to make a list of detected/removed malicious files somewhere here:

Because this:

may remain undeleted (I understood your explanation of why they are not there) without tags, etc.
Pests exist not only on the Internet) For example, a child can download various cool cars with nasty things and mark them all as “acceptable”.

yeah, I will add what you have "permanently" ignored in there, along with a button to clear it out.  I was considering having that list clear itself on the "Clear Cache" button as well

EDIT: if you want to alter the translated text on that button to reflect that, I will do the same.

No. For what?
If I get you right. )

EDIT: if you want to alter the translated text on that button to reflect that, I will do the same.

No. For what? If I get you right. )

I'll probably change that button from
I do not trust it, delete it right now
to something like
I do not trust it, move it to the recycle bin it right now

whoops. I should have checked vehicleinspector - I forget what his other massive overlay one was called …

https://www.modhoster.com/community/user/happylooser#t2

oh, cool, thanks - I've not used any of his stuff in a while - but I know he spent a ton of time on library and utility functions, so they probably all use similar code to manage saved settings which is causing the false positive on this

https://github.com/loki79uk/FS22_NoDelete/releases/tag/v<IP_ADDRESS>

        local g_env = getmetatable(_G).__index
        g_env.deleteFile = function(path)
            print("WARNING script attempted to delete file: " .. path)
        end

        local function createTextFile(filename, text)
            local fileId = createFile(getUserProfileAppPath() .. filename, FileAccess.WRITE)
            fileWrite(fileId, text)
            delete(fileId)
        end
        createTextFile("testFile.txt", "test content")

        local userProfileAppPath = getUserProfileAppPath()
        local files = Files.new(userProfileAppPath)
        for _, v in pairs(files.files) do
            if v.filename == "testFile.txt" then
                print("hahaha I am deleting your testFile...")
                g_env.deleteFile(userProfileAppPath .. v.filename)
            end
        end

https://github.com/loki79uk/FS22_NoDelete/releases/tag/v<IP_ADDRESS>

Aye, Loki and I were talking about this yesterday a bit - looks to be a useful bit of protection.
For what it's worth, this mod was actually the second entry into the global whitelist for MA's scan, as his test case there also triggers the warning :)


UICollectionView support

Thank you for great library!
BTW, is there any plans on expanding to UICollectionView?

@yakubbaev hi! Thanks!
I don't have any plans to support UICollectionView.
Take a look at IGListKit or DTCollectionViewManager.


Passing Additional Values to Token Endpoint

Hello,
Does anyone know how one can pass additional parameters to the Token Endpoint in IdentityServer.
I have a need where some additional values need to be used before a Token is generated and sent back to the calling client post successful authorization.
Scenario: Token endpoint gets invoked from a Mobile App with Username, Password and Scope values (which are the three mandatory values). I need to pass the IMEI number too so that some more validations can be done. However, the token endpoint does not have the provision for any additional values.
How can one perform some authentication based on additional parameters like Mobile No, IMEI etc.
Regards,
Jay

Implement a ICustomTokenRequestValidator

Can you please share some sample for the same.
The link
https://github.com/IdentityServer/IdentityServer4/blob/dev/src/IdentityServer4/Validation/Interfaces/ICustomTokenRequestValidator.cs
is
dead!
On Mon 19 Nov, 2018, 3:59 PM Dominick Baier<EMAIL_ADDRESS>wrote:

Implement a ICustomTokenRequestValidator
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IdentityServer/IdentityServer4/issues/2811#issuecomment-439845322,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARBFeVm-LoxD2tc4ZbLZQrYymp2-bw5cks5uwogSgaJpZM4YozEH
.

https://github.com/IdentityServer/IdentityServer4/blob/master/src/Validation/ICustomTokenRequestValidator.cs
I don't have a sample. Implement the interface, register it, put a breakpoint in there. See if you get all the necessary data.

I did the following just to check if the code gets hit in debug mode,
public class CustomClaimInjection : ICustomTokenRequestValidator
{
private readonly HttpContext _httpContext;
    public CustomClaimInjection(IHttpContextAccessor contextAccessor)
    {
        _httpContext = contextAccessor.HttpContext;
    }

    public Task ValidateAsync(CustomTokenRequestValidationContext context)
    {
        // THIS ONE. HOW TO GET THE SUB. THIS ALWAYS NULL.
        var sub =

_httpContext.User.FindFirst(JwtRegisteredClaimNames.Sub)?.Value;
        var client = context.Result.ValidatedRequest.Client;
        client.Claims.Add(new Claim("sub", sub));  // this will be

[client_sub]
        return Task.FromResult(0);
    }
}

However, it does not get hit and I get the following exception in Logs,
crit: IdentityServer4.Hosting.IdentityServerMiddleware[0]
Unhandled exception: System.ArgumentNullException: Value cannot be
null.
Parameter name: value
at System.Security.Claims.Claim..ctor(String type, String value,
String valueType, String issuer, String originalIssuer, ClaimsIdentity
subject, String propertyKey, String propertyValue)
at System.Security.Claims.Claim..ctor(String type, String value)
at
Peso.Identity.Server.Extensions.CustomClaimInjection.ValidateAsync(CustomTokenRequestValidationContext
context) in
C:\JAYDEEP\PROJECTS\PESO\PesoWeb\SETT\src\Peso.Identity.Server\Extensions\CustomClaimInjection.cs:line
27
at
IdentityServer4.Validation.TokenRequestValidator.d__14.MoveNext()
--- End of stack trace from previous location where exception was
thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
IdentityServer4.Validation.TokenRequestValidator.d__13.MoveNext()
--- End of stack trace from previous location where exception was
thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
IdentityServer4.Endpoints.TokenEndpoint.d__7.MoveNext()
--- End of stack trace from previous location where exception was
thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
IdentityServer4.Endpoints.TokenEndpoint.d__6.MoveNext()
--- End of stack trace from previous location where exception was
thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
IdentityServer4.Hosting.IdentityServerMiddleware.d__3.MoveNext()
fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: Value cannot be null.
Parameter name: value
System.ArgumentNullException: Value cannot be null.
Parameter name: value
at System.Security.Claims.Claim..ctor(String type, String value, String
valueType, String issuer, String originalIssuer, ClaimsIdentity subject,
String propertyKey, String propertyValue)
at System.Security.Claims.Claim..ctor(String type, String value)
at
Peso.Identity.Server.Extensions.CustomClaimInjection.ValidateAsync(CustomTokenRequestValidationContext
context) in
C:\JAYDEEP\PROJECTS\PESO\PesoWeb\SETT\src\Peso.Identity.Server\Extensions\CustomClaimInjection.cs:line
27
at
IdentityServer4.Validation.TokenRequestValidator.d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
IdentityServer4.Validation.TokenRequestValidator.d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
IdentityServer4.Endpoints.TokenEndpoint.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at IdentityServer4.Endpoints.TokenEndpoint.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
IdentityServer4.Hosting.IdentityServerMiddleware.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
IdentityServer4.Hosting.IdentityServerMiddleware.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at IdentityServer4.Hosting.BaseUrlMiddleware.d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()
I have registered the class in SartUp.cs as below,
services.AddScoped<ICustomTokenRequestValidator, CustomClaimInjection>();
Kindly advise.
Regards,
Jay
On Mon, Nov 19, 2018 at 6:27 PM Dominick Baier<EMAIL_ADDRESS>wrote:

https://github.com/IdentityServer/IdentityServer4/blob/master/src/Validation/ICustomTokenRequestValidator.cs
I don't have a sample. Implement the interface, register it, put a
breakpoint in there. See if you get all the necessary data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IdentityServer/IdentityServer4/issues/2811#issuecomment-439884130,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARBFeRaXmiQNj3WHOGLoqaxNV2fSQubjks5uwqrNgaJpZM4YozEH
.

I added the following and the breakpoint gets hit:
public class CustomClaimInjection : ICustomTokenRequestValidator
{
private readonly HttpContext _httpContext;
    public CustomClaimInjection(IHttpContextAccessor contextAccessor)
    {
        _httpContext = contextAccessor.HttpContext;
    }

    public Task ValidateAsync(CustomTokenRequestValidationContext context)
    {
        // THIS ONE. HOW TO GET THE SUB. THIS ALWAYS NULL.
        //var sub = _httpContext.User.FindFirst(JwtRegisteredClaimNames.Sub)?.Value;

        //var client = context.Result.ValidatedRequest.Client;
        //client.Claims.Add(new Claim("sub", sub));  // this will be [client_sub]

        context.Result.CustomResponse = new Dictionary<string, object>
        {
            {"scope", "read" }
        };

        return Task.CompletedTask;

        //return Task.FromResult(0);
    }
}

However, I am still not sure about the following:
1. How can I pass additional values from the client into the call

Well - you can get any input data e.g. liek context.Result.Raw.Get("IMEI");
Then you can put it on HttpContext.Items? so you can retrieve it later.

@leastprivilege  Thanks a lot for your guidance.
I was able to pass the values as a Dictionary usingg the object parameter of the RequestResourceOwnerPasswordAsync method of the TokenClient and then retrieve it in the ValidateAsync method by using what you mentioned above.
Hope this thread helps others who may have a similar requirement!


Can someone help?

I have no idea where I am going wrong so forgive me for posting this here as this probably isn't a bug.
I just wondered why this isn't working?
`
public async Task AuthenticatePayement(string accessToken)
{
TrueLayerPaymentRequest trueLayerPaymentRequest = new TrueLayerPaymentRequest();
Guid randomGuid = Guid.NewGuid(); //change this
trueLayerPaymentRequest.SetDefault();
trueLayerPaymentRequest.AccessToken = accessToken;

string requestBody = trueLayerPaymentRequest.ToJson();

var tlSignature = Signer.SignWithPem(TrueLayerConfig.KeyId, TrueLayerConfig.PrivKeyPem)
    .Method("POST")
    .Path("/payments")
    .Header("Idempotency-Key", randomGuid.ToString())
    .Header("Authorization", $"Bearer {accessToken}")
    .Body(requestBody)
    .Sign();

var request = new HttpRequestMessage(HttpMethod.Post, "https://api.truelayer-sandbox.com/v3/payments");
// Request body & any signed headers *must* exactly match what was used to generate the signature.
request.Content = new StringContent(requestBody, Encoding.UTF8, "application/json");
request.Headers.Add("Idempotency-Key", randomGuid.ToString());
request.Headers.Add("Authorization", $"Bearer {accessToken}");
request.Headers.Add("Tl-Signature", tlSignature);

var response = new HttpClient().Send(request);

return Ok(response);

}
`
I get a 204 response code when testing the signature but here it just doesn't work. I think it's something to do with the fact that the number of bytes may change when I set the request.Content and turn the requestBody into a StringContent obj.
Any help would be greatly appreciated.

You need the version prefix
.Path("/v3/payments")

@roja300 are you still having trouble with this at all? If not then I'll close the issue at the end of the month.


[UT Enhancement] Replaces NULL-terminated array with a better container to avoid access violation

Problem Statement

There are many occurrences in unit test sources that are using NULL-terminated array to store commands.
This is not a good practice because it's very easy to cause access violation problems if someone forgot to put null at the end.
Especially, when the array is allocated on the stack, it might seems ok to run the test without crashes. However, it's very likely to have some tests failures without proper hints in future.
Evidence or User Insights

PR #1576 fixes an bug caused by access violation.
Proposal

std::vector seems to be a good container in this case.
Goals

Improves the quality of both product and test suites.
Non-Goals

Low-Fidelity Concept

Requested Assignment

If possible, I would like to implement this.
I'm just suggesting this idea.  I don't want to implement it.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


Cant connect to printer through wifi

I have installed the cura plugin, added the snapmaker 2 printer and then restarted. added a project, sliced, but no option to send to the printer directly.
Do I need to find the printer in my network first somewhere?

Same questions from my side: How does one teach Cura the IP address of the SnapMaker? If I try to find it on the network during printer installation, Cura is unable to connect.

I have it too, tested from 2 different PCs, and checked windows Firewall settings. The 3rd party plugins work like a charm.

Had it too, upgrading the plugin to 0.9.2 solved it for me.


TwoNewLines

functionality for processing translation2 and transcription2

Nice work, David!

Woohoo! Managed not to destroy everything with git this time.
So, what do we do about the tests—there is some extra code in the MorphemeGloss class that can go once we don’t have to run the tests. Do you normally phase out tests during development, or should the tests be tweaked somehow to run with the code at every steep along the way? I’m not really sure how we could do that, though I suppose there is a way if need be.
David

On Apr 21, 2019, at 1:06 PM, Paul Shannon<EMAIL_ADDRESS>wrote:
Nice work, David!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/paul-shannon/slexil/pull/19#issuecomment-485274948, or mute the thread https://github.com/notifications/unsubscribe-auth/AKN4HBS7QFUXMCT733HIP5LPRS3K3ANCNFSM4HG4SUNQ.


Add valgrind guard bytes to the end of the stack again

I previously removed them thinking they had no practical effect, but I was wrong since the first few words of the stack are things that shouldn't be scribbled on.

VALGRIND_MAKE_MEM_NOACCESS doesn't seem to do what I want here. I think as soon as sp is decreased into the NOACCESS region those bytes become accessible.

Instead of valgrind guard bytes, I'll put a 16 byte canary value on every stack and check it at strategic places. 16 bytes seems like a big enough gap that no frame would just skip over it.

784713ec683c7cce0a1d4aa712a376317384d62c


Port to AIX platform

Allows compiling and using ninja with gcc on AIX. (corrected PR)

Maybe you can squash all 3 commits into a single one?

Done

@jonesmz  Done.


WIP: Dump local tensors from anntest.py

This PR adds support to dump local tensors when virtual_tensor_flag is set to 0 in nnir_to_openvx.
Part of calibration.

@LakshmiKumar23 is this ready to be merged?

@LakshmiKumar23 is this ready to merge?

@kiritigowda Not yet, fixing some bugs

@kiritigowda Ready to be merged


Install YOLOX on Nvidia Xavier NX

Hi,
I tried to install YOLOX on Nvidia Xavier NX via pip3 install -U pip && pip3 install -r requirements.txt. However, it showed error "ERROR: Could not find a version that satisfies the requirement onnxoptimizer>=0.2.5 (from onnx-simplifier) (from versions: none)
ERROR: No matching distribution found for onnxoptimizer>=0.2.5"
I also checked onnxoptimizer on Pypi. It seems there was no supported wheel for Xavier NX platform.
Is there other ways that I can install YOLOX on Nvidia Xavier NX? Thanks!
Here is the detailed output:
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /home/toyota-client/.local/lib/python3.6/site-packages (21.2.4)
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: numpy in /home/toyota-client/.local/lib/python3.6/site-packages (from -r requirements.txt (line 2)) (1.19.5)
Requirement already satisfied: torch>=1.7 in /home/toyota-client/.local/lib/python3.6/site-packages (from -r requirements.txt (line 3)) (1.8.0)
Collecting opencv_python
Using cached opencv_python-<IP_ADDRESS>-cp36-cp36m-manylinux2014_aarch64.whl (34.2 MB)
Collecting loguru
Using cached loguru-0.5.3-py3-none-any.whl (57 kB)
Collecting scikit-image
Using cached scikit-image-0.17.2.tar.gz (29.8 MB)
Collecting tqdm
Using cached tqdm-4.62.2-py2.py3-none-any.whl (76 kB)
Collecting torchvision
Using cached torchvision-0.10.0-cp36-cp36m-manylinux2014_aarch64.whl (14.2 MB)
Requirement already satisfied: Pillow in /usr/lib/python3/dist-packages (from -r requirements.txt (line 9)) (5.1.0)
Collecting thop
Using cached thop-0.0.31.post2005241907-py3-none-any.whl (8.7 kB)
Collecting ninja
Using cached ninja-1.10.2-py2.py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (119 kB)
Collecting tabulate
Using cached tabulate-0.8.9-py3-none-any.whl (25 kB)
Collecting tensorboard
Using cached tensorboard-2.6.0-py3-none-any.whl (5.6 MB)
Collecting onnx==1.8.1
Using cached onnx-1.8.1.tar.gz (5.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... done
Collecting onnxruntime==1.8.0
Using cached onnxruntime-1.8.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.4 MB)
Collecting onnx-simplifier==0.3.5
Using cached onnx-simplifier-0.3.5.tar.gz (13 kB)
Requirement already satisfied: protobuf in /usr/lib/python3/dist-packages (from onnx==1.8.1->-r requirements.txt (line 16)) (3.0.0)
Requirement already satisfied: typing-extensions>=<IP_ADDRESS> in /home/toyota-client/.local/lib/python3.6/site-packages (from onnx==1.8.1->-r requirements.txt (line 16)) (<IP_ADDRESS>)
Requirement already satisfied: six in /usr/lib/python3/dist-packages (from onnx==1.8.1->-r requirements.txt (line 16)) (1.11.0)
Requirement already satisfied: flatbuffers in /home/toyota-client/.local/lib/python3.6/site-packages (from onnxruntime==1.8.0->-r requirements.txt (line 17)) (2.0)
INFO: pip is looking at multiple versions of onnxruntime to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of onnx to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement onnxoptimizer>=0.2.5 (from onnx-simplifier) (from versions: none)
ERROR: No matching distribution found for onnxoptimizer>=0.2.5

onnxoptimizer should be compiled by source code on jetson NX

onnxoptimizer is not needed for training. If you just want to train/test but not deploy, you could ignore onnxoptimizer and go on.


tag with double quotes

When creating a tag with a double quote (") like height 8" I got this error  jquery.js:1458 Uncaught Error: Syntax error, unrecognized expression: option[value="height 8""]

We'll have to escape double quotes in tags with something like this before it gets added to the DOM
tag = tag.replace(/"/g, '\\"');

Should be:
$('option[value="' + htmlEncode(itemValue).replace(/\/g, '\\').replace(/"/g, '\"') + '"]', self.$element).length
Instead of:
$('option[value="' + htmlEncode(itemValue).replace(/"/g, '\"').replace(/\/g, '\\') + '"]', self.$element).length

hey I am using last version, but this is happening yet, let me know how I could work out this issue?
I look forward your quick response.

In bootstrap-tagsinput.js
Try replace:
$('option[value="' + htmlEncode(itemValue) + '"]', self.$element).length
with
$('option[value="' + htmlEncode(itemValue).replace(//g,
'\').replace(/"/g, '"') + '"]', self.$element).length
On Thu, Aug 24, 2017 at 12:26 AM, Joseph Astrahan<EMAIL_ADDRESS>wrote:

hey I am using last version, but this is happening yet, let me know how I
could work out this issue?
I look forward your quick response.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/485#issuecomment-324405484,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIoE5YJ1Cw1Pmhaq5vifnSfzUZnFSbXeks5sbGC9gaJpZM4IXT7f
.

Thanks for your sincere help, it solved this issue, but wondering why you guys didn't update actual hosted file yet with latest version.

I dont know, may be they busy with new version :)
On Thu, Aug 24, 2017 at 2:01 PM Joseph Astrahan<EMAIL_ADDRESS>wrote:

Thanks for your sincere help, it solved this issue, but wondering why you
guys didn't update actual hosted file yet with latest version.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bootstrap-tagsinput/bootstrap-tagsinput/issues/485#issuecomment-324551387,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIoE5RcQBY2qFpuZKtPwQ3LvdPhvXD5Hks5sbR_kgaJpZM4IXT7f
.

You have to use HTML tags:
$('option[value="' + htmlEncode(itemValue).replace(/"/g, '&quot').replace(/\/g, '\\') + '"]', self.$element).length

Faced the same issue and fixed it by using double quotes to denote strings instead of strings:
      var optionExists = (
        $("option[value='" + encodeURIComponent(itemValue) + "']", self.$element).length ||
        $("option[value='" + htmlEncode(itemValue) + "']", self.$element).length
      );


Add ParticleArgumentDirections to the ReservedWord list

Identifiers were previously not checked against the ParticleArgumentDirections.
This rewrites a set of reserved words tests into a test over a list of reserved words and adds ParticleArgumentDirections to the reserved words list.
Was previously #2214
Depends on #2224

Failing on specs/demo-tests.
@sjmiles is there something I can do to help looking into the timeout failures?
I don't think my code is breaking this.


support numeric ns installation

Signed-off-by: YuChen Shen

related issue: https://github.ibm.com/IBMPrivateCloud/roadmap/issues/56270


HTML

User Story
As a user
I want to be able to filter search results by distance so that I can find nearby places easily.
I want to be able to sort search results by rating or popularity so that I can find the best places to visit.
Acceptance Criteria
GIVEN the application should display a list of nearby places based on location
The application should allow the user the search result by distance.

great concept chosen

Complete


Missing module in script to import existing documents

Hi,
I 'm trying to import existing Firestore documents using npx firestore-algolia-search and following this guide , but I'm receiving this error:
{"severity":"WARNING","message":"Warning, FIREBASE_CONFIG and GCLOUD_PROJECT environment variables are missing. Initializing firebase-admin will fail"}
Cannot find module '@google-cloud/firestore'

NODE v10.23.3
NPM v6.14.11

Please provide the full cli command that was executed.  Make sure to redact sensitive data.

Hi , this is the full command:
LOCATION=us-east1 \
PROJECT_ID=my_project \
ALGOLIA_APP_ID=xxxxxxxx \
ALGOLIA_API_KEY=xxxxxxx \
ALGOLIA_INDEX_NAME=project \
COLLECTION_PATH=Project \
FIELDS=field1,field2 \
GOOGLE_APPLICATION_CREDENTIALS=credential.json \
npx firestore-algolia-search

I am not sure if this might be you local environment.  Can you execute this command in a Node docker container?

hey @cpena, were you able to execute this commend in a Node docker container?  Did it resolve your issue?


[Enhancement] The cursor should become pointer while hovering the 'Check Your Progress' checkpoints

🎇 Description
While hovering to the checkpoints under the 'Check You Progress' the cursor should change to POINTER to enhance the user experience.
🖼 Screenshots
https://github.com/KiranAminPanjwani/MedStats/assets/99788083/6e9e628f-202c-44f2-9eab-45941b23b9b6

Its done, kindly check it once, assign it to me and merge my PR.
https://github.com/KiranAminPanjwani/MedStats/assets/99788083/5e38e66f-fb55-41b7-9b5a-367d6b54cae5

The provided clip is not functioning; I'm unable to view it. If applicable, please submit a pull request along with screenshots in JPG format.

@KiranAminPanjwani kindly review
Uploading FILE 2023-10-11 10:48:13.mp4…


Fix installer config.json to point onto pillar's code

We must adjust installer mount to work with moved pillar.
Installer logic is broken now since the actual pillar's data was moved to onboot section after changes in #2917.
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

Thanks @giggsoff
The installer is only used in the EdenGCP workflow with RoL backend, so we only see the problem there.
PR has been tested:
Failed EdenGCP workflow: https://github.com/lf-edge/eve/actions/runs/3591348944
This PR EdenGCP run workflow on my fork: https://github.com/Insei/eve/actions/runs/3594409049
Fix KVM only, on xen, we have another problem with onboarding, that fixed in this PR: https://github.com/lf-edge/eve/pull/2954.


Patch for avoiding reinitializing ShapeInfo

Need to build a new image for it.

Need to build a new image for it.

On it.

Done.

You need to update the image tag in the Jenkins configuration


fix: missing url search when request auto redirect

serve-handler will trim the ending .html suffix from url.pathname and make a redirect but forgot take the search, it may cause errors sometimes.

I have just encountered an issue related to this PR. All the query parameters are lost after the redirection:
For exemple: /test.html?var=123 is redirected to /test.
Can this be merged ?


"Rucăr" is listed in the drop-down menu

Description:
When user writes "Rucăr" the location appears in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Rucăr"

Expected results
The location appears in the drop-down menu as "Rucăr, Argeș"


[BUG] Cannot create EKS cluster Field [nodeRole] cannot be nil for nodegroup [ng] in non-nil cluster [c-qm5db]

Rancher Server Setup

Rancher version: 2.7.1
Installation option (Docker install/Helm Chart): Helm chart

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): EKS

Proxy/Cert Details: LetsEncrypt

Information about the Cluster

Kubernetes version: 1.23
Cluster Type (Local/Downstream): Downstream EKS cluster

User Information

What is the role of the user logged in? Admin

Describe the bug

Rancher fails to create an EKS cluster. Cluster created through the Rancher UI. AWS resources are not created (I checked in aws) and the following error message is displayed for the cluster
This cluster is currently Provisioning; areas that interact directly with it will not be available until the API is ready.

Field [nodeRole] cannot be nil for nodegroup [sanjay-test-ng] in non-nil cluster [c-qm5db]

To Reproduce

Create an EKS cluster
Account Access:

Region: any region (I have tried us-east-1 and us-west-2)

Cluster Options

Kubernetes version 1.23
Service Role: Rancher created role
Everything else default

Networking

API server endpoint access: Public access only
Rancher created VPC and subnet

Security Group:

Auto created security group

Managed Node Groups:
Only 1 node group with the following:

No launch template given
Instance type t3.medium
No AMI ID provided
Node volume size 20gb
No ssh key provided
Desired ASG Size 2
Maximum ASG Size 2
Minimum ASG Size 2

Result
EKS operator logs
time="2023-04-10T23:57:06Z" level=error msg="Error removing metadata from failure message: message body not formatted as expected"
time="2023-04-10T23:57:06Z" level=error msg="error syncing 'cattle-global-data/c-qm5db': handler eks-controller: field [nodeRole] cannot be nil for nodegroup [sanjay-test-ng] in non-nil cluster [c-qm5db], requeuing"
time="2023-04-10T23:59:07Z" level=error msg="Error removing metadata from failure message: message body not formatted as expected"
time="2023-04-10T23:59:07Z" level=error msg="error syncing 'cattle-global-data/c-qm5db': handler eks-controller: field [nodeRole] cannot be nil for nodegroup [sanjay-test-ng] in non-nil cluster [c-qm5db], requeuing"
time="2023-04-11T00:01:07Z" level=error msg="Error removing metadata from failure message: message body not formatted as expected"
time="2023-04-11T00:01:07Z" level=error msg="error syncing 'cattle-global-data/c-qm5db': handler eks-controller: field [nodeRole] cannot be nil for nodegroup [sanjay-test-ng] in non-nil cluster [c-qm5db], requeuing"
time="2023-04-11T00:03:07Z" level=error msg="Error removing metadata from failure message: message body not formatted as expected"
time="2023-04-11T00:03:07Z" level=error msg="error syncing 'cattle-global-data/c-qm5db': handler eks-controller: field [nodeRole] cannot be nil for nodegroup [sanjay-test-ng] in non-nil cluster [c-qm5db], requeuing"
time="2023-04-11T00:05:08Z" level=error msg="Error removing metadata from failure message: message body not formatted as expected"
time="2023-04-11T00:05:08Z" level=error msg="error syncing 'cattle-global-data/c-qm5db': handler eks-controller: field [nodeRole] cannot be nil for nodegroup [sanjay-test-ng] in non-nil cluster [c-qm5db], requeuing"

Rancher logs:
2023/04/10 23:56:49 [ERROR] failed to start cluster controllers c-m-zfk5chqb: context canceled
--
Mon, Apr 10 2023 4:58:42 pm | 2023/04/10 23:58:42 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 4:58:43 pm | 2023/04/10 23:58:43 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-mvs8dx5b from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 4:58:44 pm | 2023/04/10 23:58:44 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.765941 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767288 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767476 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767476 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767398 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767515 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767670 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767807 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767929 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.768078 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.768165 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.768337 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767302 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.767754 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:51 pm | W0410 23:58:51.947813 33 transport.go:288] Unable to cancel request for *client.addQuery
Mon, Apr 10 2023 4:58:58 pm | 2023/04/10 23:58:58 [INFO] Stopping cluster agent for c-m-zfk5chqb
Mon, Apr 10 2023 4:58:58 pm | 2023/04/10 23:58:58 [ERROR] failed to start cluster controllers c-m-zfk5chqb: context canceled
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:00 pm | 2023/04/11 00:00:00 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:06 pm | 2023/04/11 00:00:06 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-mvs8dx5b from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:06 pm | 2023/04/11 00:00:06 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-mvs8dx5b from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:12 pm | W0411 00:00:12.622917 33 warnings.go:80] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
Mon, Apr 10 2023 5:00:42 pm | 2023/04/11 00:00:42 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:43 pm | 2023/04/11 00:00:43 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-mvs8dx5b from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:44 pm | 2023/04/11 00:00:44 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:00:57 pm | 2023/04/11 00:00:57 [INFO] Stopping cluster agent for c-m-zfk5chqb
Mon, Apr 10 2023 5:00:57 pm | 2023/04/11 00:00:57 [ERROR] failed to start cluster controllers c-m-zfk5chqb: context canceled
Mon, Apr 10 2023 5:02:42 pm | 2023/04/11 00:02:42 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:02:43 pm | 2023/04/11 00:02:43 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-mvs8dx5b from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:02:44 pm | 2023/04/11 00:02:44 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:02:53 pm | 2023/04/11 00:02:53 [INFO] Stopping cluster agent for c-m-zfk5chqb
Mon, Apr 10 2023 5:02:53 pm | 2023/04/11 00:02:53 [ERROR] failed to start cluster controllers c-m-zfk5chqb: context canceled
Mon, Apr 10 2023 5:04:36 pm | 2023/04/11 00:04:36 [INFO] Stopping cluster agent for c-m-zfk5chqb
Mon, Apr 10 2023 5:04:36 pm | 2023/04/11 00:04:36 [ERROR] failed to start cluster controllers c-m-zfk5chqb: context canceled
Mon, Apr 10 2023 5:04:42 pm | 2023/04/11 00:04:42 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:04:43 pm | 2023/04/11 00:04:43 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-mvs8dx5b from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:04:44 pm | 2023/04/11 00:04:44 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:06:42 pm | 2023/04/11 00:06:42 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-nqq4cr85 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:06:43 pm | 2023/04/11 00:06:43 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-mvs8dx5b from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:06:44 pm | 2023/04/11 00:06:44 [ERROR] error syncing 'kube-system/k3s-etcd-snapshots': handler snapshotbackpopulate: error while retrieving cluster c-m-ccfgtqf8 from cache via index: Index with name by-cluster does not exist, requeuing
Mon, Apr 10 2023 5:07:14 pm | 2023/04/11 00:07:14 [INFO] Stopping cluster agent for c-m-zfk5chqb
Mon, Apr 10 2023 5:07:14 pm | 2023/04/11 00:07:14 [ERROR] failed to start cluster controllers c-m-zfk5chqb: context canceled

Expected Result

Create EKS cluster via Rancher UI successfully
Screenshots

Additional context

It is worth noting that this issue only started appearing on April 7, 2023. Prior to then, I didn't experience this issue when creating EKS clusters. The rancher instance being used has been up for the last 5 months.

So the root cause appears to be that a new version of the UI in Rancher 2.7.2 sets nodeRole as non-nil which is required with eks-operator v1.2.0 to works correctly (on Rancher 2.7.2)
for details see
https://github.com/rancher/dashboard/issues/4568#issuecomment-1297270190
https://github.com/rancher/eks-operator/pull/73
The new chart for eks-operator (102.0.0+up1.2.0) that was released on April 7th (as part of preparation of 2.7.2 release) set the rancher-version annotation to
  [catalog.cattle.io/rancher-version](http://catalog.cattle.io/rancher-version): '>= 2.7.0-0 < 2.8.0-0'
with the consequence that eks-operator v1.2.0 gets deployed on Rancher 2.7.0 and Rancher 2.7.1 including existing deployments and breaks EKS provisionning.
We're working on a workaround and a fix

I'm seeing the same issues as well. I have tried multiple fresh clusters and the issue appears each time.

Hey,
Please upgrade to the latest version of Rancher (2.7.2) and eks-operator (v1.2.0) to make it work, we have tested it and it works for the above versions.

if you can't or do not want to upgrade to 2.7.2 yet, here is a temporary workaround:
apply on your Rancher local cluster:
kubectl set image -n cattle-system  deployment/eks-config-operator eks-operator=rancher/eks-operator:v1.1.5

We're seeing this issue as well.
Upgrading to MCM 2.7.2 or reverting back to the EKS Operator 1.1.5 fixed it. Appreciate the quick response @pgonin

Also, airgapped deployments are not impacted as the image mirrored from the 2.7.1 list of assets is docker.io/rancher/eks-operator:v1.1.5 sha256:28d66230bdf850e9ec3a996553e3a667e3f79cce0a1472ca0ae71f2fe3c2e88b
As soon as the registry used for airgap deployments is updated with 2.7.2 assets, the issue may arise

@sowmyav27 - fix is ready to test
Rancher PR: https://github.com/rancher/rancher/pull/41261
Charts PR: https://github.com/rancher/charts/pull/2567

I am still facing the issue when I used terraform, it works fine with Rancher UI.

Waiting for PR https://github.com/rancher/charts/pull/2693 to get merged to validate this

Ticket https://github.com/rancher/rancher/issues/41123 - Test Results
EKS Operator version:

rancher/eks-operator:v1.2.0

Test case:

Provision downstream EKS Cluster with Rancher UI, steps as given here

Rancher version
Result

2.7.0
:negative_squared_cross_mark: Field [nodeRole] cannot be nil for nodegroup [test] in non-nil cluster [c-q8h4c]

2.7.1
:negative_squared_cross_mark: Field [nodeRole] cannot be nil for nodegroup [test] in non-nil cluster [c-n9gld]

2.7.2
:white_check_mark: Pass

2.7.3
:white_check_mark: Pass

@alexander-demicev Can you please check if PR https://github.com/rancher/eks-operator/pull/138 needs backporting or a new patch to fix this ?

@cpinjani I think the bug fix has to be backported

Hi, the fix is available from 2.7.2 onwards. We are currently not planning to backport the fix to prior versions. CC @kkaempf

Closing as done based on the verification done last week


null cannot be cast to non-null type kotlin.String

full error : [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(ERROR, Method call failed, java.lang.NullPointerException: null cannot be cast to non-null type kotlin.String
const uri =
        'content://com.nt4f04und.android_content_provider_example.MyAndroidContentProvider/hello';
    final values = ContentValues();
    values.putString("streams", "stream 1");
    await AndroidContentResolver.instance.insert(uri: uri, values: values);

Hey, hopefully your issue is resolved. Just wanted to point out, if there's still some problem you are facing, I would be happy to investigate and help out if you provide more details.


Add sum/min/max reducers

It is tricker to provide a sum() operation in Streamlet directly because the operation only works for specific types. In this PR, a few standard reducers are added for users to make it simple to implement sum.
Example:
instead of:
s.reduceByKey(x -> ..., x -> ..., (x, y) -> x + y);
user can do it like:
s.reduceByKey(x -> ..., x -> ..., StreamletReducers::sum);

Can we use Math.max and Math.min instead?

:+1:

:+1:


Add sensuctl test for windows platform

As discussed in
https://github.com/sensu/sensu-go-chef/pull/59#issuecomment-544533567 appveyor
has limitations for testing windows sensuctl.
We’d like to improve this.

Investigated this further, based on https://docs.github.com/en/free-pro-team@latest/actions/guides/about-service-containers#about-service-containers it's not currently possible at the moment.

Once the github action is resolved, the following resource block can be used to test sensuctl against SensuGo's demo instance
sensu_ctl 'default' do
  action [:install, :configure]
  username 'guest'
  password 'i<3sensu'
  backend_url 'https://caviar.tf.sensu.io:8080/'
end

The test command will need to be changed from sensuctl user list to sensuctl entity list


PowerToys

Microsoft PowerToys version
0.63.0
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
General
Steps to reproduce

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

/dup #16975
Should be fixed in latest PowerToys version.


heroic-unwrapped: init at 2.4.0

Description of changes
Based on aidalgol's branch, I'm setting the current heroic package as unwrapped as it is only able to log into the Epic account and handle the game library (needs legendary-gl and gogdl, the latter available on NUR). For gaming, it will require some extra dependencies through a wrapper (I currently do not have the time or interest in creating it).
Another detail is that it is now using the tarball from the releases page, instead of the AppImage, to allow a little more flexibility with the changes on the package.
Things done

Built on platform(s)

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

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

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

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

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

[X] Fits CONTRIBUTING.md.

If the package is not working in its current form and requires software from somewhere else we should drop it for now instead.

If the package is not working in its current form and requires software from somewhere else we should drop it for now instead.

@SuperSandro2000 I believe I have addressed this issue in my PR (#187960) that I had been working on when this PR was created.

Closing to focus on #187960


Support for server-rendered thumbnails

Add this support to <Thumbnail />. It will need to look at the onComplete response.

i am using the fine upload golang package:
https://github.com/FineUploader/fineuploader-go-server
Do you know if the API between the golang package and this react component interoperable ?

The react package is just a UI wrapper around the library, so the http end is unchanged.

awesome. thanks

Seems related to #51.

Looks like this can be closed, due to work completed in #77. See the release notes for v0.6.0 for details.


fix stack overflow when converting an address

Hey!
I found a stack overflow using String::from(address) with a contract address.

Good catch :+1:
LGTM.


Fix allow users with profile to access profile creation

Description
This PR fixes the issue that prevented users with an existing profile in the database from accessing the profile creation page again.
Type of Change

[ ] New feature
[x] Bug fix
[ ] Refactor
[ ] Documentation update
[ ] Other (please describe):

Checklist

[x] My code follows the project’s coding style
[x] I have performed a self-review of my code
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have updated the documentation as necessary
[x] My changes generate no new warnings or errors
[x] I have checked my code and corrected any misspellings
[ ] Any dependent changes have been merged and published in downstream modules

Related Issues
None.
Additional Information
None.

:tada: This PR is included in version 1.17.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


3.x port 10482

Proposed changes:

Port #10482 to Rasa 3

Status (please check what you already did):

[x] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

@RasaHQ/research thoughts about this PR?

Sadly Shukri has left the company, anybody interested in taking over here?


machine learning beginner: how to get custom input data to train a conv net?

I have started learning tensorflow recently. I am trying to input my custom python code as training data. I have generated random exponential signals and want the network to learn from that. This is the code I am using for generating signal-
`import matplotlib.pyplot as plt
import random
import numpy as np
lorange= 1
hirange= 10
amplitude= random.uniform(-10,10)
t= 10
random.seed()
tau=random.uniform(lorange,hirange)
x=np.arange(t)
plt.xlabel('t=time")
plt.ylabel('x(t)')
plt.plot(x, amplitude*np.exp(-x/tau))
plt.show()`
How can I use this graph as input vector in tensorflow?

Examples for tf.learn here should make things easier for you.

Questions like this should go on StackOverflow, not Github Issues.


Correctly select the result

Hey,
I would like to use your package for my tool but i don't know who to have a good display of the result.
In my tool, when i call your function, i have this :

I would like each result to have its own line so that it is clearer but impossible to do.
I want a result like this :

This is my code :
domain_whois = whois21.WHOIS(domain_name)

return render(request, 'toolbox/whois.html', {'whois' : domain_whois})

I'm using Django for my tool.
Any idea ?
Thx !

Hi there!
It looks like you put the raw data directly into your html data and the whitespaces in the data were trimmed. You could put the raw data in special tags such as pre and textarea that treat whitespaces differently.

You can also try replacing '\n' with '
' in the raw data.
But if you want the specific information you mentioned in the second image, You could do
something like the code below. (You should actually put it directly in your html template
so that you don't have to use |safe)
def foo(request):
    ...
    whois = whois21.WHOIS(domain_name)

    whois_data = f"""
    Domain Name: {whois_data.domain}

    Registrar: {', '.join(whois_data.registrar_name)}

    Creation Date: {whois_data.creation_date}

    Expiration Date: {whois_data.expires_date}

    Name Servers: {', '.join(whois_data.name_servers)}

    Status: {whois_data.status}

    Emails: {', '.join(whois_data.emails)}

    Updated Date: {whois_data.updated_date}

    """

    return render(request, 'toolbox/whois.html', { 'whois' : whois_data })

Hey !

I didn't think to use the  tag.
I wanted to return all datas of the whois. It's working now.
Thank you very much !


Can a node have more than 2 edges?

Would love to have branching which would mean a single node can have more than 2 edges

Thanks for your issue! Yes, you can add several edges from one node
https://www.ngx-vflow.org/examples/default-edges


DMs and network-specific bots appear in all managed spaces

I've got two separate IRC networks setup and connected, with the managed Space feature enabled.
However, the network-specific bots appear in both spaces, and all DM / people from both networks appear in the spaces for both networks.
I would expect the bot and people for a specific network, to only appear in the space for the network they belong to.
Might it be a bug related to the heisenbridge bot? As that also appears in both spaces, which is something I would expect.

This is unfortunately a bug/feature of Element clients that they show all DM-like rooms in all spaces if you and any participant of one is in a shared space. There's nothing I can do on bridge side within current design.


Increase modal z-index and add z-index prop

This change adds enables the use of rsm-z-999 which gives the modal a z-index: 999 value.
In the tailwind config I have also left in the option for z-index: 40 as I noticed that this was used in 2 other places and I wasn't sure what you'd want doing here, I assumed they were naturally slightly lower because of the lower limits but playing with them didn't seem to make any difference?
I also added an additional prop so that the user can specify a z-index of their own value which then gets passed through as a style which overrides the default rsm-z-999 value. I tested this in the example app with modals 1 and 2 and each one worked respectively.

@damiensedgwick looks good! Do you think it would better to use an even higher z-index? Perhaps 9999? Just makes sure it will cover more use cases by default.

looks good! Do you think it would better to use an even higher z-index? Perhaps 9999? Just makes sure it will cover more use cases by default.

Done!

Ah we both fixed the weird lint issue 😂 -- I'm not sure what that was or where it came from. I will touch it no more.

Thanks for the contribution @damiensedgwick !


Fix Travis CI badge

Thanks.

See me if you want to try this. I have a a spare board for experimentation.


fix-3237

modify DruidBroker to use FilteredServerInventoryView instead of
ServerInventoryView to avoid multiple copies of ServerInventoryView getting created.
fixes #3237

👍  LGTM
@nishantmonu51 did you confirm that this avoids creation of multiple views?

@nishantmonu51 can you make the title reflect what it does (it will be the commit title when squashed). The fixing info should go in the master comment.

sorry, doesn't become commit title unless there's lots of commits in squash

@gianm I confirmed by taking a object histogram which showed only 1 instance
1365:             1             48  io.druid.client.BatchServerInventoryView

👍


[MSIX Bucket] Launch issues caused by bad permissions on WindowsApps, and others

There is a class of issues whose root cause seems to be bad permissions on C:\Program Files\WindowsApps.

wt.exe can launch the "wrong" copy of Terminal without user settings

DIFFERENTIAL DIAGNOSTIC The version number switches between (example) 1.7.1991 and 1.7.210451004-release1.7

error 0xc0000022 on launch (#9399)

REPORTERS: If you have one of these issues, can you share the output of icacls "C:\Program Files\WindowsApps" (from an admin shell?)

Correct WindowsApps permissions
\Program Files\WindowsApps NT SERVICE\TrustedInstaller:(F)
                           NT SERVICE\TrustedInstaller:(OI)(CI)(IO)(F)
                           S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204:(RX)
                           S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204:(OI)(CI)(IO)(GR,GE)
                           NT AUTHORITY\SYSTEM:(F)
                           NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
                           BUILTIN\Administrators:(CI)(RX)
                           NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(RX)
                           NT AUTHORITY\NETWORK SERVICE:(OI)(CI)(RX)
                           NT AUTHORITY\RESTRICTED:(OI)(CI)(RX)
                           BUILTIN\Users:(Rc,S,RD,REA,X,RA)

@DHowett here is the output of that command, but inheritance is not enabled for vcruntime140.dll.
C:\Windows\system32>icacls "C:\Program Files\WindowsApps"
C:\Program Files\WindowsApps NT SERVICE\TrustedInstaller:(I)(F)
                             NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
                             NT AUTHORITY\SYSTEM:(I)(F)
                             NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                             BUILTIN\Administrators:(I)(F)
                             BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
                             BUILTIN\Users:(I)(RX)
                             BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
                             CREATOR OWNER:(I)(OI)(CI)(IO)(F)
                             APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(RX)
                             APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE)
                             APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(I)(RX)
                             APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE)

Successfully processed 1 files; Failed processing 0 files

In process monitor, I am getting ACCESS_DENIED on a CreateFile operation. I don't know why it would be attempting to create the file when WindowsTerminal is already installed:

icacls for that file is:
C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.6.10571.0_x64__8wekyb3d8bbwe>icacls vcruntime140.dll
vcruntime140.dll APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(RX)
                 NT AUTHORITY\SYSTEM:(F)
                 APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(RX)
                 NT AUTHORITY\LOCAL SERVICE:(RX)
                 NT AUTHORITY\NETWORK SERVICE:(RX)
                 NT SERVICE\TrustedInstaller:(F)
                 S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204:(RX)
                 BUILTIN\Users:(R)
                 BUILTIN\Users:(Rc,S,RD,REA,X,RA)
                 BUILTIN\Users:(Rc,S,RD,REA,X,RA)
                 BUILTIN\Users:(Rc,S,RD,REA,X,RA)
                 NT AUTHORITY\RESTRICTED:(RX)
                 S-1-19-512-4096:(I)(RX,D,WDAC,WO,WA)

Successfully processed 1 files; Failed processing 0 files

A workaround for me is to enable inheritance on this file:

Cheers!

I am specifically interested in the ACLs on WindowsApps, the root for all store-installed applications. 😄

So, CreateFile is the Win32 API for open and creat. That part isn’t strange. I’ll have to look at the permissions on my machine!

That's very curious. I do have inheritance enabled on that file. If you reset inheritance and clear out all locally overridden permissions, does that resolve the issue?

@DHowett Yes it does.

@DHowett Just going about my normal business, and the permissions have reset. Inheritance is no longer enabled. I don't know what was the catalyst. Is there any way I can provide more insight?

Might be worth running Process Monitor with the filter set to include filesystem events for that path. It’ll be noisy and may take a long time to reproduce, but it should definitely point to a culprit!

@nascar3000 the request for a process explorer trace extends to you, as well. It would be very helpful in figuring out what’s going on!

The headache never stops 😭 Every time there's an update, I have to fix something..  It was launching with a white box, then crashing with error.. I tried reinstalling, and...  Why is all of this so janky?!?! Why do I have to keep clicking retry to get kilobytes at a time?!?! OMG Someone please just let me install this form an MSI or a portable.. Christ!

Finally got it installed.. and....

😱

This is fun.. When I try to run it directly... Same as immediately after the update..

I guess there is an error...

From a related thread:
icacls "C:\Program Files\WindowsApps" /reset /t /c /q

for those who are suffered to #15526 , here is my workable solution,

please refer to #15526 for making sure you are in the same trouble
I did took the ownership of 'WindowsApps' folder with my own account therefore I tried to restore its original permission setup by referring to this doc
uninstall WT, reboot, and re-install it
however, the first time of un- and re- install, the issue was there still, no idea why ...
shutdown computer and restart, un- and re- install WT again
start WT via Microsoft Store at the very first time (maybe this was the key ?)
pin WT to taskbar

finally it came back

I encounter a Windows Terminal crash when trying to start Windows Terminal with Run as administrator. The UAC pops up with 'Unknown Program'. Windows Terminal launches normally when not starting with Run as administrator.
icacls output:
C:\WINDOWS\system32>icacls "c:\Program Files\WindowsApps"
c:\Program Files\WindowsApps NT SERVICE\TrustedInstaller:(F)
NT SERVICE\TrustedInstaller:(OI)(CI)(IO)(F)
S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204:(RX)
S-1-15-3-1024-3635283841-2530182609-996808640-1887759898-3848208603-3313616867-983405619-2501854204:(OI)(CI)(IO)(GR,GE)
NT AUTHORITY\SYSTEM:(F)
NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)
BUILTIN\Administrators:(CI)(RX)
NT AUTHORITY\LOCAL SERVICE:(OI)(CI)(RX)
NT AUTHORITY\NETWORK SERVICE:(OI)(CI)(RX)
NT AUTHORITY\RESTRICTED:(OI)(CI)(RX)
BUILTIN\Users:(Rc,S,RD,REA,X,RA)
Successfully processed 1 files; Failed processing 0 files
Event logs:
Faulting application name: WindowsTerminal.exe, version: 1.18.2311.14001, time stamp: 0x6553b19e
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1387, time stamp: 0x0b9a844a
Exception code: 0xc000027b
Fault offset: 0x000000000010b302
Faulting process ID: 0x2c64
Faulting application start time: 0x01da5424779c9f1c
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.3181.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 1663eff1-8a3f-4d4d-bd23-addf6bd506b4
Faulting package full name: Microsoft.WindowsTerminal_1.18.3181.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
Fault bucket<PHONE_NUMBER>774718074, type 5
Event Name: MoAppCrash
Response: Not available
Cab Id: 0
Problem signature:
P1: Microsoft.WindowsTerminal_1.18.3181.0_x64__8wekyb3d8bbwe
P2: praid:App
P3: 1.18.2311.14001
P4: 6553b19e
P5: combase.dll
P6: 10.0.19041.1348
P7: baf10630
P8: 802b000a
P9:<PHONE_NUMBER>0862a6
P10:
Can I provide any more info?