Share via WhatsApp

Hi,
I am having an issue while trying to share content via Whatsapp.
The code crashes here SocialSharing.m
NSArray *filenames = [command.arguments objectAtIndex:2];
NSString *urlString = [command.arguments objectAtIndex:3];
NSString *abid = [command.arguments objectAtIndex:4];
NSString *phone = [command.arguments objectAtIndex:5];

specifically on the last line, when it tries to access the argument with the index 5.
Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds [0 .. 4]'
...
terminating with uncaught exception of type NSException

Any ideas what I could be doing wrong?
I haven't made any modifications to the plugin.

You're not manually including SocialSharing.js in your code, right?
Please share a project reproducing this issue.

I figured out my issue, the native files weren't updated so shareViaWhatsApp function had only 5 arguments, instead of 6.


MSFT_SPInstallLanguagePack: Get-TargetResource does not detect already installed Norwegian Language Pack

Details of the scenario you tried and the problem that is occurring
It looks like issue is back #1026 when trying to install the norwegian language pack on sharepoint 2019 using SharepointDsc 4.5.1.
The first installation works fine, but all subsequent runs with the DSC-configurations tries to reinstall the language-pack.
Verbose logs showing the problem
PowerShell DSC resource MSFT_SPInstallLanguagePack failed to execute Set-TargetResource functionality with error message: SharePoint Language Pack install failed, exit code was 1618

Suggested solution to the issue
I have not used alot of time investigating this error, but I guess something similar as in the fix for #1026 will suffice ?
The DSC configuration that is used to reproduce the issue (as detailed as possible)
        SPFarm SharePointFarm
        {
            IsSingleInstance          = "Yes"
            DatabaseServer            = "SPSQL"
            ServerRole                = "SingleServerFarm"
            FarmConfigDatabaseName    = "SP_Config"
            AdminContentDatabaseName  = "SP_AdminContent"
            Passphrase                = $SpInstallCredentials
            FarmAccount               = $SpFarmCredentials
            RunCentralAdmin           = $true
            PsDscRunAsCredential      = $SpInstallCredentials
            DependsOn =  "[SPInstall]InstallBinaries"
        }

        SPInstallLanguagePack InstallLPBinaries
        {
            BinaryDir  = Join-Path -path $SharepointInstallationMediaPath -childPath "LanguagePacks\nb-no"
            Ensure     = "Present"
            PsDscRunAsCredential = $SpInstallCredentials
            DependsOn =  "[SPFarm]SharePointFarm"
        }

The operating system the target node is running

OsName                          : Microsoft Windows Server 2019 Datacenter
OsOperatingSystemSKU : DatacenterServerEdition
OsArchitecture                : 64-bit
WindowsVersion             : 1809
WindowsBuildLabEx        : 17763.1.amd64fre.rs5_release.180914-1434
OsLanguage                    : en-US
OsMuiLanguages            : {en-US}
Version and build of PowerShell the target node is running

5.1.17763.1490
Version of the DSC module that was used

4.5.1

Hi @andrstor, can you provide a little more of your Verbose logging? And which version of SharePoint are you using?

And could you run the Get-SPDscRegProductsInfo cmdlet and provide the output?

And can you also share the outcome of the following code (basically the code of the Get method). Just change the path on the first line to the path where your language packs is located:
$BinaryDir = 'C:\Install\LP_NO'

