[BUG] Updating to latest version, cloudFormation failed update

Describe the bug
The stack named BedrockChatStack failed to deploy: UPDATE_ROLLBACK_COMPLETE: Resource handler returned message: "Resource  must be in ARN format or "*". (Service: Iam, Status Code: 400,
To Reproduce
Pulled the latests commits to update my stack, then run:
cdk deploy --require-approval never --all
to update my existing stack ( I already have several bot exisitng with knowledge so I can't remove everything and restart from scratch
Additional context
Add any other context about the problem here.

Could you send more CFn logs?

It seems to be related to BackendApi > HandlerRole > Default Policy

I can bypass the issue by setting  "enableUsageAnalysis": true instead of false

Found the issue:
      {
        "Action": [
          "athena:GetDataCatalog",
          "athena:GetQueryExecution",
          "athena:GetQueryResults",
          "athena:GetWorkGroup",
          "athena:StartQueryExecution",
          "athena:StopQueryExecution",
          "glue:GetDatabase",
          "glue:GetDatabases",
          "glue:GetPartition",
          "glue:GetPartitions",
          "glue:GetTable",
          "glue:GetTables"
        ],
        "Resource": "",             <------ HERE: Empty, must be ARN or “*”
        "Effect": "Allow"
      },

This shoud not be triggered when we disable UsageAnalysis

Which version are you using? Currently the usageAnalysis is true by default and not be intended to set to false. In the near future, we'll remove that parameter from cdk.json.

I just put myself to false because I don't need it for now

If set to true and still problem remains, create another issue.


[ERROR] [Errno 2] No such file or directory: 'auto_cleanup/data/auto-cleanup-settings.json' (lambda_handler.py, setup_dynamodb(), line 283)

Describe the bug
For the first time after deployment lambda executed in 'DRY' mode as by default. I changed the rate of the lambda execution to 'every 5 minutes' then and the mode to 'DESTROY'. It executed successfully the first time and cleaned up the resources. After that, it started logging this error message for any of the next executions.
START RequestId: 4438f2ea-325f-4e23-b75c-03dc8eaf7c23 Version: $LATEST
[ERROR] [Errno 2] No such file or directory: 'auto_cleanup/data/auto-cleanup-settings.json' (lambda_handler.py, setup_dynamodb(), line 283)
[INFO] Auto Cleanup started in DESTROY mode. (lambda_handler.py, run_cleanup(), line 45)
[INFO] Switching region to 'ap-south-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'eu-north-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'eu-west-3'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'eu-west-2'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'eu-west-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Skipping region 'ap-northeast-3'. (lambda_handler.py, run_cleanup(), line 152)
[INFO] Switching region to 'ap-northeast-2'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'ap-northeast-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'ca-central-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'sa-east-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Skipping region 'cn-north-1'. (lambda_handler.py, run_cleanup(), line 152)
[INFO] Switching region to 'ap-southeast-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'ap-southeast-2'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'eu-central-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'us-east-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'us-east-2'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Skipping region 'cn-northwest-1'. (lambda_handler.py, run_cleanup(), line 152)
[INFO] Switching region to 'us-west-1'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'us-west-2'. (lambda_handler.py, run_cleanup(), line 49)
[INFO] Switching region to 'global'. (lambda_handler.py, run_cleanup(), line 155)
[INFO] Skipping cleanup of S3 Buckets. (s3_cleanup.py, buckets(), line 186)
[INFO] Skipping cleanup of IAM Roles. (iam_cleanup.py, roles(), line 286)
[INFO] Auto Cleanup completed. (lambda_handler.py, run_cleanup(), line 171)
[INFO] Resource tree has been built and uploaded to S3 's3://auto-cleanup-prod-resourcetreebucket-kiliev/resource_tree_2020_05_20_22_31_50.txt. (lambda_handler.py, build_tree(), line 349)
END RequestId: 4438f2ea-325f-4e23-b75c-03dc8eaf7c23
REPORT RequestId: 4438f2ea-325f-4e23-b75c-03dc8eaf7c23  Duration: 81231.30 ms   Billed Duration: 81300 ms       Memory Size: 128 MB     Max Memory Used: 126 MB
XRAY TraceId: 1-5ec5af85-16cceece5b61aa7ad3ac5956       SegmentId: 3e54e9ca12b29144     Sampled: true

Hey @kviliev that's strange, nothing deletes the settings file. Can you have a look into the Lambda function package within the data directory to see if the file exists or not?

Hi @mlevit , yes - all the files are there(from the data directory) - locally and in from the lambda package - the s3 bucket. I tried deploying/testing multiple times. I tried from a different host and to a different AWS account as well. I always run into this issue. Also, this error appeared a few times:
[ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [ERROR] An error occurred (ConditionalCheckFailedException) when calling the PutItem operation: The conditional request failed (lambda_handler.py, setup_dynamodb(), line 277) [INFO] Auto Cleanup started in DESTROY mode. (lambda_handler.py, run_cleanup(), line 45) [INFO] Switching region to 'ap-south-1'. (lambda_handler.py, run_cleanup(), line 49) [INFO] Switching region to 'eu-north-1'. (lambda_handler.py, run_cleanup(), line 49)

@kviliev have you managed to resolve this issue?


Puppeteer does not load the page completely, as in a browser.

Tell us about your environment:

Puppeteer version: 1.13.0
Platform / OS version: Heroku
URLs (if applicable):
Node.js version: 10.15.3

What steps will reproduce the problem?
Please include code that reproduces the issue.
var express = require('express');
var router = express.Router();

/* GET users listing. */

router.get('/', function (req, res, next) {
/*vars init*/

    const puppeteer = require('puppeteer');

    (async () => {
        const browser = await puppeteer.launch({args: ['--no-sandbox', '--disable-setuid-sandbox']});
        const page = await browser.newPage();
        await page.setUserAgent('Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36');
        await page.goto(url, {waitUntil: 'load', timeout: 0});
        await page.type('#login', login);
        await page.type('#password', password);
        await page.click('#sub-btn');
        await page.waitForNavigation().catch(() => console.log("catched"));
        await page.goto(url2, {waitUntil: ['networkidle2', 'domcontentloaded']});
        await page.addScriptTag({url: 'https://code.jquery.com/jquery-3.2.1.min.js'});

        const mainData = await page.evaluate(() => {
            try {
                return document.documentElement.outerHTML;
            } catch (e) {
                return e.toString();
            }
        });

        res.send(mainData);
        await browser.close();
    })();
});

module.exports = router;

What is the expected result?
Displaying the HTML page of the electronic diary filled with data. (Like in browser)

What happens instead?
Showing a 'template of page' without any data in it.

"Нет занятий" means "no school today"
Suggestions? Thank you!

Sorry, I found a bug in my code. The URL was incorrect.


fix:usr:SPAR-4651 Don't allocate writeIds for Read transactions

For read transactions, we are allocating new write Ids which should not be done. It ideally should only be allocated for Write transaction. It's not a functional issue/bug but not required to be done. This change will ensure economical usage of writeIds.

@amoghmargoor : Looks good to me.


Address Country Dropdown Test id

Describe the bug
I want to add the testid / accessibilityID for the countries drop-down of the card so it can be used for automation testing. but no accessibilityID/ testid attached to the country drop-down.
To Reproduce
just open the debit card with the address field enabled.
Screenshots

Hey @faizantariq1
What testing tool are you using?

appium tool.

Hey @faizantariq1
Sorry, we are not subject experts on Appium.
From what Google tells me - Appium has general problems working with AdapterView.
AFAIK, you should be able to reach TextView by id @id/textView_title and text as the country name.
An example that might help here: https://github.com/nctoan500/Selenium1st/blob/master/Appium/src/test/java/NCT/Appium/Spinner.java#L44

Hey @faizantariq1
Were you able to get any progress?

Hi @descorp,
We tried with UiAutomator aswell to scroll to any specific country present inside dropdown but it didnot helped.
Also We do have similar problem in iOS. We are unable to select any component inside country dropdown through Automation.

We are have released 2.3.0 that supports "Address Lookup" feature - maybe that one would be easier to test?

Closing this issue due to inactivity. Feel free to reopen if needed.

Thanks @descorp,
We added Address Lookup 2.3.0 feature into our application and tried to inspect android and iOS object for the country dropdown
but again they are not inspectable on both platforms using Appium inspector tool.
Steps to reproduce:-

Click on credit card payment
2)Select "Search for your address"
3)Click "enter your address manually" link
4)Click on country/region dropdown
5)Try to inspect the dropdown using Appium tool for both Android and iOS.


Odom noise

This feature has only been tested within UE4 with the turtlebot3-UE repo and not interfaced with rviz/other ros software.
As publication of the odometry topic worked before (in turtlebot3-UE), it is assumed that it still does.
A series of UE_LOG statements can be uncommented to do some verification.
Ideally it should be tested within the io_amr_ue infrastructure.
This PR should not affect other parts of the code.
PS a 3d lidar BP has been added to this branch by mistake - as it is just a BP and there's nothing depending on it, it should be safe.

nav seems not moves properly. maybe default value toomuch?

yeah, I'm currently trying to solve the problem with Gazebo's odom - I think I fixed the speed (not pushed yet), but there's something wrong with rotation

@yuokamoto I added noise, please check
current default noise level is quite low, but it's visible in rviz if you leave the actor still
for the differential drive, I'm only adding to the vr/vl quantities, after linear and angular components are computed, so I don't use 2 RNGs.
@Tadinu please check too


remove COLCON_IGNORE, instead rename package.xml to package.ros1.xml

Builds on #597, should probably merge after that

Relates to discussion in #542

I realized there is a cleaner way to do this. We can add a feature to the autogen symlink script to use a ROS2_IGNORE file similar to COLCON_IGNORE but with our desired behavior for both ROS1 and ROS2. Closing this approach, will switch to that.
Why I like the new approach better: Nicer to have a smaller number of ROS2_IGNORE files at higher directory levels rather than forcing a rename of every package.xml file (almost 100 files).
Why name the marker ROS2_IGNORE rather than COLCON_IGNORE: the concept is similar but the implementation has subtly different behavior, so it's more transparent to give it a different name. That will also prevent any unexpected behavior in other places.


Should GetVerifiedRangeByHeight return the first item of the range?

The RPC docs of GetVerifiedRangeByHeight state that [from,to) range is returned, however the first item (i.e. from) is not included in the result.  My first guess was that this was because we already know it.
Is this a bug in the implementation or in the docs? What is the expected behavior?

@vgonkivs, should we close this one?

cc @vgonkivs


refactor: add validation to project blueprints

This change is part of the following stack:

#340

#325

#326

#341

#342

#345 ◀

Change managed by git-spice.


accept '_' and '-' in named parameters

Looks good, can you add a test for this?

yeah!
On Mon Jan 26 2015 at 16:02:37 santiaago<EMAIL_ADDRESS>wrote:

Looks good, can you add a test for this?
—
Reply to this email directly or view it on GitHub
https://github.com/taironas/route/pull/19#issuecomment-71473559.

Tests updated!

