[DDW-115] Implement smart error handler

This PR Introduces smart error handler implementation.

Testing Checklist

Slack QA thread
[ ] Walk through the app and check if all errors are presented as is expected e.g. Address is not valid on wallet send screen... My suggestion is regression testing!

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes
[ ] PR has default-sized Daedalus window screenshots or animated GIFs of important UI changes:

[ ] In English
[ ] In Japanese

[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

@tomothespian Hello!
Duplicating errors here for tracking purposes.

Wrong Fee calculations. Sometimes a generic error is showed instead of corresponding Not Enough Fee.
After entering Wrong Password wrong Error message is displayed.

cc @gnpf @IuliaDolishniak

@tomothespian Hey!
Expected Message : Message => "Not enough ada . Try sending a smaller amount."

@tomothespian hey, adding a screen shot for current error message when Not Enough Funds.

@DmitriiGaico @IuliaDolishniak @gnpf @ManusMcCole
All issues are fixed.

After entering Wrong Password wrong Error message is displayed. - DONE
Error message when Not Enough Funds. - DONE

NOTE for Wrong Fee calculations. Sometimes a generic error is showed instead of corresponding Not Enough Fee. -> An error occured
case: I have a wallet with 1M ADA and if I want to send 999,999.8 everything is ok with an error handler. Error message Not enough ada for fees. Try sending a smaller amount. occur.  Error message An error occurred is shown. This is not related to error handlers and Daedalus code. After deep investigation, I saw that backend returns code: 500, Internal server error and even more interesting that is returned directly through the response body. So we can not handle error like this if we don't know what is real error so An error occurred message is OK to me. We need to report that to the backend team for sure. QA, nice catch 🚀
cc. @nikolaglumac

@KtorZ can you look into this error? @tomothespian will prepare logs.

@tomothespian hey! Could you please also remove the Learn more link? Thank you in advance.

@DmitriiGaico This one is done Could you please also remove the Learn more link? Thank you in advance.


Add TheoX's name on Challenge.md

In order to mege, click 'Merge pull request'. That will also mark the PR as closed ;)

It says "Only those with write access to this repository can merge pull requests". I can't seem to find the 'Merge pull request' :(

See if WebSjef may give you write permissions.


WFCORE-886 Upgrade to Xerces jboss-2.11.0.SP4 to address jaxb compliance issue

Linux Build 2545 is now running using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448

Core - Full Integration - Windows Build 91 is now running using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448

Windows Build 2054 is now running using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448

Core - Full Integration Build 1670 is now running using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448

Windows Build 2054 outcome was SUCCESS using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448
Summary: Tests passed: 3409, ignored: 64 Build time: 00:35:42

Linux Build 2545 outcome was SUCCESS using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448
Summary: Tests passed: 3409, ignored: 64 Build time: 00:37:33

Core - Full Integration Build 1670 outcome was SUCCESS using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448
Summary: Tests passed: 3060, ignored: 358 Build time: 00:48:38

Core - Full Integration - Windows Build 91 outcome was SUCCESS using a merge of b12cd68742cba315f92acf4261aa8a412a8e4448
Summary: Tests passed: 3060, ignored: 358 Build time: 00:49:17


Errors when jumping to only one possible target

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md
[X] I have updated 'mini.nvim' to latest version

Module(s)
mini.jump2d
Description
When jumping to a unique target, I get the following error message:
E5108: Error executing lua: ...Packages/start/echasnovski-mini.nvim/lua/mini/jump2d.lua:846: table index is nil
stack traceback:
        ...Packages/start/echasnovski-mini.nvim/lua/mini/jump2d.lua:846: in function 'spots_to_extmarks'
        ...Packages/start/echasnovski-mini.nvim/lua/mini/jump2d.lua:783: in function 'spots_show'
        ...Packages/start/echasnovski-mini.nvim/lua/mini/jump2d.lua:402: in function 'start'

Neovim version
0.9.0
Steps to reproduce

Write a file with contents like:

a b c d
e f g h
i j k l
m n o p

Attempt to jump to the letter g.

Expected behavior
If there is only one possible target, the jump should go directly there.
Actual behavior
Throws the aformentioned error message.

Thanks for the issue!
I can not reproduce this: neither with minimal config nor in my usual setup with other plugins active. What is your 'mini.jump2d' setup?

require('mini.jump2d').setup({
  view = {
    dim = true,
    n_steps_ahead = 2,
  },
  mappings = {
    start_jumping = ''
  }
})

seems to be a problematic interaction with MiniJump2d.start(MiniJump2d.builtin_opts.single_character)

Thanks again! It should be fixed on latest main.
It was possible to reproduce with default spotter with just single non-whitespace character showing. Indeed has more impact on single_character spotter.

thanks for all the great plugins


fix the issue of #772 (Can't acquire memory from spark Memory Manager)

What changes were proposed in this pull request?
The init method should be synchronized and the OapRuntime object is created only when the rt is null to make sure the OapRuntime object be created only one time.
How was this patch tested?
N/A

Perhaps we should add a test case to reproduce error scene first.

@JkSelf , can you please update the PR and create an issue for the new exception you saw?


Issue creating krib-ha cluster

Hi,
I'm trying to run the krib-live-cluster and I have an issue during the etcd-config task.
It seems to miss the makeroot on the machine.
I am running:
provision v3.9.0-tip-4-fd645195a539acebc6e45f8d44bb745677343d8c
Feature Flags
api-v3, sane-exit-codes, common-blob-size, change-stage-map, job-exit-states, package-repository-handling, profileless-machine, threaded-log-levels, plugin-v2, fsm-runner, plugin-v2-safe-config, workflows, default-workflow, http-range-header, roles, tenants, secure-params, seperate-meta-api, slim-objects
krib content v1.9.0-tip-15-f7a61da2534f67fc292598e62964b164b3500597
Here is the log of the task:
Log for Job: 95530bdc-7a1b-4578-af40-50615e105d12
Starting task etcd-config on 59ea578f-c892-4ae6-81b9-7c4d284ecbbd
Starting command ./etcd-config-etcd-config.sh.tmpl
Command running
Configure the etcd cluster
Add initial variables to track members.
Error: Key, etcd/servers, already present on profile k8s
Error: Key, etcd/servers-done, already present on profile k8s
Creating 1 servers
Electing Members to k8s
Error: INVOKE: machines/59ea578f-c892-4ae6-81b9-7c4d284ecbbd: Action makeroot on machines: Not Found
Command exited with status 1
Action etcd-config.sh.tmpl finished
Task etcd-config failed
Marked machine 59ea578f-c892-4ae6-81b9-7c4d284ecbbd as not runnable
Updated job 95530bdc-7a1b-4578-af40-50615e105d12 to failed
Task signalled that it failed
Br Simon

@svallebro building the etcd cluster requires the certs plugin right now - if you contact me (@zehicle) on the RackN slack, I can create an org that has access to the certs plugin.

I think this is resolved for now.


Make zkVM inputs structure pattern more discoverable

The factors example passes two concatenated inputs, which is not the recommended pattern. Instead, we recommend creating a structure of all the other inputs, as in most of our other examples. Add comments/documentation to make this clearer -- see further discussion here: https://github.com/risc0/risc0/pull/595#discussion_r1213723987

some discord confusion on this topic recently:

Duplicate of #845


Settings repeated code cleanup

Made functions for enabling/disabling buttons in settings menu shorter by removing repeated code.
Completes enhancement: remove repeated code in settings

Closes #29

Closes 29.


Use npm packages for email validation

Description
The current implementation of the email validation is based on a regex which should cover the most common cases. However, it might be benificial to make use of npm packages dealing with email validation.
The respective file is located at app/controllers/validation.server.controller.js.
References

Example: https://github.com/manishsaraan/email-validator

For this goal maybe use yup. Later you need other schemas by shape. It's not bad tool for validation. I can do it. Would you assign it to me?

@kevinnguyen20 You can validate your api request schema, query and path parameter. Maybe this validations necessary in future

@corners2wall, we will certainly take your suggestion into consideration in the near future. However, at the moment, the proposed approach seems to meet our current needs adequately.

@kevinnguyen20  Email validation package is ready for merge !


geogebra: 5-0-662-0 -> 5-0-680-0

Motivation for this change
Geogebra 5.0.662 is only available on the Internet Archive, a newer version was released.
Things done

Built on platform(s)

[x] x86_64-linux

[x] Tested basic functionality of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build geogebra


Modernize API Initiative