$VerbosePreference = 'Continue'

    Write-Verbose -Message "Getting install status of SharePoint Language Pack"

    Write-Verbose -Message "Check if Binary folder exists"
    if (-not(Test-Path -Path $BinaryDir))
    {
        $message = "Specified path cannot be found: {$BinaryDir}"
        Add-SPDscEvent -Message $message `
            -EntryType 'Error' `
            -EventID 100 `
            -Source $MyInvocation.MyCommand.Source
        throw $message
    }

    Write-Verbose -Message "Checking file status of setup.exe"
    $setupExe = Join-Path -Path $BinaryDir -ChildPath "setup.exe"
    if (-not(Test-Path -Path $setupExe))
    {
        $message = "Setup.exe cannot be found in {$BinaryDir}"
        Add-SPDscEvent -Message $message `
            -EntryType 'Error' `
            -EventID 100 `
            -Source $MyInvocation.MyCommand.Source
        throw $message
    }

    Write-Verbose -Message "Checking file status of $setupExe"
    $checkBlockedFile = $true
    if (Split-Path -Path $setupExe -IsAbsolute)
    {
        $driveLetter = (Split-Path -Path $setupExe -Qualifier).TrimEnd(":")
        Write-Verbose -Message "BinaryDir refers to drive $driveLetter"

        $volume = Get-Volume -DriveLetter $driveLetter -ErrorAction SilentlyContinue
        if ($null -ne $volume)
        {
            if ($volume.DriveType -ne "CD-ROM")
            {
                Write-Verbose -Message "Volume is a fixed drive: Perform Blocked File test"
            }
            else
            {
                Write-Verbose -Message "Volume is a CD-ROM drive: Skipping Blocked File test"
                $checkBlockedFile = $false
            }
        }
        else
        {
            Write-Verbose -Message "Volume not found. Unable to determine the type. Continuing."
        }
    }

    if ($checkBlockedFile -eq $true)
    {
        Write-Verbose -Message "Checking status now"
        try
        {
            $zone = Get-Item -Path $setupExe -Stream "Zone.Identifier" -EA SilentlyContinue
        }
        catch
        {
            Write-Verbose -Message 'Encountered error while reading file stream. Ignoring file stream.'
        }
        if ($null -ne $zone)
        {
            $message = ("Setup file is blocked! Please use 'Unblock-File -Path $setupExe' " + `
                    "to unblock the file before continuing.")
            Add-SPDscEvent -Message $message `
                -EntryType 'Error' `
                -EventID 100 `
                -Source $MyInvocation.MyCommand.Source
            throw $message
        }
        Write-Verbose -Message "File not blocked, continuing."
    }

    $osrvFolder = Get-ChildItem -Path (Join-Path -Path $BinaryDir `
            -ChildPath "\osmui*.*")

    if ($osrvFolder.Count -ne 1)
    {
        $message = "Unknown folder structure"
        Add-SPDscEvent -Message $message `
            -EntryType 'Error' `
            -EventID 100 `
            -Source $MyInvocation.MyCommand.Source
        throw $message
    }

    $products = Get-SPDscRegProductsInfo

    $englishProducts = @()
    foreach ($product in $products)
    {
        $parsedProduct = $product -split " - "
        switch -Regex ($parsedProduct)
        {
            "Dari"
            {
                $languageEN = "Dari"
            }
            "Serbian"
            {
                if ($parsedProduct[1] -match "srpski")
                {
                    $languageEN = "Serbian (Latin)"
                }
                else
                {
                    $languageEN = "Serbian (Cyrillic)"
                }
            }
            "Chinese"
            {
                $parsedENProduct = $parsedProduct[1] -split "/"
                $languageEN = $parsedENProduct[0]

                if ($languageEN -eq "Chinese (Simplified)")
                {
                    $languageEN = "Chinese (PRC)"
                }

                if ($languageEN -eq "Chinese (Traditional)")
                {
                    $languageEN = "Chinese (Taiwan)"
                }
            }
            "Portuguese"
            {
                if ($parsedProduct[1] -match "\(Brasil\)")
                {
                    $languageEN = "Portuguese (Brasil)"
                }
                else
                {
                    $languageEN = "Portuguese (Portugal)"
                }
            }
            Default
            {
                $parsedENProduct = $parsedProduct[1] -split "/"
                $parsedENProduct = $parsedENProduct[0] -split " "
                $languageEN = $parsedENProduct[0]
            }
        }
        Write-Verbose "Installed Language Pack: $languageEN"
        $englishProducts += $languageEN
    }

    Write-Verbose -Message "Extract language from filename"
    if ($osrvFolder.Name -match "\w*.(\w{2,3}-\w*-?\w*)")
    {
        $language = $matches[1]
    }
    else
    {
        $message = "Update does not contain the language code in the correct format."
        Add-SPDscEvent -Message $message `
            -EntryType 'Error' `
            -EventID 100 `
            -Source $MyInvocation.MyCommand.Source
        throw $message
    }

    try
    {
        $cultureInfo = New-Object -TypeName System.Globalization.CultureInfo `
            -ArgumentList $language
    }
    catch
    {
        $message = "Error while converting language information: $language"
        Add-SPDscEvent -Message $message `
            -EntryType 'Error' `
            -EventID 100 `
            -Source $MyInvocation.MyCommand.Source
        throw $message
    }

    # try/catch is required for some versions of Windows, other version use the LCID value of 4096
    if ($cultureInfo.LCID -eq 4096)
    {
        $message = "Error while converting language information: $language"
        Add-SPDscEvent -Message $message `
            -EntryType 'Error' `
            -EventID 100 `
            -Source $MyInvocation.MyCommand.Source
        throw $message
    }

    Write-Verbose -Message "Extract English name of the language code $($cultureInfo.EnglishName)"
    switch ($cultureInfo.EnglishName)
    {
        "Dari (Afghanistan)"
        {
            $languageEnglish = "Dari"
        }
        "Chinese (Simplified, China)"
        {
            $languageEnglish = "Chinese (PRC)"
        }
        "Chinese (Traditional, Taiwan)"
        {
            $languageEnglish = "Chinese (Taiwan)"
        }
        "Portuguese (Brazil)"
        {
            $languageEnglish = "Portuguese (Brasil)"
        }
        "Portuguese (Portugal)"
        {
            $languageEnglish = "Portuguese (Portugal)"
        }
        "Serbian (Cyrillic, Serbia)"
        {
            $languageEnglish = "Serbian (Cyrillic)"
        }
        "Serbian (Latin, Serbia)"
        {
            $languageEnglish = "Serbian (Latin)"
        }
        "Norwegian Bokmål (Norway)"
        {
            $languageEnglish = "Norwegian"
        }
        Default
        {
            if ($cultureInfo.EnglishName -match "(\w*,*\s*\w*) \([^)]*\)")
            {
                $languageEnglish = $matches[1]
                if ($languageEnglish.contains(","))
                {
                    $languages = $languageEnglish.Split(",")
                    $languageEnglish = $languages[0]
                }
            }
        }
    }

    Write-Verbose -Message "Update is for the $languageEnglish language"

    if ($englishProducts -contains $languageEnglish -eq $true)
    {
        Write-Verbose -Message "Language Pack $languageEnglish is found"
        return @{
            BinaryDir         = $BinaryDir
            BinaryInstallDays = $BinaryInstallDays
            BinaryInstallTime = $BinaryInstallTime
            Ensure            = "Present"
        }
    }
    else
    {
        Write-Verbose -Message "Language Pack $languageEnglish is NOT found"
        return @{
            BinaryDir         = $BinaryDir
            BinaryInstallDays = $BinaryInstallDays
            BinaryInstallTime = $BinaryInstallTime
            Ensure            = "Absent"
        }
    }

Hi @andrstor, can you provide a little more of your Verbose logging? And which version of SharePoint are you using?

This is sharepoint 2019 with January 2021 CU. I worked around the problem by using ApplyOnly in my dsc-setting, so I dont have a verbose log of the problem right now.

And could you run the Get-SPDscRegProductsInfo cmdlet and provide the output?

Microsoft SharePoint Server 2019
Language Pack for SharePoint and Project Server 2019 - Norwegian/norsk

Script

VERBOSE: Getting install status of SharePoint Language Pack
VERBOSE: Check if Binary folder exists
VERBOSE: Checking file status of setup.exe
VERBOSE: Checking file status of \\management01\software\SPInstall\SP2019\LanguagePacks\nb-no\setup.exe
VERBOSE: Checking status now
VERBOSE: File not blocked, continuing.
VERBOSE: Installed Language Pack:
VERBOSE: Installed Language Pack: Norwegian
VERBOSE: Extract language from filename
VERBOSE: Extract English name of the language code Norwegian Bokmål (Norway)
VERBOSE: Update is for the Norwegian language
VERBOSE: Language Pack Norwegian is found

Name                           Value
----                           -----
BinaryInstallDays
BinaryInstallTime
Ensure                         Present
BinaryDir                      \\management01\software\SPInstall\SP2019\LanguagePacks\nb-no

I guess this worked so well that I have to recreate my problem with ApplyAndAutoCorrect setting as I was using earlier?
I have my workaround now that I'm happy with, and it may seem like this is actually working and that it perhaps failed because of my weird setup, so you don't have to use alot of time on this on my part.

This all looks as expected and doesn't explain the issue you ran into. Can you run "Test-DscConfiguration -Verbose" on the server? That will run another Test of the currently applied configuration and will generate Verbose output. And then of course share this output 😉 Really curious to see what the output of that is.

Excluding all non-sharepointDSC log and. Have also removed some domain-specific logs.
This actually shows that the langagepack resource fails the test.

I see that the log outputs the following:
Update is for the Norwegian Bokmål language where the earlier tested script outputted Update is for the Norwegian language
So somewhere the code does not process the language correctly.
Just to check: Are you 100% sure the server does not have any other (older) version of SharePointDsc?

PS C:\windows\system32> Get-Module -ListAvailable

    Directory: C:\Program Files\WindowsPowerShell\Modules

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.0.140    dbatools                            {Select-DbaObject, Set-DbatoolsConfig, Start-DbaMigration,...
Script     1.0.1      Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation}
Binary     <IP_ADDRESS>    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-Packa...
Script     3.4.0      Pester                              {Describe, Context, It, Should...}
Script     <IP_ADDRESS>    PowerShellGet                       {Install-Module, Find-Module, Save-Module, Update-Module...}
Script     2.0.0      PSReadline                          {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remov...
Manifest   <IP_ADDRESS>    ReverseDSC                          {Get-DSCParamType, Get-DSCBlock, Get-DSCFakeParameters, Ge...
Manifest   4.5.1      SharepointDsc                       {Add-SPDscEvent, Add-SPDscUserToLocalAdmin, Clear-SPDscKer...
Manifest   15.1.0     SqlServerDsc
Manifest   5.0.1      StorageDsc
Manifest   <IP_ADDRESS>    xCredSSP

No other versions installed.
My setup is using Azure Automation as a DSC pull server. The VM registers on the pull server using azure dsc-extension script when the vm is created. Azure Automation is responsible for putting the required DSC-modules on the VM.

Ok, I found the root cause:
The added code contains a special character, which is not handled properly by PowerShell. Instead of
"Norwegian Bokmål (Norway)"

when running the code through the debugger, it is displayed as
"Norwegian BokmÃ¥l (Norway)"

which of course does not match.
Am now looking for a solution!


Duplicate Bonsai Assets when using multiple namespaces

Description of problem
When defining the same Bonsai Assets for multiple namespaces you get a duplicate declaration

What did you do?
Created two namespaces to enable separation between environments, tried to add the same check to both namespaces
What happened?
Received the following error:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Sensu_bonsai_asset[sensu-plugins/sensu-plugins-cpu-checks] is already declared at (file: /etc/puppetlabs/code/environments/development/site-modules/profile/manifests/sensu_manage.pp, line: 30); cannot redeclare (file: /etc/puppetlabs/code/environments/development/site-modules/profile/manifests/sensu_manage.pp, line: 35) (file: /etc/puppetlabs/code/environments/development/site-modules/profile/manifests/sensu_manage.pp, line: 35, column: 3) on node sensu01.dev.mgt.osp.its.uu.nl

What did you expect to happen?
I expected this to happen, due to the usage of the asset name in de declaration.
How can someone reproduce the problem?
Create two namespaces
Add same check to both namespaces

Command used and debugging output

Is this a masterless or master based puppet setup?
This is a master bases puppet setup

Platform and version information

Your OS: Red Hat Enterprise Linux 7.
Your Ruby version:
Your version of Puppet: Puppet Enterprise 5.5.10
Your version of Sensu: 5.16.1
Your version of this module: 4.4.0

@tdmike Could you please share with us the code you are using for the two conflicting resources.

Sure:
      sensu_bonsai_asset { 'sensu-plugins/sensu-plugins-cpu-checks' :
        ensure    => 'present',
        version   => 'latest',
        namespace => 'development',
      }
      sensu_bonsai_asset { 'sensu-plugins/sensu-plugins-cpu-checks' :
        ensure    => 'present',
        version   => 'latest',
        namespace => 'production',
      }

In Puppet you cannot have two resources with the same type and title, so that will cause the duplicate declaration. One work around for this is to change the title, such as `'sensu-plugins/sensu-plugins-cpu-checks in development'.
Check out https://github.com/sensu/sensu-puppet#composite-names-for-namespaces and let us know if this helps.

So basically the same way as in a check. I'll try that out. You might want to clarify that in the docs.

All the Puppet types that support a namespace will also support composite names.  I'll the docs to emphasize this feature for all supported types.

Reference docs have been updated with composite name examples:
http://sensu.github.io/sensu-puppet/puppet_types/sensu_bonsai_asset.html

Sorry to reopen this, but this doesn't work, atleast not how I would expect it to work.
puppet agent -t
Info: Using configured environment 'its_feature_sensu_agent'
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Retrieving locales
Info: Loading facts
Info: Caching catalog for sensu01.dev.mgt.osp.its.uu.nl
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-cpu-checks in ospmgtdev]: Failed to generate additional resources using 'generate': sensu_asset name invalid
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-cpu-checks in default]: Failed to generate additional resources using 'generate': sensu_asset name invalid
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu/sensu-ruby-runtime in ospmgtdev]: Failed to generate additional resources using 'generate': sensu_asset name invalid
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-disk-checks in ospmgtdev]: Failed to generate additional resources using 'generate': sensu_asset name invalid
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-filesystem-checks in ospmgtdev]: Failed to generate additional resources using 'generate': sensu_asset name invalid
Info: Applying configuration version 'lp0191-its_feature_sensu_agent-4db8752a8ee'
Error: asset add sensu-plugins/sensu-plugins-cpu-checks --rename sensu-plugins/sensu-plugins-cpu-checks in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-cpu-checks --rename sensu-plugins/sensu-plugins-cpu-checks in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 4.1.0
fetching bonsai asset: sensu-plugins/sensu-plugins-cpu-checks:4.1.0
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu-plugins%2Fsensu-plugins-cpu-checks%20in%20ospmgtdev): invalid argument(s) received
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-cpu-checks in ospmgtdev]/ensure: change from 'absent' to 'present' failed: asset add sensu-plugins/sensu-plugins-cpu-checks --rename sensu-plugins/sensu-plugins-cpu-checks in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-cpu-checks --rename sensu-plugins/sensu-plugins-cpu-checks in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 4.1.0
fetching bonsai asset: sensu-plugins/sensu-plugins-cpu-checks:4.1.0
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu-plugins%2Fsensu-plugins-cpu-checks%20in%20ospmgtdev): invalid argument(s) received
Error: asset add sensu/sensu-ruby-runtime --rename sensu/sensu-ruby-runtime in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu/sensu-ruby-runtime --rename sensu/sensu-ruby-runtime in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 0.0.10
fetching bonsai asset: sensu/sensu-ruby-runtime:0.0.10
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu%2Fsensu-ruby-runtime%20in%20ospmgtdev): invalid argument(s) received
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu/sensu-ruby-runtime in ospmgtdev]/ensure: change from 'absent' to 'present' failed: asset add sensu/sensu-ruby-runtime --rename sensu/sensu-ruby-runtime in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu/sensu-ruby-runtime --rename sensu/sensu-ruby-runtime in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 0.0.10
fetching bonsai asset: sensu/sensu-ruby-runtime:0.0.10
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu%2Fsensu-ruby-runtime%20in%20ospmgtdev): invalid argument(s) received
Error: asset add sensu-plugins/sensu-plugins-disk-checks --rename sensu-plugins/sensu-plugins-disk-checks in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-disk-checks --rename sensu-plugins/sensu-plugins-disk-checks in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 5.0.1
fetching bonsai asset: sensu-plugins/sensu-plugins-disk-checks:5.0.1
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu-plugins%2Fsensu-plugins-disk-checks%20in%20ospmgtdev): invalid argument(s) received
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-disk-checks in ospmgtdev]/ensure: change from 'absent' to 'present' failed: asset add sensu-plugins/sensu-plugins-disk-checks --rename sensu-plugins/sensu-plugins-disk-checks in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-disk-checks --rename sensu-plugins/sensu-plugins-disk-checks in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 5.0.1
fetching bonsai asset: sensu-plugins/sensu-plugins-disk-checks:5.0.1
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu-plugins%2Fsensu-plugins-disk-checks%20in%20ospmgtdev): invalid argument(s) received
Error: asset add sensu-plugins/sensu-plugins-filesystem-checks --rename sensu-plugins/sensu-plugins-filesystem-checks in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-filesystem-checks --rename sensu-plugins/sensu-plugins-filesystem-checks in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 2.0.0
fetching bonsai asset: sensu-plugins/sensu-plugins-filesystem-checks:2.0.0
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu-plugins%2Fsensu-plugins-filesystem-checks%20in%20ospmgtdev): invalid argument(s) received
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-filesystem-checks in ospmgtdev]/ensure: change from 'absent' to 'present' failed: asset add sensu-plugins/sensu-plugins-filesystem-checks --rename sensu-plugins/sensu-plugins-filesystem-checks in ospmgtdev --namespace ospmgtdev failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-filesystem-checks --rename sensu-plugins/sensu-plugins-filesystem-checks in ospmgtdev --namespace ospmgtdev' returned 1: no version specified, using latest: 2.0.0
fetching bonsai asset: sensu-plugins/sensu-plugins-filesystem-checks:2.0.0
Error: error putting resource 0 (/api/core/v2/namespaces/ospmgtdev/assets/sensu-plugins%2Fsensu-plugins-filesystem-checks%20in%20ospmgtdev): invalid argument(s) received
Error: asset add sensu-plugins/sensu-plugins-cpu-checks:4.0.0 --rename sensu-plugins/sensu-plugins-cpu-checks in default --namespace default failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-cpu-checks:4.0.0 --rename sensu-plugins/sensu-plugins-cpu-checks in default --namespace default' returned 1: fetching bonsai asset: sensu-plugins/sensu-plugins-cpu-checks:4.0.0
Error: error putting resource 0 (/api/core/v2/namespaces/default/assets/sensu-plugins%2Fsensu-plugins-cpu-checks%20in%20default): invalid argument(s) received
Error: /Stage[main]/Profile::Sensu_manage/Sensu_bonsai_asset[sensu-plugins/sensu-plugins-cpu-checks in default]/ensure: change from 'absent' to 'present' failed: asset add sensu-plugins/sensu-plugins-cpu-checks:4.0.0 --rename sensu-plugins/sensu-plugins-cpu-checks in default --namespace default failed
Error message: Execution of '/bin/sensuctl asset add sensu-plugins/sensu-plugins-cpu-checks:4.0.0 --rename sensu-plugins/sensu-plugins-cpu-checks in default --namespace default' returned 1: fetching bonsai asset: sensu-plugins/sensu-plugins-cpu-checks:4.0.0
Error: error putting resource 0 (/api/core/v2/namespaces/default/assets/sensu-plugins%2Fsensu-plugins-cpu-checks%20in%20default): invalid argument(s) received
Notice: Applied catalog in 88.53 seconds

I'll take a look and see if I can reproduce on my end and come up with a solution.

@tdmike A fix is in #1215. Let me know if this fixes your issues. I applied your example, replacing Hiera with manifest hash and was able to reproduce and actually found 2 bugs.

@treydock I can confirm this fixes the issue.


add benny for simple benchmarking

Add benny for simple benchmarking, it supports typescript as well

[x] Tests pass
[x] Appropriate changes to README are included in PR

This PR seems to contain a bunch of generic files (examples) and changes. Not sure if it's to be taken seriously 🤔  Things like it changes cli.ts to import from a linked-list example.


Aerogear 2333 rx refactor [WIP]

Motivation
Right now we use a combination of RxStyle APIS (HttpRequest and Response) and Callbacks (Callback).  This PR seeks to unify those under a more thought out reactive style API.
JIRA: https://issues.jboss.org/browse/AGDROID-2333
Description
This PR contains a Reactive API that is used for attaching multiple handlers to a request that emits a single calculated value when they are attached.  This is similar to a Single Observable from RxJava, but it is not the same.
Progress

[x] Request and Responder Interfaces
[x] Synchronous Implementation
[x] Asynchronous and Threading configurable Implementation
[x] Ability to Cancel Requests
[x] Ability to Cache Requests
[x] Ability to Detach a Responder from a request
[x] Unit Tests for all of the above
[ ] Replace HttpRequest and HttpResponse
[ ] Replace Callbacks

@danielpassos, @ziccardi  Applied your feedback


Are you still working on this module?

And if not are there any alternatives?

I am trying to maintain it but I am in search for a better solution for streaming. One of the dependent libraries has issues compiling on osx. If you have any suggestions, please let me know.
https://github.com/e-conomic/graphicsmagick-stream/issues/6
If you are interested in contributing, that would be great as well. I can add you as a contributor.

I'm sorry but I wrote a custom Storage for multer which resizes the images. I love the flexibility of graphicsmagick-streams but as long as it is not compiling on mac I can go with https://github.com/aheckmann/gm
I will release the custom storage soon, but it has not as much functions as your library.

gm sounds good. I think it also supports streaming. Another issue I have is with regards to the cloud providers. I am using pkgcloud for uploading but the api for multiple providers is not consistent. Not all of them return the url of the uploaded file.
I haven't had much time to look into these. But I will start working on it next month.


Test Suites for Go

Hi @roll , I was looking at the status page and noticed that there are test suites for python, javascript, and ruby.
What is the work involved in getting go into it? Is there some documentation?

@danielfireman
I think we have discussed it here - https://github.com/packspec/packspec/issues/4.
For now, this test suite is only implementable for a dynamic language. And it targes more API-compatibility.
Hopefully, we will be able to create in the future a more generic kind of testsuite for all the implementation. More spec/data-centric. Like there are 10 data packages with different features and edge cases and all the implementations should be able to read/validate/etc with expected results.
If you interested in starting to think about it I can bootstrap a repo for it based on the testsuite-basic (master for test data and 1 branch per language)

@danielfireman
I think we have discussed it here - packspec/packspec#4.

That's right! Sorry for my bad memory.

For now, this test suite is only implementable for a dynamic language. And it targes more API-compatibility.

I took quick look and it looks mostly implementable in Go with a mix of code generation/compilation and reflection. Of course, I would suggest circulating a simple design doc before start this effort in Go. The goal of such a design doc is to discuss the design and/or implementation strategies (at the end of the day, assess its feasibility).

Hopefully, we will be able to create in the future a more generic kind of testsuite for all the implementation. More spec/data-centric. Like there are 10 data packages with different features and edge cases and all the implementations should be able to read/validate/etc with the same expected results.

That is super cool!

If you're interested in starting to think about it I can bootstrap a repo for it based on the testsuite-basic (master branch for test data and 1 branch per language)

Even though I am super interested in collaborating and do code reviews, I won't be able to drive the effort until mid next year (when I am planning to finish my Ph.D.). I will keep this on the back of my mind and point interested people here.


SCHEMA_TYPE_STRING data type is not working

let msg = [{
  key: schemaRegistry.serialize({
      data: "transaction-payload-",
      schemaType: SCHEMA_TYPE_STRING,
  }),
  value: schemaRegistry.serialize({
      data: payload,
      schemaType: SCHEMA_TYPE_STRING,
  }),
}]

ll,"visaTokenAndVerificationData":null,"supportingDataTLV":null,"externalAuth":false,"authorizationIdResponse":null},"responseQueue":"transaction_res_queue"}  source=console
ERRO[0001] Invalid data type provided for serializer/deserializer
        at github.com/mostafa/xk6-kafka.(*Kafka).schemaRegistryClientClass.func4 (native)
        at file:///apps/transaction-test-new.js:138:6(276)
        at native  executor=per-vu-iterations scenario=default source=stacktrace

running (00m00.0s), 0/1 VUs, 1 complete and 0 interrupted iterations
default ✓ [======================================] 1 VUs  00m00.0s/10m0s  1/1 iters, 1 per VU

     █ teardown

Hey @Srinirap,
Have you checked your code against this script?
https://github.com/mostafa/xk6-kafka/blob/main/scripts/test_string.js

@Srinirap
I'll close this ticket due to inactivity. Feel free to re-open it if the issue persists.


Unloading and reloading basis textures with normals enabled causes artifacts on older iOS devices

Repro: https://playcanvas.com/editor/scene/1173315
Click load, wait till object spawns, unload, then load again. The second load will show black artefacts.
https://user-images.githubusercontent.com/16639049/121325196-4ede1d00-c909-11eb-92da-8081c4f56062.mp4
So far this happens on:
iPhone 5S iOS 12.4.5
iPhone 7 but not on iOS 14.6
This does not happen on iPhone XS iOS 14.4

Unfortunately I can no longer repro this on ios 14.6 (making it impossible to debug and fix).

@slimbuck Does this happen on iOS simulator?

Confirmed it is possible to reproduce on simulator
iOS 13.4.1

Retested on engine release 1.44.0. Issue still occurs on simulator iOS 13.4.1, iPhone 11 Pro


Update README.md

The version of cent in Carthage is 5.0.2 not 5.1.0 unless I'm missing something.

Thanks you are right. Typo.


EnterViewport doesn't work with css scroll snap

Hello,
i've got a navigation which checks, wether the current page is in viewport. I need this to show the user, which scroll position / screen is in the viewport. (enterViewport event)
If I adds scroll snapping, the enterViewport event doesn' appear.
https://css-tricks.com/practical-css-scroll-snapping/

I haven't experimented with this, the example on the page is horizontal, is your use case also horizontal?


[Bug]: UI/UX issues in the new homepage revamp

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Attached is a video explaining the below issues:

New button has additional icon & text when comparing CE & EE.
Search menu not sourced from ADS.
Scroll bars inside search menu even when they are not required.
No search results found text persists even when we clear our search.
Icon & text when no applications are present do not seem center aligned. Additionally icon for no applications seems to be stretched.
Icons when there are no packages & workflows are similar. Should we have different icons for them?

Steps To Reproduce

Go to https://ce-29282.dp.appsmith.com/, https://ee-2987.dp.appsmith.com/
Login & land on the home page.

Public Sample App
No response
Environment
Deploy Preview
Issue video log
https://www.loom.com/share/e3b4cdfe1c984b8591cbc0923abbf534
Version
Cloud

Name of the bottom most workspace gets clipped.

There should be a hamburger menu next to the workspace name on the left pane, so that we can delete the workspace easily, rather than having to navigate far left to the workspace kebab menu.

#5 in description - https://app.zeplin.io/project/653f7de4c1d563203f817bce/screen/653f7eebadfd2f2035ba469e design link, it is centrally aligned to the left component and not the complete page.
#6 - the respective team will remove empty state for package and workflows.
#7 - template page opens when we use the templates route.
The search functionality is intended to work across workspaces.

@btsgh - We don't have the hamburger menu at the moment and wasn't a part of this project. Will check if this is required, if yes will take it into further iteration.


ipam/crd: remove redundant len and nil check

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

From the Go specification (https://go.dev/ref/spec#For_range):

"1. For a nil slice, the number of iterations is 0."
"3. If the map is nil, the number of iterations is 0."

len returns 0 if the slice or map is nil (https://pkg.go.dev/builtin#len). Therefore, checking len(v) > 0 around a loop is unnecessary.

/test

Hi @christarazi, could you re-run the failing CI here https://github.com/cilium/cilium/actions/runs/7480430927 ? Thanks


Listeners slow down execution, especially when keyword arguments or return values are big

The problem can be reproduced with this simple example:
*** Test Cases ***
Example
    Evaluate    range(1000000)

When I execute the above example normally in my system, it runs in about 0.15 seconds (as reported by Unix time command). When I use it with a listener, even if the listener would implement no listener methods, the execution time goes over 6 seconds. The overhead depends on how big the return value is. With bigger values it gets bigger and with normal size values there isn't much difference. I get, for example, only 0.2s difference when using range(1000) instead of range(1000000) in the above example.
The reason for the performance problem is somewhat complicated:

When a listener is registered, Robot intercepts all listener methods, even those that the listener didn't implement, and gathers information needed to call the listener method. This is really bad design and that will be fixed by this issue.

log_message listener method is called every time something is logged, regardless the log level. This includes TRACE level messages the framework itself logs that contain keyword arguments and return values. This is also questionable. I will submit a separate issue about listeners honoring the log level set with --loglevel.

Trace messages logged by the framework are "lazy" i.e. they are only evaluated if actually needed. Due to 1. and 2. above, they are always evaluated when listeners are used.

Constructing the log message when keyword arguments or return value is big takes some time. It takes especially lot time in RF 2.9.x because trace messages are pretty-printed to make them easier to debug. With earlier versions there was no pretty-printing and extra overhead was smaller. For example, the example above runs in about 0.27 seconds in my system when using RF 2.8.7.

This problem was initially reported as a regression when using really large dictionaries in RF 2.9 (#2234). Later it was realized that it only occurs when listeners are used. As explained above, the same problem occurs also with earlier versions but with them it is not as severe.

This problem affected also library listeners, and library listeners actually always slowed down execution a bit. Both of these issues have been fixed as part of the larger listener rewrite.
Changes have been reviewed with @jussimalinen. Closing.


Duplicate results to query because of replication

CrateDB version:
v 3.1.3
Environment description:
openjdk version "1.8.0_171"
OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-1~bpo8+1-b11)
OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
Linux crate01 3.16.0-6-amd64 #1 SMP Debian 3.16.57-2 (2018-07-14) x86_64 GNU/Linux
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Problem description:
In very rare cases crate returns duplicate responses (we suppose this is because of replication)
Steps to reproduce:
cr> select id, username from db.user_account where username = 'system';
[
{
"id": "f871c485-a872-3fa6-fba2-4a70903fc3ce",
"username": "system"
},
{
"id": "f871c485-a872-3fa6-fba2-4a70903fc3ce",
"username": "system"
}
]
SELECT 2 rows in set (0.002 sec)

@daniel11c Could you please paste your table schema, number of nodes inside the cluster, etc? I guess id is a primary key, any more columns part of the PK?

+-----------------------------------------------------+
| SHOW CREATE TABLE db.user_account                   |
+-----------------------------------------------------+
| CREATE TABLE IF NOT EXISTS "db"."user_account" (    |
|    "active" BOOLEAN,                                |
|    "archived" TIMESTAMP,                            |
|    "created" TIMESTAMP NOT NULL,                    |
|    "default_company_id" STRING,                     |
|    "email" STRING NOT NULL,                         |
|    "first_name" STRING,                             |
|    "id" STRING,                                     |
|    "last_name" STRING,                              |
|    "last_password_change" TIMESTAMP,                |
|    "modified" TIMESTAMP NOT NULL,                   |
|    "password" STRING NOT NULL,                      |
|    "username" STRING NOT NULL,                      |
|    PRIMARY KEY ("id")                               |
| )                                                   |
| CLUSTERED BY ("id") INTO 6 SHARDS                   |
| WITH (                                              |
|    "allocation.max_retries" = 5,                    |
|    "blocks.metadata" = false,                       |
|    "blocks.read" = false,                           |
|    "blocks.read_only" = false,                      |
|    "blocks.read_only_allow_delete" = false,         |
|    "blocks.write" = false,                          |
|    column_policy = 'dynamic',                       |
|    "mapping.total_fields.limit" = 1000,             |
|    number_of_replicas = '0-1',                      |
|    refresh_interval = 1000,                         |
|    "routing.allocation.enable" = 'all',             |
|    "routing.allocation.total_shards_per_node" = -1, |
|    "translog.durability" = 'REQUEST',               |
|    "translog.flush_threshold_size" = 536870912,     |
|    "translog.sync_interval" = 5000,                 |
|    "unassigned.node_left.delayed_timeout" = 60000,  |
|    "warmer.enabled" = true,                         |
|    "write.wait_for_active_shards" = 'all'           |
| )                                                   |
+-----------------------------------------------------+
Cluster has 3 nodes.
Just fount out that "system" is the only duplicate entry so it looks to be PK violation but not because of replication:
+--------+----------+---------------+--------------------------------------+----------------------+---------------+
| active | archived |       created | id                                   | last_password_change |      modified |
+--------+----------+---------------+--------------------------------------+----------------------+---------------+
| TRUE   |     NULL |<PHONE_NUMBER>209 | f871c485-a872-3fa6-fba2-4a70903fc3ce |<PHONE_NUMBER>209 |<PHONE_NUMBER>209 |
| TRUE   |     NULL |<PHONE_NUMBER>209 | f871c485-a872-3fa6-fba2-4a70903fc3ce |<PHONE_NUMBER>209 |<PHONE_NUMBER>584 |
+--------+----------+---------------+--------------------------------------+----------------------+---------------+
The other "id"s are unique.

Thanks for this information, yes replication will never result in duplicates as either a primary or a replica shard is queried. One more question, how did you insert your duplicate records (insert from values/subquery or copy from)?

Most probable it was inserted by this:
insert into db.user_account(id, created, modified, username, email, first_name, last_name, last_password_change, password)
(
select 'f871c485-a872-3fa6-fba2-4a70903fc3ce',
current_timestamp,
current_timestamp,
'system',
'xxxxxx',
'xxxxxx',
'xxxxxx',
date_trunc('second', current_timestamp),
'xxxxxx'
)

@daniel11c Did you maybe deleted the document with id f871c485-a872-3fa6-fba2-4a70903fc3ce and re-inserted it at some point? (If so you've probably hit https://github.com/elastic/elasticsearch/pull/29619 which has been fixed by CrateDB > 3.2.0)


Push/Pull Indictor Persist with Github Sync

Describe the bug
Users are experiencing a persistent display of the blue indicators (when using Github sync) on making changes in the plugin. This seems to happen irregularly or at intervals after no 'specific' actions carried out and leads to confusion.
(There have been other users in the past who have complained about this but more with Gitlab than with Github)
To Reproduce
This is a tough bug to reproduce as neither the user or I am sure as to what is causing the plugin to display the indicators at all times. I've not experienced this while using Github, but I'm wondering if it has anything to do whit a large token setup.
Screenshots or Screencasts

@esthercheran

This is very annoying. Last time I pushed changes and when I restarted back plugin offered me to restore unsaved changes. I did and it didn't match my last push. Luckily I restarted plugin and ignored the restore message and it pulled the correct tokens, but the notification badge is still there.

This user dealt with a similar issue but it ended up being a CORS issue: Slack Thread

Migrated to Featurebase

This issue as it is solved in RC7 and I believe this is a duplicate ticket. @cuserox can you please close or merge as required? (:

This seems to be present with Gitlab atm with RC7. Still running some tests

@keeganedwin can you recheck and close if the issue is solved?

This issue was solved in a previous release with this issue, https://github.com/tokens-studio/figma-plugin/issues/2652


Improved Cloud-Init documentation

Documentation about Cloud-Init so nobody ever has the same experience I had in https://github.com/Telmate/terraform-provider-proxmox/issues/272

Thank you for the detailed documentation!


Unable to use incremental build first time after moving project

Please, provide the details below:
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes
Tell us about the problem

In case the project is moved to another directory, the first build is slow even when platforms directory (and the .gradle dir inside it) exists.
The idea is that when you create project and call consecutive builds, they are incremental. In case you apply some change in a nativescript plugin, gradle clean is called and the build is slow. However in our case we are building exactly the same project, but placed on different location. And it looks like gradle is using full paths to files and instead of reporting that all tasks are "UP-TO-DATE", it says "No history available" or "Output file ... has changed".
Please provide the following version numbers that your issue occurs with:

Reproducible with all versions of NativeScript CLI and android-runtime.
Did the error happen while the app was being constructed? (buildtime error)

Output of tns build android
Output of ./gradlew buildapk --info
Did the error happen while the app was executing? (runtime error)

Please tell us how to recreate the issue in as much detail as possible.

$ tns create app1
$ tns build android --path app1
$ mv app1 app2
$ tns build android --path app2 This build should be incremental, however it is not.

Same can be reproduced in case you move the app1 to another location.
 This build should be incremental, however it is not.

After a little testing I found the problem lies in the binary files gradle uses to cache inputs/outputs.
$ pwd
/home/plamen5kov/work/repos/nativescript-cli/scratch/app2
$ cd platforms/android/.gradle
$ grep -rnw -ie "/home/plamen5kov/work/repos/nativescript-cli/scratch/app2"
Binary file 2.10/taskArtifacts/fileSnapshots.bin matches
Binary file 2.10/taskArtifacts/taskArtifacts.bin matches

By the looks of it, gradle uses absolute paths to cache everything, and uses it in UP-TO-DATE checks.

Thanks for the research and explanation @Plamen5kov


fatal error: xkbcommon/xkbcommon.h: No such file or directory.

Hello, thank you for making such a great project open source!
I have an issue when installing pywlroots on OpenSuse.
I've succsessfully installed the py packages cffi, cairocffi and libraries libwlroots, libwlroots-devel, libxkbcommon and libxkbcommon-devel.
I've installed the package inside a virtual environment and get the following error:
linux@localhost:~/git/qtile> ./venv/bin/pip install xkbcommon
Collecting xkbcommon
  Using cached xkbcommon-0.8.tar.gz (28 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: cffi>=1.5.0 in ./venv/lib64/python3.11/site-packages (from xkbcommon) (1.16.0)
Requirement already satisfied: pycparser in ./venv/lib64/python3.11/site-packages (from cffi>=1.5.0->xkbcommon) (2.22)
Building wheels for collected packages: xkbcommon
  Building wheel for xkbcommon (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for xkbcommon (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/xkbcommon
      copying xkbcommon/__init__.py -> build/lib.linux-x86_64-cpython-311/xkbcommon
      copying xkbcommon/ffi_build.py -> build/lib.linux-x86_64-cpython-311/xkbcommon
      copying xkbcommon/xkb.py -> build/lib.linux-x86_64-cpython-311/xkbcommon
      running build_ext
      generating cffi module 'build/temp.linux-x86_64-cpython-311/xkbcommon._ffi.c'
      creating build/temp.linux-x86_64-cpython-311
      building 'xkbcommon._ffi' extension
      creating build/temp.linux-x86_64-cpython-311/build
      creating build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311
      gcc -Wsign-compare -DNDEBUG -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -IVendor/ -fPIC -I/home/linux/git/qtile/venv/include -I/usr/include/python3.11 -c build/temp.linux-x86_64-cpython-311/xkbcommon._ffi.c -o build/temp.linux-x86_64-cpython-311/build/temp.linux-x86_64-cpython-311/xkbcommon._ffi.o
      build/temp.linux-x86_64-cpython-311/xkbcommon._ffi.c:571:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory
        571 | #include <xkbcommon/xkbcommon.h>
            |          ^~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for xkbcommon
Failed to build xkbcommon
ERROR: Could not build wheels for xkbcommon, which is required to install pyproject.toml-based projects

I suppose it its a linking problem but I am unable to find the correct solution.
Thank you for your help.

Thank you for helping me out.
zypper search -i libxkbcommon returns:
linux@localhost:~/git/qtile> sudo zypper search -i libxkbcommon
[sudo] password for root:
Loading repository data...
Reading installed packages...

S  | Name                               | Summary                                             | Type
---+------------------------------------+-----------------------------------------------------+--------
i  | libxkbcommon-devel                 | Development files for the libxkbcommon library      | package
i+ | libxkbcommon-tools                 | Utilities from xkbcommon                            | package
i  | libxkbcommon-tools-bash-completion | Bash completion for libxkbcommon-tools              | package
i  | libxkbcommon-x11-0                 | Library for handling xkb descriptions using XKB-X11 | package
i  | libxkbcommon0                      | Library for handling xkb descriptions               | package

By activating and using the environment correctly nothing changes. The error persists.

I am using open suse Tumbleweed.
linux@localhost:~> cat /etc/os-release
NAME="openSUSE Tumbleweed"
#VERSION="20240329"
ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20240329"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
#CPE 2.3 format, boo#1217921
CPE_NAME="cpe:2.3:0:opensuse: tumbleweed:20240329:*:*:*:*:*:*:*
#CPE 2.2 format
#CPE_NAME="cpe:/o:opensuse: tumbleweed:20240329"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"

Super! Thank you for your time and help! I will try asking python-xkbcommon. Have a great Sunday.

yes it was: linking /usr/include/libxkbcommon/xkbcommon to /usr/include/xkbcommon solved the issue.
Have a great day!


change fund to top off if balance below 10k xlm

What
When using stellar network fund it will now top off the balance if the account exists and has a balance lower than 10k XLM.
Why
This makes fund more useful because now one doesn't need to create a temporary account and transfer funds from that temporary account in order to add funds. Before, fund only created an account that didn't exist and added funds to it. See https://github.com/stellar/stellar-cli/issues/1389
Known limitations
N/A

I'd like to roll this change back and move ahead with making this change in friendbot. See my comments on the original issue here:

https://github.com/stellar/stellar-cli/issues/1389#issuecomment-2246689123

@leighmcculloch Our original thoughts were this was a stop gap measure while it was added to friendbot. That is the definitely the proper solution.

Friendbot has been updated with the following change and that change is rolled out:

https://github.com/stellar/go/commit/31fc8f4236388f12fc609228b7a7f5494867a1f9

So we should be good to roll this back now. Note that the errors friendbot changed slightly, instead of the created error, it returns the following if the account is already funded at or above the starting balance of 10k:
{
  "type": "https://stellar.org/horizon-errors/bad_request",
  "title": "Bad Request",
  "status": 400,
  "detail": "account already funded to starting balance"
}

I opened this revert, but I'll hold it until @BlaineHeffron or @willemneal if you can confirm if a complete revert is okay or if any of the change needed keeping. Thanks!

https://github.com/stellar/stellar-cli/pull/1487


Question: Limited info about portable version

Hello everyone,
I would like to test Ferdi so I wanted to get the portable version. In the readme.md there is a mention of Ferdi portable for Windows but I couldn't find any other information on how to get it.
Is there a pointer or document with more info?
Thanks!

You can always find all release files of the latest Ferdi version at https://github.com/getferdi/ferdi/releases/latest when scrolling past the changelog.
"Ferdi-5.4.3.exe" is the Windows Portable version while "Ferdi-Setup-5.4.3.exe" is the normal Windows version.

Thanks for the info @vantezzen. Perhaps it would make sense to rename the file to something like Ferdi-Portable-5.4.3.exe? I think that this would make things a bit clearer for potential portable users.
Thanks again!


[Suggestion] separate non antag shuttle events from midround shuttle events

Description
midround antags are much rarer since all of the shuttle events were added, either not spawning at all or waiting until the end of the round to spawn.
was discussing in the discord and we think the non antag shuttle events shouldn't share a pool with all the antag roles. https://discord.com/channels/310555209753690112/675078881425752124/1292511584249184378

at the end of the day antag rules are just put in a giant table of all rules, it would need a separate antag scheduler to do anything

they can share a pool the shuttle rules just need to be nested or all significantly lowered weight

greenshift moment:

greenshift moment:

Yellowshifts you mean, meteor antag always lurking. :trollface:

greenshift moment:

Yellowshifts you mean, meteor antag always lurking. :trollface:

greenshift actually does disable meteors, as it stands now the only antag that exists in greenshift is the instigator


AudiTrail - Cannot have various auditing levels at once.

Describe the bug
Cannot have rules in AudiTrail for descendant classes that overrule the general PersistentBase rule. For example, if general PersistentBase rule says LightWeight... then definining rules will Full auditing mode (or any other) will not work.
To Reproduce
Steps to reproduce the behavior:
Run my sample and review screenshots. Notice that if Lightweight_mode_for_all_objects is set to Lightweight for PersistentBase. Other Rules defined upon classes which derive from PersistentBase do not have effect. For example, Audit_Customer with member age (under MembersContextGroup), set to full does nothing. The system only starts to work if the Persistentbase rule is set to full.
My attached sample has everything implemented. Only thing is that connection string depends upon local SQL instance.

Open AudiTrail demo
Open Model
Set Audit_Customer rule in AudiTrail node to AuditingMode = Full
Make sure the AuditTrailMembersContextGroup is set to Age
Try to change Age on an existing customer and it will not log as it should.

Expected behavior
All classes should log Creations and basic CRUD operations in lightweight mode. Certain classes when explicitly defines as Customer is above, should log more.
Screenshots
See Zip. My Sample
Desktop (please complete the following information):
Tested on WinForms.
Audit Trail issue.zip
Additional context
This is based upon my own expand branch but I don't believe it is too far behind you. I cannot fast forward it at the moment, it's on 18.2.5 or 6 . I also have a blank fields problem when loading XpandAuditDataItems in XAF, but they do save fine into SQL. May or may not be related.

Thanks for the detailed report give me some time to research and I get back to you.

For your scenario to work you have to configure the rule order. So you need to execute first the rule for all objects and after the rule for Customer to override the AuditingMode. So set the Index to 0 and run it.
in my tests I created a new Customer and save it. afterwards i change its birthday and saved then its age and saved. I got 2 entries as expected.

for Employer which the all objects rule is applied I got only one as expected.

is this what you need?

Hi Apostolis,
Thank you. I don’t believe that the property name (Age) and value changes (0 -> 1) were logged in your scenario.
Shouldn’t they have been, given that you set the auditing mode to full?
Just to confirm, you’re saying that the general PersistentBase rule should be at index 0, and lower rules (higher index) are applied afterwards to alter the behavior?
Or did I understand that backwards?
Thanks.
Denis
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Apostolis Bekiaris<EMAIL_ADDRESS>Sent: Tuesday, April 9, 2019 6:11:34 AM
To: eXpandFramework/eXpand
Cc: Denis Sikic; Author
Subject: Re: [eXpandFramework/eXpand] AudiTrail - Cannot have various auditing levels at once. (#362)
For your scenario to work you have to configure the rule order. So you need to execute first the rule for all objects and after the rule for Customer to override the AuditingMode. So set the Index to 0 and run it.
in my tests I created a new Customer and save it. afterwards i change its birthday and saved then its age and saved. I got 2 entries as expected.
[image]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F159464%2F55792199-cb2a0b00-5ac8-11e9-895c-305917f66a31.png&data=02|01||d647a72cde3a4b1763a908d6bcd3bf5c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636904014958798029&sdata=qHFQgrZDj5riKlu%2F1zNuoGgvP2N19c%2FvAmxz6LL333Q%3D&reserved=0
for Employer which the all objects rule is applied I got only one as expected.
[image]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F159464%2F55792264-f280d800-5ac8-11e9-908a-49e5b5a35b4c.png&data=02|01||d647a72cde3a4b1763a908d6bcd3bf5c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636904014958808040&sdata=Mw%2B4NpjbRh%2BOsqmVMuJvrY2UbAqmVGSkW7Yd37gZKjw%3D&reserved=0
is this what you need?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FeXpandFramework%2FeXpand%2Fissues%2F362%23issuecomment-481190210&data=02|01||d647a72cde3a4b1763a908d6bcd3bf5c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636904014958818045&sdata=ACiOVWqarOg%2FLtAuShl0k7VKmhzTJiINk5OTEttxYAE%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYR7YnQIotgObDEK2nQW2HyAmptIFSwhks5vfGdWgaJpZM4ch631&data=02|01||d647a72cde3a4b1763a908d6bcd3bf5c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636904014958828055&sdata=YgN0H8hDJ8oYrtqNhWQXvA1gFipTDkP7otce%2F5pBlBc%3D&reserved=0.

. I don’t believe that the property name (Age) and value changes (0 -> 1) were logged in your scenario
what to do to convince you Denis? :) I sent screenshots already.

Shouldn’t they have been, given that you set the auditing mode to full?
do not make sense here also, yes they full audited respecting the configured member context. What do you expected to do?
Just to confirm, you’re saying that the general PersistentBase rule should be at index 0, and lower rules (higher index) are applied afterwards to alter the behavior?
the rules are sorted by index.

ps: for the layouts on my screenshots i removed the Model.Views node differences and added this code to both Customer and Employee
private XPCollection<XpandAuditDataItemPersistent> _auditTrail;
        public XPCollection<XpandAuditDataItemPersistent> AuditTrail => _auditTrail ?? (_auditTrail = XpandAuditedObjectWeakReference.GetAuditTrail(Session, this));

😊 In your pictures the property name was blank, so I’m guessing so were the values. 😝
<EMAIL_ADDRESS>Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10

From: Apostolis Bekiaris<EMAIL_ADDRESS>Sent: Tuesday, April 9, 2019 12:06:13 PM
To: eXpandFramework/eXpand
Cc: Denis Sikic; Author
Subject: Re: [eXpandFramework/eXpand] AudiTrail - Cannot have various auditing levels at once. (#362)
. I don’t believe that the property name (Age) and value changes (0 -> 1) were logged in your scenario
what to do to convince you Denis? :) I sent screenshots already.
Shouldn’t they have been, given that you set the auditing mode to full?
do not make sense here also, yes they full audited respecting the configured member context. What do you expected to do?
Just to confirm, you’re saying that the general PersistentBase rule should be at index 0, and lower rules (higher index) are applied afterwards to alter the behavior?
the rules are sorted by index.
ps: for the layouts on my screenshots i removed the Model.Views node differences and added this code to both Customer and Employee
private XPCollection _auditTrail;
    public XPCollection<XpandAuditDataItemPersistent> AuditTrail => _auditTrail ?? (_auditTrail = XpandAuditedObjectWeakReference.GetAuditTrail(Session, this));

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FeXpandFramework%2FeXpand%2Fissues%2F362%23issuecomment-481316505&data=02|01||014b0f958b544668db1c08d6bd054a9d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636904227750762666&sdata=kZPXwqv72qipLpoYJmqoGKV0xJXpF6PFydTbakg78qQ%3D&reserved=0, or mute the threadhttps://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYR7Ygaj5UUmhCEC9z_flNJT9xg5fjJ7ks5vfLp1gaJpZM4ch631&data=02|01||014b0f958b544668db1c08d6bd054a9d|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636904227750782688&sdata=1VJJl%2BGN3S7246Q2Z2i5nWJAbXXYKjdCHJ2STGyMgp8%3D&reserved=0.

do these properties get filled without the Xpand AuditTrail? from what I see in the XAF code base they never assigned a value.

99% sure they do in full mode.
I’ll test and reply back soon.
On Apr 10, 2019, at 11:44, Apostolis Bekiaris <notifications<EMAIL_ADDRESS>wrote:
do these properties get filled without the Xpand AuditTrail? from what I see in the XAF code base they never assigned a value.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FeXpandFramework%2FeXpand%2Fissues%2F362%23issuecomment-481745700&data=02|01||d57c1a959c2f4e92f01608d6bdcb624c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636905078550539041&sdata=kvEPaPLMFQ7BTh8inOEPhtQrsGHEpfPqdFGW8RVoaoc%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYR7YoQd2-gybesm3PZL75S4Osd_GUeGks5vfgbMgaJpZM4ch631&data=02|01||d57c1a959c2f4e92f01608d6bdcb624c|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636905078550549052&sdata=8yv5%2F2YDjJzduXnSC1i5KFzOdYK1coz%2BfB75fUyw8J0%3D&reserved=0.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


Add view for user management

Apinf administrators need to be able to view and manage users. Additionally, they need to assign users as Apinf administrators.
Definition of done

[ ] Create All users publication.

[ ] Make sure only Apinf administration can view the data.

[ ] Create a subscription for all users.
[ ] Create a template for displaying paginated users list.
[ ] Create and allow/deny rule for the following:

[ ] Administrators can insert, update or delete any user.

[ ]  Standard users can update only their personal account.
[ ] Create route level permission control " on"before action" so that only Apinf administrators can access the route.

[ ] User management link in navigation menu
[ ] Make the user management link conditionally available

Pull request open


Stop working now.

Now, almost no color. 😭

Atom    : 1.14.3 (64 bits)
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0
OS      : Windows 10 Pro (64 bits)

Test on One Dark theme and syntax.

Im seeing this issue too

The Jade language colours elements correctly. But switching to Pug removes colour.
Let me know what information is needed to help identify / fix this issue.

Looks like a duplicate of #23

Same issue for me.

Don't have highlight for pug.
Setting language to 'Jade' manually works correct.
Emmet doesn't work with pug, but works fine with jade (by the way).

We absolutely can just set lang of .pug files to 'jade', but still...


Add with health check option

As suggested in https://github.com/testcontainers/testcontainers-node/pull/54

Available in 2.6.0.


Updated setup.sh with stability and ease-of-use fixes

Hey Emerald, few notes on this PR.
First of all, I know we had originally agreed to set this up through Docker; I've found that there are some difficulties with that setup that I'm still working through. Although I've made it work, I don't think it would be very friendly to someone who doesn't already know Docker/ Linux, and believe that for now, these updates to setup.sh are a little more user-friendly.
On the specific changes you see to the file below - I've made it so that you no longer need to include the directory path as an argument to the script, and simply set /opt/ipfs as a variable for the path, and make an attempt at creating that path if it doesn't already exist before exiting. If the path fails to auto-create, we still exit at that point.
I also removed the attempt to cd, as I've never had good luck with that approach in bash scripts, and opted to use specific paths for the tar file download/ extraction. This has proven more stable in my testing.
Lastly, you can simply systemctl enable ipfs and systemctl start ipfs now without needing to add anything to the unit file, so I've removed the unit file creation from the script. This may have been added in an IPFS update, but trying to append the values to the unit file was causing issues when I first ran the script since the same values were inserted into the unit file twice.
I still hope to create a more user-friendly experience with Docker, but want to get a more stable script made for people in the meantime. Thank you for your time to review and help me with getting set up initially!

Hey, thanks for the PR!
Good catch on the duplicated systemctl service. I was cribbing off Cloudflare's node setup guide and it seems like they're doing it wrong also.
This script looks pretty good otherwise. I'm happy to merge it if you're done with the script!

I'm good with these changes for now, but may open other PRs in the future :smile: thanks Emerald!


question about calculation of projection of gradients

Hi. I am impressed with your work.
While reading your paper and code, I am confused because explanations of PCGrad update rule (algorithm 1 in the paper) and code implementation (https://github.com/tianheyu927/PCGrad/blob/c5fbd7c856526373828074f06875230f7f3ee79e/PCGrad_tf.py#L44-L51) seems slightly different.
As far as I know, the "tf.vectorized_map" function runs a given "fn" function in parallel with its inputs. (https://www.tensorflow.org/api_docs/python/tf/vectorized_map)
In the code, you use tf.vectorized_map which runs a given function in parallel. The function "proj_grad" calculates inner_product value based on not updated gradients. However, in the explanation of algorithm 1 in your paper, gradients are updated sequentially.
I want to make sure that the implementation of the code and the description of the algorithm are the same.

Hi,
The function proj_grad calculates the gradient projection of the current task gradient onto other original task gradients iteratively. This should be consistent with Algorithm 1 in the paper. Does it make sense?

Hi. Thanks for the reply.
What I am confused with is that the contents of "grads_task" tensor in proj_grad function do not change while tf.vectorized_map is running, but in the paper, the value of g_i changes every time through the loop iteration.
If I rewrite algorithm 1 with code as I understand it, it should be like the below.
between line 3 and 4: Set gi_new = gi
line 6: Set gi_new = gi_new - gi*gj / |gj|^2 * gj
line 9: Store gi^PC = gi_new
The difference here is that each task gradient doesn't change during the projection calculation.

The contents of grads_task shouldn't change according to Algorithm 1 while grad_task  is updated iteratively. I think algorithm 1 is exactly doing what you wrote here except that the projection is gi_new*gj / |gj|^2 * gj. Note that the arXiv version of the paper got updated and I guess you are looking at algorithm 1 in the previous version?

Ah! I think I read previous version of your paper. It is clearly stated in the updated version. Thanks a lot!

I read the current version of your paper again and I'm still facing the same problem. At line 5, I think g^PC_i  should be  g_i to match with the code.


NIFI-11440: Speed up Hive Metastore based unit tests

Summary
NIFI-11440
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[ ] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[ ] Pull Request based on current revision of the main branch
[ ] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 11
[ ] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

I would advise not to waste any time bothering with these tests on Windows.  I'd just detect running on windows and ignore them.

Thanks @exceptionfactory for the review. I overlooked that the modified AfterAll would be still called if every test case is ignored on method level. I moved the DisabledOnOs annotation to class level.

Thanks for making the adjustments @mark-bathori! I started the automated build and will plan on merging pending successful completion on all platforms.


[Mulit-Tenant] auth Tenant Admin Graphql API

Add the following to auth Admin GraphQL API:
type Mutation {
  createTenant(input: CreateTenantInput): CreateTenantMutationResponse!
  updateTenant(input: UpdateTenantInput): UpdateTenantMutationResponse!
  deleteTenant(input: DeleteTenantInput): DeleteTenantMutationResponse!
}

[ ] createTenant mutation
[ ] updateTenant mutation
[ ] deleteTenant mutation

Prerequisites

https://github.com/interledger/rafiki/issues/3122

What do we think about having this as an event we publish from backend to be consumed by auth and stored in the tenant TB?

What do we think about having this as an event we publish from backend to be consumed by auth and stored in the tenant TB?

What kind of event did you have in mind? Pretty much any communication between these services will suffice.

I was thinking something like redis pub sub/streams as a message queue, but for V1 we can get away without using new patterns/technologies and just use a new, separate GraphQL API

Per our discussion on slack we decided to host this api on a new http server because:

we dont want to expose it on the graphql admin api
a new graphql api for this is a bit heavy-handed
a new http server would be a bit simpler than something like GRPC. No extra dependencies, codegen, etc.


feat: enabled fast return on eth_sendRawTransaction

Description:
The eth_sendRawTransaction endpoint currently faces timeouts from various sources, including server, network, and client settings. For large callData, it uses Hedera File Service (HFS) to create and append file transactions, increasing latency and degrading user experience.
This PR introduces a new concepture feature design for eth_sendRawTransaction, enabling the API to return the transaction hash immediately upon passing prechecks. All subsequent processing (e.g., broadcasting to the network, handling file transactions, polling the mirror node, tracking HBAR consumption, etc.) is handled asynchronously in the background.
The primary impact of this feature is a significant reduction in end-to-end client wait times while ensuring backend integrity remains intact.
Important Note for Clients:
With the transaction hash returned instantly, clients must monitor the transaction status using this hash (e.g., via eth_getTransactionReceipt or monitoring confirmations).
If a request encounters internal errors (e.g., exceeding maxChunkSize, HBAR limits, SDK errors), these will no longer appear in the response. Instead, a transaction hash is returned, and eth_getTransactionReceipt may return null indefinitely. That said, it remains the responsibility of the users to handle such cases appropriately.
Fixes #3270
Related issue(s):
Additional aspects and considerations of the feature are highlighted in the ongoing discussion in #3202. Please feel free to share your insights in the thread if you have any.
Notes for reviewer:
TL;DR; The primary change in this PR is a refactor, mainly within eth.ts. The remaining work involves updating tests to align with the new immediate return logic. Most efforts are directed toward adding polling logic to verify the validity of transactions before proceeding to the next instruction.

The feature is designed for backward compatibility, allowing it to be toggled on or off while ensuring the end-to-end flow remains consistent.
A new global configuration, USE_ASYNC_TX_PROCESSING, acts as the feature flag for this functionality.
The EthImpl.sendRawTransaction method has been refactored to extract transaction processing logic into a new function, sendRawTransactionTxProcessor(). When USE_ASYNC_TX_PROCESSING is enabled, sendRawTransactionTxProcessor() is called without await, allowing transaction processing to run asynchronously in the background. If the flag is disabled, the function is awaited, maintaining the original synchronous flow.
The remainder of the work focuses on updating tests to accommodate the new feature.

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

LG, several tests are failing due to an undefined variable. Let's fix them before the final approvals.

LG, several tests are failing due to an undefined variable. Let's fix them before the final approvals.

@natanasow Thanks for the good catch! Missed that during rebasing! Updated!


Showing wrong wallet name in the alert when trying to connect to Subwallet

What happened?
Showing wrong wallet name in the alert when trying to connect to Subwallet
Please reproduce in steps

Prerequisite: Don't have Subwallet installed
Click Connect on the header
Click Subwallet in the popup
Look at the blue alert

Expected Behavior
Current behavior showing: You need to install the - talisman - browser extension
Expected showing: You need to install the - Subwallet - browser extension
What browsers are you seeing the problem on?
Chrome
Are you logged in?
No
At which address did you encounter bug?
nft.kodadot.xyz / kodadot.xyz
Screenshots

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'll fix this with the others wallet issue


GetServicesAsync() not always working on iOS

I have random success using StartScanningForDevicesAsync().
Steps to reproduce

connect to a device
search for services

Expected behavior
Obtain a list of available services
Actual behavior
Sometime it is working but very often nothing happen and then the device is disconnected.
trace when it is working
2017-01-18 15:57:25.065 BatKeeper.iOS[2936:567501] Adapter: Stopping the scan for devices.
2017-01-18 15:57:25.066 BatKeeper.iOS[2936:567501] Adapter: Scan was cancelled.
** ConnectToDevice - trying to connect to MI Band 2...
2017-01-18 15:57:26.861 BatKeeper.iOS[2936:567501] ConnectedPeripherial: MI Band 2
** Device connected 1a00527a-c5b1-492f-adfd-e074e99a56b6: MI Band 2 / Connected / <CBPeripheral: 0x1702e0d80, identifier = 1A00527A-C5B1-492F-ADFD-E074E99A56B6, name = MI Band 2, state = connected> :)
> Connected, searching services
*** Searching services
*** SearchBleServices - async...
2017-01-18 15:57:26.880 BatKeeper.iOS[2936:567501] ConnectToDeviceAsync Connected: 1a00527a-c5b1-492f-adfd-e074e99a56b6 MI Band 2
2017-01-18 15:57:28.939 BatKeeper.iOS[2936:567501] Device.Discovered Service: <CBService: 0x17026b880, isPrimary = YES, UUID = Device Information>
2017-01-18 15:57:28.942 BatKeeper.iOS[2936:567501] Device.Discovered Service: <CBService: 0x17046c080, isPrimary = YES, UUID = 00001530-0000-3512-2118-0009AF100700>
2017-01-18 15:57:28.943 BatKeeper.iOS[2936:567501] Device.Discovered Service: <CBService: 0x17027ed00, isPrimary = YES, UUID = 1811>
2017-01-18 15:57:28.944 BatKeeper.iOS[2936:567501] Device.Discovered Service: <CBService: 0x17007c940, isPrimary = YES, UUID = 1802>
2017-01-18 15:57:28.944 BatKeeper.iOS[2936:567501] Device.Discovered Service: <CBService: 0x17046a880, isPrimary = YES, UUID = Heart Rate>
2017-01-18 15:57:28.945 BatKeeper.iOS[2936:567501] Device.Discovered Service: <CBService: 0x1704698c0, isPrimary = YES, UUID = FEE0>
2017-01-18 15:57:28.946 BatKeeper.iOS[2936:567501] Device.Discovered Service: <CBService: 0x17046bc40, isPrimary = YES, UUID = FEE1>
*** SearchBleServices - got services!

and trace when it do not
2017-01-18 16:01:00.965 BatKeeper.iOS[2936:567501] Adapter: Stopping the scan for devices.
2017-01-18 16:01:00.965 BatKeeper.iOS[2936:567501] Adapter: Scan was cancelled.
** ConnectToDevice - trying to connect to MI Band 2...
2017-01-18 16:01:04.277 BatKeeper.iOS[2936:567501] ConnectedPeripherial: MI Band 2
** Device connected 1a00527a-c5b1-492f-adfd-e074e99a56b6: MI Band 2 / Connected / <CBPeripheral: 0x1740f8480, identifier = 1A00527A-C5B1-492F-ADFD-E074E99A56B6, name = MI Band 2, state = connected> :)
> Connected, searching services
*** Searching services
*** SearchBleServices - async...
2017-01-18 16:01:04.297 BatKeeper.iOS[2936:567501] ConnectToDeviceAsync Connected: 1a00527a-c5b1-492f-adfd-e074e99a56b6 MI Band 2
2017-01-18 16:01:38.282 BatKeeper.iOS[2936:567501] Disconnect error 7 Error Domain=CBErrorDomain Code=7 "The specified device has disconnected from us." UserInfo={NSLocalizedDescription=The specified device has disconnected from us.} CBErrorDomain
2017-01-18 16:01:38.282 BatKeeper.iOS[2936:567501] DisconnectedPeripheral by lost signal: MI Band 2

Here it is with a MI Band 2 device, but it is the same with other devices as Estimate iBeacon, arduino ble, Bluetooth of my Mac, ...)
GitHub project: https://github.com/BorisFR/BatKeeper
Configuration
**Version of the Plugin: 1.1.0 and 1.2.0-beta4 (Vanilla)
**Platform: iOS 10.2.1 (but also on previous version)
**Device: iPhone 7+

Did you also notice this behavior for other devices?

I have only one smartphone to play with.
I notice the same behavior with other BLE devices : iBeacon, arduino ble, ...
I have not this problem using nRF Connect or Bluefruit app.

I will investigate your code as soon as i get some time :) Thanks for posting a link to it.

Still not ok with 1.3.0-alpha1
In place of "await device.GetServicesAsync ()" I also test "await device.GetServiceAsync (Guid.Parse (SERVICE_ID))" but not better.


Undoing an edit made in a different Editor view does not scroll to the edited location

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
Repro:

Create two panes.
In pane 1, open a buffer
In pane 1, scroll to the bottom of the file and make an edit
Activate pane 2
Open the same file again in pane 2.
Undo the change
:boom: The editor does not scroll to reveal the change

Environment
Zed: v0.104.4 (preview)
OS: macOS 12.6.1
Memory: 64 GiB
Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

Adding a link to the discussion:

https://github.com/zed-industries/community/discussions/2060#discussioncomment-7055600


Switch to dockerfile-maven-plugin v1.3.4

Updated gradle to use Dockerfile from project base
Fixes https://github.com/spring-guides/gs-spring-boot-docker/issues/27 and https://github.com/spring-guides/gs-spring-boot-docker/issues/28

Thanks. Cherry picked (to avoid the need for some of the git wrangling you did). See 7f1da46.

Thanks for cherry picking some of the commits.  I have opened https://github.com/spring-guides/gs-spring-boot-docker/pull/31 to address one last change in the README from this pull request.


Fastify W3C header response propagation

Is your feature request related to a problem? Please describe
It does not work for me, so i guess it is just not supported by fastify, i could also not see any evidence in the code appending headers. :shrug:
Describe the solution you'd like to see
Adding W3C Trace Context propagator response should add response headers to clients with the appropriate trace id.
import { W3CTraceContextPropagator } from '@opentelemetry/core';
opentelemetry.api.propagation.setGlobalPropagator(
  new W3CTraceContextPropagator(),
);

Describe alternatives you've considered
Instrumenting manually with a middleware.
Additional context
I dont think its relevant, but i am using nestjs with fastify.

W3CTraceContextPropagator supports only client side request tagging using traceparent and tracestate headers.
I guess support for response tagging might even require some update on OTel spec side because the current propagator API gets no hint if a request or a response is tagged.


Delay process exit in ConsoleLifetime

#1329 ConsoleLifetime listens for the ProcessExit event but does not block it to allow for graceful shutdown. CTL+C works because we can cancel that event.
@robbieknuth @xqrzd I was able to reproduce the same issue on Windows by closing the console window.
Solution: Block ProcessExit until ConsoleLifetime is disposed (when the rest of the Host is disposed). This is pretty much the same as what WebHost does.
https://github.com/aspnet/Hosting/blob/dev/src/Microsoft.AspNetCore.Hosting/WebHostExtensions.cs#L43-L50

A functional test would be pretty involved. WebHost has some similar tests but they were so flaky we disabled them.


Added release notes for release 1.23.1

Release notes for 1.23.1

Release was not done yet, but leaving the PR ready to be merged as soon as we do the release


Error

Trying to run this results in:
 File "xenforo-scraper.py", line 40
    print(f"File sizes: Max: {bytesToShort(maxsize)}, Min: {bytesToShort(minsize)}")

Trying to run this results in:
 File "xenforo-scraper.py", line 40
    print(f"File sizes: Max: {bytesToShort(maxsize)}, Min: {bytesToShort(minsize)}")

Means you're missing convert.py which is imported and use in xenforo-scraper.py. Make sure you have both python files in the same folder when ran.


show navbars on navigation

Reviewer: Caine
Asana: https://app.asana.com/0/414235014887631/482056236481739
CC:
Description:
Show navbars when navigating (fixes the show/hide bug and behaves more like safari)
Steps to test this PR:

Open a page
Scroll to hide the bars
Tap a link to navigate
Observe bars are displayed
Confirm tap bottom of screen to show bars still works
Confirm tap top of screen to show bars and then again to scroll to top still works

Found a bug - will re-open when fixed.


Testing ENS Merch Shop: I don't see the option to customize

Describe the feature you'd like to request
https://github.com/GeneralMagicio/ens-merch-shop/assets/106570342/6ab9eb6f-cc9f-4fcc-b2d5-3213fc41d4db
The problem occurs here:
https://ens-merch-shop.myshopify.com/products/customizable-ens-mug
https://ens-merch-shop.myshopify.com/products/customizable-t-shirt-1
https://ens-merch-shop.myshopify.com/products/customizable-women-s-t-shirt
Describe the solution you'd like
For example I can see the option of personalize design here:

Describe alternatives you've considered
No response

I'll close this issue because I was in the wrong link


Print more information about PKCS#12 structures

the pkcs12 tool can print more information about the decoded PKCS#12 file, so make it do it.

+1.  @mattcaswell post-1.1.0 or not?

Its a feature. Post 1.1.0.

@tomato42 can you rebase and sign our CLA?

where's the CLA? I don't see reference to it in CONTRIBUTING

https://www.openssl.org/policies/cla.html

@tomato42, is there any progress on the CLA request?

RedHat will not sign a CCLA, but will let individuals sign an ICLA.  @tomato42, ping Mark Cox if you need internal pointers.

nudge.  @tomato42 .., :)

completely forgot about this PR, will take a look at the CLA tomorrow

CLA sent
during rebasing I noticed that scrypt is not handled correctly so I need to work on this PR a little bit more

Ok then.  Ping when it's ready for review

@levitte ready

am I reading the failure of
if [ -n "$CHECKDOCS" ]; then if $make doc-nits; then
 echo -e '+\057\057 MAKE DOC-NITS OK'; else echo -e '+\057\057 MAKE DOC-NITS FAILED'; false; fi; fi

correctly, in that it wants documentation for the new public methods?

You can run "make doc-nits" yourself and see what it's complaining about. :)

$ make doc-nits
(cd .; /usr/bin/perl util/find-doc-nits -n -p ) >doc-nits
if [ -s doc-nits ] ; then cat doc-nits; rm doc-nits ; exit 1; fi
*** WARNING: line containing nothing but whitespace in paragraph at line 19 in file doc/man3/OSSL_STORE_INFO.pod
*** WARNING: line containing nothing but whitespace in paragraph at line 55 in file doc/man3/OSSL_STORE_LOADER.pod
*** WARNING: line containing nothing but whitespace in paragraph at line 12 in file doc/man3/OSSL_STORE_open.pod
Makefile:450: recipe for target 'doc-nits' failed
make: *** [doc-nits] Error 1

I didn't break it... 😅

I know who did :)

the fix is trivial, should I add it to this PR?

 I'm getting the exact same error and I'm at 0a3452520f which is the current master in github...

My perl is old ☹  Please add a fix or make a new PR.  Thank you!

That doc-nits are addressed in #3860

But I am wondering why other PRs didn't trigger this...

that PR isn't simple either, so I'm not sure if it will get merge quickly - I'd like to see Travis and AppVeyor builds passing and that's a blocker for it

I also have made a same fix some days ago, but it seems without the fix, other PRs would not fail due to the 'doc-nits' in STORE docs. See #3882

so I'm not sure if it will get merge quickly

Just noticed this PR has been there for one year...

What? #3860 is 21 days old with last comment being from 11 days ago...

PRs would not fail due to the 'doc-nits' in STORE docs.

Ah, just for no misunderstandings, 'not fail' here means only in travis-ci, I can also generate those nits locally : )

What? #3860 is 21 days old with last comment being from 11 days ago...

I meant your PR (#1334, this one), that surprised me a bit : )

that's because of https://github.com/openssl/openssl/pull/1334#issuecomment-317267947 and me not having the time to go through the CLA earlier

Any idea on this, @kaduk ?

@levitte, @richsalz PR ready, passing all the automated checks

Any idea on this, @kaduk ?

Seems because this PR changes util/libcrypto.num file...

previous versions didn't change it, I changed it so that AppVeyor CI did pass

previous versions didn't change it and were still failing

Strange...

idea on this @kaduk

#3860 needs another OMC review, ideally @levitte since it is trying to tweak things in a feature he introduced.
So far as I can tell, I have attempted to address all the comments it has received already.

@richsalz nits fixed

merged to master, did not squash.  thank you!

You're welcome and thank you :)


Document what's new in ASP.NET Core for .NET 9 Preview 5

Description
Update the "What's new in ASP.NET Core 9.0" for .NET 9 Preview 5
Page URL
https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/release-notes/aspnetcore-9.0.md
Document ID
4e75ad25-2c3f-b28e-6a91-ac79a9c683b6
Article author
@Rick-Anderson @tdykstra @guardrex

@MackinnonBuck please add a comment documenting the ReconnectionUI work that you've done.

@javiercn please add a comment with the Static Assets compression work that you've done.

@halter73 please add a comment documenting the AuthenticationStateProvider work.

New Blazor Server Reconnection Experience:
The following changes have been made to the default Blazor Server reconnection experience:

Reconnect timing now uses an exponential backoff strategy. The first several reconnection attempts will happen in rapid succession before a delay gradually gets introduced between attempts. This behavior can be customized by specifying a function to compute the retry interval. For example:Blazor.start({
  circuit: {
    reconnectionOptions: {
      retryIntervalMilliseconds: (previousAttempts, maxRetries) => previousAttempts >= maxRetries ? null : previousAttempts * 1000,
    },
  },
});

When the user navigates back to an app with a disconnected circuit, a reconnect attempt gets immediately made rather than waiting for the duration of the next reconnect interval. This especially improves the user experience when navigating to an app in a browser tab that has gone to sleep.
If a reconnection attempt reaches the server, but reconnection fails because server had already released the circuit, a refresh occurs automatically. This prevents the user from having to manually refresh the page if it's likely going to result in a successful reconnection.
The styling of the default reconnect UI has been modernized.

.NET MAUI Blazor Hybrid and Web Solution Template
We are providing a new solution template in .NET 9 starting in Preview 5 to make it easier to create .NET MAUI native and Blazor web client apps that share the same UI. This allows you to create client apps that can target Android, iOS, Mac, Windows and Web maximizing code reuse.
The template alows you to choose Blazor interactive global rendering modes and will create the appropriate projects for you. It will then wire them up to use a shared Razor Class Library that has all of the UI components and pages. It also includes sample code that shows you how to use interface injection to provide different implementations for the Blazor hybrid and web apps. In .NET 8 this is a manual process documented here: Build a .NET MAUI Blazor Hybrid app with a Blazor Web App.
To get started, install the .NET 9 SDK (Preview 5 or higher) then install the .NET MAUI workload which contains the template.
dotnet workload install maui

To see the new template:
dotnet new list --tag maui

You should see the new maui-blazor-web template:
Template Name                        Short Name         Language ...
-----------------------------------  -----------------  -------- ...
.NET MAUI App                        maui               [C#]  ...
.NET MAUI Blazor Hybrid and Web App  maui-blazor-web    [C#]  ...
.NET MAUI Blazor Hybrid App          maui-blazor        [C#]  ...
...

Note: Currently Blazor hybrid apps do not ignore the Blazor rendering modes if they are defined at the per page/component level and will throw an error. This work will be completed in a subsequent preview of .NET 9. For more details see #51235.

Simplified authentication for Blazor apps with multiple render modes.
When you create a new .NET 8 Blazor Web App project and select the "Individual Accounts" auth option and the "WebAssembly" or "Auto" interactive render mode in Visual Studio or create the same project with a command like dotnet new blazor --interactivity WebAssembly --auth Individual, that project will include a lot of extra code including custom AuthenticationStateProvider implementations in both the server and client projects to support duplicating the user's server-side authentication state in the browser. Authenticating on the server rather than the client allows the app to access authentication state during prerendering before the WebAssembly runtime is initialized. The project template's custom AuthenticationStateProvider implementations use the PersistentComponentState service to serialize the authentication state into HTML comments and then read it back from WebAssembly to create a new AuthenticationState instance.
This works well if you've started from the Blazor Web App project template and selected the "Individual Accounts" option, but it is a lot of code to implement yourself or copy if you're trying to add auth to an existing project. Our documentation for how to Manage authentication state in Blazor Web Apps currently links to project template's AuthenticationStateProvider implementations on GitHub to provide examples for how to access server-side AuthenticationState from WebAssembly.
In order to make this easier, .NET 9 Preview 5 introduces AddAuthenticationStateSerialization and AddAuthenticationStateDeserialization APIs that can be called in the server and client projects respectively as demonstrated below:
// Server Program.cs
builder.Services.AddRazorComponents()
    .AddInteractiveWebAssemblyComponents()
    .AddAuthenticationStateSerialization();

// Client Program.cs
builder.Services.AddAuthorizationCore();
builder.Services.AddCascadingAuthenticationState();
builder.Services.AddAuthenticationStateDeserialization();

By default, this will only serialize the server-side name and role claims for access in the browser. If you want to include all claims, you can write the following on the server instead:
// Server Program.cs
builder.Services.AddRazorComponents()
    .AddInteractiveWebAssemblyComponents()
    .AddAuthenticationStateSerialization(options => options.SerializeAllClaims = true);

The Blazor Web App project template has been updated to use these APIs, so you can try out using the new template.

Progress report:

I have three of five reference article DRAFTs up for review now.
The fourth of five is the Simplified authentication state serialization entry, which I'll take care of right after lunch 🥪☕.
The fifth will be the Blazor-specific static files work. I'll merely go with a cross-link to what Rick publishes for this evening and place the reference article content in the morning.
I haven't touched any of the Blazor What's New content yet. That will be addressed last later today ... and after https://github.com/dotnet/AspNetCore.Docs/pull/32787 is merged.

I'll report back here later to confirm today's goals are achieved.

Progress report:

Four of five reference doc items are in PRs for review.
The fifth item, static files coverage specifically for Blazor articles, will be addressed tomorrow (but it will be in the What's New article for release).

I'm blocked for the Blazor What's New updates until the following PRs are merged ...

[ ] https://github.com/dotnet/AspNetCore.Docs/pull/32790 - @MackinnonBuck
[ ] https://github.com/dotnet/AspNetCore.Docs/pull/32793 - @BethMassi
[ ] https://github.com/dotnet/AspNetCore.Docs/pull/32794 - @javiercn (and @MackinnonBuck in case Javier went OOF)
[ ] https://github.com/dotnet/AspNetCore.Docs/pull/32799 -  @halter73

I'm working on the Blazor-specific MapStaticAssets coverage.
FYI (I noticed in passing): The main doc set's Static Files article hasn't been updated for the new middleware:
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-9.0


[3.x] Add Android project settings for gesture support

Include project setting to enable long press for Android devices
Include project setting to enable pan and scale gestures on Android devices

Thanks!