Oh, I prefer to leave the tests as they are and add a new one that explicitly tests this:
Something like:
func TestThatSpecialCharactersInParameterWork(t *testing.T) {

Ok boy
Le lun. 26 janv. 2015 à 18:30, santiaago<EMAIL_ADDRESS>a
écrit :

Oh, I prefer to leave the tests as they are and add a new one that
explicitly tests this:
Something like:
func TestThatSpecialCharactersInParameterWork(t *testing.T) {
—
Reply to this email directly or view it on GitHub
https://github.com/taironas/route/pull/19#issuecomment-71500402.

New test case added!


News feed on the very top

I have created a new component which includes dates filtration and news.json file and placed this component to the  top of page

Please

[ ] add the possibility that the user closes the notification (persisted in localStorage), and if closed it won't open again (clickable "x" on the right side)
[ ] Please center the icon and text of the notification
[ ] If there are several notifications, only show one and have them switch after 15sec. Have the new notification slide in from the top

Ive added the new notification slide in from the top wich switched every 15 seconds and displayed only one notification. Also, I performed refactoring to improve component rendering. Ive added new methods to the SettingsStore to get and persist hidenNews list in localStorage.Also, Ive added the onClose method which added news to the hiddenNews list. Also, I added an additional close icon component to the Alert because of Alerts onClose method with an included close icon closed several news notifications when we close one

Accepted


Missing docs about routes/_app.tsx

I found in an article a mention to the routes/_app.tsx special file. It would be nice to have it mentioned and explained in the docs.

https://github.com/denoland/fresh/pull/494


Specifying multiple targets in command line does not work as expected.

MSBuild version:
Microsoft (R) Build Engine version 15.1.548.43366

.NET Core Host version:
Microsoft .NET Core Shared Framework Host
Version  : 1.1.0
Build    : 928f77c4bc3f49d892459992fb6e1d5542cb5e86

Following project is using SuppressXunitContent property to control whether the 'build' asset of xunit.runner.visualstudio package will be excluded from build or not. This asset copies some xunit dlls to output directory:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net452</TargetFramework>
  </PropertyGroup>
  <!--
  By default xunit.runner.visualstudio package will copy test adapter
  to output directory via Build asset.
  Use: dotnet msbuild "/t:Restore;Rebuild" /p:SuppressXunitContent=False
  -->
  <ItemGroup Condition="'$(SuppressXunitContent)'=='False'">
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
  </ItemGroup>
  <!--
  This will ignore Build asset from xunit.runner.visualstudio nuget package.
  As a result no xunit files will be copied to output directory.
  Use: dotnet msbuild "/t:Restore;Rebuild" /p:SuppressXunitContent=True
  -->
  <ItemGroup Condition="'$(SuppressXunitContent)'=='True'">
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" ExcludeAssets="Build" />
  </ItemGroup>
</Project>

Steps to reproduce:

In a fresh project directory run dotnet msbuild "/t:Restore;Rebuild" /p:SuppressXunitContent=False.
Expected behavior: xunit dll files are copied to output directory.
Actual behavior: :exclamation:no dll files are copied.
dotnet msbuild "/t:Rebuild" /p:SuppressXunitContent=False.
Expected behavior: xunit dll files are copied to output directory.
Actual behavior: as expected.
Run dotnet msbuild "/t:Restore;Rebuild" /p:SuppressXunitContent=True in a project directory.
Expected behavior: xunit dll files were removed from output directory.
Actual behavior: :exclamation:dll files are still in the output directory.
dotnet msbuild "/t:Rebuild" /p:SuppressXunitContent=True.
Expected behavior: xunit dll files are removed from output directory.
Actual behavior: as expected.

The problem occurs when both targets are specified in one command. Moving them to separate dotnet msbuild commands works as expected.

Delete out and bin directories then run dotnet msbuild "/t:Restore" /p:SuppressXunitContent=False followed by dotnet msbuild "/t:Rebuild" /p:SuppressXunitContent=False
Expected behavior: xunit dll files are copied to output directory.
Actual behavior: as expected.
Run dotnet msbuild "/t:Restore" /p:SuppressXunitContent=True followed by dotnet msbuild "/t:Rebuild" /p:SuppressXunitContent=True
Expected behavior: xunit dll files are removed from output directory.
Actual behavior: as expected.

If you're only seeing this with the Rebuild target, it's because of #1065, fixed by #1665 for a future update release. Separating the invocations is the best workaround for now.

Also and totally unrelatedly: personally, I'd replace
  <!--
  By default xunit.runner.visualstudio package will copy test adapter
  to output directory via Build asset.
  Use: dotnet msbuild "/t:Restore;Rebuild" /p:SuppressXunitContent=False
  -->
  <ItemGroup Condition="'$(SuppressXunitContent)'=='False'">
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
  </ItemGroup>
  <!--
  This will ignore Build asset from xunit.runner.visualstudio nuget package.
  As a result no xunit files will be copied to output directory.
  Use: dotnet msbuild "/t:Restore;Rebuild" /p:SuppressXunitContent=True
  -->
  <ItemGroup Condition="'$(SuppressXunitContent)'=='True'">
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" ExcludeAssets="Build" />
  </ItemGroup>

with the equivalent-but-much-shorter
  <ItemGroup>
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0">
      <!-- Avoid copying xunit files to the output directory when called with
           dotnet msbuild "/t:Restore;Rebuild" /p:SuppressXunitContent=True -->
      <ExcludeAssets Condition="'$(SuppressXunitContent)'=='True'">Build</ExcludeAssets>
    </PackageReference>
  </ItemGroup>

@rainersigwald Thanks for the hint. Making ExcludeAssets an element simplifies a lot.
And regarding your previous comment:

If you're only seeing this with the Rebuild target, it's because of #1065, fixed by #1665 for a future update release.

I have checked Build i.e. Restore;Build. It does not work either. Is this the same problem already addressed by #1665?


sync user vscode settings,extensions

i want to sync my vscode settings and extensions to my microsoft account,so i can easy use vscode in the same way on different computer;

Duplicate of https://github.com/Microsoft/vscode/issues/2743


Add support for geo_bounding_box query.

As titled. Includes code-gen for multi-item unions to support geo types.

Test failure in actions seems unrelated.


Added CLAHE Transform

Thanks for the PR @diegovincent ! Is there any option for us to use CLAHE from scikit-image instead of OpenCV ? I'm afraid of adding opencv dependency only for a single function.

We (@vipermu and me) thought the same Mr. @perone. However, at the same time isn't OpenCV useful for the framework itself? We are going to add some other functions for a Cardiac Segmentation project we are currently working on. But we also agree in using scikit-image.

Besides, scikit-image is not in the project requirements either. I guess your suggestion is because scikit-image is lighter than OpenCV?

Yes, scikit-image is lighter than OpenCV. Are you going to depend on OpenCV for other functions in future ? If yes then it's ok for me.

We will try to stick to scikit-image for now, if we then depend on a function that is OpenCV exclusive we will use it. We agreed with your suggestion :)
Check it out now.

Thanks @diegovincent and @vipermu !


Option to disable source highlighting

How do I disable source highlighting for code blocks?

It wrongly assumes // in http://xyz as comment marker
There is strange highlighting on 2nd line

you can disable it or just set the language, this might be your problem
for a list of supported languages see the code prettify faq
but if you really want to disable to disable code highlighting (thru code prettify) you can:
if using the <bootmark> element add the html attribute and set it equal to an object with prettify set to false
<bootmark html="{ prettify: false }">
markdown here
</bootmark>

if using any element just add data-
<div class="bootmark" data-html="{ prettify: false }">
markdown here
</div>

or use global config options
$.fn.bootmark.options = {
  prettify: false
};

this is all mentioned in the docs and the examples

The docs page looked like lot of code, so I overlooked it.
Anyway, prettify: false worked, thanks a lot!


Error: Export historical events not found for plugin

I've installed the plugin into my hosted posthog instance. After enabling and configuring of the plugin i've alway get the Error: "Task "Export historical events" not found for plugin "Migrator 3000 (Beta)" with config id [object Object]".
Is there any solution for this problem? Thanks in advance!

What deployment option do you have: hobby? AWS? DigitaOcean? GCP?
What version of PostHog are you using on your self-hosted instance?
Are you running on master by any chance, if so we did turn export historical events off for a brief period over the weekend and you could be on one of those commits, but it has been turned on again now. We suggest using release tags for the Posthog version you're using.

Hi @tiina303, the instance is hosted by Posthog: https://posthog.com/. So i've did not selfhost anything.

@code-constructor could you try again? This was briefly disabled for 48 hours given an issue we found

@yakkomajuri yes it works. Thanks a lot!


Bluetooth: removing temporary array initialization

action: making macro C++ compatible

This cannot work, since you're changing from a reference to a direct value (as you can also see from the CI build failure). These macros were already once changed to be C++ compatible with #24829 , so I'm wondering what's different now. One thing worth noting: it's not mandatory to use this macro in your app - it's perfectly fine to define your own variable and pass a reference to it to the API.

I got it as for me I get this error:
error: conversion from 'bt_le_adv_param [1]' to non-scalar type 'const bt_le_adv_param' requested
in my C++ app. I will try to define my own variable instead of using those magic macros. Thank you for the hint!


chrootenv: filter default.nix from src

Motivation for this change
Minimize diff caused by linting Nixpkgs with a formatter
Things done
used filterSource (perhaps should be path? no difference in this case?) to remove default.nix from src.

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/the-uncompromising-nix-code-formatter/17385/6


var is not really a type

use quotation mark around "type"

Strictly speaking var is not a type, it's a syntactic sugar. "Implicitly typed local variables" article use quotation marks to point that out, which is correct.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Carriage returns in file names cause corrupted verbose output

Output of restic version
restic 0.15.0 compiled with go1.19.5 on darwin/arm64
How did you run restic exactly?
export RESTIC_PASSWORD_COMMAND='security find-generic-password -a (redacted) -s (redacted) -w';
export GOOGLE_PROJECT_ID='(redacted)';
export GOOGLE_APPLICATION_CREDENTIALS="(redacted)";
export RESTIC_REPOSITORY='gs:(redacted):/';

caffeinate -i restic -v -v backup "$HOME"

What backend/server/service did you use to store the repository?
GCP Coldline storage
Expected behavior
If a filename contains a carriage return, it should be sanitized before printing to the terminal.
Actual behavior
When backing up file names containing carriage returns, the verbose output gets corrupted because the carriage returns are output directly to the terminal, sending the following output to the beginning of the lines. Here's a a real example. Dunno why, but I have a folder whos name contains a carriage return character: Linux Admin Security Guide<CR>. The verbose output prints like:
/servers/, saved in 0.041s (0 B added, 0 B stored, 0 B metadata)in Security Guide
/software/, saved in 0.002s (0 B added, 0 B stored, 0 B metadata)n Security Guide
/system/, saved in 0.002s (0 B added, 0 B stored, 0 B metadata)min Security Guide
/users/, saved in 0.002s (0 B added, 0 B stored, 0 B metadata)dmin Security Guide
/viruses/, saved in 0.002s (0 B added, 0 B stored, 0 B metadata)in Security Guide
/vpn/, saved in 0.001s (0 B added, 0 B stored, 0 B metadata) Admin Security Guide
/, saved in 0.120s (0 B added, 0 B stored, 0 B metadata)inux Admin Security Guide
modified  /Users/q/Bibliotheque/technology/Unix/_books/Linux Admin survival guide/, saved in 0.020s (0 B added, 0 B stored, 0 B metadata)
modified  /Users/q/Bibliotheque/technology/Unix/_books/Linux From Scratch/, saved in 0.118s (0 B added, 0 B stored, 0 B metadata)

These first seven lines should appear more like:
modified  /Users/q/Bibliotheque/technology/Unix/_books/Linux Admin Security Guide/servers/, saved in 0.1s (0 B added, 0 B stored, 0 B metadata)
…

Steps to reproduce the behavior

Add a carriage return to a filename
Run restic backup with verbose output enabled.

Do you have any idea what may have caused this?
Special characters in file names are printed as-is to the terminal.
Do you have an idea how to solve the issue?
Special characters in file names should be sanitized before printing to the terminal.
Did restic help you today? Did it make you happy in any way?
Restic is awesome. Thanks!

Is it not better to fix the actual shenanigans in your filenames instead of showing them under the carpet? If restic silently sanitizes CR you will keep having bad filenames ;)

