Lost option "Extract Archive" with version 3.4.0

Description
In jupyter-archive version 3.3.4, we still have the option "Extract Archive" option when right-clicking on a .zip file.  It seems the option is gone in 3.4.0.  Is this intended or a real bug?
Screenshot from the working version 3.3.4:

Reproduce

Right-click on .zip file on the left file browser panel.  The option "Extract Archive" should be there.

Expected behavior
The option "Extract Archive" should be there.
Context

Working environment: docker image pavics/workflow-tests:py39-230601-1-update240116

conda env export: https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/81deb99a4111b9c0945e26e06809be2d90ea59b0/docker/saved_buildout/conda-env-export.yml

Broken environment: docker image pavics/workflow-tests:py310-240411

conda env export: https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/9765cc8d98bef9ded245654406ac56d5e6bd0f97/docker/saved_buildout/conda-env-export.yml

Working environment again by pinning jupyter-archive to 3.3.4: docker image pavics/workflow-tests:py310-240419

conda env export: https://github.com/Ouranosinc/PAVICS-e2e-workflow-tests/blob/2f8c4508aec402874bb0bbbd8f79c724d91c1ac8/docker/saved_buildout/conda-env-export.yml

Python package version: see conda env export

Extension version:  see conda env export

Operating System and its version: Rocky Linux 8
Browser and its version: Firefox 124.0.2

Command Line Output

Don't have this info since the JupyterLab is spawned by JupyterHub.

Web Browser Output