Johan,
Thanks for leading the process in WebRTC. I kno I want to point out some initial potential for matchbox to provide a richer user experience and this issue is designed to frame that initiative.
I want to get your feedback and ask what you may agree or disagree on, and then we can stub out the issues separately for tracking.
To ensure the future success of matchbox, here are some initiatives I've thought of:

#![deny(clippy::unwrap_used)] and #![deny(clippy::expect_used)] There's 46 unwrap()s and 81 expect()s. Granted, most are in demos, several are in the library. Instead, we should return an error type.
Eagerly return Results. In many cases (such as a peer disconnect #81) we either drop control flow, return early, unwrap, etc. There's no consistency. Some methods like try_send don't return a result, which is unintuitive.
Rename room_url to session_url or just url
Do not provide a default WebRtcSocketConfig room url. That seems too specific to default, and could be a footgun for new users.
Provide fallback/more stun servers. I think right now it's just using one (stun:stun.l.google.com:19302)
Rename matchbox_server to matchbox_demo_server since it has tight coupling logic to the demo, i.e. (next routing)
BYOS - Bring your own state machine. Perhaps add the ability to replace the signalling/messaging loops with your own state machine with a trait like MessageLoopStateMachine, with methods on_error, on_message, etc...

Thanks for showing an interest and helping out :)

#![deny(clippy::unwrap_used)] and #![deny(clippy::expect_used)] There's 46 unwrap()s and 81 expect()s. Granted, most are in demos, several are in the library. Instead, we should return an error type.

I share the sentiment that error handling should be improved, and that there is too much unwrap and expect going on, though I'm not sure if I'm convinced denying all use of it is the right solution. For instance, there are a couple of places where .unwrap() is used intentionally, because the result or option can never be none/err.

Rename room_url to session_url or just url

Good idea.

Do not provide a default WebRtcSocketConfig room url. That seems too specific to default, and could be a footgun for new users.

Open for suggestions here if it doesn't make usage inconvenient. iirc we added it to be able to use the default and spread operator, but I guess we could also do that with new...
let cfg = WebRtcSocketConfig {
    ..WebRtcSocketConfig::new(room_url)
};

Rename matchbox_server to matchbox_demo_server since it has tight coupling logic to the demo, i.e. (next routing)

I think there is value in having a "default" server that people can just install and get up and running quickly. While I also feel like the next rooms are bordering on scope creep, it is a feature that is used a lot by early prototype games.

BYOS - Bring your own state machine. Perhaps add the ability to replace the signalling/messaging loops with your own state machine with a trait like MessageLoopStateMachine, with methods on_error, on_message, etc...

This sounds interesting. I'd like to explore the idea :)