You can't expect users to change the data they're going to back up to suit the backup program. That goes against the idea of backups.

You can't expect users to change the data they're going to back up to suit the backup program.

Thanks, but you seem to have completely misread what I wrote. I never suggested that users change their data to suit the backup program.
I asked them if they wouldn't think that fixing the actual root cause of the problem is a good idea, instead of just hiding the problem. Simply because fixing things instead of hiding things is generally a good idea.

That goes against the idea of backups.

The idea of backups is to back data up, and this is exactly what restic does regardless of whether there's a CR in the filename or not.

I also never suggested that we should not clean broken filenames up when printing them.

Alright, misunderstanding on my part. Sorry!

Fixed by #4192


Transparent point representation visible on top of other representations

I currently have an issue where my transparent point representation is visible over the top of other representations.

As you can see in the image above, the transparent points are basically punching a hole into the green representation behind it. I understand NGL doesn't support multi layer transparency which is probably what I'm running into here, but is it possible to just have the point not render at all, but still be pickable?
I'm using the point representation as a reliable way to pick atoms using the line representation, but just want it to be invisible.

I don't think you can pick anything with opacity < 0.3 (https://github.com/arose/ngl/blob/master/src/shader/Point.frag#L36). I haven't tried changing that number?
#569 might fix your problem when it's merged? (it makes it quite a lot easier to pick line representations)

Ah interesting, I definitely have opacity set to 0 but am still able to pick it.
#569 certainly looks promising, at least in the example picking the line representation is much easier. Will probably hold out for this as it is much cleaner than using a hidden representation for it.


Filter renovate-bot

Please filter the @renovate-bot from the contributors. Or add a configuration option to configure usernames to exclude (there might be a lot more bot out there).

Hi @erikaheidi, please excude my late reply. The last months where crazy and I couldn't invest much time in my open source projects. Today I configured the CONTRIB_IGNORE environment variable and it worked. Thank you very much for implementing this feature!


Sound quality for 'First Steps With Data Frames' video makes it very difficult to endure

About  3000 people have started this video: First Steps With Data Frames (2/6)
The audience was 1,519 for the third video. I'm postulating half of the audience dropped out because of a combination of poor sound quality, and errors in the automatic set-up.
I have English as a first language, and I expect many of the audience have English as a second language. If I'm struggling to follow the audio track, then people with English second with find it very difficult.
The DataFrames package is very nicely put together - thanks!

poor sound quality

This is an outdated video. Please check https://www.youtube.com/watch?v=OCCkbUL_x_c (and this one is linked in JuliaAcademy).
How did you find the previous video?

and errors in the automatic set-up.

Could you please elaborate more on this? Does following the instructions in https://www.youtube.com/watch?v=aRR_xfQiqdc fail?
Thank you!

I found the old tutorial by searching with Google for `julialang DataFrames tutorial'. The new tutorial is very good. Thank-you for your efforts!


[Feature Request] Local GPU with Gradio

Is your feature request related to a problem? Please describe.
Currently we need to use Huggingface, but I would love to use my own GPU
Describe the solution you'd like
A way of locally using Outpainting.
Describe alternatives you've considered
Not applicable I believe
Additional context
Being held by Huggingface is not that great
Thanks for the lib! It's amazing.

Hi, this repo can be deployed locally. It's different from the one on the huggingface space.


Add GitHub Issue Button to docs pages

Hi there!
I made a dropdown button for GitHub Pages sites called the GitHub Issue Button.
Are you interested in replacing your basic "View on GitHub" button with my custom button?
If yes, then I can start a PR.
https://github.com/techboyg5/php-scripts/blob/master/gh-issue-button.md

Cool! But no thanks :).

Cool! But no thanks :).

Why?

We don't need a dependency or script for this button.

We don't need a dependency or script for this button.

Got it!


Noted that 'id' MUST be called 'id' in http.get

I signed it!

I guess what he meant should be "We should be able to use other property as the primary key to find the item from the list, not necessarily the id , e.g. {userId: 1, name: 'abc'}" . This is the case in some legacy systems.

Ah ... I see. Yes, at the moment the library assumes that every collection has a primary key called id.  Might make that configurable in future but it isn't a priority for now.
I've updated the README.md in PR #130 to call out this limitation. I'll be merging that PR as soon as I finish it which I hope I will do this week.
I think my text is a bit more accurate than yours. Therefore, I'm closing this PR. Thanks for calling it out!


add support for TRADFRI bulb E27 WW 806lm

Hello,
I have an issue with this bulb.
All others ikea and philips work well.
device succefully addes to domoticz but link remain to 0 and nothing append when i push button in domoticz
Thank you for your work

Do you see any log in Domoticz or zigbee2mqtt console?

tkanks for reply.
Domoticz nothing special in log
Zigbee2mqtt :
debug 2020-01-14 13:30:41: Publishing 'set' 'state' to 'chaufferie_1'
debug 2020-01-14 13:30:46: Received Zigbee message from 'routeur_3', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from e$
info  2020-01-14 13:30:46: MQTT publish: topic 'zigbee2mqtt/routeur_3', payload '{"state":true,"linkquality":107,"led_state":true}'
error 2020-01-14 13:30:56: Publish 'set' 'state' to 'chaufferie_1' failed: 'Error: Timeout - 6501 - 1 - 192 - 6 - 11 after 15000ms'
debug 2020-01-14 13:30:56: Error: Timeout - 6501 - 1 - 192 - 6 - 11 after 15000ms
at Timeout.object.timer.setTimeout [as _onTimeout] (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/utils/waitress.js:44:24)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
info  2020-01-14 13:30:56: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"zigbee_publish_error","message":"Publish 'set' $
debug 2020-01-14 13:30:56: Saving state to file /opt/zigbee2mqtt/data/state.json

sorry for bad paste :
error 2020-01-14 14:01:15: Publish 'set' 'state' to 'chaufferie_1' failed: 'Error: Timeout - 6501 - 1 - 193 - 6 - 11 after 15000ms'
debug 2020-01-14 14:01:15: Error: Timeout - 6501 - 1 - 193 - 6 - 11 after 15000ms
at Timeout.object.timer.setTimeout [as _onTimeout] (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/utils/waitress.js:44:24)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
info  2020-01-14 14:01:15: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"zigbee_publish_error","message":"Publish 'set' 'state' to 'chaufferie_1' failed: 'Error: Timeout - 6501 - 1 - 193 - 6 - 11 after 15000ms'","meta":{"friendly_name":"chaufferie_1"}}'


chore: Rewrite tests to AVA

Is your feature request related to a problem? Please describe.
The current tests are good, however, I don't really like the fact, that Mocha depends on global variables (it, describe). Furthermore, Mocha runs tests serially, which is much slower, especially when there are a lot of tests involved.
AVA runs each test in a separate process and therefore takes advantage of multi-core CPUs.
As we maintain over 200 tests, this will likely require a significant amount of work, but I think it's something that we should consider, as it will make maintaining the project easier.
It's also worth mentioning, that we already use AVA in timeout-signal, fetch-blob and fetch-charset-detection.
Describe the solution you'd like

Migrate from Mocha & Chai to AVA.
During the process, try and split the huge, 2000 LOC+ test/main.js file into smaller pieces.

Describe alternatives you've considered
N/A
Additional context

http://zpalexander.com/migrating-from-mocha-to-ava/

This can help us, but this gonna take a lot of time.

Should this be done before v3 or be done in the background slowly?

@NotMoni Tests are not included in releases, so this can be done in the background.

Alright sounds like a plan 🤩

I can pick this up if nobody has started it yet? @xxczaki @NotMoni ?

@curtisjohnson1 I already started it in #833. There is a TODO list, pick something and let me know so that I can update it ;)

Sure you can get started and see how it goes @curtisjohnson1

@xxczaki - Great, assign me to main. I'll make a start on it


Prevent the same animation from being executed twice?

We usually check it in the outer code and I saw it in your demo but what about to build in this check into your code?
For example, look at your demo again please. You can call [self.spinner startAnimating]; for infinite times but will be animated only once. And in the same time if you comment/delete this string and the custom animation will start as many times as you click the screen.

Sorry to take so long to reply. I'm not sure what you mean about the demo project.  Is there some other behavior you're suggesting for the demo?
When you ask about preventing the same animation from being executed twice, do you mean having some way to check if an RZViewAction has been started (and/or completed)? If so, this is something I'd consider adding to the API. If this isn't what you mean, could you clarify the question? Thanks!

You have almost understood me. I asked about not simply checking if the same RZViewAction is already run but about something like the following inside your library:
In .h file:
...
@property (nonatomic, assign) BOOL allowSameSimultaneousAnimations;
@end```

In .m file:
```@implementation UIView (RZViewActions)
...
+ (void)rz_runAction:(RZViewAction *)action
{
    BOOL isSameAnimation = ...; //to check somehow
    if (allowSameSimultaneousAnimations || !isSameAnimation)
        [self rz_runAction:action withCompletion:nil];
}
@end```

And of course by default ```allowSameSimultaneousAnimations == YES```

It looks like you want to be able to prevent the same RZViewAction from being executed simultaneously with itself. I think the use case for this functionality is extremely limited. I say this because a majority of the time RZViewActions will be created on the fly and will not be stored. The only way to compare RZViewActions for equality is pointer comparison because their animation blocks are not comparable. Therefore even if allowSameSimultaneousAnimations == NO, two RZViewActions doing the exact same animation could still execute simultaneously if they were different objects.

What about to add something like NSString *actionID? So usual actions has such id set to nil and you could compare actions with ids. Note animateWithDuration hasn't such id but:
 [UIView beginAnimations:@"ToggleViews" context:nil];

RZViewActions won't be using the semi-deprecated begin/commitAnimations API given that the docs state:
Use of this method is discouraged in iOS 4.0 and later. You should use the block-based animation methods to specify your animations instead.