Unsatisfied version 1.37.2 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^2.3.1-alpha.0<EMAIL_ADDRESS>Unsatisfied version 1.11.1 from @jupyterlab/application-top of shared singleton module @lumino/signaling (required ^2.0.0) [remoteEntry.7b569f28d2ab8ae4828e.js:1:5716](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/jupyterlab-jupytext/static/remoteEntry.7b569f28d2ab8ae4828e.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/codemirror (required ^4.0.10) [remoteEntry.7b569f28d2ab8ae4828e.js:1:5716](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/jupyterlab-jupytext/static/remoteEntry.7b569f28d2ab8ae4828e.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/codeeditor (required ^4.0.10) [remoteEntry.7b569f28d2ab8ae4828e.js:1:5716](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/jupyterlab-jupytext/static/remoteEntry.7b569f28d2ab8ae4828e.js)
Unsatisfied version 6.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/services (required ^7.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 1.11.1 from @jupyterlab/application-top of shared singleton module @lumino/signaling (required ^2.0.0) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 1.10.3 from @jupyterlab/application-top of shared singleton module @lumino/messaging (required ^2.0.0) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 1.9.2 from @jupyterlab/application-top of shared singleton module @lumino/algorithm (required ^2.0.0) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/apputils (required ^4.1.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/codemirror (required ^4.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 1.10.4 from @jupyterlab/application-top of shared singleton module @lumino/disposable (required ^2.0.0) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 5.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/coreutils (required ^6.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/codeeditor (required ^4.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 1.12.1 from @jupyterlab/application-top of shared singleton module @lumino/coreutils (required ^2.0.0) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
No satisfying version (^4.0.9) of shared module @jupyterlab/nbformat found in shared scope default.
Available versions: 3.6.7 from @jupyterlab/application-top [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 0.2.4 from @jupyterlab/application-top of shared singleton module @jupyter/ydoc (required ^1.1.1) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/settingregistry (required ^4.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 1.37.2 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^2.0.1) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/translation (required ^4.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/notebook (required ^4.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/rendermime (required ^4.0.9) [remoteEntry.370de6f77fd53f20b297.js:1:5721](https://pavics.ouranos.ca/jupyter/user/lvu2/lab/extensions/nbdime-jupyterlab/static/remoteEntry.370de6f77fd53f20b297.js)
Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/filebrowser (required ^4.0.5<EMAIL_ADDRESS>Unsatisfied version 6.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/services (required ^7.0.5<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/settingregistry (required ^4.0.5<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/translation (required ^4.0.5<EMAIL_ADDRESS>Unsatisfied version 5.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/coreutils (required ^6.0.5<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/apputils (required ^4.1.5<EMAIL_ADDRESS>Unsatisfied version 1.9.2 from @jupyterlab/application-top of shared singleton module @lumino/algorithm (required ^2.0.0<EMAIL_ADDRESS>Unsatisfied version 1.37.2 from @jupyterlab/application-top of shared singleton module @lumino/widgets (required ^2.0.1<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/ui-components (required ^4.0.5<EMAIL_ADDRESS>Unsatisfied version 1.11.1 from @jupyterlab/application-top of shared singleton module @lumino/signaling (required ^2.0.0<EMAIL_ADDRESS>Unsatisfied version 1.9.2 from @jupyterlab/application-top of shared singleton module @lumino/algorithm (required ^2.0.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/notebook (required ^4.1.0<EMAIL_ADDRESS>Unsatisfied version 1.8.2 from @jupyterlab/application-top of shared singleton module @lumino/properties (required ^2.0.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/logconsole (required ^4.1.0<EMAIL_ADDRESS>No satisfying version (^4.1.0) of shared module @jupyterlab/outputarea found in shared scope default.
Available versions: 3.6.7 from @jupyterlab/application-top<EMAIL_ADDRESS>Unsatisfied version 1.10.4 from @jupyterlab/application-top of shared singleton module @lumino/disposable (required ^2.0.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/translation (required ^4.1.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/rendermime (required ^4.1.0<EMAIL_ADDRESS>Unsatisfied version 6.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/services (required ^7.1.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/settingregistry (required ^4.1.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/mainmenu (required ^4.1.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/application (required ^4.1.4<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/apputils (required ^4.2.4<EMAIL_ADDRESS>Unsatisfied version 5.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/coreutils (required ^6.1.4<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/filebrowser (required ^4.1.4<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/launcher (required ^4.1.4<EMAIL_ADDRESS>Unsatisfied version 6.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/services (required ^7.1.4<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/ui-components (required ^4.1.5<EMAIL_ADDRESS>Unsatisfied version 5.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/coreutils (required ^6.1.5<EMAIL_ADDRESS>Unsatisfied version 1.11.1 from @jupyterlab/application-top of shared singleton module @lumino/signaling (required ^2.0.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/apputils (required ^4.2.5<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/application (required ^4.1.5<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/notebook (required ^4.1.5<EMAIL_ADDRESS>Unsatisfied version 17.0.2 from @jupyterlab/application-top of shared singleton module react (required ^18.2.0<EMAIL_ADDRESS>No satisfying version (^4.1.5) of shared module @jupyterlab/docregistry found in shared scope default.
Available versions: 3.6.7 from @jupyterlab/application-top<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/mainmenu (required ^4.1.5<EMAIL_ADDRESS>Unsatisfied version 1.12.1 from @jupyterlab/application-top of shared singleton module @lumino/coreutils (required ^2.0.0<EMAIL_ADDRESS>Unsatisfied version 3.6.7 from @jupyterlab/application-top of shared singleton module @jupyterlab/settingregistry (required ^4.1.5<EMAIL_ADDRESS>Failed to create module: package: nbdime-jupyterlab; module: ./extension [index.out.js:34:12](webpack://jupyterlab/application-top/build/index.out.js)
Error: Shared module @codemirror/state doesn't exist in shared scope default
    i remoteEntry.370de6f77fd53f20b297.js:1
    g remoteEntry.370de6f77fd53f20b297.js:1
    v remoteEntry.370de6f77fd53f20b297.js:1
    8204 remoteEntry.370de6f77fd53f20b297.js:1
    consumes remoteEntry.370de6f77fd53f20b297.js:1
    consumes remoteEntry.370de6f77fd53f20b297.js:1
    e remoteEntry.370de6f77fd53f20b297.js:1
    e remoteEntry.370de6f77fd53f20b297.js:1
    extension remoteEntry.370de6f77fd53f20b297.js:1
    n remoteEntry.370de6f77fd53f20b297.js:1
    G index.out.js:31
    H index.out.js:98
    H index.out.js:95
[index.out.js:615:14](webpack://jupyterlab/application-top/build/index.out.js)
Plugin 'jupyterlab-jupytext:plugin' failed to activate<EMAIL_ADDRESS>TypeError: e is undefined
    b index.es6.js:2191
    l index.es6.js:52
    a index.es6.js:33
    c index.es6.js:26
    c index.es6.js:22
    resolveRequiredService index.es6.js:2184
    n index.es6.js:2081
    b index.es6.js:2081
    l index.es6.js:52
    a index.es6.js:33
    c index.es6.js:26
    c index.es6.js:22
    activatePlugin index.es6.js:2065
    r index.es6.js:2287
    start index.es6.js:2286
    H index.out.js:638
<EMAIL_ADDRESS>Language pack 'en_US' not installed<EMAIL_ADDRESS>hub-extension: Found configuration
Object { hubHost: "", hubPrefix: "/jupyter/hub/" }
<EMAIL_ADDRESS>Starting application in workspace: "default"<EMAIL_ADDRESS>JupyterLab extension jupyter-archive is activated!

Pinned the older jupyter-archive 3.3.4 and the option "Extract Archive" is back.

jupyterlab==3.6.7  jupyter-archive==3.3.4   suggestion


Build agent is misinterpreting the commands with Special characters

Tested: Latest agent
If i am writing command to agent with special chars, the agent is not handling them well
Powershell task1:
Write-Host "##vso[task.setvariable variable=testSpecial;]b Kthe advanced£rs Àcd8d487331553a317"

Powershell task2:
$expected = "b Kthe advanced£rs Àcd8d487331553a317"
$actual = $Env:testSpecial

Write-Host "Expected: $expected Actual: $actual"
Write-Host "$($expected -eq $actual)"

The retrieved value is: b Kthe advanced£rs Acd8d487331553a317
The expected value is: b Kthe advanced£rs Àcd8d487331553a317
This seems to be critical issue as the project names can contain these special chars and when we set these variables internally and retrieve next time, the value is being tampered.

my guess is it's the process reading the env var. i'm pretty sure the agent accurately interprets stdout (logging command)

@ericsciple I dumped the process variables from process explorer. Its the same. The value is set incorrectly. Either we are storing it incorrectly or we are setting incorrectly. Wish I have time to debug :(

That character may not be in your code page. This works for me:
PS script 1:
'##vso[task.setvariable variable=testSpecial]this char ç should work'
PS script 2:
$env:testSpecial
That char is a good test given my setup. The character is supported but the encoded value doesn't align for the common encodings on my box (console host code page 437, system default 1252, and utf8).
Closing since I trust that the ç character is an accurate test given my setup.

@ericsciple Sorry my powershell has the charset and simple Console output prints it accurately. This is being caused to one of our customers and internally our RBs are failing when we have special chars in the project name. (not all special chars are causing this). This is legitimate issue rather than powershell encoding


Annotation may lead to misunderstanding

// 描述文件（绝对路径） (config.php, line 11)
may cause misunderstanding that the string of variable 'DESCRIPTION_FILE' should be an absolute path while it is a relative path in fact.

You means change it to '/path/to/description.yml' ?

作者大大你好~我想问一下有没有apache+php7环境配置文档呢~

作者大大你好我想问一下有没有apache+php7环境配置文档呢


I have a problem's

Everything worked perfectly. Now when I press the button opens this page

Open settings.php and make sure that you've set $steamauth['domainname'] to your domain.

I did it. It all worked. And then just stopped.

Have you got a link? Can you post your settings.php and steamauth.php file minus the API key?

$steamauth['apikey'] = ""; // Your Steam WebAPI-Key found at http://steamcommunity.com/dev/apikey
$steamauth['domainname'] = "csgo-minigames.com"; // The main URL of your website displayed in the login page
$steamauth['buttonstyle'] = "large"; // Style of the login button [small|large_no|large]
$steamauth['logoutpage'] = "index.php"; // Page to redirect to after a successfull logout (from the directory the SteamAuth-folder is located in) - NO slash at the beginning!
$steamauth['loginpage'] = "index.php"; // Page to redirect to after a successfull login (from the directory the SteamAuth-folder is located in) - NO slash at the beginning!

// System stuff
if (empty($steamauth['apikey'])) {die("
SteamAuth:
Please supply an API-Key!
");}
if (empty($steamauth['domainname'])) {$steamauth['domainname'] = "localhost";}
if ($steamauth['buttonstyle'] != "small" and $steamauth['buttonstyle'] != "large") {$steamauth['buttonstyle'] = "large_no";}

ob_start();
session_start();
require ('openid.php');

function steamlogin()
{
try {
	require("settings.php");
    $openid = new LightOpenID($steamauth['domainname']);

	$button['small'] = "small";
    $button['large_no'] = "large_noborder";
    $button['large'] = "large_border";
    $button = $button[$steamauth['buttonstyle']];

    if(!$openid->mode) {
        if(isset($_GET['login'])) {
            $openid->identity = 'http://steamcommunity.com/openid';
            header('Location: ' . $openid->authUrl());
        }
    echo "<form action=\"?login\" method=\"post\"> <input type=\"image\" src=\"http://cdn.steamcommunity.com/public/images/signinthroughsteam/sits_".$button.".png\"></form>";
}

     elseif($openid->mode == 'cancel') {
        echo 'User has canceled authentication!';
    } else {
        if($openid->validate()) {
                $id = $openid->identity;
                $ptn = "/^http:\/\/steamcommunity\.com\/openid\/id\/(7[0-9]{15,25}+)$/";
                preg_match($ptn, $id, $matches);

                $_SESSION['steamid'] = $matches[1];
                 if (isset($steamauth['loginpage'])) {
					header('Location: '.$steamauth['loginpage']);
                 }
        } else {
                echo "User is not logged in.\n";
        }

    }
} catch(ErrorException $e) {
    echo $e->getMessage();
}
}

Try changing $openid = new LightOpenID($steamauth['domainname']); in steamauth.php to $openid = new LightOpenID("csgo-minigames.com");

Notice: Undefined variable: steamauth in /var/www/admin/data/www/csgo-minigames.com/steamauth/steamauth.php on line 16
Notice: Undefined index: in /var/www/admin/data/www/csgo-minigames.com/steamauth/steamauth.php on line 16

do you happen to have another file named settings.php somewhere? it seems to me as if it is not loading the correct settings file

yes i have

On main directory

Maybe try setting an absolute path or renaming your other settings.php file (if there is one)
ob_start();
session_start();
require ('openid.php');

function steamlogin()
{
try {
    require("/var/www/admin/data/www/csgo-minigames.com/steamauth/settings.php");

as noted in the Readme Be aware that naming a file in your webpage root like any file in the steamauth folder will break SteamAuth.

It really works. Thank you so much!

no problem [=

Glad it's working, cheers @RedSparr0w


small unicode error?

Hi! When downloading tex files for, e.g., arxiv submission, I notice that a unicode error doesn't get appropriately written to tex (í --> ı́ ). Various tex compilers break to various degrees (pdflatex on Overleaf doesn't complain too much, arxiv breaks completely) unless the offending characters are replaced. Happy to provide more info or move this issue to a more appropriate repo!

I notice that a unicode error doesn't get appropriately written to tex (í --> ı́)

I'm not sure I understand. Do you mean "unicode character", and could you add more information about what you're seeing versus what you'd expect the output to be?

The issue still isn't clear to me, waiting for clarification. Closing until then.


Occasionally plex is reporting failures in post processing.

May 16, 2020 13:00:21.045 [0x7f00a2ffd700] WARN - SLOW QUERY: It took 13310.000000 ms to retrieve 0 items.
May 16, 2020 13:00:21.051 [0x7f00717fa700] DEBUG - buildLiveM3U8: min 0 max 19 ended 0
May 16, 2020 13:00:21.052 [0x7f00eaffd700] DEBUG - Request: [<IP_ADDRESS>:48410 (Loopback)] GET /livetv/sessions/764106e7-73c7-422a-986b-924709a3e87c/0b8ffcad-2ee6-488f-af91-41d24325a350/00018.ts (103 live) Signed-in
May 16, 2020 13:00:21.052 [0x7f00eaffd700] DEBUG - Content-Length of /media/PlexMedia1/transcode/Transcode/Sessions/plex-transcode-764106e7-73c7-422a-986b-924709a3e87c/media-00018.ts is 1754228 (of total: 1754228).
May 16, 2020 13:00:21.052 [0x7f00697fa700] DEBUG - Request: [<IP_ADDRESS>:48286 (Loopback)] GET /livetv/sessions/764106e7-73c7-422a-986b-924709a3e87c/0b8ffcad-2ee6-488f-af91-41d24325a350/00019.ts (103 live) Signed-in
May 16, 2020 13:00:21.052 [0x7f00697fa700] DEBUG - Content-Length of /media/PlexMedia1/transcode/Transcode/Sessions/plex-transcode-764106e7-73c7-422a-986b-924709a3e87c/media-00019.ts is 1766636 (of total: 1766636).
May 16, 2020 13:00:21.054 [0x7f00f29f5700] DEBUG - Completed: [<IP_ADDRESS>:48410] 200 GET /livetv/sessions/764106e7-73c7-422a-986b-924709a3e87c/0b8ffcad-2ee6-488f-af91-41d24325a350/00018.ts (103 live) 2ms 1754228 bytes (pipelined: 17)
May 16, 2020 13:00:21.054 [0x7f00f29f5700] DEBUG - Removed transcode data consumer, active count 2 => 1
May 16, 2020 13:00:21.055 [0x7f00f31f6700] DEBUG - Completed: [<IP_ADDRESS>:48286] 200 GET /livetv/sessions/764106e7-73c7-422a-986b-924709a3e87c/0b8ffcad-2ee6-488f-af91-41d24325a350/00019.ts (103 live) 3ms 1766636 bytes (pipelined: 3)
May 16, 2020 13:00:21.055 [0x7f00f31f6700] DEBUG - Removed transcode data consumer, active count 1 => 0
May 16, 2020 13:00:21.057 [0x7f0062fed700] ERROR - Recorder: Exception caught looking for post-processed file: boost::filesystem::directory_iterator::construct: No such file or directory: "/media/PlexMedia1/TVShows/.grab/baf1fe599e3f8add2fcf8741bf6a0c8f0e5df679-c51305b7fd58fd3c0df24350139664739866cda3"
May 16, 2020 13:00:21.057 [0x7f0062fed700] ERROR - Recorder: Postprocessing script '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scripts/transcode_internal.sh' seems to have deleted the file. Silly script.
May 16, 2020 13:00:21.057 [0x7f0062fed700] DEBUG - Grabber: Scheduling 'Guy's Grocery Games - E6 - Redemption Tournament: Part 4 (4/5)' for assimilation.
May 16, 2020 13:00:21.058 [0x7f0062fed700] DEBUG - Subscription: Resolved subscription to library item 'Guy's Grocery Games' (22361)
May 16, 2020 13:00:21.059 [0x7f0062fed700] DEBUG - There were 1 top-level paths for Guy's Grocery Games.
May 16, 2020 13:00:21.059 [0x7f0062fed700] DEBUG - Assimilator: Postprocessing, we're going to put `Guy's Grocery Games - E6 - Redemption Tournament: Part 4 (4/5)` in `/media/PlexMedia1/TVShows/Guy's Grocery Games/Season 09/Guy's Grocery Games - S09E06 - Redemption Tournament Part 4 (4 5).ts`
May 16, 2020 13:00:21.059 [0x7f0062fed700] ERROR - Assimilator: Error processing files: boost::filesystem::directory_iterator::construct: No such file or directory: "/media/PlexMedia1/TVShows/.grab/baf1fe599e3f8add2fcf8741bf6a0c8f0e5df679-c51305b7fd58fd3c0df24350139664739866cda3"
May 16, 2020 13:00:21.059 [0x7f0062fed700] DEBUG - Grabber: Operation for 'Guy's Grocery Games - E6 - Redemption Tournament: Part 4 (4/5)' on channel 6102 completed with status error (An error occurred while postprocessing the recording)
May 16, 2020 13:00:21.070 [0x7f0062fed700] DEBUG - Activity: Ended activity 024025dc-eda9-49bf-9754-23399ce045c4.```
---
Attached Files
[Plex Media Server.log](https://github.com/cedarrapidsboy/pms-postprocessing/files/4639314/Plex.Media.Server.log)
[plex -journalctl.txt](https://github.com/cedarrapidsboy/pms-postprocessing/files/4639315/plex.-journalctl.txt)

Thanks for the report. This doesn't happen at all for me (at least, not yet). All my records are .TS streams. Not sure why that matters. I'll take another look at the program flow and see if I can find any more insight into the post processing inputs and outputs.

Did a bit of a refactor to reduce the working file remuxing. See the tag:
https://github.com/cedarrapidsboy/pms-postprocessing/releases/tag/v3-pre1
Honestly, I don't know for sure why this is failing for you... I cannot reproduce it. I checked episodes with special characters in the name, shows with special characters. I have test cases where the original TS is deleted and replaced with an MP4, or MKV, and as long as I don't change the base filename, Plex doesn't complain.
I changed some variable quoting and some order of the operations. Perhaps something in this build will help.

No new failures since using the code from 4 days ago.


BOStepperTableViewCell.h missing

when testing the latest version it fails to work as the BOStepperTableViewCell header file is missing from the public headers in the Bohr framework target.
adding it makes everything work just fine :+1:
plus it would a good idea to add it to the demo too :)

Fixed :+1:


fix including headers of jetson-utils

this PR changed including style of jetson-utils' headers as discussed in https://github.com/dusty-nv/jetson-inference/issues/1068

Thanks @xmba15, just merged this.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 08:45:29 on 2023.05.12
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 1, errors out: 0
Original problem ID: 20565
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20565

Problem has been resolved in 3m 0s at 08:48:29 on 2023.05.12
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20565


SplitButton -> RichEditBox crashes app

Going to the SplitButton page and changing the color in the RichEditBox will crash the app
CC @karenbtlai

Happens to me on Windows 11 but not Windows 10 20H1.

Thank for for filing this bug @asklar ! I can't repro this bug using the latest version of the Gallery so I will close this bug. Feel free to reopen it if you encounter it again.


Addition of multipicker feature

Addition of multiple select option.

Thanks for the PR @allroundexperts
I'll try it out and provide additional feedback soon.
On initial review, I noticed that you removed the modalOpenerHitSlop default prop as well as removed passing on hitSlop.  Was there a reason for removing those?

Hi! Any updates about this? I am also interested in having a multi-select feature.

Hi! Any updates about this? I am also interested in having a multi-select feature.

You can use this repository:
https://github.com/allroundexperts/react-native-modal-multiselector

Thanks for the PR @allroundexperts
I'll try it out and provide additional feedback soon.
On initial review, I noticed that you removed the modalOpenerHitSlop default prop as well as removed passing on hitSlop. Was there a reason for removing those?

Sorry for the late reply. I did not receive any notifications for this.
I'll review the changes and pull again.

Hi! Any updates about this? I am also interested in having a multi-select feature.

You can use this repository:
https://github.com/allroundexperts/react-native-modal-multiselector

Since my project already has a dependency on this repo, I'd prefer the change get in here.

Since my p

Is it something very urgent?
I've been pretty busy lately.

Since my p

Is it something very urgent?
I've been pretty busy lately.

I'm working on a feature that requires a multi-select picker. Since my project already has a dependency on this modal selector, ideally I'd like to see if the multipicker addition can get in this week. Would that be possible? Let me know if there is anything I can do to contribute.

Since my p

Is it something very urgent?
I've been pretty busy lately.

I'm working on a feature that requires a multi-select picker. Since my project already has a dependency on this modal selector, ideally I'd like to see if the multipicker addition can get in this week. Would that be possible? Let me know if there is anything I can do to contribute.

I'll try my best to do this within this week.

@flavinger
This is a community supported open source project.  We contribute as we have time and with features that we use.  It would be great if you would help out with this PR.  There are conflicts due to other more recent changes.  Also modalOpenerHitSlop and hitSlop props were removed which need to be reverted.
Since you may not have permission to modify @allroundexperts repo, you could clone the code from his PR, fix the issues and submit a new PR.

Sibtain Ali - I noticed that you pushed a commit to this PR.  Please update the formatting to match the eslint config and the rest of the code.  A number of diffs are spacing and cosmetic changes which make it difficult to see the functional changes.
modalOpenerHitSlop still hasn't been restored. That prop is being used by apps and needs to remain.


Why is Tanana Zone fire management unit returning 422s?

https://earthmaps.io/taspr/area/FIRE11
https://earthmaps.io/alfresco/flammability/area/FIRE11
https://earthmaps.io/alfresco/veg_type/area/FIRE11
We'd definitely want these to work.

Maybe this was an update gone wrong?
The following do not work and I'm not spotting a pattern in terms of the polygons themselves:

FIRE6
FIRE8
FIRE10
FIRE11

Well this is weird. I'm running the main branch locally and some of these queries work on-and-off!
When they work, I see ALFRESCO results as you'd expect, e.g., http://localhost:5000/alfresco/flammability/area/FIRE11
{
  "1950-1979": {
    "MODEL-SPINUP": {
      "historical": 0.0039
    }
  },
  "1980-2008": {
    "MODEL-SPINUP": {
      "historical": 0.0067
    }
  },
  "2010-2039": {
    "5modelAvg": {
      "rcp45": 0.0043,
      "rcp60": 0.0039,
      "rcp85": 0.0039
    },

But I can refresh that same query and get a 500 error
aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('http://zeus.snap.uaf.edu:8080/rasdaman//ows?&SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=alfresco_relative_flammability_30yr&SUBSET=X(-128196.43789999932,268219.17540000007)&SUBSET=Y(1426763.6722,2292633.3236999996)&FORMAT=application/netcdf')

Could this be a timeout issue?
To replicate, comment out the try/except wrapping (lines 585, 587-588) in alfresco.py.
After that, bounce off these queries a few times.

If you try just the request URL (http://zeus.snap.uaf.edu:8080/rasdaman//ows?&SERVICE=WCS&VERSION=2.0.1&REQUEST=GetCoverage&COVERAGEID=alfresco_relative_flammability_30yr&SUBSET=X(-128196.43789999932,268219.17540000007)&SUBSET=Y(1426763.6722,2292633.3236999996)&FORMAT=application/netcdf) the netCDF you'll get back is about 180 MB if you're successful.
If not,
<ows:ExceptionReport version="2.0.1" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InternalComponentError">
<ows:ExceptionText>NullPointerException</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

After restarting the Rasdaman and Tomcat service on Zeus, things locally worked as expected. This resulted in me digging into the EB instance again, and discovering that for these larger areas, the previous EC2 instance size did not contain enough memory to build the returned data.
I've increased the production API instance to 16 GBs of RAM now and the previously unavailable fire zones are working as expected. I've updated this document with the new method for creating the single xlarge EB instance: https://docs.google.com/document/d/1Z31-mkDE0skITOuOOMBQwuO2I8jUDuApm7VX-A9v1LA


Hardcoded maximum tls version to 1.3

Fixes #672

@davecheney you sign off system is broken if you use GitHub


[Pipe] Fix serial format messages not received

PR Description section
Description and dependencies
Please include here a summary of the changes and the related issue. List any dependencies that are required for this change.
Related issue(s)
Provide a list of the related issues that will be fixed by this PR.

WARNING: Do not edit the checklist below.

Developer section

[x] [Documentation] is up to date with new feature
[x] [Tests] are passed OK (non regression, new features & bug fixes)
[x] [Code Quality] please check if:

Each function has a header (description, inputs, outputs)
Code is commented (particularly in hard to understand areas)
There are no new warnings that can be corrected
Commits policy is respected (constitancy commits, clear commits comments)

QA section

[x] [Review] tests for new features have been reviewed
[x] [Changelog] is up-to-date with expected tags
🆕 Feature: [Feature] Description...
🆕 Added: [Feature] Description...
🆕 Changed: [Feature] Description...
🛠 Fix: [Feature] Description...

@BiliouriV please edit this PR by adding a description and filling the details in the PR Description section.
Thank you


Doesn't work in nuxt 2 for the latest version.

I got the error after updating it to the latest version.

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


Update Add-WsusDynamicCategory #368

I add in the notes, a reference to SCCM when the user need to solve a more complex sceanario

This PR solve the issue #368

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@e0i  Added the NOTES section eliminated, as requested for this PR

@e0i I substituted the ### RELATED LINKS by ## RELATED LINKS as requested ! Please review and Merge !


Fix minor errors in README.md

Just a few typos and other issues.

Coverage remained the same at 60.068% when pulling 27f14a373957f84e387ca4cf9640d772c817ee93 on bearbin:master into ed5388da99b66d2cd5b9e50c436e72396cfb80f8 on OpenBazaar:master.


[Feature]: Enforce valid .NET version types in evergreen objects

What is your feature request?
It would be nice if Evergreen could filter scrub malformed version numbers that do not conform to the .NET version class.
Two examples in the list of Evergreen applications now are these:
X:\evergreen\stealthpuppyWindowsCustomisedDefaults\2406.01.173\x86 (the leading 0 in the minor version number is not permitted and should be cleaned up)
X:\evergreen\QGIS\latest\3.38.0-1 (non '.' separators are not permitted)
These types of issues cause problems for automation solutions that are leveraging the .NET version class for performing comparisons. I think extending that class on the developer side is a bridge too far, and the ideally the problem should be fixed at the supplier, but a compromise would be to have Evergreen filter and replace non conforming version numbers
Have you tested against the current version?

[X] Yes, I've updated Evergreen and tested against the current version.

Have you reviewed the documentation?

[X] Documentation at: https://stealthpuppy.com/evergreen/

OneDrive also does this:
X:\evergreen\MicrosoftOneDrive\Enterprise\24.010.0114.0003\x64

Arcrobat does leading zeros.
X:\evergreen\AdobeAcrobatProStdDC\24.002.20857\x64

A sample for the filter could look like this:
function Format-Version () {
     [cmdletBinding()]
     [OutputType([string])]
     param(
          [parameter(valueFromPipeLine=$true)]
          [string]$Version
     )
     begin {
          $badSeparator = "[\d+\.]{0,2}(\d+([\-\/\+\~\:\\\\_])\d+)[\.\d+]{0,2}"
          $leadingZeros = "\b(0\d+|(\d+\.0\d+)|(\d+\.\d+\.0\d+)|(\d+\.\d+\.\d+\.0\d+)|(\d+\.0\d+\.\d+)|(\d+\.0\d+\.\d+\.0\d+)|(\d+\.\d+\.0\d+\.\d+))\b"
     }
     process {
          foreach ($Item in $Version) {
               if ($Item -match $badSeparator) {
                    $badChar = $matches[2]
                    $Item = $Item.replace($badchar,'.')
                    $Item = Format-Version -Version $Item
               }
               if ($Item -match $leadingZeros) {
                    $Item = ([Version]$Item).tostring()
               }
               Write-Output $item
          }

     }
     end {

     }
}

I'd say reporting back the unscrubbed number is best and then consumers could scrub themselves as you demonstrate if needed.

Jim do you have to deal with this problem in production? If so, how are you handling it?

I'd generally normalise the version number after getting it to do comparisons later, but the reason I say don't do it in evergreen is you never know what people have written, they may be parsing the number any unusual way on a per app basis when they are consuming the output of evergreen.
It may be that someone at the ISV decides randomly to put the string 'release' in the version or do dot versions in 6 places.  There are so many failure cases that you can't build a regex for, and they are totally out of the control of Evergreen itself.
You could try type conversion, then build regex replacements something like the below in a catch block if it fails, maybe adding your regex too, but I'd say it will always have issues.
$verCount = $Version.ToString().Split('.').Count
 switch ($true) {
     { $verCount -eq 4 } { $outputVer = $Version ;break}
     { $verCount -lt 4 } {
          $outputVer = (4 - $verCount)..1 | ForEach-Object {
               $Version.ToString() + '.0'
           }
                break
     }
     { $verCount -gt 4 } {
          $outputVer = $Version.ToString() -replace "^(\d+(?:\.\d+){0,3})(?:\.\d+)*$", $matches[1]
          break
     }
            Default {}
}

I'd say this would work mostly, but the issues raised here would significantly increase when vendors just did weird shit with their versioning.
Given the lack of control over the source data I'd just pass it through to the module user.

they may be parsing the number any unusual way on a per app basis when they are consuming the output of evergreen

I would say that this is the direct result of unsanitized version numbers. At least that is my case.

I'm hesitant to modify the version number output as it comes from the vendor too much. Below is an example of some of the version numbers - some of these could be fixed up, .e.g removing jdk, and v but these examples are on a per-app basis.
Some of the examples are obviously terrible version numbers - how do we determine how they should be modified?
8u422+6
22.0.1+8
v22-build1
<IP_ADDRESS>.1
<IP_ADDRESS>.1
jdk-11.0.23+9
7.1.1-35
2024b
129.0b3
2023.2.20f1

We could take that Format-Version example and include it as a function in Evergreen, so that you could run:
Get-EvergreenApp -Name "MicrosoftOneDrive" | Format-Version

I do my own version sanitisation so that I can be in control of how it works and have the ability to quickly fix stuff when vendors do something unusual. Also because I get versions from multiple sources other than Evergreen. But it would definitely be of benefit to have something built in too.
Rather than returning a string that can be cast as a version, how about returning a VersionObject property that has already been cast?
BTW I also convert to a SQLVersion, which pads out each field to have up to 9 digits, which enables version sorting and comparison in SQL statements when these values are stored in a database. E.g. 1.2.3 becomes<PHONE_NUMBER>00000000300000000000000000. Not totally relevant to this topic, but just sharing an idea I had that solved a problem of mine!

Get-EvergreenApp -Name "MicrosoftOneDrive" | Format-Version | Save-EvergreenApp ... would be perfect, sweet normalization.

Aaron, probably a good idea to have the format function move the original vendor version to a new field in the object, in case it needed to be referenced for some reason. I imagine users will do filtering cmdlets after the format version step. Replacing the original version field seems like the way to go though, so the least amount of stuff needs to change.

I figured this out, it maintains all sortability, and normalized to a 4 segment version number
function Normalize-Segment {
    param (
        [string]$segment
    )

    if ($segment -match '^\d+$') {
        return [int]$segment
    } else {
        $normalized = 0
        foreach ($char in $segment.ToCharArray()) {
            $normalized = $normalized * 100 + [int][char]$char
        }
        return $normalized
    }
}

function Convert-ToStandardVersion {
    param (
        [string]$version
    )

    $segments = $version -split '[.\-_+]'
    $normalizedSegments = @()

    foreach ($segment in $segments) {
        $normalizedSegments += @(Normalize-Segment -segment $segment)
    }

    if ($normalizedSegments.Count -gt 4) {
        $normalizedSegments = $normalizedSegments[0..2] + ($normalizedSegments[3..($normalizedSegments.Count - 1)] | Measure-Object -Sum).Sum
    }

    while ($normalizedSegments.Count -lt 4) {
        $normalizedSegments += 0
    }

    return ($normalizedSegments -join ".")
}

# Example
Convert-ToStandardVersion -version "8u422+6"         #5717525<IP_ADDRESS>
Convert-ToStandardVersion -version "22.0.1+8"        #<IP_ADDRESS>
Convert-ToStandardVersion -version "v22-build1"      #1185050.991806090049.0.0
Convert-ToStandardVersion -version "<IP_ADDRESS>.1"      #<IP_ADDRESS>
Convert-ToStandardVersion -version "<IP_ADDRESS>.1"     #<IP_ADDRESS>
Convert-ToStandardVersion -version "jdk-11.0.23+9"   #1070<IP_ADDRESS>
Convert-ToStandardVersion -version "7.1.1-35"        #<IP_ADDRESS>
Convert-ToStandardVersion -version "2024b"           #50485052<IP_ADDRESS>
Convert-ToStandardVersion -version "129.0b3"         #129.489851.0.0
Convert-ToStandardVersion -version "2023.2.20f1"     #2023.2.50490249.0

I've added ConvertTo-DotNetVersionClass which will do this normalisation and conversion to a .NET Version class. Note that conversion to a .NET class will fail on some version numbers, so the raw string will be returned in those instances.

Examples:
ConvertTo-DotNetVersionClass -Version "jdk-11.0.23+9" | fl

Major         : 1070107
Minor         : 11
Build         : 0
Revision      : 32
MajorRevision : 0
MinorRevision : 32

ConvertTo-DotNetVersionClass -Version "v22-build1"

WARNING: Failed to convert version string 'v22-build1' to a .NET Version class.
1185050.991806090049.0.0

Convert a version number string which fails to convert to the .NET Version class representation, so return as a string:
ConvertTo-DotNetVersionClass -Version "v22-build1"

WARNING: Failed to convert version string 'v22-build1' to a .NET Version class.
1185050.991806090049.0.0

Find the latest version of AdoptiumTemurin22 and convert the version number:
Get-EvergreenApp -Name AdoptiumTemurin22 | Where-Object { $_.ImageType -eq "jre" } | ConvertTo-DotNetVersionClass

Major  Minor  Build  Revision
-----  -----  -----  --------
22     0      2      9

Find the latest version of AdoptiumTemurin22 and construct an object that includes the converted version number:
Get-EvergreenApp -Name AdoptiumTemurin22 | ForEach-Object {
    [PSCustomObject]@{
        Version      = ConvertTo-DotNetVersionClass -Version $_.Version
        ImageType    = $_.ImageType
        Architecture = $_.Architecture
        URI          = $_.URI
    }
}

Version      : <IP_ADDRESS>
ImageType    : jre
Architecture : x64
URI          : https://github.com/adoptium/temurin22-binaries/releases/download/jdk-22.0.2%2B9/OpenJDK22U-jre_x64_windows_hotspot_22.0.2_9.msi

Version      : <IP_ADDRESS>
ImageType    : jdk
Architecture : x64
URI          : https://github.com/adoptium/temurin22-binaries/releases/download/jdk-22.0.2%2B9/OpenJDK22U-jdk_x64_windows_hotspot_22.0.2_9.msi


fix(version): outputs version of angular-cli

Closes https://github.com/angular/angular-cli/issues/174

lgtm.


fix(sni) stricter detection and handling of duplicate snis

Previously, if a duplicate sni was detected as part of the 'snis'
sugar param, we still created the certificate object, as well as
any previously non-existant sni encountered before the conflicting
element. This commit prevents creation of orphan entries by checking
for the existence all posted snis before creating the certificate
and sni objects.
This commit also cleans up the naming schemes for admin API certificate
routes integration tests (no functional change).
Fixes issue #2275, among other behavioral inconsistencies.

if some of this is based on the unique constraint as mentioned in #2275 then there should also be a migration adding that constraint to the postgres schema. No?

Err. The name field is a PRIMARY KEY in postgres. Does this not make it unique?

if some of this is based on the unique constraint as mentioned in #2275 then there should also be a migration adding that constraint to the postgres schema. No?

Just clarifying, the point there was that the constraint is not applied to cassandra.
btw, this PR also fixes a few other misbehaviors, like creating certs and some SNI objects even when a PK violation is detected (yet still returning a 409).

Just clarifying, the point there was that the constraint is not applied to cassandra.

then we need to add a schema change then. Right?

From what I can tell, the behavior seen is #2275 is a result of this PK definition for the cassandra ssl_servers_names table: https://github.com/Mashape/kong/blob/master/kong/dao/migrations/cassandra.lua#L238
Prior to this PR, we always created a new Certificate object, regardless of SNI name duplicates, which means that we never had a PK violation for cassandra when we try to insert the duplicate SNI (indeed, that's one behavior this PR fixes). So it seems the cassandra schema change here under the hood would actually be to alter the PK- which, from what I can tell, is not an option (it would involve copying and duplicating the table with the new PK- this sounds awful ;) ).
It seems that we can handle this ourselves by adding the unique flag to the schema, as discussed @Tieske. Took me a while to wrap my head around this. It does indeed seem a bit odd to add this flag to the primary_key, but given the circumstances, it seems appropriate- It does resolve the buggy behavior, with the detriment of slightly worse (but acceptable) performance on SNI insert (since the cassandra db driver has to mock the constraint behavior).


[BUG] ts0601_valve.py: unit of measurement L (liters) doesn't match device class 'energy'

Bug description
the quirk for the garden watering valve ts0601_valve causes a warning in the logs about using a unit that is not matching the device class:
Entity sensor.bewasserung_garten_1z_summation_delivered (<class 'homeassistant.components.zha.sensor.SmartEnergySummation'>) is using native unit of measurement 'L' which is not a valid unit for the device class ('energy') it is using; expected one of ['kWh', 'MWh', 'GJ', 'Wh', 'MJ']; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+zha%22
it is about the entity containing the delivered water, which of course should be liters.
In the code I saw the import:
from zigpy.zcl.clusters.smartenergy import Metering
may it have caused the device class energy?
Steps to reproduce
it happens each time when I restart homeassistant and the quirk is executed.
you'll find the warning in the logs
Expected behavior
No warning about mismatching units in the logs.
And: I stumbled upon these warnings, because I am searching for the reason of wrongly reported summation values
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
[Paste the device signature here]

Diagnostic information
Diagnostic information
[Paste the diagnostic information here]

Logs
Logs
[Paste the logs here]

Additional information
No response

wondering whether there is a chance to get it fixed :)

I want to know how fix too!


Improve Control of SimulationDuration

Improve README.md descriptions of InitializationDelay and SimulationDuration.
Modify stress workload command line to depend on fewer OS threads.
Change implementation of CustomerThread.java and ServerThread.java so that the cyclic execution halts before any sleep request that would not wake up until after the time at which the simulation is intended to terminate.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I don't see evidence of the second item on your list.  Missing commit maybe?

I don't see evidence of the second item on your list. Missing commit maybe?

See lines 170 and 171 of README.md.  This "stress" workload is just a recommended command line.  Volker Simonis suggested that typical hosts are not able to run 20,000 OS threads, so I decreased the number of threads while increasing the amount of work performed by each thread proportionately.


drivers: can: Xilinx Processor System CAN controller driver

Driver implementation for the Xilinx Processor System CAN controller, which is contained in both the Zynq-7000 and ZynqMP (UltraScale) SoCs with two instances each.
Known limitations:

The high priority TX FIFO is unsupported, as the CAN driver API doesn't seem to consider such a special type of TX FIFO.
The send function is currently not SMP-safe if it gets called on 2 CPUs simultaneously and the function is called with no callback function pointer on either core. This should be tolerable for now as no SMP-capable Zynq/ZynqMP-based target currently exists.
SocketCAN integration not yet tested.

Basic functional tests performed with a Zynq-based Zedboard with a Microchip CAN transceiver attached externally and a Raspberry Pi as peer system. Test cases tests/drivers/can/api and tests/drivers/can/timing passed in loopback mode on the Zedboard.

Fixed extended ID handling, the test cases tests/drivers/can/api and tests/drivers/can/timing now pass on a Zynq-7000 based Zedboard.

Hi @henrikbrixandersen,
I've re-based and updated the driver to match the recent changes in the API (timing config, operational modes, get_max_bitrate function etc.) and fixed the preservation of the current operational mode across a timing modification (this came up when the tests start off in loopback mode, but ended up in normal mode after a timing change, preventing them from completing). Is there a reference application to be used as peer for the isotp tests? Those tests do run, but without a valid peer do not produce the desired test results. canopennode.no_storage won't run due to a shortage of filters (13 required, 4 available, that's why I asked regarding the CAN_MAX_FILTER setting on Discord the other day), but drivers.can.api, drivers.can.timing, drivers.can.utilities and the socketcan samples work & pass.

Changes from 08/08/22:

driver now uses the DEVICE_MMIO API to obtain the current device's (virtual, if applicable) base address rather than just using the physical base address from the device tree.
modified the Zynq/ZynqMP DTS files to no longer include a "label" property.

Update Kconfig for new DT_HAS__ENABLED support.

done.

Changes from 08/08/22, part 2:

changed Kconfig to new format
added integration with the matching pinctrl driver for the Zynq SLCR.

Changes from 11/08/22:

removed deprecated DT_COMPAT_XLNX_CAN variable from Kconfig

25.08.22:

now using zephyr/ namespace for includes in can_xlnx.c
changed zcan_ prefix to can_ after merge of #48941

@ibirnbaum You'll need to rebase this and add support for stopping/starting the CAN controller to comply with the recent CAN controller API changes.

@henrikbrixandersen Thanks for the review, started working on an overhaul of the driver, more comments to some of your individual points coming up.

@ibirnbaum This has been open for 1+ year already. Either leave it closed, convert to draft, or follow up on the review comments please.


Upgrade and publish this for 0.18

I see there is already a PR for this. Please close and ignore.

I shall take it as a reminder to spend some time on that PR!


Feature/MOB-3

Last version of Mobile application before Milestone 1.

Signup connections are done.
Login connections are done.
Login and signup pages have been organised according to the backend API documentation.
Any file about HTTP requests are in the "lib/requests" folder.

Ready to review.

Reviewed the pull request. There are no errors. I appreciate the hard work. Thanks


"self.L1_flag = args.l1_flag" in CFKG.py row 35 ; When I run cfkg model, 'Namespace' object has no attribute 'l1_flag'

Is there not l1_flag in parser.py?

Thanks for pointing it out. I deleted it carelessly when doing code laundry. I have added it back, and please try it again.


Improve usability of rubocop:diff rake task

Adds ability to do:
rake rubocop:diff
rake rubocop:diff HEAD
rake rubocop:diff HEAD~3..HEAD~2
rake rubocop:diff HEAD~3..HEAD~2
rake rubocop:diff aef12fd4
rake rubocop:diff master

...as well as convenience tasks...
rake rubocop:diff:head
rake rubocop:diff:staged
rake rubocop:diff:unstaged

Also, prints out colour-coded summary of all files scanned.

Performance is also noticeably improved, as each file is processed in a separate thread.

I've pushed with --force to squash the commits down into one.

Does any of my code still exist? ;-)


Deep Learning funktionality via Intel MKL

Intel has recently previewed a set of performance primitives for deep learning via MKL:
https://software.intel.com/en-us/articles/deep-neural-network-technical-preview-for-intel-math-kernel-library-intel-mkl
I know it is still in preview but are there any plans for adding support for these via the native MKL provider? Or is this functionality out of scope for math.net?

Since the deep learning primitives are now included in the latest MKL release this is no longer relevant. See this issue instead: #430


Timeline: "pin" renaming ane enhancements

Change:
"Pin" to "Pin to this feed”  (or "Pin here")
"Stick" to “Pin to all feeds” (or "Pin for all")
Also don't display "Pin here”  action for admin when the is no context - in public and subscription feeds

Additionally, ensure that only the Admins or Owners of the context can pin a post to the context timeline. So that group members couldn't simply pin their posts to a group.

Add "pinned" icon to the Feed posts pinned for all by admin.


Inline/external plots

Hi,
I'm using the iMatlab kernel with Python 3.5.4. and Matlab 2017a. I'm having trouble getting matlab to plot inline. When using the old Calysto kernel, it automatically plotted inline, but with the new iMatlab kernel it opens a separate Matlab windows. How can I switch between inline and external plots?
My apologies if this is the wrong place for asking, but I couldnt find any other place.

Does https://github.com/imatlab/imatlab#inline-graphics help?

I tried, but that didn't work for me the first couple of times. But as I understood, this uses plotly. Is it possible to simply use the matlab plotter?

Yes.  Sorry this is poorly documented indeed (it looks like everyone moved to using plotly so I forgot about it...).  Please first call imatlab_export_fig('print-png') before creating any plot.  This can be done in the notebook, or in your startup.m (in that later case you may need to wrap the thing in a try.. catch because imatlab_export_fig will by default be in your path only when running the jupyter kernel).

This works, thank you. It does up quickly in a matlab window before closing though. Do you know how to fix that?

Should be fixed as of master now.

Great, thanks!


Don't generate files on build folder

I follow all the instructions on .md file, all good but when I shoot the build command on terminal nothing happens

It looks like the build script did not find any fonts in the ./original folder. Can you send me a screenshot of that folder?

It looks like the build script did not find any fonts in the ./original folder. Can you send me a screenshot of that folder?

Capture added

There should be a hyphen between OperatorMono and the weights. Like OperatorMono-Book.otf.
Note: this version currently only supports the Light weight for the non-ScreenSmart versions.

Wow! Fixed with

hyphen between OperatorMono and the weights

Thanks a lot it looks like really cool!


Operation returned an invalid status code 'BadRequest'

Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'BadRequest'
at Microsoft.Bot.Connector.OAuthClient.GetSignInResourceWithHttpMessagesAsync

Happening in Projects like AuthenticationBot, BotAuthenticationMSGraph etc

@ankitjaingc, can you elaborate more on the steps as to when this error throws up? Does this error occur in any specific channel?

I am also facing same issue. It comes when you are connected and type first message for oauth sample(46).  @anusharavindrar Can you check is it working?

@ankitjaingc, I tested both AuthenticationBot and BotAuthenticationMSGraph samples on the Emulator as well on different channels on Azure and it works as expected without any issues.

BotAuthenticationMSGraph sample

AuthenticationBot sample

Can you verify if your connection works fine via 'Test Connection' on the bot settings on Azure? Also, can you double-check if you are using the latest bot samples?

@Chakradhar18, I tested the teams-auth sample as well and it also works as expected for me.

Do you get the error when you try to sign in or when you type any message? Can you share some screenshots? Did you try setting any breakpoints in your code to see where it throws up any error?

@ankitjaingc & @Chakradhar18, any update on the above queries? Are you still facing issues with the authentication samples?

Closing the issue due to lack of response. Please feel free to reopen if the issue persists.

@ankitjaingc & @Chakradhar18, any update on the above queries? Are you still facing issues with the authentication samples?

I am too facing this issue. When you run your bot in 'test in web chat's teams channel registration app there is no error, the prompt command to login loads.
When you point the bot in msteam(web/desktop) the error is BadRequest.
Operation returned an invalid status code 'BadRequest' at **Microsoft.Bot.Connector.OAuthClient.GetSignInResourceWithHttpMessagesAsync**(String state, String codeChallenge, String emulatorUrl, String finalRedirect, Dictionary2 customHeaders, CancellationToken cancellationToken) at Microsoft.Bot.Connector.BotSignInExtensions.GetSignInResourceAsync(OAuthClient operations, String state, String codeChallenge, String emulatorUrl, String finalRedirect, CancellationToken cancellationToken) at Microsoft.Bot.Builder.BotFrameworkAdapter.GetSignInResourceAsync(ITurnContext turnContext, AppCredentials oAuthAppCredentials, String connectionName, String userId, String finalRedirect, CancellationToken cancellationToken) at Microsoft.Bot.Builder.Dialogs.OAuthPrompt.SendOAuthCardAsync(ITurnContext turnContext, IMessageActivity prompt, CancellationToken cancellationToken) at Microsoft.Bot.Builder.Dialogs.OAuthPrompt.BeginDialogAsync(DialogContext dc, Object options, CancellationToken cancellationToken) at Microsoft.Bot.Builder.Dialogs.DialogContext.BeginDialogAsync(String dialogId, Object options, CancellationToken cancellationToken) at Microsoft.BotBuilderSamples.MainDialog.PromptStepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken) in C:\Users\OAuthToken\MainDialog.cs:line


Editor with auto-closing bracket enabled : unabled to type "0" before ")"

From<EMAIL_ADDRESS>on 2014-03-23T04:34:46Z
Spyder Version:  2.3.0beta3
Python Version:  3.3.5
Qt Version    :  4.8.5, PyQt4 (API v2) 4.10.3 on Linux
pyflakes >=0.6.0:  0.7.3 (OK)
pep8 >=0.6      :  1.4.6 (OK)
IPython >=0.13  :  1.2.1 (OK)
sphinx >=0.6.6  :  1.2.2 (OK)
rope >=0.9.2    :  0.9.4-1 (OK)
matplotlib >=1.0:  1.3.1 (OK)
sympy >=0.7.0   :  0.7.5 (OK)
pylint >=0.25   :  1.1.0 (OK)
What steps will reproduce the problem?

Enable 'automatic bracket completion' (tools-> prefs -> editor -> advanced option)
In a file in the editor, type a closing parenthesis ")"
Put the cursor just before the ")" and press "0" (zero) What is the expected output? What do you see instead? The expected output on the editor is "0)" but I just see ")" with the cursor after the parenthesis.

Please provide any additional information below
. This problem occurs only with the number zero (no problem with other characters) and ")" (i.e. it works fine with "]" or "}")
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1763

From contrebasse on 2014-03-24T09:09:12Z
I can reproduce it. It works fine with the numpad, but not with the '0' in the top row. The behavior is the same as if you enter ')' instead of 0. As the closing parenthesis already exists, a second one is not entered and the cursor goes after the existing parenthesis.
I'll add that it happens with any closing parenthesis in any python file.
As I have an AZERTY keyboard, I have to press Shift+à to write the 0. Is it your case ?

From<EMAIL_ADDRESS>on 2014-04-04T19:33:32Z
I think this is caused by codeeditor.py, line 2228:
    elif ((key in (Qt.Key_ParenRight, Qt.Key_BraceRight, Qt.Key_BracketRight)) or (
          shift and key == Qt.Key_0)) \
      and not self.has_selected_text() and self.close_parentheses_enabled \
      and not self.textCursor().atBlockEnd():
        cursor = self.textCursor()
        cursor.movePosition(QTextCursor.NextCharacter,
                            QTextCursor.KeepAnchor)
        text = to_text_string(cursor.selectedText())

I suppose the "shift and key == Qt.Key_0" check was put there for compatibility to some specific keyboard setting? However, I have a brazilian ABNT2 keyboard, where "Shift + 0" would in fact be the right parenthesis, and I can safely delete that without affecting the script's behavior.

From<EMAIL_ADDRESS>on 2014-03-24T09:42:52Z
Yes, this my case (a french AZERTY keyboard on an Asus laptop).
I should precise here that I do not have a "full" numpad but only "pseudo" numpad accessible by the "Fn+shift" key. On my computer, using the 0 of this pseudo numpad does not work.
I cannot reproduce the case of the double ")" (I mean I can write "))" without any problem)

From<EMAIL_ADDRESS>on 2014-04-05T07:51:08Z
I can confirm the proposed patch fixed this issue on my computer.
Thanks a lot !
I hope we can soon find why the "(shift and key == Qt.Key_0)" case were here to do not have to patch to often.

From<EMAIL_ADDRESS>on 2014-04-04T20:35:01Z
Anyways, if you want to patch it today for your Spyder installation, just open (even in Spyder) /spyderlib/widgets/sourcecode/codeeditor.py and change this elif at lines 2228-2231
    elif ((key in (Qt.Key_ParenRight, Qt.Key_BraceRight, Qt.Key_BracketRight)) or (
          shift and key == Qt.Key_0)) \
      and not self.has_selected_text() and self.close_parentheses_enabled \
      and not self.textCursor().atBlockEnd():

with:
    elif (key in (Qt.Key_ParenRight, Qt.Key_BraceRight, Qt.Key_BracketRight)) \
      and not self.has_selected_text() and self.close_parentheses_enabled \
      and not self.textCursor().atBlockEnd():

From<EMAIL_ADDRESS>on 2014-04-06T04:03:31Z
Well, you're right, in your case the "event.key()" probably correspond to "Qt.Key_ParenRight", so the value of "event.modifier() & Qt.ShiftModifier" not affect the behaviour whereas in my case, if I want to enter a "0", I have to press the shift key (with the numpad accessible by the "fn" key or with main keyboard).
Your second patch is very interesting because after the first patch I should not be able to reach this elif case and it seems to underline that the Qt.Key_0 will be treated as a Qt.Key_ParenRight  (if the shift modifier is enable). This is really tricky !
I see the commit author as "anonymous". Do you now if there is a way to contact the author to quickly know more about his own installation (keyboard, os, qt version) ? [I was thinking about special MacOS behaviour as on line 2194]
ps :  if it may be usefull, my keyboard layout option under X11 is the following :
"XkbLayout"  "fr"
"XkbVariant" "latin9"

From<EMAIL_ADDRESS>on 2014-04-05T14:56:44Z
I don't really know... There must be a keyboard that needs it. Curiously my ABNT2 does need shift + 0 to type ")", but removing that code does not affect its behavior. It works just the same (i.e. Spyder must already receive the keystroke as ")" instead of Shift+0).
It was added four months ago to the Introspection branch - it's one of the many changes in changeset 3359 "Changes to codeeditor to support new introspection features" from nov 28, 2013: https://bitbucket.org/spyder-ide/spyderlib/commits/670f51c01224ed1f4223c0a76c6baead3dc7ee68 Then it was merged with the main tip on dec 02, 2013.
Oh speaking of the "temporary patch", you might also want to change line 2236
        if text == {Qt.Key_ParenRight: ')', Qt.Key_BraceRight: '}',
                    Qt.Key_BracketRight: ']', Qt.Key_0: ')'}[key]:

to
        if text == {Qt.Key_ParenRight: ')', Qt.Key_BraceRight: '}',
                    Qt.Key_BracketRight: ']'}[key]:

From ccordoba12 on 2014-04-16T09:33:43Z
This clearly seems like a bug. Roberto, would you mind to create a PR with your proposed patch?
Labels: MS-v2.3

From ccordoba12 on 2014-04-16T10:13:07Z
Steven, would you mind to explain why you introduced that change?
Cc<EMAIL_ADDRESS>

From ccordoba12 on 2014-04-16T22:07:08Z
What can we do to avoid the bug reported here? I have to admit I'm not experiencing it in Linux so I don't know how to proceed.
Is it possible to check if shift+paren is not working somehow and only then add your workaround?

From ccordoba12 on 2014-05-04T14:35:45Z
Steven, any thoughts on this one? If not, I'm going to remove the check for "0" that you introduced.
Status: Accepted

From<EMAIL_ADDRESS>on 2014-04-16T18:37:43Z
In the version of PyQt I was using, the shift+paren key combo was not working, so I added the explicit check for it.

From<EMAIL_ADDRESS>on 2014-05-04T15:02:26Z
I'd say remove it.

From ccordoba12 on 2014-05-04T18:36:09Z
Ok, thanks for the confirmation. I'll go for it :)

From ccordoba12 on 2015-01-01T15:21:38Z
issue #1779 has been merged into this issue.

From ccordoba12 on 2014-05-05T08:10:38Z
This issue was updated by revision f6a5427b1427 .
Status: Fixed


Not work in heroku  python-3.6.6

Mounting my app django in heroku I generate this error, it should be noted that in my virtualenv works perfectly
File "/app/.heroku/python/lib/python3.6/importlib/init.py", line 126, in import_module
app [web.1]: return _bootstrap._gcd_import (name [level:], package, level)
app [web.1]: ModuleNotFoundError: No module named 'import_export'
There is a user who presents the same error
https://stackoverflow.com/questions/46072246/modulenotfounderror-no-module-named-import-export
i have tried with
$ pip install django-import-export
pip install -e git+https://github.com/django-import-export/django-import-export.git#egg=django-import-export

Hi @jrujano! Sorry no one has gotten back to you about this.
Has this been resolved?
If not, can you tell me what the out put of pip list is? And what version of django you are running?


QA current wallet functionality

I'd like it if a small group of people who understand the needs can QA current work and assess remaining gaps and bugs CC @jstarry Besides you, who else would be good to pull in for QA, stakeholder-wise? Happy to help here if there isn't anyone better..

Perhaps @mvines?
@sbhargava I think it would be great if you and I could chat things out to get started, I have a personal list of improvements that I'd like to move into issues for this project.

@jstarry okay sounds good.


git stack amend breaks signatures of child commits

Please complete the following tasks

[X] I have searched the discussions
[X] I have searched the existing issues

Description
Hi!  All commits are ok.

# Switch two commits up
git prev
git prev

# Make a change to #1 commit
echo 1 >> 1.txt
git add .
git amend

git log --graph --all --pretty="format:%C(auto)%h %C(auto)(%G?) %C(auto)%d %C(auto)%s" -3
# Output:
# * d97fde4 (N)  (feature1) #3
# * 251d64a (N)  #2
# * 4604f95 (G)  (HEAD) #1
# Note: (N) means that the commit is not GPG signed. Last two commits are not ok.

Actual Behaviour
In the last git log command you can see that commits #2 and #3 are not GPG signed
Expected Behaviour
All commits should stay signed
Debug Output
No response

Wait, so the amended commit was signed?  #260 worked?  That was all untested code as I don't do signing.
So the problem is with the implementation.  We are building on top of git2.

  The API allows us to sign these.  git2 allows us to sign these.
When we cherry-pick the other commits on top, we've implemented this as a rebase operation within git2 so it will detect commits we can drop.  The commit provided by this does not support us explicitly signing the commit.

The rebase operation allows us to access the index of each step.  We could possibly manually create a commit around that so it could be signed.

Wow, that was fast:) thank you!


holdout perplexity

It appears that the perplexity used mdl.perplexity is fixed to the training set. Would it be possible to add a function to calculate perplexity on a pre-defined holdout set?

Hi @bab2min, regarding evaluating perplexity from mdl.infer, how would you do that? My attempt attempt to reproduce the value of mdl.perplexity for the training set but using the ll returned by mdl.infer failed:
mdl = tp.CTModel(
    tw=tp.TermWeight.ONE,
    corpus=training_corpus,
    k=k,
)
mdl.train(n)

res, total_ll = mdl.infer(training_corpus)

_ll = np.array([doc.get_ll() for doc in res])
words = np.array([len(doc.words) for doc in res])

perplexity = np.exp(-np.sum(total_ll)/np.sum(words))
print(perplexity, mdl.perplexity) # values differ!

I guess this means that doc.get_ll() is not what I thought it is. What is is exactly? What should I do to make the calculation correct?
Thank you for your help!

Hi @lucasgautheron ,
A detailed discussion related to your question is here(#147).
Currently there are three options for calculating perplexity in tomotopy (mdl.perplexity, mdl.infer(), doc.get_ll()), but they are using subtly different calculation formulas each. I think this is a design mistake of tomotopy, so I am working on unifying it systematically(#148, #149).
The problem in your code is mdl.infer() returns sum of doc-topic ll and topic-term ll.
So if you have n documents, np.sum(total_ll) actually includes n duplicate topic-term ll values.
To avoid this problem, you should pass together=True parameters to mdl.infer(), which forces to infer all document at the same time and return the sum of ll for all documents without duplication.
However, even if this is done, the value may be slightly different from the value of mdl.perplexity. This is because mdl.infer() also assigns a topic to each word by a probabilistic process like mdl.train().

Hi,
Thank you very much for your answer, this is super clear now!


Aurelia CLI configuration

It seems that when using this plugin along with aurelia cli, it tries to load association-select.js and paged.js from the node_modules folder even though it should have been bundled. The website does not load at all when built for the default prod environment without a relative node_modules folder.
I've fixed it for the time being by using the following config in aurelia.json
            "name": "aurelia-orm",
            "path": "../node_modules/aurelia-orm/dist/amd",
            "main": "aurelia-orm",
            "resources": [
              "component/association-select.html",
              "component/paged.html",
              "component/association-select.js",
              "component/paged.js"
            ]

@Kukks That's the way it works right now. I don't know how we could improve that. Adding it to our own resources in package json? If so, would you like to submit a PR?

@RWOverdijk The installation guide only says you need the html files under resources. Should it reflect my config instead?

@Kukks I'm pretty sure we just have to add it to our resources. Recently the same was done for aurelia-form: https://github.com/SpoonX/aurelia-form/pull/192/files

I'm still getting an error, even with this config:
'Error: File not found with singular glob: /Users/jason/projects/your-deferrals/node_modules/aurelia-orm/dist/amd/component/association-select.html'


Update README.md

Docs Build status updates of commit 3167105:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

README.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Detect JSON columns

We should be able to automatically detect if a column contains JSON data and avoid escaping it in the output. Right now if I have the following table:
create table s003b.todos
(
	id int not null constraint pk__s003b_todos primary key default (next value for s003b.globalId),
	category_id varchar(3) collate Latin1_General_BIN2 not null constraint fk__s003b_todos__s003b_categories references s003b.categories(id),
	title nvarchar(100) not null,
	[description] nvarchar(1000) null,
	tags nvarchar(max) null check ( isjson(tags)= 1 ),
	completed bit not null default(0)
)

and I store JSON data in the "tags" column, I get the following output:
{ data": {
		"todos": {
			"items": [
				{
					"id": 10000,
					"title": "item-001",
					"completed": false,
					"tags": "[{\"tag\":\"red\"}]",
					"category": {
						"id": "f",
						"category": "Family"
					}
				}

where tags contains encoded JSON...even if the content is valid JSON itself. Right now Azure SQL DB doesn't have a native JSON data type, but we can check if a column contains JSON data by checking the check constraint that should have been created to allow only JSON data to be inserted (see table definition above). This query can return which columns should be treated as JSON:
select
	s.[name] as [schema_name],
	t.[name] as [table_name],
	c.[name] as [columne_name],
	ck.[definition],
	case when (ck.[definition] like '%isjson(/[' + trim(c.[name]) + '/])=(1)%' escape '/') then 1 else 0 end as [isjson]
from
	sys.check_constraints ck
inner join
	sys.tables t on ck.[parent_object_id] = t.[object_id]
inner join
	sys.columns c on t.[object_id] = c.[object_id] and ck.parent_column_id = c.[column_id]
inner join
	sys.schemas s on t.[schema_id] = s.[schema_id]

Because curiosity meant that I needed to dig into this more I decided to look at what we need to do to identify JSON columns.
PostgreSQL (and I expect MySQL but didn't test) should be reasonably easy to detect as they have a column type of json that is returned when using the conn.GetSchema("Columns") query:

Azure SQL is a little harder as it isn't a data type but it's a constraint on the table that we can query for and then find the column that the constraint is applicable to. Here's a SQL query that we can execute:
select schema_name(t.schema_id) + '.' + t.[name]  as [table],
    col.[name] as column_name,
    con.[definition]
from sys.check_constraints as con
    left outer join sys.objects as t
        on con.parent_object_id = t.object_id
    left outer join sys.all_columns as col
        on con.parent_column_id = col.column_id
        and con.parent_object_id = col.object_id
where lower(con.[definition]) like '%isjson%'
and con.is_disabled = 0

With this we could add another property to ColumnDefinition of IsJson (or similar) and use that as part of the codegen for the GraphQL engine.


refactor: Refactor findMatchedRoute(...)

Description
Fixes #6.
Refactor findMatchedRoute(...) to return matches if there is a route match.

Codecov Report

Merging #11 (0cd28bc) into main (5e1e38d) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
+ Coverage   99.76%   99.78%   +0.01%
==========================================
  Files           6        6
  Lines         431      456      +25
  Branches       60       58       -2
==========================================
+ Hits          430      455      +25
  Misses          1        1

Flag
Coverage Δ

unit_tests
99.78% <100.00%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/helpers/find-matched-route.ts
100.00% <100.00%> (ø)

src/url-observer.ts
99.71% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5e1e38d...0cd28bc. Read the comment docs.


Date mask bug

Using a date mask of "mm/dd/yyyy" if you enter 06/30/2015 and then place the cursor at the "3" and enter "4" you are left with:
"06/d0/2015"
You can duplicate this using the demo on the site.
Expected behavior would be for the end result to show "06/04/2015".  Apparently this happens whenever the second digit of the day portion is "0" and you enter a value in the first digit between 4 and 9.

@jimithing277 ,
This works in version 5.0.0


Update readme for java client

Can you also add to the DEVELOPER.md how to run integration tests on different redis versions?


Doubt regarding non-availability of native Java client for Storage Resource Provider

I wanted to configure a management policy for setting retention time of Containers.
This is part of the Storage LifeCycle Management.
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-concepts?tabs=azure-portal
Wanted to check if there is any native client available as part of the Java SDK, to use the LifeCycle management.
I can use the portal, the CLI and powershell and also have option of using REST API’s.
But wanted to confirm if there is a native client that is available for the same.
Any leads regarding how to invoke a management policy from a Java client will be very helpful.

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

ID: 9a558a9e-10d0-ea34-8780-d9084f87f952
Version Independent ID: 60dda4e0-7630-f358-aa3a-6a992eae61e2
Content: Managing the Azure Storage lifecycle
Content Source: articles/storage/blobs/storage-lifecycle-management-concepts.md
Service: storage
Sub-service: common
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

@sidhartha-patra Thank you for your feedback! We will review and update as appropriate.

Which Azure tools and SDKs support blob-level tiering and archive storage?
Azure portal, PowerShell, and CLI tools and .NET, Java, Python, and Node.js client libraries all support blob-level tiering and archive storage , Source: https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/storage/blobs/storage-blob-storage-tiers.md
I checked the SDK documentation for the specific library, but i was unable to find the one which helps with Tiers, a work around would be to use the following doc: https://docs.microsoft.com/en-us/rest/api/storageservices/set-blob-tier
Let me check internally if i can get a solution and will get back to you.

@sidhartha-patra I checked internally, it looks like it's not supported officially yet, I'd recommend using the workaround for now, if there's a new update to the Java SDK, it will probably be announced via a blog or documentation.
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.
Thanks,
Adam


Fix fromUrl when using src in view

https://github.com/SergeyMell/nativescript-plugins/issues/19

The new version 1.1.2 of the plugin is published


feat: use a orbitdbcache that used shared redis instance

Codecov Report

Merging #92 into feat/scaling-poc will increase coverage by 0.17%.
The diff coverage is 100%.

@@                 Coverage Diff                  @@
##           feat/scaling-poc      #92      +/-   ##
====================================================
+ Coverage             93.04%   93.22%   +0.17%
====================================================
  Files                     2        2
  Lines                   115      118       +3
  Branches                 10       11       +1
====================================================
+ Hits                    107      110       +3
  Misses                    5        5
  Partials                  3        3

Impacted Files
Coverage Δ

src/pinning.js
98.94% <100%> (+0.03%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2e19a7...2a884a4. Read the comment docs.


Update 0.8.3 acapy image and python versions

This pull request:

Updates to a 0.8.3 ACA-Py prerelease tag for Traction (will be included in the next official 0.9 release, discussed in meetings)
Updates to the ACA-Py image that is askar-only (previous Traction code used the one that had Indy in it as well)
Updates Python version to 3.9
Some updates to the plugin builds for poetry

Changes are based on work @usingtechnology did in PR 684 but isolated and expanded on here to troubleshoot issues with the 0.8.2 askar-only image
Prior to 0.8.2 Traction was using bcgovimages/aries-cloudagent:py36-1.16-1_0.8.1
We are updating to use ghcr releases instead.
Initially tried upgrading to ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.8.2 but this broke revocable credential creation. See discussions
https://github.com/hyperledger/aries-cloudagent-python/issues/2307
https://github.com/hyperledger/aries-cloudagent-python/pull/2308
We will use the prerelease image cut with the indy_client fix as discussed for the time being until 0.9
ghcr.io/hyperledger/aries-cloudagent-python:py3.9-0.8.3-pre
I've regression tested the environment here with this 0.8.3 release and it fixes the revocable creds (tails folder) problem and passes other functionality.
Issuer
f16d5181-5069-4c04-99b5-faac6dda9faa
38a720bd-1432-49d8-9557-541a6d4cab03
Non-Issuer
03490cb8-09e2-40f5-a4ef-0bd2bf6826c8
2fa1d27e-419e-46c5-8cd6-35aad9fdd0ce

Everything working at this time

Reservation/Innkeeper approval/Tenant creation
Make issuer (connect to endorser, register DID)
Messaging
Create schemas and cred defs (revocable and non)
Receive proof requests

EXCEPT: Credentials (which offer all good, show up on the BC Wallet, or in the other tenant's credential exchange list), when accepted end up in abandoned

Also appears DID Exchange connection is sticking in request

Current point blocking issuing creds, tails file will not create
2023-07-17 21:07:23,889 aries_cloudagent.core.event_bus ERROR Error occurred while processing event
Traceback (most recent call last):
File "/home/aries/.venv/lib/python3.9/site-packages/aries_cloudagent/core/event_bus.py", line 121, in notify
await processor()
File "/home/aries/.venv/lib/python3.9/site-packages/aries_cloudagent/revocation/routes.py", line 1379, in on_revocation_registry_init_event
await shield(generate(registry_record))
File "/usr/local/lib/python3.9/asyncio/futures.py", line 284, in __await__
yield self # This tells Task to wait for completion.
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
future.result()
File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result
raise self._exception
File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step
result = coro.send(None)
File "/home/aries/.venv/lib/python3.9/site-packages/aries_cloudagent/revocation/routes.py", line 1323, in generate
await rr_record.generate_registry(profile)
File "/home/aries/.venv/lib/python3.9/site-packages/aries_cloudagent/revocation/models/issuer_rev_reg_record.py", line 185, in generate_registry
tails_hopper_dir = indy_client_dir(join("tails", ".hopper"), create=True)
File "/home/aries/.venv/lib/python3.9/site-packages/aries_cloudagent/indy/util.py", line 37, in indy_client_dir
makedirs(target_dir, exist_ok=True)
File "/usr/local/lib/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/local/lib/python3.9/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/local/lib/python3.9/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/home/aries/.indy_client'

This will need the new 0.8.3 image with the indy_client folder fix

Looks good to me, but I’m not at the right level to give the approval.

Are we explicitly not supporting python 3.10/3.11 in pyproject.toml?

I'd included that stuff over from Sherman's updates to the plugin python base images which switched from 3.6 to 3.9 images so I assume the goal is to keep everything in line to a certain version?

i only limited it because the base images were at 3.9, seems safer to make that the same in the code. Wouldn't want someone writing code or bringing in a dependency that won't run on production images.


Unable to create a 'DbContext' of type 'MyIntIdentityContext'

Describe the bug
When executing the command "╰$ dotnet ef migrations add addauth --verbose --context MyIntIdentityContext --project Core.Infra.Postgres --startup-project Api
"I'm getting the error
Cannot create a 'DbContext' of type 'MyIntIdentityContext'. Exception 'Unable to resolve service for type 'Microsoft.EntityFrameworkCore.DbContextOptions`1[Core.Infra.Postgres.EFContext.MyIntIdentityContext]' when trying to activate 'Core.Infra.Postgres.EFContext.MyIntIdentityContext'.' was thrown when trying to create an instance
I'm using .net 8
MyIntIdentityContext

CustomIdentityAndKeyConfig

Project Structure

MyIntIdentityContext

Expected behavior
I hope you can help me understand why when executing the command to create the migration I receive an error

I haven't tested it yet, but it seems like it has something to do with the fact that I'm using .Net 8 or there's something missing from being implemented in the lib


Using ironman ability gives incorrect data

When using the Iron Man ability, it seems that the values supplied in avengerResult are swapped (x has the Y value, and y has the X value)
Below is the image of the board

Below is the avengerResult data

When was the last time you fetched new version?
Because on 12/11/2023 9:26 PM I wrote;
Ak niekto pouzivate ten server, tak si stiahnite novsiu verziu. Bol tam bug. (Dakujem Maros za upozornenie)
So the problem should be solved by now.
Is it?

Oh, I can confirm that it is fixed in the new version. I installed it on the same day, but I must've messed up and was still running the old version.


167-reliable-deployments

:warning: Please merge after #237 is merged.
Closes #167
LiveURL: https://smartfaq-167-reliable-deployments.surge.sh

Should be done, thx!


Notebook debugger could not load source

Environment data

Language Server version: 2021.9.1
OS and version: both Windows 10 and MacOS 14
Python version (& distribution if applicable, e.g. Anaconda): 3.9.5

Expected behaviour
Debugger step into inner function/method body
Actual behaviour
When I click step into it throws me a tmp py file which says
Could not load source XXX: source unavailable.

Logs

Not relevant

Code Snippet / Additional information

# Screenshot above

Pylance doesn't play a role in notebook debugging. Transferring.


cocomac: Watch Founded[\W_]+in[\W_]+2019[\W_]*+IZEND

cocomac requests the watch of the watch_keyword Founded[\W_]*+in[\W_]*+2019[\W_]*+IZEND. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Founded[\W_]*+in[\W_]*+2019[\W_]*+IZEND has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Rejected by cigien in Charcoal HQ. Reason: 'This is a bit more specific than necessary, as discussed above. Adding the more specific watch that RyanM proposed.'


feat: realisations of optionloadr's etcd part

What type of PR is this?

Check the PR title.

[ ] This PR title match the format: <type>(optional scope): <description>
[ ] The description of this PR title is user-oriented and clear enough for others to understand.
[ ] Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.
etcd
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):
optionloader etcd 模块的实现
(Optional) Which issue(s) this PR fixes:

允许用户通过etcd进行服务配置，并且可以自定义config结构，自定义decode，自定义translator
(optional) The PR that updates user documentation:

ci still failed, please help to fix, thanks!


Navigation sometimes gets cancelled whenever a route change occurs on initial load

Hi
I have a large application which runs 2 Angular MFE’s at the same time (nav mfe and a primary mfe)
This app has dynamic email links sent out to users.  Upon opening these links, both angular mfe's bootstrap and the primary mfe calls an API to figure out what action the user wants to take (.e.g a password reset or email verify).  The API call is quite lightweight and navigates the user to the respective view within the primary app.
https://myapp.com/email-handler?actioncode=123
->
https://myapp.com/reset-password
I have noticed that there is an intermittent issue with the routing where it will get stuck on the email-handler path.  The redirect to the next view does not happen.  The issue occurs around 1/15 attempts but seems to be more prominent when the user is on a slower connection.
After doing some tracing I can see that the navigation event gets cancelled because angular is expecting a different navigation id than the one being proposed:  See below for router trace:

My understanding is, single-spa emits a popstate event every time a route is changed to tell MFE’s to re-render.  If I set the urlReRouteOnly flag to true, this issue doesn’t happen anymore.
Whenever Angular sees a popstate event being fired, it schedules a navigation event to occur.  In single-spa-angular, skipNextPopState helps us to ignore popstate events that were not dispatched by the browser (ie single-spa).  What I’ve seen is sometimes this flag is set to false and thus a popstate is emitted.  This triggers Angular’s navigation and it writes a new navigation id to the History API.  Depending on the timing of the navigation being scheduled, Angular expects a certain navigation id but sees a different one so it cancels the navigation event.
It seems to be timing related - whenever a successful route change occurs, I can see the popstate events are emitted at a different time compared to when the navigation gets cancelled.
Demonstration
As this is a large complex app with many modules, views & dependencies, it is very difficult to create a like-for-like sample app to replicate the issue.  (If I manage to replicate it, I will upload it)
Summary

Intermittent issue occurs when an app first loads and needs to redirect from one view to another within a short period of time.
Only happens if 2 MFE’s are running together.
Only happens when single-spa is enabled to fire popstate events

I’ve tried to narrow down the issue further but to no avail. Any help or advice is appreciated.. thanks guys.
Angular Version - 9.1
(Tested on the latest version of single-spa-angular)

I'm not sure we can do anything w/o reproducible example. In general, I do not understand something very well from the screenshots.
Well, the navigation gets cancelled when somebody calls navigateByUrl (and not because navigation id doesn't match). It's called manually during the initial navigation by Angular when it bootstraps the module for the first time and when popstate event is dispatched. However, we can't do anything with initial navigation since it's called internally.
As I understand the navigation is cancelled for the specific app where some view should be rendered. What I would do is open the router file (node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js), press Ctrl+F and search for setupNavigations. You should be able to find this:
setupNavigations(transitions) {
        const eventsSubject = this.events;
        return transitions.pipe(filter(t => t.id !== 0),
        // Extract URL
        map(t => (Object.assign(Object.assign({}, t), { extractedUrl: this.urlHandlingStrategy.extract(t.rawUrl) }))),

There is switchMap going right after the map and it has an appropriate comment:
// Using switchMap so we cancel executing navigations when a new one comes in

You can modify that map to get the extracted URL before returning it so you'll understand what URL navigation cancels the current navigation:
// Extract URL
        map(t => {
            const url = Object.assign(Object.assign({}, t), { extractedUrl: this.urlHandlingStrategy.extract(t.rawUrl) });
            console.log('url = ', url);
            return url;
        }),

@arturovt  - I tried your suggestion but couldn't figure out the issue.  In the end up, I converted my nav MFE from Angular to React and this fixed my problem..


add ticket to cache

Qustion - is it possible to add Kerberos.Net generated ticket to MIT kerberos cache file (basically mirror what kinit does) or create a separate cache file that can be consumed by MIT kerberos?

There isn't a native serializer for the cache format, but it's certainly possible to wire one in if you know the MIT format. You can create a custom ITicketCache and set it on the client. Then any calls to get the tickets will be stored in the file.

From: mikeTWC1984<EMAIL_ADDRESS>Sent: Thursday, May 7, 2020 8:35:25 PM
To: dotnet/Kerberos.NET<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [dotnet/Kerberos.NET] add ticket to cache (#160)
Qustion - is it possible to add Kerberos.Net generated ticket to MIT kerberos cache file (basically mirror what kinit does) or create a separate cache file that can be consumed by MIT kerberos?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/dotnet/Kerberos.NET/issues/160, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAJHTYPROWRCO7I7EGWYRZTRQN4X3ANCNFSM4M33IDDA.

The feature has been added by #176. It can be used by setting the client cache to a new instance of a Krb5TicketCache.
var client = new KerberosClient(loggerFactory) { Cache = new Krb5TicketCache(pathToKrb5ccFile, loggerFactory) }


Add Tests for node/http.go

#1180
Hi @joshklop
I made test for node/http.go  relating to your issue.
Please review my PR
Thanks

I think the primary benefit of having tests for node/http.go is to make sure the servers can be run/shutdown properly. Since things like RPC methods are already well-tested in the rpc package, we don't need to test them all here.
See our previous tests for our http servers here for inspiration.

@joshklop
I Have made some changes.
Please review

I think the primary benefit of having tests for node/http.go is to make sure the servers can be run/shutdown properly. Since things like RPC methods are already well-tested in the rpc package, we don't need to test them all here.
See our previous tests for our http servers here for inspiration.

Hi @joshklop
You forgot to review my PR
Thanks for your time

Closing due to inactivity, feel free to reopen when it is ready to be reviewed.

Closing due to inactivity, feel free to reopen when it is ready to be reviewed.

I have made some changes.
please reopen the PR

Hi @aminsato, thanks for taking the time to contribute to Juno. While these changes do test a portion of the httpService, we are looking for more extensive tests that give us confidence that all of the servers that we initialize in node/http.go will serve data properly. Because of that, we won't be merging this PR.