Eagerly return Results. In many cases (such as a peer disconnect Add API for handling peer disconnections #81) we either drop control flow, return early, unwrap, etc. There's no consistency. Some methods like try_send don't return a result, which is unintuitive.

I think the important part is to figure out when and how errors should be actually be reported back to the user, should they also be sent over channels to the sync API? should everything return an error?
Wrote this response  a bit quickly. Let me know if I missed something, or if I'm wrong about something ;)

Rename matchbox_server to matchbox_demo_server since it has tight coupling logic to the demo, i.e. (next routing)

I think there is value in having a "default" server that people can just install and get up and running quickly. While I also feel like the next rooms are bordering on scope creep, it is a feature that is used a lot by early prototype games.

This is an area I've given thought to previously, I initially tried to abstract away the matchmaking part of this, allowing users to quickly write their own room finding logic and run it within the server, however I got stuck on creating a Warp Filter with a specified input type, see: https://github.com/seanmonstar/warp/issues/72. Perhaps if #82 were merged it would be more easily done

I initially tried to abstract away the matchmaking part of this, allowing users to quickly write their own room finding logic and run it within the server

What I did in my previous (unfinished) game was to run both matchbox_server and the matchmaking/lobby service behind a reverse proxy. Then the matchmaking service just generated a unique room id and told the appropriate clients it was time to connect through the matchbox_server endpoint.
I guess there are benefits of keeping it all in one process, though.

For instance, there are a couple of places where .unwrap() is used intentionally, because the result or option can never be none/err.

To me, that sounds like there's no need for an Option or Result type, or there needs to be a SAFETY: ... note.

I think the important part is to figure out when and how errors should be actually be reported back to the user, should they also be sent over channels to the sync API? should everything return an error?

I haven't checked how east it would be to propagate the errors, but that is besides the point. My inspiration was seeing control flow drop purposefully if a packet failed to send (the assumption made was the client disconnected). But surely there's some case to be made I want to know if my message failed to send. "If there's smoke there's fire," and I'd like to dive deeper to understand how many cases of missed opportunity there are.

I initially tried to abstract away the matchmaking part of this, allowing users to quickly write their own room finding logic and run it within the server

What I did in my previous (unfinished) game was to run both matchbox_server and the matchmaking/lobby service behind a reverse proxy. Then the matchmaking service just generated a unique room id and told the appropriate clients it was time to connect through the matchbox_server endpoint.
I guess there are benefits of keeping it all in one process, though.

A possible solution could be to just stuff everything in a demo or examples folder.
I think trying to provide a "one size fits all" server might not be realistic and, at first, I was confused why it didn't have demo in the name. I thought you provided a server-client topology API in that folder.

Let's continue the discussion about what the server should be in #90

Everything on this list has been addressed or superseded.


Modifying pyploma.py in order to take the year of the event from command line.

@misshu93 thanks for the suggested contribution!
Can you explain in a bit more detail what are you changing and why?
The current way you're proposing the change will break the automatic certificate generation and we can't merge it as is.

Oh, you're right... Alessandro asked me to modify this script in order to take the year from command line but I think he say me the wrong repo... Anyway, I tried to run your script but it seems not generate anything. Is this script finished?

The code uses this file to generate the certificates. It is finished and works properly.
It was originally derived from the pyploma.py script, but has since then been heavily modified. You've replaced the new file with the old pyploma.py script and that would not work. You've also added a few old files which are no longer used. You've probably done that by mistake.
The new code is called by the events website when an event organizer reports the details from his or her event. We then automatically generate the certificate for organizing an event.
There's also the option to invoke the certificate generation from the command line, using Django's commands, see here.
I'm not sure why @alessandrobogliolo wants a year to be passed on the command line, as the year is taken from the event's date, but if it needs to be passed anyway, the change should probably be done in the command.

I think there is some misunderstanding. I asked to take the year from the
starting date of the event the certificate is associated to. I think this
is exactly what Dimitar has done. Hence, I think no other actions are
required for certificates of recognition.
Other certificates will be discussed afterwards.
Thanks
A
Il 17/Ott/2016 10:33 "Dimitar Dimitrov"<EMAIL_ADDRESS>ha
scritto:

The code uses this file to generate the certificates
https://github.com/codeeu/coding-events/blob/fe65e1b5f1aa071629173f7282c25bbb5763881c/certificates/generator.py.
It is finished and works properly.
It was originally derived from the pyploma.py script, but has since then
been heavily modified. You've replaced the new file with the old
pyploma.py script and that would not work. You've also added a few old
files which are no longer used. You've probably done that by mistake.
The new code is called by the events website when an event organizer
reports the details from his or her event. We then automatically generate
the certificate for organizing an event.
There's also the option to invoke the certificate generation from the
command line, using Django's commands, see here
https://github.com/codeeu/coding-events/blob/fe65e1b5f1aa071629173f7282c25bbb5763881c/api/management/commands/generate_certificate.py
.
I'm not sure why @alessandrobogliolo
https://github.com/alessandrobogliolo wants a year to be passed on the
command line, as the year is taken from the event's date, but if it needs
to be passed anyway, the change should probably be done in the command.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/codeeu/coding-events/pull/446#issuecomment-254145678,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIPCH8C-hVZOe07n9Fz92iWA7DpblHh7ks5q0zLUgaJpZM4KYFT3
.


Flow: VDC and native version of data produce very different results

The VDC and WRF versions of the same data produce very different streamline fields (see attached)
To reproduce:

Load both the VDC and WRF versions of WRF/Harvey
Enable Flow for both.
For VDC be sure to set the variable Fidelity to "high". The resulting streamline visualizations are very different.

I suspect this may be related to the way seed positions are selected in "gridded" mode as described in #2526. If the seed distribution mode is changed to random the results look much better, but a are still slightly off.

After giving the same rake regions to both versions of data source, they look more similar but still exhibit visible difference. I tend to think this is due to wavelet boundary effects and the sensitive nature of advection, but open to other theories.

After giving the same rake regions to both versions of data source, they look more similar but still exhibit visible difference. I tend to think this is due to wavelet boundary effects and the sensitive nature of advection, but open to other theories.

@shaomeng these results look plausible. I.e. the minor differences could be explained by the differences between the original and VDC data. Can you clarify what was required to "give the same rake regions to both versions"? I was unable to do this (easily).

After giving the same rake regions to both versions of data source, they look more similar but still exhibit visible difference. I tend to think this is due to wavelet boundary effects and the sensitive nature of advection, but open to other theories.

@shaomeng these results look plausible. I.e. the minor differences could be explained by the differences between the original and VDC data. Can you clarify what was required to "give the same rake regions to both versions"? I was unable to do this (easily).

@clyne  I opened two instances of VAPOR and created the flow renderer. Then I manually typed in the same values to corresponding rake region boxes before I enabled the renderer. (Figuring out if the typed value was accepted by the text box wasn't very easy...)

LGTM!


TreeView should respond to Space keyboard event

Description
Because multiple SubTrees can be expanded, it's recommended to allow Space to toggle expansion state.
While there are additional recommended keyboard navigations, these others aren't as common. Using Space seems to be supported everywhere.
Steps to reproduce

Visit any TreeView instance; see examples
Activate keyboard focus into TreeView
Focus a directory item & verify that left/right arrows and Enter are working
Press Space –> no toggle

Version
35.29.0 & latest
Browser
Chrome, Safari, Firefox

Hi!
Luckily, the interactions in TreeView are documented here: https://github.com/github/primer/blob/main/apis/tree-view-api.md#keyboard-interaction

Because multiple SubTrees can be expanded, it's recommended to allow Space to toggle expansion state.

I'll confirm with our accessibility experts if we are missing the control for Space you suggested ❤

Tagging @ichelsea as the first-responder for this week ❤ 👋


Add Python 2.7 deprecation warning

As per #591 there no longer seems to be any opposition against deprecation of Python 2.7 in SoCo. This PR adds a deprecation warning stating that SoCo 0.19 will be the last version to support Python 2.7.

Coverage increased (+0.04%) to 57.14% when pulling df0ccc7fb68b0a1a3fa34107b8f0b3c238eaff16 on KennethNielsen:py27_deprecate_warning into e17a23d96f2ab6307cd5f5af9b3cb4d0acbe6171 on SoCo:master.


Remove "alpha" note for Database Encryption & Keyring Management Section

Removed statement of it being "alpha quality" as this feature has been in since <IP_ADDRESS> and is production-ready according to sources found by other CREs. Left the note for now on no guarantees of forward-compatibility and the warning around possibly irrevocable data loss if mismanaged.
Summary
There have been a few support cases filed due to the statement around the keyring and database encryption being in an "alpha state" and "not recommended for production". I believe this statement was true in the 1.x series but no longer applies to current versions according to various sources found by other CREs. The feature is indeed production ready (and if it truly weren't then we need to add a warning to the actual Keyring functionality page too) and users should not be discouraged to deploy in production instances.
Reason
Prevent unnecessary support cases and confusion with customers. This change may need to be made as far back as 2.0, but I'm unclear on when exactly we considered it no longer alpha and instead production quality, so I wanted to only make it in the latest version for now.
Testing
No testing needed, but perhaps it may be wise to get a more official statement on this from Engineering?

@d19dotca There was a conversation about this about two months ago: https://kongstrong.slack.com/archives/C01888Q7PJ7/p1629396717126700?thread_ts=1629308225.109400&cid=C01888Q7PJ7
The most relevant info in that thread is:

the official position is that the "don't run this in prod" statement is a bit too strong ... the current tentative plan is to get those [documentation] changes into 2.6.  the statement about not having guarantees about compatibility and stability, though is something we want to keep.

@HCloward unless something has changed since Shane last had comments about it, this PR should go into 2.6.


Sandbox: Cleanup shim on Start failure

Made a change a bit ago to cleanup the shim on CreateSandbox failures and noted that we should probably do the same on Start as well as nothing gets cleaned up otherwise, and nothing states that a sandbox server/shim should exit itself if Create/Start fail. Ideally this could be hooked up to some subsystem in containerd that'd do it for us, but for now to allow developing/prototyping sandbox shims this makes things much friendlier.

Interesting, the k8s flows failed the millisecond I opened this and won't let me click on them to view the status 😭

/retest

@dcantah prow jobs were having some issues yesterday, lets see if they do better today

/retest


dirPagination: Make styling easier by adding some classes

I feel that the template for this directive should have some semantic classes to help aid custom styling.
I suggest classes like:

.boundaryLink
.directionLink
pageNumber
.prev (for boundary/direction links)
.next

The benefits are mainly for replacing the characters used for left and right (e.g. replacing with icon fonts), but might also be useful for general link styling.
I'd be happy to add a pull request, but since it's such a small change, and CSS class naming preferences vary a lot from person to person, I decided an issue might be easier.

Hi,
Thanks for the suggestion. What you describe - e.g. replacing the arrows with icon fonts - sounds like a case for using a custom template.
My idea for the default template is to keep it in line with Bootstrap, and anything that can't be achieved with that markup warrants a custom template, since as you say, different project will have differing naming conventions (e.g. hyphens vs. camcel case vs. underscores).

Ah okay, understood! Happy for it to stay in line with bootstrap then. Thanks!


键盘管理器中的重映射快捷键无效

Microsoft PowerToys version
0.86
Installation method
Microsoft Store
Running as admin
No
Area(s) with issue?
Keyboard Manager
Steps to reproduce
我键盘管理器中的重映射快捷键无效  配置alt+w 发送 ctrl+w  无效
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Try running it as an administrator.
I had the same issue when using Visual Studio (running Visual Studio as an administrator). However, after I ran PT as an administrator, it worked fine.


Cannot get service to start with custom SSL (not LetsEncrypt)

Running Windows Server 2016; I own my own SSL for my domain so I shouldn't need -agree and -email for LetsEncrypt (not using it.)
The configuration works when run manually.
Installed the services with cmd-line:
caddy -service install -conf C:\Caddy\Caddyfile -log C:\Caddy\ServiceRun.log
Attempts to start results in "incorrect function" in Event Viewer, no Caddy log is created.
If I leave out the conf file, it does start but (obviously) doesn't use the correct conf.
conf file contents:
mega.mydomain.com {
proxy / <IP_ADDRESS>:5000 {
  transparent
  }
tls C:\caddy\_mydomain_com.crt C:\caddy\_mydomain_com.key
}

I did see the other thread outlining this issue but having the -agree and e-mail flags don't help.

Can you run caddy without service plugin?

caddy conf=c:\caddy\caddyfile

Do you get the same error

When I run it manually with the conf file, it starts up fine and uses my cert as logged. It is a wildcard SSL if it makes any difference..
2019/07/14 16:34:13 [INFO][cache:0xc0001c22d0] Started certificate maintenance routine
2019/07/14 16:34:14 [INFO] Successfully loaded TLS assets from C:\caddy\_mydomain_com.crt and C:\caddy\_mydomain_com.key
2019/07/14 16:34:14 [INFO] Serving https://mega.mydomain.com:2015

A workaround until this issue is looked at would be to run without using the service.

OK, hopefully it's an easy fix to merge in eventually.

Due to the recent developments of Caddy (v2!) and the incompatibility of this plugin with newer versions, as well as not being maintained, I'm closing this issue and archiving the repository.


azcopy remove with --list-of-files option throws errors

Which version of the AzCopy was used?  10.16.2 (tried also with 10.10.0)
Note: The version is visible when running AzCopy without any argument
Which platform are you using? (ex: Windows, Mac, Linux) Windows
What command did you run?
azcopy.exe login --aad-endpoint https://login.microsoftonline.us
azcopy remove "container" --recursive=false --list-of-files="FileNameListforDeletion.txt" --delete-snapshots "include"
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
What problem was encountered?
Part#=0 failed to refresh token, please check error details and try to log in with azcopy login command again. (Error details: adal: Refresh request failed. Status Code = '400'. Response body: {"error":"invalid_grant","error_description":"AADSTS50196: The server terminated an operation because it encountered a client request loop. Please contact your app vendor.\r\nTrace ID: redacted\r\nCorrelation ID: redacted\r\nTimestamp: 2022-11-09 20:52:49Z","error_codes":[50196],"timestamp":"2022-11-09 20:52:49Z","trace_id":"redacted","correlation_id":"redacted","error_uri":"https://login.microsoftonline.us/error?code=50196"} Endpoint https://login.microsoftonline.us/common/oauth2/token?api-version=1.0)
How can we reproduce the problem in the simplest way?
run the above command, ensure the FileNameListforDeletion.txt has at least 20 filenames
Have you found a mitigation/solution? NO

I cannot reproduce this.
Do other commands work over OAuth for you? Or is it only delete that fails?

Hi @ngorur we're working on a fix at the moment! will update you once a PR is out

Thanks
Nanda Gorur
Senior Consultant | Azure Cloud and AI | Microsoft Federal
Work:<PHONE_NUMBER> | Mobile:<PHONE_NUMBER> |<EMAIL_ADDRESS>
From: Tamer Sherif @.>
Sent: Thursday, December 8, 2022 7:11 PM
To: Azure/azure-storage-azcopy @.>
Cc: Nanda Gorur @.>; Mention @.>
Subject: Re: [Azure/azure-storage-azcopy] azcopy remove with --list-of-files option throws errors (Issue #1957)
Hi @ngorurhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fngorur&data=05|01|Nanda.Gorur%40microsoft.com|525d26773fcf4bb8c02e08dad979daa7|72f988bf86f141af91ab2d7cd011db47|1|0|638061414641012202|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=TbshkN2%2FS4N7QKRUT8DrsepxK2TakKwcDrzwbHL2FvQ%3D&reserved=0 we're working on a fix at the moment! will update you once a PR is out
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-storage-azcopy%2Fissues%2F1957%23issuecomment-1343597222&data=05|01|Nanda.Gorur%40microsoft.com|525d26773fcf4bb8c02e08dad979daa7|72f988bf86f141af91ab2d7cd011db47|1|0|638061414641012202|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=XOutFlV1xb2sfBeIsKpSyDSOLSS9p1hqDV5B1I4fgjQ%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FASWBEDLSQ4O2UNWJDZ2B6CLWMJ2JJANCNFSM6AAAAAAR34TKP4&data=05|01|Nanda.Gorur%40microsoft.com|525d26773fcf4bb8c02e08dad979daa7|72f988bf86f141af91ab2d7cd011db47|1|0|638061414641012202|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aL5c40UPUKrcXNaBhxdo1AwQbkv2vhhVSaaNjgPPfWc%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>


Latest AzureNextGen uses Enumerations instead of strings on DefaultCo…

Proposed changes
Latest AzureNextGen.DocumentDB changed DatabaseAccountOfferType and DefaultConsistencyLevel from strings to Enumerations on DatabaseAccountArgs. The C#-Documentation should do the same.

@mikhailshilkov @viveklak Do we need to adjust the codegen to pickup on the enums in these examples?

@leezen Yes. It sounds like we haven't adjusted programgen when we introduced enums.

See https://github.com/pulumi/pulumi/issues/6263.


Update unfurl with new sheld io urls and installation instructions

Fixes #59

Coverage remained the same at 98.452% when pulling e61bb2e4e6756820dd7ef5eda99a199f91ec1785 on atjeff:patch-1 into 76cab79ec1fbc02e9e3e2e928d224c4c52b8a26b on jacktuck:master.

Coverage remained the same at 98.452% when pulling e61bb2e4e6756820dd7ef5eda99a199f91ec1785 on atjeff:patch-1 into 76cab79ec1fbc02e9e3e2e928d224c4c52b8a26b on jacktuck:master.

Coverage remained the same at 98.452% when pulling e61bb2e4e6756820dd7ef5eda99a199f91ec1785 on atjeff:patch-1 into 76cab79ec1fbc02e9e3e2e928d224c4c52b8a26b on jacktuck:master.

Cheers!


arch/risc-v: Merge riscv_getnewintctx into common

Summary
And also fix a issue that MIE should be cleared for a new task/pthread since it was handled by up_irq_enable/up_irq_disable.
Impact
N/A
Testing
maix-bit:smp

@masayuki2009 Could you have a try for it ?
BTW, in exception_common we save/restore mstatus by csrr/csrw, but in up_irq_enable/up_irq_disable use the bit operation csrc/csrs, should we use bit operation for these bits while restore mstatus ?

====================================================================================
Configuration/Tool: rv32m1-vega/nsh-itcm,CONFIG_RISCV_TOOLCHAIN_GNU_RVGL
------------------------------------------------------------------------------------
  Cleaning...
  Configuring...
  Disabling CONFIG_RISCV_TOOLCHAIN_GNU_RVGL
  Enabling CONFIG_RISCV_TOOLCHAIN_GNU_RVGL
  Building NuttX...
riscv64-unknown-elf-ld: /github/workspace/sources/nuttx/staging/libarch.a(riscv_initialstate.o): in function `up_initial_state':
/github/workspace/sources/nuttx/arch/risc-v/src/common/riscv_initialstate.c:87: undefined reference to `riscv_get_newintctx'
make[1]: *** [Makefile:145: nuttx] Error 1
make: *** [tools/Unix.mk:509: nuttx] Error 2

@no1wudi

Could you have a try for it ?

ostest with maix-bit:smp on QEMU now works.

BTW, in exception_common we save/restore mstatus by csrr/csrw, but in up_irq_enable/up_irq_disable use the bit operation csrc/csrs, should we use bit operation for these bits while restore mstatus ?

In my understanding, we can not use csrc/csrs in exception_common to save/restore the mstatus.

@no1wudi
Please add the following comment in the commit message as well.
And also fix a issue that MIE should be cleared for a new task/pthread since it was handled by up_irq_enable/up_irq_disable.

In my understanding, we can not use csrc/csrs in exception_common to save/restore the mstatus.

Only few bits like MSTATUS_FS_INIT / MSTATUS_MPPM / MSTATUS_MPIE will be used by user tasks, it might be a potential issue that a bit were changed by bit operation for some reason, but it would be override by task's mstatus by context switch.

@no1wudi please be aware of https://github.com/apache/incubator-nuttx/pull/5776

I think this should be done as follows:

read the csr
mask the bits which should be reserved (from ISA spec)
set all the other bits

Don't preserve any other bits here except the ones which are specified to be preserved

read the csr
mask the bits which should be preserved (from ISA spec)
set all the other bits

Don't preserve any other bits here except the ones which are specified to be preserved

Thanks for your suggestions

Tested this on mpfs and now it is working fine, thanks!

please resolve merge conflicts


[fix] Remove depreciated usage of style, measure (#30)

Fixes #30, but isn't tested!!

I've tested it and everything is perfect. Thanks a lot!


Sourcing folder from different repo

This is a Question :
Can we have a blog folder from example in another github repo?
For example:  we have two github repo:
- WebApplication Repo
- Content Repo
What should be the best way to store content in content Repo after saving the content from Netlify CMS and pull up in WebApplication Repo during gatsby build.

I don't have particulars but I can point you in the general direction that I would go:

Create a GitHub source plugin using the GitHub API - this is the bulk of the work, here's a tutorial.
Use the GitHub source plugin you created to pull in content from your content repo during build
Trigger Netlify builds from both repos - one will be automatic, the Gatsby app repo connected to the Netlify site, the content repo can trigger by using a webhook.


Mechanism behind snapshots

Azure Backup docs say that the Azure Backup service uses Volume Shadow Copy Service (VSS) to perform its snapshots. I have a customer asking what technology or approach is used for disk snapshots.
Is there any information we can provide other than "it's not VSS"?
I assume it's basically equivalent to the Crash Consistency description on this page.
https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-introduction

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

ID: 1bb0d5aa-46fa-b15d-8eec-c724b5ae468c
Version Independent ID: 1977490f-d9c6-574c-c6a4-36b0ebd484b8
Content: Create a snapshot of a VHD in Azure
Content Source: articles/virtual-machines/windows/snapshot-copy-managed-disk.md
Service: virtual-machines-windows
GitHub Login: @cynthn
Microsoft Alias: cynthn

Thanks for the question! We are investigating and will update you shortly.

@dcbrown16 as per the first line of this doc A snapshot is a full, read-only copy of a virtual hard drive (VHD). You can take a snapshot of an OS or data disk VHD to use as a backup, or to troubleshoot virtual machine (VM) issues.
So it is a full copy of the OS disk to a new disk. Essentially you are cloning the OS disk of the VM. Including all files, users, etc. No shadow copy of anything of that nature. Just a full replica of the disk. Same about of storage to hold the snapshot as the OS disk an everything.

Thanks Micah, I'll close for now and follow up again if my customer needs more info.


App 3 0 alpha

Overview
Contains basic app functionality for load, calibrate and run. Requires refactoring of robot movement.
The build is in known broken state.

Can we fix those lint errors sooner rather than later so we can get our builds back to green?


[ADDITION] personalDNSfilter

Hi there. Maybe add our little FOSS app personalDNSfilter (DNS changer / ad- tracking- content-blocker). Cheers, Tobi.
https://www.zenz-solutions.de/personaldnsfilter-wp/
https://github.com/IngoZenz/personaldnsfilter

Heya, could you follow the issue template please.
As without it there's some important info missing. Importantly the association section (to disclose if your affiliated with the project), and also the 4 checkboxes at the end.
I don't mean to be annoying, it just to keep things consistent and transparent :)


[eas-cli] allow modification of provisioning profile in CI, add --freeze-credentials flag

TODO
replace the TODO doc markers
Why
We currently support passing in an ASC Api Key to eas build through environment variables. However, we've barred modifying iOS credentials automatically in CI. For many credentials like a Push Key, revoking/generating them in CI is a bad idea since an account has a very low limit on how many keys they are allowed to generate and revoking a push key can have a large impact on production. However, modifying provisioning profiles are relatively safe and needed on a semi-regular basis (ie) annual profile expiration
How
This PR allows for the creation and modification of app store and enterprise Provisioning Profiles in CI. Apple resigns app store provisioning profiles when it is distributed, so this should be relatively safe. For users that want to ensure their credentials don't get modified in CI, I've added a --freeze-credentials flag.
Test Plan

[ ] added + amended a bunch of tests
[ ] --non-interactive, wrong authentication method, expect to fail with helpful error message
[ ] ASC api key auth, --freeze-credentials, expect to fail with helpful error message
[ ] --non-interactive, ASC api key auth, succeed

/changelog-entry breaking-change  Allow modification of provisioning profile in CI, add --freeze-credentials flag


more than 16 digits in attempted sell amount

2015-01-27 04:00:00 (INFO):	Attempting to SELL 0.11752161900000001 BTC at Bitstamp
2015-01-27 04:00:00 (ERROR):	unable to sell: null { error: { amount: [ 'Ensure that there are no more than 16 digits in total.' ] } }

Thanks for reporting, will look into this..

This should be fixed since 0.2.


interlinks in marquee anchor block fixed

The interlinks in marquee anchor block have been fixed by editing the url in anchor tag
Specific
Features or fixes

Resolves: MWPW-135282
Test URLs:

Before: https://main--milo--adobecom.hlx.page/drafts/Soujanya/marqueeanchor-18?martech=off
After: https://mwpw-135282--milo--sharath-kannan.hlx.page/drafts/Soujanya/marqueeanchor-18?martech=off

It might be a good opportunity to add test cases and make sure the hash is available.

I will add the test cases.
but i'm not sure why the hash check is required.

@sharath-kannan - make sure the href is an actual hash instead of full url with hash


⚠ Jenkins Plugins Artifactory has degraded performance

In 0da0e3e, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1163 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 4e1860b after 12 minutes.


Compatibility with Picasso 2.71828

Hi @JakeWharton!
I'm opening this issue since this lib is not compatible with the latest changes into Picasso (namely, the 2.71828 version).
The Response class of Picasso seems to not be available anymore.
I don't have time right now to try to fix it so I'm opening the issue to keep track of the problem, but if I find some time in the coming days I'll try to make a PR.
Thank you

It's built in to that version. You no longer need this library.

Oh right, missed it. Thank you for your answer :)

What is right way to add header with  request to Picasso 2.71828

What is right way to add header with request to Picasso 2.71828

I think is the same as in the older version, but just use OkHttp3Downloader from Picasso ( import com.squareup.picasso.OkHttp3Downloader; ) you don't need to import com.jakewharton.picasso.OkHttp3Downloader; any more.


enable context for SequenceMapStep

Thanks! Must've missed that when I pulled it out as a sub component. :sunglasses:


⚠ Bofrost.be has degraded performance

In d152462, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 882 ms

Resolved: Bofrost.be performance has improved in 2a339e6 after 6 minutes.


No Download anymore : Unable to extract jwplatform id

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2021.12.27. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Germany
Description
Side completely build up since today.
No Download anymore : Unable to extract jwplatform id, yesterday it worked.
Help would be fine
Verbose log
yt-dlp -f best -o "%(title)s.%(ext)s" --no-check-certificate --verbose  "https://tele5.de/mediathek/gene-roddenberrys-andromeda/scherben-bringen-gluck/"
[debug] Command-line config: ['-f', 'best', '-o', '%(title)s.%(ext)s', '--no-check-certificate', '--verbose', 'https://tele5.de/mediathek/gene-roddenberrys-andromeda/scherben-bringen-gluck/']
WARNING: "-f best" selects the best pre-merged format which is often not the best option.
         To let yt-dlp download and merge the best available formats, simply do not pass any format selection.
         If you know what you are doing and want only the best pre-merged format, use "-f b" instead to suppress this warning
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2021.12.27 [6223f67a8]
[debug] Lazy loading extractors is disabled
[debug] Python version 3.8.10 (CPython 64bit) - Linux-5.11.0-46-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Optional libraries: Cryptodome, secretstorage, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (DE) as X-Forwarded-For
[debug] [Tele5] Extracting URL: https://tele5.de/mediathek/gene-roddenberrys-andromeda/scherben-bringen-gluck/
[Tele5] scherben-bringen-gluck: Downloading webpage
ERROR: [Tele5] scherben-bringen-gluck: Unable to extract jwplatform id; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
  File "/home/richard/.local/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 610, in extract
    ie_result = self._real_extract(url)
  File "/home/richard/.local/lib/python3.8/site-packages/yt_dlp/extractor/tele5.py", line 102, in _real_extract
    jwplatform_id = extract_id(JWPLATFORM_ID_RE, 'jwplatform id')
  File "/home/richard/.local/lib/python3.8/site-packages/yt_dlp/extractor/tele5.py", line 91, in extract_id
    return self._html_search_regex(
  File "/home/richard/.local/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1193, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/home/richard/.local/lib/python3.8/site-packages/yt_dlp/extractor/common.py", line 1184, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)

Have the same problem here.
The complete page was rebuilt.
Seems, that a new algorithm is needed to extract the video.

extracted json data from the test url above, using yt-dl to download the urls below shows that they are DRM protected.
{
  "data" : {
    "attributes" : {
      "markers" : {
        "videoAboutToEnd" : 2457000
      },
      "reportProgressInterval" : 60000,
      "streaming" : [ {
        "fallback" : false,
        "protection" : {
          "clearkeyEnabled" : false,
          "drmEnabled" : true,
          "drmToken" : "eyJleHAiOjE2NDE5MjQ1Mjk5MzQsImFsZyI6IkhTMjU2Iiwia2lkIjoiYjJjZjkyMmItYzM4NS00ZjJjLThhMWYtZjkwZDI4OTQyNDJjIn0.eyJtb2RlIjoiU1RSRUFNSU5HIiwic2NvcGUiOiJsaWNBdXRoIiwiZXhwIjoxNjQxOTI0NTI5LCJvcGVyYXRvcklkIjoiMzA1OCIsImp0aSI6IjBFM0YyOEY2MDk5N0U4MTI0NzkxQ0VGRTFGNzMxOUZCIiwiY29udGVudFJlZiI6IjhmOTQ2ZTg0LThkOGMtNDIwOC05YzBhLTI5YjQwYjI2ZWY4NyIsImxpY2Vuc2VEdXJhdGlvbiI6IlBUMjNINTlNNTkuOTc5MTUzNzkxUyJ9.YaxaAZV--hKEsPJaluW0hxBAP8PJGqfMp-zpHMRjqZQ",
          "schemes" : {
            "fairplay" : {
              "certificateUrl" : "https://nep-prod.conax.cloud/fairplay/certificates/A30BAEFF134A609B019CBBB0D5880803B5D5E9D0",
              "licenseUrl" : "https://nep-prod.conax.cloud/fairplay/license"
            },
            "playready" : {
              "licenseUrl" : "https://nep-prod.conax.cloud/cxplayready/rightsmanager.asmx"
            },
            "widevine" : {
              "licenseUrl" : "https://nep-prod.conax.cloud/widevine/license"
            }
          }
        },
        "type" : "dash",
        "url" : "https://dplaynordics-vod-48.akamaized.net/dplaydni/238885/1/dash/10510906004/manifest.mpd?hdnts=st=1641923929~exp=1642010329~acl=/dplaydni/238885/1/dash/10510906004/*~hmac=c3bf6c9a9dd25658b17f3f90cc0945687cca6b79d5144b0febd3b205da7bc948&bw_start=800"
      }, {
        "fallback" : false,
        "protection" : {
          "clearkeyEnabled" : false,
          "drmEnabled" : true,
          "drmToken" : "eyJleHAiOjE2NDE5MjQ1Mjk5MzQsImFsZyI6IkhTMjU2Iiwia2lkIjoiYjJjZjkyMmItYzM4NS00ZjJjLThhMWYtZjkwZDI4OTQyNDJjIn0.eyJtb2RlIjoiU1RSRUFNSU5HIiwic2NvcGUiOiJsaWNBdXRoIiwiZXhwIjoxNjQxOTI0NTI5LCJvcGVyYXRvcklkIjoiMzA1OCIsImp0aSI6IjBFM0YyOEY2MDk5N0U4MTI0NzkxQ0VGRTFGNzMxOUZCIiwiY29udGVudFJlZiI6IjhmOTQ2ZTg0LThkOGMtNDIwOC05YzBhLTI5YjQwYjI2ZWY4NyIsImxpY2Vuc2VEdXJhdGlvbiI6IlBUMjNINTlNNTkuOTc5MTUzNzkxUyJ9.YaxaAZV--hKEsPJaluW0hxBAP8PJGqfMp-zpHMRjqZQ",
          "schemes" : {
            "fairplay" : {
              "certificateUrl" : "https://nep-prod.conax.cloud/fairplay/certificates/A30BAEFF134A609B019CBBB0D5880803B5D5E9D0",
              "licenseUrl" : "https://nep-prod.conax.cloud/fairplay/license"
            },
            "playready" : {
              "licenseUrl" : "https://nep-prod.conax.cloud/cxplayready/rightsmanager.asmx"
            },
            "widevine" : {
              "licenseUrl" : "https://nep-prod.conax.cloud/widevine/license"
            }
          }
        },
        "type" : "hls",
        "url" : "https://dplaynordics-vod-09.akamaized.net/dplaydni/238885/0/hls/10510906004/playlist.m3u8?hdnts=st=1641923929~exp=1642010329~acl=/dplaydni/238885/0/hls/10510906004/*~hmac=1ff24d9821f7295e3d0c2f5a82cdacf4a2b70b02d9811d2dee9bd244e6c3aca5"
      } ],
      "userInfo" : {
        "packages" : [ "Free" ]
      },
      "viewingHistory" : {
        "viewed" : false
      }
    },
    "id" : "1315162",
    "type" : "videoPlaybackInfo"
  }
}

Discovery Networks site: https://github.com/ytdl-org/youtube-dl/issues/30499

@dirkf Want to make a PR with your patch? The Missing deviceId in context seems to be from DRM. We can catch it and re-raise as DRM error

From my side a good idea, it would leads to less questions. I will close the thread.

Why close this? The specific URL u gave has DRM, but as discussed in https://github.com/ytdl-org/youtube-dl/issues/30499, there are non-DRM videos that can be fixed

Please refer to the last comment of ytdl-org/youtube-dl#30499, I did check it, non-DRM is not available anymore.

https://tele5.de/mediathek/angel-of-mine

O.K., my understanding was not correct. With the DPlayIE extractor, some works ?!

@dirkf Want to make a PR with your patch? The Missing deviceId in context seems to be from DRM. We can catch it and re-raise as DRM error

This error comes from the Discovery API, so it may be appropriate to catch it in 'DPlayBaseIE._get_disco_api_info()` especially as other Discovery sites do the same.
See yt-dl PR #30532. It should translate directly to yt-dlp, although you could replace DPlayIE with DPlayBaseIE. Here I just caught and translated the error.

50e93e03a7ca6ae35a319ea310104f7d6d91eee3


Fix copy method on UnknownMetaMessage class

When using the copy method on UnknownMetaMessage class, it raises TypeError.
>>> import mido
>>> msg = mido.UnknownMetaMessage(type_byte=8)
>>> msg2 = msg.copy(time=0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/trueroad/.local/lib/python3.9/site-packages/mido/midifiles/meta.py", line 507, in copy
    return self.__class__(**attrs)
TypeError: __init__() got an unexpected keyword argument 'type'

This pull request fixes it.

Isn't this trying to fix the same issues as #286?

Isn't this trying to fix the same issues as #286?

It looks like the same issue.
I think #286 is better than this pull request.
Thank you.

No, thank you!


deps.sh is failing in 0.9.0

Deps.sh file has a bug because of which it's never able to download LIBJPEG_TURBO.
The output while downloading is Downloading third_party/libjpeg-turbo version TURBO... which ideally should be Downloading third_party/libjpeg-turbo version <sha_hash>...
Because of that, it's impossible to install this library.

deps.h is useless
ask people to install the required packages with their prefered package manage and get rid of this script. simpler and less problems


Unable to sign in to the mainnet with blockstack ID

This is a Bug Report
:tophat: Description
For bug reports:

What went wrong? received an error message when I tried to log on to Sovereign with Blockstack ID

What did you expect should have happened? Expected to be redirected to my already-created blockstack ID

What was the config you used? Chrome Version 72.0.3626.121 (Official Build) (64-bit) on MacBook Air

What stacktrace or error message from your provider did you see?

For feature proposals:

What is the use case that should be solved. The more detail you describe this in the easier it is to understand for us.
If there is additional config how would it look

:pushpin: Related issues

#010101

:clipboard: Additional Data

Sovereign deployment where you found the issue:
Browser & version:
Screenshot:
Error messages:
URL to reproduce the error:

Thanks @SFSandra, just updated a configuration that fixes this issue 👍


Prepend a string to the sensor entity-name.

Being that I personally have a ton of home-assistant sensors and even several climate sensors, it is hard to organize the sensor data being sent from ambientweather2mqtt. Ideally, I would like to be able to prepend a static or user-defined string that will prepend the sensor name to the entity name to allow me to identify the sensor source more easily.
Format: sensor.<user-defined string>_humidityindoor
Current: sensor.humidityindoor Proposed: sensor.ambientweather_humidityindoor

As a workaround, I found all the entities related to one of these sensors, then added custom friendly_names via customize.yaml. At least finding the entities is a bit easier now.
Ex:
sensor.barometricPressureAbsolute: {friendly_name: aw_home_barometricPressureAbsolute}
sensor.barometricPressureRelative: {friendly_name: aw_home_barometricPressureRelative}
sensor.batteryOk:                  {friendly_name: aw_home_batteryOk}
sensor.batteryPM25Ok:              {friendly_name: aw_home_batteryPM25Ok}
sensor.eventDate:                  {friendly_name: aw_home_eventDate}
sensor.humidityIndoor:             {friendly_name: aw_home_humidityIndoor}
sensor.humidityOutdoor:            {friendly_name: aw_home_humidityOutdoor}
sensor.pm25_24Hour:                {friendly_name: aw_home_pm25_24Hour}
sensor.pm25:                       {friendly_name: aw_home_pm25}
sensor.rainDaily:                  {friendly_name: aw_home_rainDaily}
sensor.rainEvent:                  {friendly_name: aw_home_rainEvent}
sensor.rainHourly:                 {friendly_name: aw_home_rainHourly}
sensor.rainMonthly:                {friendly_name: aw_home_rainMonthly}
sensor.rainTotal:                  {friendly_name: aw_home_rainTotal}
sensor.rainWeekly:                 {friendly_name: aw_home_rainWeekly}
sensor.solarRadiation:             {friendly_name: aw_home_solarRadiation}
sensor.temperatureOutdoor:         {friendly_name: aw_home_temperatureOutdoor}
sensor.uv:                         {friendly_name: aw_home_uv}
sensor.windDirection:              {friendly_name: aw_home_windDirection}
sensor.windGust:                   {friendly_name: aw_home_windGust}
sensor.windSpeed:                  {friendly_name: aw_home_windSpeed}

Closing old issues.


The 100-Continue mechanism doesn't work correctly

The 100-Continue mechanism doesn't seem to work correctly when forwarding requests to the upstream server.
This is visible in particular in failure cases - e.g. 401 Unauthorized
Current behaviour

Client sends a POST request with a relatively big request body and the Expect: 100-continue header but with incorrect basic-auth credentials (Authorization header)
Fabio doesn't include the Expect header in the http request forwarded to the upstream server
Fabio sends back to the client HTTP/1.1 100 Continue before it gets any feedback from the upstream server
Client starts uploading the request body
Fabio starts streaming the request body to the upstream server
Upstream server responds with HTTP/1.1 401 Unauthorized
Fabio forwards the HTTP/1.1 401 Unauthorized back to the client

It "works" from the client perspective as finally it gets the HTTP/1.1 401 Unauthorized response.
The problem is that the client should never start uploading the request body in this scenario which is the main point of the 100-Continue mechanism.
Expected behaviour error case
As per https://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html (section 8.2.3 Use of the 100 (Continue) Status)

Client sends a POST request with a relatively big request body and the Expect: 100-continue header but with incorrect basic-auth credentials (Authorization header)
Fabio forwards the request to the upstream server including the Expect header
Upstream server responds with HTTP/1.1 401 Unauthorized
Fabio forwards the HTTP/1.1 401 Unauthorized back to the client

Expected behaviour success case

Client sends a POST request with a relatively big request body and the Expect: 100-continue header and with valid Authorization header
Fabio forwards the request to the upstream server including the Expect header
Upstream server responds with HTTP/1.1 100 Continue
Fabio forwards the HTTP/1.1 100 Continue back to the client
Client starts uploading the request body
Fabio starts streaming the request body to the upstream server
Upstream server responds with HTTP/1.1 201 Created
Fabio forwards the HTTP/1.1 201 Created back to the client

Seems like this is related to
https://github.com/golang/go/issues/3665
which is fixed in go1.6
@jacekmaza we can verify it tomorrow.

I've just pushed release 1.1rc1 so you can find binaries and a docker image to test. This was compiled with Go 1.6rc2. I'll release 1.1 once Go 1.6 is out.

we have tried today with 1.1 (with go1.6.rc2) but unfortunately same problem still exists.
Wonder if some extra flag need to set to turn on a proper behavior.

AFAICT net/http automatically replies with 100-continue BEFORE ServeHTTP is called, thus preventing step 3 from happening before other steps in the given expected cases above.
https://go.googlesource.com/go/+/master/src/net/http/server.go#1680


"ImportError: No module named ..." error

Using the 25.0.1 version we get the following error:
ERROR: Failure: ImportError (No module named 'tests.mock_decorators')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/Documents/projects/project-name/env-ut/lib/python3.4/site-packages/nose/failure.py", line 39, in runTest
    raise self.exc_val.with_traceback(self.tb)
  File "/home/Documents/projects/project-name/env-ut/lib/python3.4/site-packages/nose/loader.py", line 418, in loadTestsFromName
    addr.filename, addr.module)
  File "/home/Documents/projects/project-name/env-ut/lib/python3.4/site-packages/nose/importer.py", line 47, in importFromPath
    return self.importFromDir(dir_path, fqname)
  File "/home/Documents/projects/project-name/env-ut/lib/python3.4/site-packages/nose/importer.py", line 94, in importFromDir
    mod = load_module(part_fqname, fh, filename, desc)
  File "/home/Documents/projects/project-name/env-ut/lib/python3.4/imp.py", line 235, in load_module
    return load_source(name, filename, file)
  File "/home/Documents/projects/project-name/env-ut/lib/python3.4/imp.py", line 171, in load_source
    module = methods.load()
  File "<frozen importlib._bootstrap>", line 1220, in load
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/Documents/projects/project-name/tests/tests_ut/test_aux_json.py", line 12, in <module>
    from tests.mock_decorators.attribute_mock import AttributeMock
ImportError: No module named 'tests.mock_decorators'

We change the version to 24.3.1 and it works perfect.

This issue is probably due to the intentional change with 25.0, which changes the default path ordering. The fact that you're importing from a package called tests leads me to believe that you probably have something masking that package name in the local install that in earlier versions of Setuptools had precedence.
Do this for me - in the code that is failing to test:
import tests
print(tests.__file__)

That'll reveal where tests is being found and why it doesn't have a mock_decorators member/module.


Why iojs couldn't be compiled from sources?

The work for this has been completed, but it takes too long to do it and the travis-ci tests time out.

Is there a branch where this lives? Would like to be able to run from that branch if the work is there.

@tolmasky it's up at https://github.com/ljharb/nvm/tree/iojs_source - but please do not encourage people to install from it, as I can't guarantee anything works reliably without proper tests.


Error in inclusion of tx, skipping Error: Protocol hooks not executable: Nonce not matching: tx sent 44, onchain value is 50

Describe the bug
Error in inclusion of tx, skipping Error: Protocol hooks not executable: Nonce not matching: tx sent 44, onchain value is 50
Transaction stuck in the mempool and keep retrying over and over again
Even in unit test we are having this problem if not producing block after every tx
To Reproduce
Do multiple transaction simultaneously especially without waiting or in parallel from the same wallet
Expected behavior
Either that transaction must be rejected from the mempool or executed. Next transaction should be able to be executed next no matter what happen to that failed transaction.
Screenshots

Hi @Chomtana, this behavior is consistent with the implementation of the transaction API, it fetches the latest known nonce from the chain state. It does not account for pending transactions in the mempool. The transaction API offers an extra option where you can specify { nonce: ...}. Its what we use internally as well.
In the near future we may implement a mempool nonce tracker as well - it should be relatively simple to add. Please keep an eye out on future releases.


Passes in --no-python to our cpp test runners.

--no-python works fine now.

@hoytak - I think something is wrong with your branch. You seem to have a lot of unrelated commits.


Allow multiple generated queue names

Relevant changes in queue method to support multiple generated queue names on a channel.
Some accidental linting as well.

ping

ping @datanoise


envopen compile check in some file

Proposed changes
Issue Number: close #xxx

run buildall

run buildall

run buildall

run p0


multi: use more efficient key to avoid hashing the blob.

This PR does 2 things (let's see whether the CI passes)

adds a more efficient key to not hash the big onion-blob each time
adds a new function which reports whether no HTLCs are on the channel state at all. Prior to this we would only look at the htlcs which were on both commitment transactions however to really have a clean state we need to make sure no HTLCs are on either of them.

@ziggie1984, remember to re-request review from reviewers when ready

@ziggie1984, remember to re-request review from reviewers when ready

@ziggie1984, remember to re-request review from reviewers when ready


HomeScreenResponse always empty answer

HomeScreenResponse always empty answer
what is needed in this request to get a list of videos?

HomeScreenResponse always empty answer

Hello! You can take a look at my explanation in this issue.

what is needed in this request to get a list of videos?

You need to provide some cookies from a google account. Alternatively, you can opt to use the TrendingVideosResponse to get some videos.

Hi!
got it, thanks for the quick reply!!

can you give an example of constructing a TrendingVideosResponse query ?
for example for music?

can you give an example of constructing a TrendingVideosResponse query ?
for example for music?

Hello! You can use the same code as the tests use (here).
As YouTube doesn't use fixed endpoints for their trending categories, YouTubeKit won't give you the constants (requestParams) as they could change anytime. However, you can try to do the request once and save the token for the music tab and reuse it in the future if you're willing to take the risk of getting an empty value if they change the parameter.


run optionally returns output

Closes https://github.com/anvilco/spectaql/issues/492

@newhouse thanks for this change , another suggestion would also be to pass the input introspection json as a json object/stream.
right now we can either pass a url or a file path.


Popover doesn't fully respect the mode attribute

Environment

Operating System: Linux
Node Version:     v18.0.0
Nuxt Version:     3.7.4
CLI Version:      3.9.0
Nitro Version:    2.6.3
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, modules, pinia, imports, image, colorMode, i18n, runtimeConfig, routeRules, app, typescript
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Version
2.10.0
Reproduction
https://stackblitz.com/edit/nuxt-ui-cjmvrf?file=app.vue
Description
Issue:
while creating some drag and drop elements, i noticed that the UPopover component doesn't truly respect the mode property, i set the mode property to hover and i added an open-delay with a value of 5000 ms, so i expected that it won't show the popover when i for example click the button before the 5000 ms is passed, and it would respect the mode property but it didn't, and that will result in the loss of any other mouse events such as Dragging.
Source
i traced the issue and it's an issue with HeadlessUi where they chose to prevent the default click event (so in the case of mode="hover" it would prevent the dragging or double clicking events ....)
function handleClick(event: MouseEvent) {
      if (props.disabled) return
      if (isWithinPanel.value) {
        api.closePopover()
        dom(api.button)?.focus() // Re-focus the original opening Button
      } else {

        // These two are the issue
        event.preventDefault()
        event.stopPropagation()
        if (api.popoverState.value === PopoverStates.Closed) closeOthers?.(api.buttonId.value!)
        api.togglePopover()
        dom(api.button)?.focus()
      }
 }

and nuxtui doesn't handle the click but only handles the mouseenter, mouseleave events
My Proposition:
i'm not sure if changing core HeadlessUi functionality is an option, but if it is and you're open to the change, i can create a pull request that makes it respond only to hover/focus in the hover mode or at the very least just allow events to propagate since Popover is a wrapper component. if not, then just thank you for creating an amazing lib i'm addicted.
Additional context
No response
Logs
No response

Just forgot to mention that even if you have the property open set to true it would still prevent events, so i can't wrap anything that has more functionality with the Popover, i would have to create a custom one.

closed due to inactivity


Avoid breaking changes by reinstantiating and deprecating API

Description
Deprecate renamed API instead of deleting it to avoid breaking changes
Check list

[x] I have updated CHANGELOG.md if required.
[x] I have updated documentation if required.

Maybe call this out in the changelog?

already there https://github.com/bumble-tech/appyx/pull/272/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR6


[vcpkg baseline][asiosdk] Update hash

Describe the pull request

What does your PR fix?
In CI unstable test, asiosdk build failed with wrong hash:

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:105 (message):
  File does not have expected hash:

          File path: [ D:/downloads/temp/asiosdk_2.3.3_2019-06-14.zip ]
      Expected hash: [ 65d6f2fa4f0e23939fcdf46ff3b04760089c0f14e2ac3e37e63cbf6733f3acc93ab930ea9e3f1eb60483d4654f7ba4699ed506531074c4f55e763ad92736c231 ]
        Actual hash: [ f73973067502a6d1696372eac57707984d6df57fe0cfc47f74ea73e401f0258c63f72ff9b5a161f61df551c0f1cb3f82d1ea4e8e3e301debc9dcab4c069f07f5

Note: No feature needs to test.

Thanks nancy!


Add .gitignore and simplify setup

Added a .gitignore file, changed the ip command so that it also works on MacOS and simplified client cert generation code in the scripts.

Just to note, having slept on it, the new ip command I’ve put in the script detects the external address as opposed to the internal one. Not sure what the intention was of the script as I’m still working through and debugging setup.

OK that makes sense. I think the problem is that we're assuming a certain interface name - I've got multiple interfaces on the Mac for instance and none of them are eth0 and so an ifconfig fails.
echo `ifconfig  eth0 | grep 'inet ' | awk '{print \$2}' | cut -d / -f 1`
...
ifconfig: interface eth0 does not exist

I get the following with the hostname option:
hostname -I | awk '{print $1}'
...
hostname: illegal option -- I
usage: hostname [-fs] [name-of-host]

Possibly one where we decide to allow someone to set an environment variable and pull that if it exists/is defined?

Please try following commands, and post the results. This IP is not really necessary for a working container. If this commands don't work, i will skip this for MacOS
ifconfig | grep "inet " | grep -v <IP_ADDRESS> ifconfig en0

This seems to give me the right answer
ifconfig | grep "inet " | grep -v <IP_ADDRESS> | awk '{ print $2 }'

this responce i get, i need only <IP_ADDRESS>. Do you get also several IP return, or only one?

<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>

This seems to give me the right answer
ifconfig | grep "inet " | grep -v <IP_ADDRESS> | awk '{ print $2 }'

this responce i get, i need only <IP_ADDRESS>. Do you get also several IP return, or only one?
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>

please try ipconfig getifaddr en0 othervise i remove this HostIP :)

This seems to give me the right answer
ifconfig | grep "inet " | grep -v <IP_ADDRESS> | awk '{ print $2 }'

this responce i get, i need only <IP_ADDRESS>. Do you get also several IP return, or only one?
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>

Update: please try ipconfig getifaddr en0 othervise i remove this HostIP :)

Works fine for me now 👍

@darth-veitcher please try the dev branch, if this changes works with your MacOS Host


Update for rootless jailbreaks

Title describes it all, there isn't a deb file with iphoneos-arm64 architecture. Yes, I know there is the .tipa file, but that doesn't open symlinks (idk if the deb does). No symlinks means that you can't access /var/jb/ folder


fix(file-uploader): change button from sm to default primary

partly Closes #2043
Removes the sm attribute on the uploader button so it meets the spec height of 48px.
Could the reviewers double check that the background color on uploaded files is properly field-01?

@laurenmrice Thank you for your visual review (as always)! May I ask what you think the absolute no-go items for this PR are?

@asudoh absolute no-go for this PR would be that we need to have a close button on each uploaded file.

@laurenmrice It looks like the close X icon as well as the confirmation and error handling states and their icons are something we provide to consumers of this component -- but do not handle the functionality of on our end. So that first example is -- "hey, here's what we give you out of the box" and the example of the various states below it is an example of some of the things they can do with our component.
@asudoh Looked at file-uploader.js and it looks like setState is a public API -- does this sound right?

Looked at file-uploader.js with @joshblack and it looks like setState is a public API -- does this sound right?

Thank you for asking @dakahn - Yes, and the close button shows up upon setState() call IIRC.

Let's track the remainder in #2088 - Thanks @laurenmrice for working with on triaging each items!


Detect fetchpriority attribute

Detect the fetchpriority attribute in the priority-hints custom metric.
Test page: https://www.runnersworld.com/
Test results: https://webpagetest.httparchive.org/result/220510_B2_1/

LGTM


Removing defunct apply-secure-migration script

Description
This PR removes references to the now defunct apply-secure-migration.sh
Reviewer Notes
NA
Setup
Add any steps or code to run in this section to help others prepare to run your code:
rm -f bin/milmove && make bin/milmove

# Local Migrations

make db_dev_destroy && make db_dev_start && DB_TIMEOUT=30 make db_dev_create && make db_dev_migrate

Code Review Verification Steps

[X] Code follows the guidelines for Logging
[X] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #dp3-engineering
[ ] Secure migrations have been tested using scripts/run-prod-migrations

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

For the lazy here is a csv file test data. After downloading rename to .csv since GH doesn't seem to allow uploading of csv files.
sample_migration.txt


 or  tag is not working

I'm using this library in my project but i've seen <strike> and <del> tags are not working.
    String priceString="<del>123</del>";//model.getPriceHtml();
    Log.e("Price",priceString);
    holder.price.setText(HtmlCompat.fromHtml(mContext,priceString,HtmlCompat.FROM_HTML_MODE_LEGACY));

Sorry its my fault i had done various styling on textview, closing this issue.

Thanks for circling back on this!


Increase default mysql max_connections to 1000

Fixed in https://github.com/rancherio/rancher/pull/791


Boolean causes compilation error on xcode & iOS

I fixed my version this way and it seems to work:
jsonxx.h, line 64:
typedef bool BooleanJS;
I quess Boolean is a reserved word from prefixed headers on iOS SDK.

Seems to be error in our specific environment only. Builds fine in other envs. Still, Boolean is very generic name if thinking of possible name collissions :-)


Newsflash location qualification.

The purpose of this issue is to implement the back end of the feature that is described by the following drawing

In general the feature will allow users with the appropriate  permission to accept/reject or set the location of the news flash.

[ ] Add a type for NewsflashLocationQualification, with the values None, verified, rejected, manual, and a code for each value. You can use our LabeledCode class.
[ ] Add the fields below to the NewsFlash table. (We work with alembic. The tables are defined in models.py.
- newsflash_location_qualification to . I prefer that we will use the code rather than the string in the DB.
- location_qualifying_user (we have a user system - anyway.views.user_system), Nullable.
You will also need to set the value of these fields in the code that creates news-flash items. Look at insert_new_newsflash() in file anyway/parsers/news_flash_db_adapter.py.
[ ] Add api to set newsflash_location_qualification:

api/news-flash/id (fields in the body), method:PUT
fields:

newsflash_location_qualification (the string value)
road_segment_name (in case of suburban), or yishuv_name and street1_hebrew

[] Add a role in our user system that grants a permission to set location verification.

Implemented in #2224