The block-based UIView animation system has no way to specify a key or ID for animations, as you noted. Given this, it would be quite difficult to associate animations with an ID and prevent ones with the same ID from executing simultaneously without managing animation state globally. I think there would have to be a pretty compelling use case to make such a large change.

Ok, if it is difficult then let leave it


AddTrack in Background not working on 13.5.1

Describe the bug
I have an event listener listening on remoteSkip and then executing: TrackPlayer.reset(); TrackPlayer.add(...); TrackPlayer.play();
On iOS 13.3 it works and plays the other track, on iOS 13.5.1 the player turns straight off.
Environment (please complete the following information):
System:
OS: Windows 10 10.0.18362
CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Memory: 2.42 GB / 7.88 GB
Binaries:
Node: 10.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.21.1 - C:\Users\frank\AppData\Roaming\npm\yarn.CMD
npm: 6.9.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version  <IP_ADDRESS> AI-191.8<IP_ADDRESS>00203
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
What react-native-track-player version are you using? 2.0.0-rc12
Real devices one on 13.3 and one on 13.5.1

I am also experiencing a similar issue on iOS where the reset() call in the background is disabling the player.  My app is using version 1.2.3.  I am not clear if the bug is iOS Version specific but I will be doing a deeper investigation into root cause this week and will update this thread.

@melodymorgan have you found out anything?

Using version 1.2.3, I realized that calling TrackPlayer.reset() always kills the player. I listen for playback-queue-ended, and when it's called, I just TrackPlayer.add({media}).then(() => TrackPlayer.play()). Works great on my end!

I haven't tried that but I want to add a song to the queue in background and then, while still playing, skip to the next. So instead of your code: "TrackPlayer.add({media}).then(() => TrackPlayer.play())", I want to do this: TrackPlayer.add({media}).then(() => TrackPlayer.skipToNext()) which is not working. The played gets killed.

Have you tried TrackPlayer.play() first, then skipToNext()?

I have a workaround now, but sometimes it does not work. I want TrackPlayer.reset(); TrackPlayer.add(...); TrackPlayer.play(); to work again like in a earlier version :(

I have a workaround now, but sometimes it does not work. I want TrackPlayer.reset(); TrackPlayer.add(...); TrackPlayer.play(); to work again like in a earlier version :(


Error occurred

File "/home/code/SHERT/lib/datasets/InpaintEvalDataset.py", line 73, in getitem
displacement = projection_length(sns_vertices - smplx_vertices, smplx_normals)
ValueError: operands could not be broadcast together with shapes (1051,3) (149921,3)
could you provide some tips?

Could you provide some more infomation, e.g. are you using the demo data or your own data. All of the 3 vars should have the same shape (149921, 3), pls check which one is wrong.

@ZhanxyR
yeah I just used the demo data.
Given only the image and predict all inputs with ECON.
python -m apps.quick_demo -e image

Please check the 3 vars (sns_vertices, smplx_vertices, smplx_normals).
And check the SNS result in demo_*/results to see if it looks good or weird.
Which version of Open3D do you use.

I also had this problem, but I fixed it after reinstalling open3d==0.10.0
pip install open3d==0.10.0


Cannot store expression or function calls in function arguements

i.e.
foo((i+j), Mth::arcang(6, 50))

does not compile. TP does not support such functionality.
TP+ should support it, and interpret to:
: local := R[1..2];
: local1 = i + j ;
: Mth_arcang(6, 50, 2) ;
: CALL FOO(local1, local2);

#3 needs to be implemented before this can be addressed.

should be added in 4ef15397102a26ec98a9d00125fc8cbad0736aa6


update material to alpha.6

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
dependency update

What is the current behavior? (You can also link to an open issue here)
material2 branch currently uses a version 2.0.0-alpha.5-2

What is the new behavior (if this is a feature change)?
angular2-material dependencies updated to version 2.0.0-alpha.6

Other information:
version 2.0.0-alpha.6 released today
https://github.com/angular/material2/releases/tag/2.0.0-alpha.6

thanks!


404 when trying to test whoami service

I've installed the helm release with the values below.
logs:
  general:
    level: INFO
  access:
    enabled: true
ports:
  websecure:
    tls:
      enabled: true

additionalArguments:
  - "--certificatesresolvers.letsencrypt.acme.email=EMAIL"
  - "--certificatesresolvers.letsencrypt.acme.storage=/data/acme.json"
  - "--certificatesresolvers.letsencrypt.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directorys"
  - "--certificatesResolvers.letsencrypt.acme.dnschallenge=true"
  - "--certificatesResolvers.letsencrypt.acme.dnschallenge.provider=cloudflare"
  - "--api.insecure=true"

env:
  - name: CF_DNS_API_TOKEN
    valueFrom:
      secretKeyRef:
        name: cloudflare
        key: dns-token

ingress route
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: ingressroutetls
  namespace: default
spec:
  entryPoints:
    - websecure
  routes:
  - match: Host(`whoami.custom.domain`)
    kind: Rule
    services:
    - name: whoami
      port: 80
  tls:
    certResolver: letsencrypt

I am able to curl whoami from a container running on my cluster and it works fine, however attempting to hit whoami.custom.domain from outside of the cluster returns a 404 page not found error. I can even see the requests in the traefik logs, it just never hits the whoami service. What am I doing wrong here?

Your IngressRoute is only attached to the websecure entrypoint, so you need to hit https://whoami.custom.domain;-)
As this is a question, I close that issue :)

@SantoDE that actually didn't work for me, I was trying that already. I did however get it working by adding an additional web ingress route. This got things working for me and now it's working like a dream!


2023-07 Artifact Maintenance

Release Note Category

[x] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
Regular update for 2023-07 Artifact Maintenance.

Here is the task in Azure: https://dnceng.visualstudio.com/internal/_workitems/edit/5228


Respond to https://hypothes.is/a/yI1k8l6KEeq-VGO_FPT2Mw

Respond to hypothes.is annotation yI1k8l6KEeq-VGO_FPT2Mw on https://jrnold.github.io/r4ds-exercise-solutions/tidy-data.html (user<EMAIL_ADDRESS>created: 2020-03-05T02:41:15.039579+00:00, updated: 2020-03-05T02:41:15.039579+00:00)

Shouldn't we update this functions to the newer pivor_longer and pivot_wider? (check ?gather, and also https://r4ds.had.co.nz/tidy-data.html#exercises-24 )

Link: https://hyp.is/yI1k8l6KEeq-VGO_FPT2Mw/jrnold.github.io/r4ds-exercise-solutions/tidy-data.html

Already fixed.


rosidl_typesupport_c errors when building main branch from source

Before proceeding, is there an existing issue or discussion for this?

[X] I have done a search for similar issues and discussions.

Description
I am on ubuntu 22.04 using ros2 humble. Initially I installed binary version of open rmf but saw that easy_fleet is only available in main branch so i decided to build from source. I uninstalled the binaries and building rmf is successful without errors but when launching any demos i get:
[fleet_adapter-16]     return importlib.import_module(module_name, package=pkg_name)
[fleet_adapter-16]   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
[fleet_adapter-16]     return _bootstrap._gcd_import(name[level:], package, level)
[fleet_adapter-16]   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
[fleet_adapter-16]   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
[fleet_adapter-16]   File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
[fleet_adapter-16] ModuleNotFoundError: No module named 'rmf_fleet_msgs.rmf_fleet_msgs_s__rosidl_typesupport_c'

[building_map_server-3] Traceback (most recent call last):
[building_map_server-3]   File "/opt/ros/humble/local/lib/python3.10/dist-packages/rosidl_generator_py/import_type_support_impl.py", line 46, in import_type_support
[building_map_server-3]     return importlib.import_module(module_name, package=pkg_name)
[building_map_server-3]   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
[building_map_server-3]     return _bootstrap._gcd_import(name[level:], package, level)
[building_map_server-3]   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
[building_map_server-3]   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
[building_map_server-3]   File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
[building_map_server-3] ModuleNotFoundError: No module named 'rmf_building_map_msgs.rmf_building_map_msgs_s__rosidl_typesupport_c'

Are you running
$ source install/setup.bash

in your colcon workspace, like the demo here, before you run your fleet adapter? If the colcon workspace isn't sourced then the linker won't be able to find those libraries.
If that's not the problem then I think it's likely that you don't have a clean build. My best guess is that you have some cmake caches that are linking against compiled RMF message libraries that were in /opt/ros/humble/lib but which were removed when you uninstalled the RMF binaries.
I recommend running $ rm -rf build install in your colcon workspace directory and then rerunning colcon.

I totally uninstalled everything and retried with ros2 iron. Still no luck. But it's definitely some issue with my system because otherwise everything looks fine on another system which has fresh ubuntu Installed.
Not sure why it's behaving like that.

Found the issue. I inspected the generated .so files for msgs package and strangely they had python-36m in their name while my default python version is 3.10. I uninstalled python 3.6 and everything seems to work now.


Update memory reservations in CFN template

Starting point towards resolving #413.

@2opremio PTAL, this is supposed to be trivial, I'd like to merge it before adding more changes.

LGTM, but I'd rather get someone when knowledge on what you are removing to sign-off. @philwinder  for instance?

Well, looks like CFN doesn't support MemoryReservation. I will take a look, but it's probably the question of API updates, as usual...


screen share problem

Hi everyone, At this moment I am facing a problem with WebRtc (https://rtcmulticonnection.herokuapp.com/demos/screen-sharing.html) .
The problem is that when i try to share my screen that time it share my screen but this way( https://drive.google.com/file/d/1-fbnDa3tf2jPQ5if_ALgk09cOzzOZ_Y2/view ).
Now i have to show one screen, not multi-screen this way

It isn't a bug. You're viewing your own screen yourselves.
Please follow these steps:

Open a room and share your screen
Join that room from another device or system

Other device will see your screen without any cascading or duplicate issues.


Add Ectofuntus claim to daily alert

Add the Morytania Hard/Elite diary reward of claiming free crushed bones/slime to the daily tracker.

Duplicate of #1863


MessageBox: Allow to switch the order of OK and Cancel buttons

Is your feature request related to a problem? Please describe.
While Cancel/Ok order is common in Mac, it is not on Windows. I need to change the ordering of the buttons without overriding the whole footer.
Describe the solution you'd like
A prop like reverse-buttons or similar which will reverse their order on the footer.
Describe alternatives you've considered
Override the footer.
Additional context
None.

Thanks!!


Warning: Undefined array key

It's only been showing me these errors for a few days now. (2x the same one).
Warning: Undefined array key "__key" in /var/www/html/web/app/plugins/whatwedo-acf-cleaner/class/class-discovery.php on line 89
Warning: Undefined array key "__key" in /var/www/html/web/app/plugins/whatwedo-acf-cleaner/class/class-discovery.php on line 89
Thank you for all your hard work!

This is a duplicate of #3.
If I remember correctly I already solved this issue. Just wondering why the ticket is still open. Are you on the most recent version of the plugin (1.2.2)?


1.6.0 Workbench issue - workaround not quite working

Hi Waldek,
I was reading a thread elsewhere yesterday about this, but I seem to have lost it, so now I'm posting here. I was unable to solve the workbench issue for 1.6.0 using the documentation. Like some others, I tried the 1.5.0 workaround, and was able to get to the workbench via the full URL.
I'm experiencing a strange issue though. I manage to get to the workbench via https://localhost:4321/temp/workbench.html, but the page shows up completely empty. It navigates to workbench, the tab gets a title and favicon etc, but the workbench simply doesn't render. I just spun up the same project in a VM where I have the framework tools globally installed, and it served to the workbench just fine.
I wonder if you've seen anything like this before.

When the workbench loads with an empty page, do you get any errors in the console or on the network tab in the browser's dev tools?

Looks like there are a few errors in the console. It doesn't seem to be able to load files from @microsoft/sp-webpart-workbench and @microsoft/sp-loader

I tried running an npm install on those packages and I get this

Have you tried navigating to these URLs in the browser?

Also, to double check, are you executing gulp serve or gulp serve --nobrowser? There is a known issue that causes some packages not to be copied when using the --nobrowser switch.

Seems to be related to https://github.com/SharePoint/sp-dev-docs/issues/2501
I saw some of the above issues when I didn't open the workbench through https://localhost:5432/workbench but used https://localhost:4321/temp/workbench.html

I'm running Windows 10 1803 (April 2018 update) build 17134

It turns out that the problem has to do with the difference in Windows and Docker and how they deal with <IP_ADDRESS>.
A temporary workaround for v1.6.0:
In config\write-manifests.json, add "debugBasePath": "https://localhost:4321/":
{
  "$schema": "https://developer.microsoft.com/json-schemas/spfx-build/write-manifests.schema.json",
  "cdnBasePath": "<!-- PATH TO CDN -->",
  "debugBasePath": "https://localhost:4321/"
}

In<EMAIL_ADDRESS>change lines 83-85 from:
spBuildCoreTasks.writeManifests.mergeConfig({
  debugBasePath: `${serve.taskConfig.https ? 'https' : 'http'}://${serve.taskConfig.hostname}:${serve.taskConfig.port}/`
});

to:
if (!spBuildCoreTasks.writeManifests.taskConfig.debugBasePath) {
  spBuildCoreTasks.writeManifests.mergeConfig({
    debugBasePath: `${serve.taskConfig.https ? 'https' : 'http'}://${serve.taskConfig.hostname}:${serve.taskConfig.port}/`
  });
}

With these changes, by following the regular instructions (in config\serve.json adding "hostname:" "<IP_ADDRESS>") you should be able to have a functional workbench.
I'll report the bug to Microsoft and hopefully it will be fixed in the futures of SPFx.

Hi Waldek,
Thanks for looking into this. I'm still not able to get the workbench working. I get these errors from 5432/workbench:

and these errors from 4321/temp/workbench.html:

At first I was getting an error from Node during gulp serve that @microsoft/sp-webpart-workbench wasn't installed, so I installed it via npm, which has gotten me to this point.
When I try to load the workbench in SharePoint (/_layouts/15/workbench.aspx), I actually see my web part, but I get these errors when I try to add them to the page.

How about you try to clear everything and try from scratch:

run gulp clean
delete node_modules
run npm install
run gulp serve
Can you still repro the issue?

I also still have issues, so I'll write down all my scenario's.
Starting from scratch, running gulp serve

This error shows in Gulp console (probably normal, since it's docker container without app)
(node:20) UnhandledPromiseRejectionWarning: Error: Exited with code 3   at ChildProcess.cp.once.code (/usr/app/spfx/node_modules/opn/index.js:84:13)   at Object.onceWrapper (events.js:317:30)   at emitTwo (events.js:126:13)   at ChildProcess.emit (events.js:214:7)   at maybeClose (internal/child_process.js:925:16)   at Socket.stream.socket.on (internal/child_process.js:346:11)   at emitOne (events.js:116:13)   at Socket.emit (events.js:211:7)   at Pipe._handle.close [as _onclose] (net.js:557:12) (node:20) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:20) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Open with https://localhost:5432/workbench, get redirected and this error shows in Edge dev console

Multiple refreshes of https://localhost:4321/temp/workbench.html, sometimes it works correctly and sometimes this error shows in Edge console:

In that case, Gulp console shows this:
Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>Online workbench never has an issue

Stopping previous serve and running gulp serve again

Showing the same error for UnhandledPromiseRejectionWarning
Accessing https://localhost:5432/workbench shows this in the browser (NOT the dev console):
Error: ENOENT: no such file or directory, symlink '/usr/app/spfx/node_modules/@microsoft/sp-webpart-workbench' -> '/usr/app/spfx/temp/workbench-packages/@microsoft_sp-webpart-workbench'   at Object.fs.symlinkSync (fs.js:1014:18)   at WorkbenchPage._getUrlForPackagePath (/usr/app/spfx/node_modules/@microsoft/sp-webpart-workbench/lib/api/WorkbenchPage.js:166:17)   at WorkbenchPage._generateWorkbenchPageContent (/usr/app/spfx/node_modules/@microsoft/sp-webpart-workbench/lib/api/WorkbenchPage.js:33:39)   at WorkbenchPage.handleWorkbenchRequest (/usr/app/spfx/node_modules/@microsoft/sp-webpart-workbench/lib/api/WorkbenchPage.js:25:51)   at Layer.handle [as handle_request] (/usr/app/spfx/node_modules/express/lib/router/layer.js:95:5)   at next (/usr/app/spfx/node_modules/express/lib/router/route.js:137:13)   at Route.dispatch (/usr/app/spfx/node_modules/express/lib/router/route.js:112:3)   at Layer.handle [as handle_request] (/usr/app/spfx/node_modules/express/lib/router/layer.js:95:5)   at /usr/app/spfx/node_modules/express/lib/router/index.js:281:22   at Function.process_params (/usr/app/spfx/node_modules/express/lib/router/index.js:335:12)   at next (/usr/app/spfx/node_modules/express/lib/router/index.js:275:10)   at _setJSONResponseContentTypeMiddleware (/usr/app/spfx/node_modules/@microsoft/gulp-core-build-serve/lib/ServeTask.js:120:9)   at Layer.handle [as handle_request] (/usr/app/spfx/node_modules/express/lib/router/layer.js:95:5)   at trim_prefix (/usr/app/spfx/node_modules/express/lib/router/index.js:317:13)   at /usr/app/spfx/node_modules/express/lib/router/index.js:284:7   at Function.process_params (/usr/app/spfx/node_modules/express/lib/router/index.js:335:12)
/temp folder only has the folders @microsoft_sp-loader and @microsoft_sp-webpart-workbench (not react and react-dom). They show up as files in Windows and as folders in Docker. Moving into those folders in Docker, results in the following error:
bash: cd: @microsoft_sp-webpart-workbench: No such file or directory
Online workbench never has an issue

At this point I'm thinking: stuff doesn't get cleared correctly when stopping gulp serve so on a new serve it cannot copy the packages into the temp folder correctly. So gulp clean!
Stopping previous serve and running gulp clean

Gulp console return following error:
[18:35:53] Error - 'clean' sub task errored after 70 ms ENOTEMPTY: directory not empty, rmdir '/usr/app/spfx/temp/workbench-packages' [18:35:53] 'clean' errored after 73 ms [18:35:53] [18:35:53] ==================[ Finished ]================== Error - 'clean' sub task errored after 70 ms ENOTEMPTY: directory not empty, rmdir '/usr/app/spfx/temp/workbench-packages'
Manual deletion in Windows, following error:
Folder access denied, you need permissions to delete this folder
Manual deletion in Docker image, following error:
spfx@spfx:/usr/app/spfx/temp$ rm -r workbench-packages/ rm: cannot remove 'workbench-packages/@microsoft_sp-loader': No such file or directory rm: cannot remove 'workbench-packages/@microsoft_sp-webpart-workbench': No such file or directory rm: cannot remove 'workbench-packages/': Directory not empty
Go figure...

Stopping Docker

temp directory gets cleaned automatically...
Run gulp serve, start at the beginning of this post again...

Starting from scratch, running gulp serve --nobrowser

Obviously the error of UnhandledPromiseRejectionWarning doesn't show
Everything else is similar as the Starting from scratch, running gulp serve edition
Redoing the other steps with --nobrowser makes no difference
Online workbench has no issues

With the Online workbench, atleast I can do Docker and start developing. I hope you can find a fix for the local workbench, but I would totally understand if you let it pass.

One thing at a time:

(node:20) UnhandledPromiseRejectionWarning: Error: Exited with code 3 at ChildProcess.cp.once.code (/usr/app/spfx/node_modules/opn/index.js:84:13)

As you suspect, this is caused because gulp is running in docker and there is no app to use to open a webpage. This can be ignored.

...random errors

I've seen the same, where at some point it starts working. So far I was unable to find the reason for this behavior.

stuck in temp

I've also noticed this one and came to the same conclusion as you have: stop Docker, file disappears, restart Docker, run gulp serve, start from the beginning
I can spend some more time to see if I can find out anything more about why it's behaving the way it is. One thing I hope for, is that it's not something else altogether related specifically to Docker for Windows, which would make solving the issue much harder.
Let's keep this issue open for future reference and thanks for helping out with the research

I’m blaming Docker for Windows, so I’m totally ok for leaving it as it is. Tried creating a Windows Server Nano image with SPFx, ran into other Docker for Windows issues so I’m sure this product has issues...

Getting error "EADDRINUSE" while running "gulp serve". Any suggestions to fix this?
$ gulp serve
Build target: DEBUG
[18:12:19] Using gulpfile /usr/app/spfx/gulpfile.js
[18:12:19] Starting gulp
[18:12:19] Starting 'serve'...
[18:12:19] Starting subtask 'configure-sp-build-rig'...
[18:12:19] Finished subtask 'configure-sp-build-rig' after 51 ms
[18:12:19] Starting subtask 'spfx-serve'...
[18:12:19] [spfx-serve] To load your scripts, use this query string: ?debug=true&noredir=true&debugManifestsFile=https://<IP_ADDRESS>:4321/temp/manifests.js
[18:12:22] Starting server...
Starting api server on port 5432.
Registring api: /workbench
Registring api: /
[18:12:26] Finished subtask 'spfx-serve' after 7.78 s
[18:12:26] Starting subtask 'pre-copy'...
[18:12:27] Finished subtask 'pre-copy' after 676 ms
[18:12:27] Starting subtask 'copy-static-assets'...
[18:12:27] Starting subtask 'sass'...
{ Error: listen EADDRINUSE: address already in use :::5432
at Server.setupListenHandle [as _listen2] (net.js:1280:14)
at listenInCluster (net.js:1328:12)
at Server.listen (net.js:1415:7)
at SpfxServeTask.executeTask (/usr/app/spfx/node_modules/@microsoft/gulp-core-build-serve/lib/ServeTask.js:70:65)
at SpfxServeTask.executeTask (/usr/app/spfx/node_modules/@microsoft/sp-build-core-tasks/lib/spfxServe/SpfxServeTask.js:41:22)
at Promise (/usr/app/spfx/node_modules/@microsoft/gulp-core-build/lib/tasks/GulpTask.js:171:31)
at new Promise ()
at SpfxServeTask.execute (/usr/app/spfx/node_modules/@microsoft/gulp-core-build/lib/tasks/GulpTask.js:163:16)
at _executeTask (/usr/app/spfx/node_modules/@microsoft/gulp-core-build/lib/index.js:356:44)
at output.then (/usr/app/spfx/node_modules/@microsoft/gulp-core-build/lib/index.js:254:44)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '::',
port: 5432 }
[18:12:27] Error - Unknown
listen EADDRINUSE: address already in use :::5432
{ Error: listen EADDRINUSE: address already in use <IP_ADDRESS>:4321
at Server.setupListenHandle [as _listen2] (net.js:1280:14)
at listenInCluster (net.js:1328:12)
at doListen (net.js:1461:7)
at process._tickCallback (internal/process/next_tick.js:63:19)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '<IP_ADDRESS>',
port: 4321 }
[18:12:27] Error - Unknown
listen EADDRINUSE: address already in use <IP_ADDRESS>:4321
[18:12:27] Opening https://localhost:5432/workbench using the default OS app
(node:252) UnhandledPromiseRejectionWarning: Error: Exited with code 3
at ChildProcess.cp.once.code (/usr/app/spfx/node_modules/opn/index.js:84:13)
at Object.onceWrapper (events.js:286:20)
at ChildProcess.emit (events.js:198:13)
at maybeClose (internal/child_process.js:982:16)
at Socket.stream.socket.on (internal/child_process.js:389:11)
at Socket.emit (events.js:198:13)
at Pipe._handle.close (net.js:607:12)
(node:252) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:252) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[18:12:27] Finished subtask 'copy-static-assets' after 278 ms
[18:12:28] ==================[ Finished ]==================
Error - Unknown
listen EADDRINUSE: address already in use :::5432
Error - Unknown
listen EADDRINUSE: address already in use <IP_ADDRESS>:4321
[18:12:28] Finished subtask 'sass' after 1.23 s
[18:12:28] Starting subtask 'tslint'...
[18:12:38] [tslint] tslint version: 5.12.1
[18:12:38] Starting subtask 'tsc'...
[18:12:38] [tsc] typescript version: 3.3.4000
[18:12:38] Project spfx version:0.0.1
[18:12:38] Build tools version:3.12.1
[18:12:38] Node version:v10.18.1
[18:12:38] Total duration:1.55 min
[18:12:38] Task errors:4
[18:12:58] Finished subtask 'tsc' after 21 s
[18:12:59] Finished subtask 'tslint' after 31 s
[18:12:59] Starting subtask 'post-copy'...
[18:12:59] Finished subtask 'post-copy' after 580 μs
[18:12:59] Starting subtask 'collectLocalizedResources'...
[18:12:59] Finished subtask 'collectLocalizedResources' after 7.76 ms
[18:12:59] Starting subtask 'configure-webpack'...
[18:13:08] Finished subtask 'configure-webpack' after 8.55 s
[18:13:08] Starting subtask 'webpack'...
[18:13:32] Finished subtask 'webpack' after 24 s
[18:13:32] Starting subtask 'configure-webpack-external-bundling'...
[18:13:32] Finished subtask 'configure-webpack-external-bundling' after 1.43 ms
[18:13:32] Starting subtask 'copy-assets'...
[18:13:32] Finished subtask 'copy-assets' after 103 ms
[18:13:32] Starting subtask 'write-manifests'...
[18:13:45] Finished subtask 'write-manifests' after 13 s
[18:13:45] Starting subtask 'reload'...
[18:13:45] Finished subtask 'reload' after 1.85 ms

Could it be that there is another process running on port 5432 on your host?

I just ran below command on my system and did not find any process running on 5432 port. any other idea?
netstat -a | findstr 5432

What about 4321?

same with 4321. Didn't find any rpcoess
netstat -a | findstr 4321

Could it be that you have another SPFx docker container running in the background?

Is there still an issue or could we close it?

Closing due to lack of reply


BUG scanning single axis of hkl object does not work as expected

Quick fix, use all three miller indices:
RE(scan(detector_list, diffract.h, hh, hh, diffract.k, kk, kk, diffract.l, ll-.05, ll+0.5, 21) )

RE(scan(detector_list diffract.l, ll-.05, ll+0.5, 21) ) should maintain the values of H and K at the start of the scan.  This works if you start from H and K values used to find the UB metrix.  Offsetting without explicitly requesting H and K should not change results in H and K become what is used in the UB.
I can provide more details if someone wants to reproduce
Expected Behavior
Previously, the single miller indices axis scan worked -  keeping the values of the other two indices just prior to run open.  Maintaining this functionality makes using LivePlot and bec meaningful in an easy way.  This should work for all builtin pre-assembled plans.
patch for bluesky version '1.8.3'
For a 3 axis scan, there are two approaches to perform this scan and get the functionality one needs:

the first axis is used by default so use
RE(scan(dets, tardis.l, ll-.5, ll+.5, tardis.h, hh, hh, tardis.k, kk, kk, 21) )
add explicit metadata to control plotting
RE( scan(dets, tardis.h, hh, hh, tardis.k, kk, kk, tardis.l, ll-.5, ll+.5, 21, hints={'dimensions': [('tardis_l', 'primary')]}) )

Current Behavior
The scan below should have tardis.h, tardis.k = 0.336, 0.344 in LiveTable.  In this case, there was no signal on the detector all.
In [267]: tardis.position
Out[267]: TardisPseudoPos(h=0.33600370916803013, k=0.3444864315991261, l=-0.00031857852855793356)

In [268]: tardis.real_position
Out[268]: TardisRealPos(theta=68.70388389769882, mu=0.0, chi=0.0, phi=0.0, delta=131.100320525261, gamma=2.0245456639999997)

In [269]: hh, kk, ll = tardis.position

In [270]: RE( scan([fccd, tardis],tardis.l, ll-.25, ll+.55, 17, md={'purpose':f'{peak_name}'}))

Transient Scan ID: 156667     Time: 2022-07-07 18:51:39
Persistent Unique Scan ID: '8e3a5169-8cd9-49b4-be7d-c07ba6ea80a6'
New stream: 'baseline'
New stream: 'primary'
+-----------+------------+------------+-------------------+-------------------+------------+------------+--------------+--------------+--------------+
|   seq_num |       time |   tardis_l | fccd_stats1_total | fccd_stats4_total |   tardis_h |   tardis_k | tardis_theta | tardis_delta | tardis_gamma |
+-----------+------------+------------+-------------------+-------------------+------------+------------+--------------+--------------+--------------+
|         1 | 18:52:06.4 |     -0.250 |          12015902 |          74464052 |      0.340 |      0.340 |      79.2978 |     134.3309 |       3.3785 |
|         2 | 18:52:15.3 |     -0.200 |          12462039 |          76981581 |      0.340 |      0.340 |      76.9354 |     133.1501 |       3.3679 |
|         3 | 18:52:24.0 |     -0.150 |          13018123 |          81245299 |      0.340 |      0.340 |      74.6976 |     132.2467 |       3.3573 |
|         4 | 18:52:32.5 |     -0.100 |          13842732 |          86797362 |      0.340 |      0.340 |      72.5817 |     131.6088 |       3.3466 |
|         5 | 18:52:40.7 |     -0.050 |          14566460 |          92733024 |      0.340 |      0.340 |      70.5872 |     131.2281 |       3.3361 |
|         6 | 18:52:48.5 |     -0.000 |          15613909 |         102492166 |      0.340 |      0.340 |      68.7154 |     131.1003 |       3.3255 |
|         7 | 18:52:56.1 |      0.050 |          15244427 |         101926645 |      0.340 |      0.340 |      66.9691 |     131.2238 |       3.3150 |
|         8 | 18:53:03.5 |      0.100 |          14800049 |          97158207 |      0.340 |      0.340 |      65.3527 |     131.6001 |       3.3044 |
|         9 | 18:53:10.7 |      0.150 |          14432488 |          93259294 |      0.340 |      0.340 |      63.8718 |     132.2336 |       3.2937 |
|        10 | 18:53:17.7 |      0.200 |          14396321 |          91433748 |      0.340 |      0.340 |      62.5341 |     133.1322 |       3.2831 |
|        11 | 18:53:24.3 |      0.250 |          14207530 |          89800847 |      0.340 |      0.340 |      61.3487 |     134.3081 |       3.2725 |
|        12 | 18:53:30.6 |      0.300 |          13896814 |          87576387 |      0.340 |      0.340 |      60.3276 |     135.7785 |       3.2619 |
|        13 | 18:53:36.8 |      0.350 |          13969432 |          87747116 |      0.340 |      0.340 |      59.4863 |     137.5684 |       3.2513 |
|        14 | 18:53:43.0 |      0.400 |          13695116 |          85868445 |      0.340 |      0.340 |      58.8453 |     139.7135 |       3.2407 |
|        15 | 18:53:49.7 |      0.450 |          13479003 |          84075178 |      0.340 |      0.340 |      58.4332 |     142.2658 |       3.2301 |
|        16 | 18:53:57.1 |      0.500 |          13175753 |          82009732 |      0.340 |      0.340 |      58.2923 |     145.3054 |       3.2193 |
|        17 | 18:54:05.0 |      0.550 |          13120282 |          81404414 |      0.340 |      0.340 |      58.4901 |     148.9634 |       3.2086 |
+-----------+------------+------------+-------------------+-------------------+------------+------------+--------------+--------------+--------------+
generator scan ['8e3a5169'] (scan num: 156667)
Out[270]: ('8e3a5169-8cd9-49b4-be7d-c07ba6ea80a6',)

Possible Solution
It worked before.  I don't know where in the code things are broken, and it needs an expert to evaluate it.  It could be broken with ophyd, but bluesky seemed like a better first stop for visibility for users to find a temporary solution.
Steps to Reproduce (for bugs)

Define UB and offset gamma by 1.3 degree
Perform similar scan as shown above
I am happy to help test any feature branch with the fix.

Your Environment
RHEL 8 OS
1.8.3 bluesky
1.6.4 ophyd
2.0.0b2 databroker
3.9.12 python

What version of hklpy?
On Fri, Jul 15, 2022, 6:31 PM Andi Barbour @.***> wrote:

Quick fix, use all three miller indices:
RE(scan(detector_list, diffract.h, hh, hh, diffract.k, kk, kk, diffract.l,
ll-.05, ll+0.5, 21) )
RE(scan(detector_list diffract.l, ll-.05, ll+0.5, 21) )` should maintain
the values of H and K at the start of the scan. This works if you start
from H and K values used to find the UB metrix. Offsetting without
explicitly requesting H and K should not change results in H and K become
what is used in the UB.
I can provide more details if someone wants to reproduce
Expected Behavior
Previously, the single miller indices axis scan worked - keeping the
values of the other two indices just prior to run open. Maintaining this
functionality makes using LivePlot and bec meaningful in an easy way.
This should work for all builtin pre-assembled plans.
patch for bluesky version '1.8.3'
For a 3 axis scan, there are two approaches to perform this scan and get
the functionality one needs:

the first axis is used by default so use
RE(scan(dets, tardis.l, ll-.5, ll+.5, tardis.h, hh, hh, tardis.k, kk,
kk, 21) )
add explicit metadata to control plotting
RE( scan(dets, tardis.h, hh, hh, tardis.k, kk, kk, tardis.l, ll-.5,
ll+.5, 21, hints={'dimensions': [('tardis_l', 'primary')]}) )

Current Behavior
The scan below should have tardis.h, tardis.k = 0.336, 0.344 in
LiveTable. In this case, there was no signal on the detector all.
In [267]: tardis.positionOut[267]: TardisPseudoPos(h=0.33600370916803013, k=0.3444864315991261, l=-0.00031857852855793356)
In [268]: tardis.real_positionOut[268]: TardisRealPos(theta=68.70388389769882, mu=0.0, chi=0.0, phi=0.0, delta=131.100320525261, gamma=2.0245456639999997)
In [269]: hh, kk, ll = tardis.position
In [270]: RE( scan([fccd, tardis],tardis.l, ll-.25, ll+.55, 17, md={'purpose':f'{peak_name}'}))
Transient Scan ID: 156667     Time: 2022-07-07 18:51:39Persistent Unique Scan ID: '8e3a5169-8cd9-49b4-be7d-c07ba6ea80a6'New stream: 'baseline'New stream: 'primary'                                                                                +-----------+------------+------------+-------------------+-------------------+------------+------------+--------------+--------------+--------------+|   seq_num |       time |   tardis_l | fccd_stats1_total | fccd_stats4_total |   tardis_h |   tardis_k | tardis_theta | tardis_delta | tardis_gamma |+-----------+------------+------------+-------------------+-------------------+------------+------------+--------------+--------------+--------------+|         1 | 18:52:06.4 |     -0.250 |          12015902 |          74464052 |      0.340 |      0.340 |      79.2978 |     134.3309 |       3.3785 ||         2 | 18:52:15.3 |     -0.200 |          12462039 |          76981581 |      0.340 |      0.340 |      76.9354 |     133.1501 |       3.3679 |          |         3 | 18:52:24.0 |     -0.150 |          13018123 |          81245299 |      0.340 |      0.340 |      74.6976 |     132.2467 |       3.3573 |          |         4 | 18:52:32.5 |     -0.100 |          13842732 |          86797362 |      0.340 |      0.340 |      72.5817 |     131.6088 |       3.3466 |          |         5 | 18:52:40.7 |     -0.050 |          14566460 |          92733024 |      0.340 |      0.340 |      70.5872 |     131.2281 |       3.3361 |          |         6 | 18:52:48.5 |     -0.000 |          15613909 |         102492166 |      0.340 |      0.340 |      68.7154 |     131.1003 |       3.3255 |          |         7 | 18:52:56.1 |      0.050 |          15244427 |         101926645 |      0.340 |      0.340 |      66.9691 |     131.2238 |       3.3150 |          |         8 | 18:53:03.5 |      0.100 |          14800049 |          97158207 |      0.340 |      0.340 |      65.3527 |     131.6001 |       3.3044 |          |         9 | 18:53:10.7 |      0.150 |          14432488 |          93259294 |      0.340 |      0.340 |      63.8718 |     132.2336 |       3.2937 |          |        10 | 18:53:17.7 |      0.200 |          14396321 |          91433748 |      0.340 |      0.340 |      62.5341 |     133.1322 |       3.2831 |          |        11 | 18:53:24.3 |      0.250 |          14207530 |          89800847 |      0.340 |      0.340 |      61.3487 |     134.3081 |       3.2725 |          |        12 | 18:53:30.6 |      0.300 |          13896814 |          87576387 |      0.340 |      0.340 |      60.3276 |     135.7785 |       3.2619 |          |        13 | 18:53:36.8 |      0.350 |          13969432 |          87747116 |      0.340 |      0.340 |      59.4863 |     137.5684 |       3.2513 |          |        14 | 18:53:43.0 |      0.400 |          13695116 |          85868445 |      0.340 |      0.340 |      58.8453 |     139.7135 |       3.2407 |          |        15 | 18:53:49.7 |      0.450 |          13479003 |          84075178 |      0.340 |      0.340 |      58.4332 |     142.2658 |       3.2301 |          |        16 | 18:53:57.1 |      0.500 |          13175753 |          82009732 |      0.340 |      0.340 |      58.2923 |     145.3054 |       3.2193 |          |        17 | 18:54:05.0 |      0.550 |          13120282 |          81404414 |      0.340 |      0.340 |      58.4901 |     148.9634 |       3.2086 |          +-----------+------------+------------+-------------------+-------------------+------------+------------+--------------+--------------+--------------+generator scan ['8e3a5169'] (scan num: 156667)Out[270]: ('8e3a5169-8cd9-49b4-be7d-c07ba6ea80a6',)
Possible Solution
It worked before. I don't know where in the code things are broken, and it
needs an expert to evaluate it. It could be broken with ophyd, but bluesky
seemed like a better first stop for visibility for users to find a
temporary solution.
Steps to Reproduce (for bugs)

Define UB and offset gamma by 1.3 degree
Perform similar scan as shown above
I am happy to help test any feature branch with the fix.

Your Environment
RHEL 8 OS
1.8.3 bluesky
1.6.4 ophyd
2.0.0b2 databroker
3.9.12 python
—
Reply to this email directly, view it on GitHub
https://github.com/bluesky/bluesky/issues/1532, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARMUMEDJFIO7LKGOOOOUYTVUHYF3ANCNFSM53XDG3LQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@prjemian following the (instructions)[https://blueskyproject.io/hklpy/util.html?highlight=version#hkl.util.software_versions] for this exact feature we discussed during the pilot project:
hkl: <IP_ADDRESS>3
hklpy: 1.0.1
I should say that the calculations seem to work perfectly, and that the custom plan the beamline has for EfixedQ is not affected.

I do not see hkl among the project dependencies at the moment, is this issue out of date?
@ambarb

It is defiantly still a problem but we are about 1.5 years behind on the release.  I am upgrading to the latest available versions at NSLS-II this month.
Generally, this is tricky as per @tacaswell , who has fixed it in the past (maybe fixed it twice).  I don't know where in the code Tom made the fix.  hklpy does the correct calculations so I don't think the problem is there.
In the RE, if we explicitly state one or two of the miller indices (H, K, L), then the unstated ones are assumed to have the value of 0.  This is fine if they are exactly 0.
the idea was to have fewer pre-assembled plans since we are treating the miller indices as motors

hklpy is not a dependency of bluesky.  For this purpose, consider a Diffractometer object from hklpy as a very complex ophyd Device.  Some of its Components (such as the Miller indices: $h$, $k$, and $l$) can be considered as positioners from standard bluesky plans.


Extra empty horizontal space in UI on Linux

See images at #1

https://github.com/tauri-apps/tauri/issues/6333


Websocket

#6

Are we ready for a merge?

@kamikazechaser no, you see there are 2 yet unresolved issues with the code (gotta fix them today), and there is no docs at all.


feat: add priyansh agrawal as a mentor

add me as a mentor
Describe the changes you have made in this PR -
Screenshots of the changes (If any) -
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@Prerna-0202 please review

@Prerna-0202 @tachyons please merge


fix: use headers.entries() instead of headers.raw()

Closes #4354

@mjackson the move to raw came from https://github.com/remix-run/remix/pull/241 - do you have context on whether it's safe to switch back?


Using the "Reset to defaults" button in the MathCAT Preferences dialog changes Language to Ελληνικά (el)

Issue:
Using MathCAT 0.3.7, clicking the "Reset to defaults" button in the MathCAT Preferences dialog changed the language to Ελληνικά (el) from the previous setting of English (en).

Desired Effect:
Probably best to switch to the NVDA Language or just leave it alone?

You must have grabbed the Greek build. It doesn't happen in the current build.
In the current build I added a "Use current voice (Auto)" for the language. That is now the default and it goes back to that.


Tabs problem

Interfaces with Tabs could be better if there was a some visual clue that they are tabs. I know the FF theming is limited.

Agreed, any suggestions?

ping @pathumego

Not pretty but works - @pathumego

Hey, looks ok. I tried to figure out a way to add a line inbetween. Not working


Add test for quitting with Ctrl-C

Codecov Report

Merging #15 into master will increase coverage by 1.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
+ Coverage   79.08%   80.17%   +1.09%
==========================================
  Files           7        7
  Lines         368      368
==========================================
+ Hits          291      295       +4
+ Misses         53       50       -3
+ Partials       24       23       -1

Impacted Files
Coverage Δ

gui/keybinds.go
79.02% <0.00%> (+4.94%)
: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 82b2334...d2659de. Read the comment docs.


Wrong modifier

I think it should be initializerERC721A() in https://github.com/chiru-labs/ERC721A-Upgradeable/blob/main/contracts/ERC721AUpgradeable.sol#L96 instead of onlyInitializingERC721A()

It's internal,  we have to write a external/public functions to call it, so there is no problem.


issue on move to right mouse

Hi, I'm Nicolas, I use this plugin on my site, if i move mouse from image to right so I exit from zoom and than I retry to enter on image zoom don't work

Please take a look at https://github.com/i-like-robots/EasyZoom/issues/82, it may be the same problem you're having.


Loading spinner when running editor queries and fetching the schema

A CSS-driven loading spinner when running editor queries and fetching the schema, in case they take a while. Shown in a result window and documentation explorer (since it needs a schema to be rendered).

You should also squash your commits together. You can do that with rebase -i, and then push -f to update the PR


[Question] Possible kelvin conversion issue?

Here, kelvin is being translated back into a percent value for the Sengled API, I believe:
https://github.com/jfarmer08/ha-sengledapi/blob/aa7cca514dba1ea170f1b95ed23902fc7886ecec/custom_components/sengledapi/sengledapi/devices/bulbs/bulb.py#L150-L154
Was the 200 actually supposed to be 2000, as shown here?
https://github.com/jfarmer08/ha-sengledapi/blob/aa7cca514dba1ea170f1b95ed23902fc7886ecec/custom_components/sengledapi/sengledapi/devices/bulbs/bulb.py#L291-L296
I am not a HomeAssistant user, but I am writing a similar plugin for Homebridge. This plugin's code has been tremendously helpful, so I thought I might point this out and see if it was an oversight or by design (in which case I should implement the same).

I seem to be having some color temp issues...

@definitelyokay It has been a while since i looked at this code. To my knowledge I think this is correct, since sengled changes there value around also. I have since moved away from using Home Assistant and started using Homekit. Might be able to help with the cut over.


Issues with compilation, server runs, but does not properly serve the webpage/interface.

Please make sure of the following things.

[X] I have read the documentation.
[ ] 我已阅读 文档。
[X] I'm sure there are no duplicate issues.
[ ] 我确定没有提交和他人重复的issue。
[ ] I'm sure it's due to Spark itself and not my operational issue or something else.
[ ] 我确定问题由Spark自身引起，不是我自己的操作失误或其他问题。

Version / 版本
v0.2.0
Describe the bug / 问题描述
I was able to compile the binaries and build the webpack, but the server does not properly serve the webpage/interface. Maybe it is my mistake, but I wanted to submit it just in case. Thank you
Reproduction / 复现方式
Build from source using provided scripts and node.js. Generate webpack. Connect to local server. 404 error displays in small text at the top left
Logs / 日志
npm run build-prod

><EMAIL_ADDRESS>build-prod
> set NODE_ENV=production | npx webpack --mode production

assets by info 8.56 MiB [immutable]
  assets by status 8.15 MiB [big]
    asset 116.67b5279.js 5.35 MiB [emitted] [immutable] [minimized] [big] (id hint: addon) 1 related asset
    asset 463.160d4c6.js 2 MiB [emitted] [immutable] [minimized] [big] (id hint: antd) 1 related asset
    asset 744.2a7e9a5.js 814 KiB [emitted] [immutable] [minimized] [big] (id hint: vendor) 1 related asset
  asset 454.8a8e2cf.js 200 KiB [emitted] [immutable] [minimized] (id hint: react) 1 related asset
  asset main.0512123.js 127 KiB [emitted] [immutable] [minimized] (name: main)
  asset 453.2ffac06.js 83.6 KiB [emitted] [immutable] [minimized] (id hint: common)
  asset f0e5ea6ae491c36bef3e.svg 7.19 KiB [emitted] [immutable] [from: src/static/bg.svg] (auxiliary name: main)
  asset runtime~main.8126e00.js 2.01 KiB [emitted] [immutable] [minimized] (name: runtime~main)
asset ace.js 360 KiB [emitted] [from: public/ace.js] [copied] [minimized] [big] 1 related asset
asset ext-modelist.js 4.56 KiB [emitted] [from: public/ext-modelist.js] [copied] [minimized]
asset index.html 771 bytes [emitted]
Entrypoint main [big] 8.55 MiB (7.19 KiB) = 7 assets 1 auxiliary asset
orphan modules 5.38 MiB [orphan] 2915 modules
runtime modules 4.91 KiB 11 modules
built modules 12 MiB (javascript) 7.19 KiB (asset) [built]
  modules by path ./node_modules/ 11.8 MiB
    cacheable modules 11.8 MiB 966 modules
    modules by path ./node_modules/ace-builds/src-min-noconflict/ sync ^/.// 9.08 KiB
      ./node_modules/ace-builds/src-min-noconflict/ sync ^\.\/theme\-.*$ 2.19 KiB [built] [code generated]
      ./node_modules/ace-builds/src-min-noconflict/ sync ^\.\/mode\-.*$ 6.89 KiB [optional] [built] [code generated]
  modules by path ./src/ 279 KiB (javascript) 7.19 KiB (asset)
    javascript modules 269 KiB 18 modules
    json modules 9.59 KiB 2 modules
    ./src/static/bg.svg 42 bytes (javascript) 7.19 KiB (asset) [built] [code generated]
  data:image/svg+xml;base64,PHN2ZyB3aWR0aD0i.. 658 bytes [built] [code generated]
  ./util.inspect (ignored) 15 bytes [built] [code generated]

WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  ace.js (360 KiB)
  463.160d4c6.js (2 MiB)
  116.67b5279.js (5.35 MiB)
  744.2a7e9a5.js (814 KiB)
  744.2a7e9a5.js.gz (247 KiB)
  463.160d4c6.js.gz (364 KiB)
  116.67b5279.js.gz (1.32 MiB)

WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  main (8.55 MiB)
      runtime~main.8126e00.js
      454.8a8e2cf.js
      453.2ffac06.js
      463.160d4c6.js
      116.67b5279.js
      744.2a7e9a5.js
      main.0512123.js

WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/

webpack 5.72.0 compiled with 3 warnings in 28892 ms

Additional information / 附加说明
Thank you for your contributions.

Resolved, needed to embed webpage in server with statik


engines directory without version in package config files / master 2018-12-10

After upgrade I note that enginesdir is broken.
Please see difference to previous installation:
diff -urN master-20181118/lib/pkgconfig/libcrypto.pc master/lib/pkgconfig/libcrypto.pc
--- master-20181118/lib/pkgconfig/libcrypto.pc	2018-11-18 21:46:35.608428017 +0200
+++ master/lib/pkgconfig/libcrypto.pc	2018-12-10 20:16:38.825251289 +0200
@@ -2,11 +2,11 @@
 exec_prefix=${prefix}
 libdir=${exec_prefix}/lib
 includedir=${prefix}/include
-enginesdir=${libdir}/engines-1.1
+enginesdir=${libdir}/engines-

 Name: OpenSSL-libcrypto
 Description: OpenSSL cryptography library
-Version: 1.1.2-dev
+Version: 3.0.0-dev
 Libs: -L${libdir} -lcrypto
 Libs.private: -ldl -pthread
 Cflags: -I${includedir}

Hmm, web interface is not suitable for "diffs".

Hmm, web interface is not suitable for "diffs".

Does my edit make it better?

Richard Levitte wrote:

Hmm, web interface is not suitable for "diffs".

Does my edit make it better?

yes, thanks

Please see #7865


New version: Google.Chrome.Canary version 128.0.6582.0

Created by 🥟 Dumplings in workflow run #6424.

Log
Updated: 128.0.6581.0 → 128.0.6582.0
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run


Unobsolete Compile : Expr<'T> -> 'T

I am using Compile to get what the method says: a compiled version of the expression. This compiled function will be called later quite often (I am parsing a DSL, and the function becomes part of the compiled AST, later evaluated as part of an expression).
If I would do as the warning says and Evaluate the expression on every call, I think I would take a 2 order of magnitude performance hit. This is an argument for not marking it obsolete currently.
Also, I do not believe that it will make sense to try to get rid of Compile vs Evaluate option even in the future, when Evaluate interprets the expression. Possible performance hit would be too great in some applications--unless the interpreting Evaluate is as efficient as compiled function call. This is an argument for not marking it obsolete in the future.

Evaluate doesn't, and never has (whilst I have maintained the code) done anything other than the same thing Compile does.
So there should be no orders of magnitude speed difference; and if you are getting that I'm surprised and submit a issue with a code example (I'm writing this from memory, not looking at the code, but I'm pretty sure I remember correctly! You can see the discussion under #9)


[WFRP4e System] Shields Ignore Armour Piercing

Armour Piericing is currently not bypassing shields.From: Bricksmarlenfoundry: 11.315wfrp4e: 7.2.4wfrp4e-core: 5.0.7wfrp4e-dotr: 5.0.5wfrp4e-eis: 5.0.3wfrp4e-middenheim: 5.0.2wfrp4e-rnhd: 5.0.2wfrp4e-up-in-arms: 5.0.3Active Modules: background-scaler, dice-so-nice, forien-ammo-swapper, forien-armoury, foundryvtt-simple-calendar, item-piles, lib-wrapper, socketlib, tabletop-rpg-music, tabletop-rpg-music-cloud-streaming, times-up, token-action-hud-core, token-action-hud-wfrp4e, wfrp4e-dotr-maps, wfrp4e-eis-maps, wfrp4e-gm-toolkit, forge-vtt, forge-vtt-optional

What specifically do you mean by "Armour Piercing"?

I believe this is about Penetrating Weapon Property

Well as usual about this topic, there is no distinction between non-metal and metal shields in the rulebook.

Thank you. Looking forward to the changes.
On Monday, September 30, 2024 at 12:58:24 a.m. PDT, Russell<EMAIL_ADDRESS>wrote:

Closed #2156 as completed.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>
|  | Virus-free.www.avast.com |


fix: make router-generator a peer dep of react-router

type tests of generated code must be implemented in a separate package to break up this circular dependency

Could @tanstack/router-generator be made an optional peer dep? I just wanted to upgrade to latest TanStack Router but stopped after I saw that it pulls in tons of ESBuild dependencies through tsx which is a direct dep of @tanstack/router-generator. I do not use the file-based routing so I would like to be able not pulling in big dependencies like ESBuild.


"az ad group member list" errors when membership passes 100

Cannot user az ad group member list --group groupname
when membership of group exceeds 100 members.
A page token is invalid is the error.
Appears to return 50 users per query.
It attempts two queries successfully, but the third fails.
To recreate simply use a group in Azure AD populated with 101 users.
Additional info:
Powershell query for get-azureadgroupmember -objectid idofgroup and -all $true does return full list successfully.
I see no options on the az command to control the paging of the returns.
Additional Note:
This only appears to be a problem is US Government Cloud
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c659a298-8897-6d50-c1d9-c14a3b0e6364
Version Independent ID: 2d2bec5b-ef92-f65f-bfd0-ccdabda52a41
Content: az ad group member
Content Source: src/azure-cli/azure/cli/command_modules/role/_help.py
Service: active-directory
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

add to S174

This issue is fixed. Please upgrade to latest version of azure cli 2.39.0


Unable to access Prometheus and Alertmanager

After running hack/cluster-monitoring/deploy, I'm able to access Grafana just fine on port 30902, but I'm unable to access Prometheus on 30900 or Alertmanager on 30903.

After further investigation, I'm getting the following from the prometheus-operator.
2017-01-07T03:10:51.890671671Z E0107 03:10:51.890596       1 reflector.go:199] github.com/coreos/prometheus-operator/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1beta1.StatefulSet: the server could not find the requested resource
2017-01-07T03:10:52.025784215Z E0107 03:10:52.025698       1 reflector.go:199] github.com/coreos/prometheus-operator/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1beta1.StatefulSet: the server could not find the requested resource
2017-01-07T03:10:52.892650896Z E0107 03:10:52.892578       1 reflector.go:199] github.com/coreos/prometheus-operator/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1beta1.StatefulSet: the server could not find the requested resource
...

I'm guessing your cluster is not v1.5.x yet. In that case you will need to use the v0.1.x releases of the operator, which supports v1.4.x clusters (using PetSet instead of StatefulSet). For the time being we are going to backport bugfixes and important features into that release series.
As a follow up I will add a section on the readme of this repo informing about this.

Closing. Feel free to reopen if this was not the solution.


Navigating to Workflow page fails under non-default namespaces

Describe the bug
A clear and concise description of what the bug is.
Navigating to a Workflow page fails under non-default namespaces
To Reproduce
Steps to reproduce the behavior:
Register a new namespace
tctl --namespace test a namespace register

Start hello-world under test namespace

Go to http://localhost:3000/namespaces/test/workflows
Click on the workflow
See 400 error and the URL starting by http://localhost:3000/namespaces/default/workflows/

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Fixed in #260.


iOS: MapView cannot move or touchable in iOS.

RT.
I have installed the latest react-native-maps 0.16.4, but it runs slow and cannot be interactive in iOS. Whatever is in DEBUG or Release mode.
Hope for some help.
PS: react-native 0.47
PSS: I don't use GoogleMap but iOS map.

I found out that when set cacheEnabled={true} the map will be frozen.