Invalid Client Secret error

Hello,
I am receiving this error under Events when I describe the nginx-ingress-controller service. This is resulting in there never being assigned an external IP address.
Normal   EnsuringLoadBalancer        3m (x10 over 24m)  service-controller  Ensuring load balancer Warning  CreatingLoadBalancerFailed  3m                 service-controller  (combined from similar events): Error creating load balancer (will retry): failed to ensure load balancer for service ingress-nginx/nginx-ingress-controller: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/3a00c58a-2609-4b7a-9420-87860b89757b/resourceGroups/MC_test_eba-next_test-eba-next-k8s_westeurope/providers/Microsoft.Network/loadBalancers?api-version=2017-09-01: StatusCode=0 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.\r\nTrace ID: 415df32b-757a-4fe3-9f99-97b3f8431c00\r\nCorrelation ID: 252b0fd5-0bd5-4c71-a655-c7759e5bcb38\r\nTimestamp: 2018-08-24 13:42:57Z","error_codes":[70002,50012],"timestamp":"2018-08-24 13:42:57Z","trace_id":"415df32b-757a-4fe3-9f99-97b3f8431c00","correlation_id":"252b0fd5-0bd5-4c71-a655-c7759e5bcb38"}
Is there any advise you can provide please?
Thank you.

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

ID: ada58160-dc50-b977-d3bc-65f92406e16d
Version Independent ID: 5c596e04-fddb-effe-3b72-575f4df42d4e
Content: Configure ingress with Azure Kubernetes Service (AKS) cluster
Content Source: articles/aks/ingress.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

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

@koman can you tell me the exact command you are using that is producing the error?
Also are you running these commands on prem or in the Azure Cloud Shell? Based on the error it appears you might have lost you connection to the Azure infrastructure and need to login again using az login

Hi,
Here is the exact sequence of commands I ran in Azure Cloud Shell -
`helm install stable/nginx-ingress --namespace kube-system
NAME:   youthful-gerbil
LAST DEPLOYED: Sat Aug 25 08:35:58 2018
NAMESPACE: kube-system
STATUS: DEPLOYED
RESOURCES:
==> v1/ServiceAccount
NAME                           SECRETS  AGE
youthful-gerbil-nginx-ingress  1        4s
==> v1beta1/ClusterRoleBinding
NAME                           AGE
youthful-gerbil-nginx-ingress  4s
==> v1/Service
NAME                                           TYPE          CLUSTER-IP    EXTERNAL-IP  PORT(S)                     AGE
youthful-gerbil-nginx-ingress-controller       LoadBalancer  <IP_ADDRESS>      80:31313/TCP,443:30938/TCP  3s
youthful-gerbil-nginx-ingress-default-backend  ClusterIP     <IP_ADDRESS>          80/TCP                      2s
==> v1beta1/Deployment
NAME                                           DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
youthful-gerbil-nginx-ingress-controller       1        1        1           0          2s
youthful-gerbil-nginx-ingress-default-backend  1        1        1           0          2s
==> v1beta1/PodDisruptionBudget
NAME                                           MIN AVAILABLE  MAX UNAVAILABLE  ALLOWED DISRUPTIONS  AGE
youthful-gerbil-nginx-ingress-controller       1              N/A              0                    2s
youthful-gerbil-nginx-ingress-default-backend  1              N/A              0                    2s
==> v1/Pod(related)
NAME                                                            READY  STATUS             RESTARTS  AGE
youthful-gerbil-nginx-ingress-controller-67f6496989-l94v2       0/1    ContainerCreating  0         1s
youthful-gerbil-nginx-ingress-default-backend-868449b9bd-wqtnm  0/1    ContainerCreating  0         1s
==> v1/ConfigMap
NAME                                      DATA  AGE
youthful-gerbil-nginx-ingress-controller  1     4s
==> v1beta1/ClusterRole
NAME                           AGE
youthful-gerbil-nginx-ingress  4s
==> v1beta1/Role
youthful-gerbil-nginx-ingress  4s
==> v1beta1/RoleBinding
NAME                           AGE
youthful-gerbil-nginx-ingress  4s
NOTES:
The nginx-ingress controller has been installed.
It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status by running 'kubectl --namespace kube-system get services -o wide -w youthful-gerbil-nginx-ingress-controller'
An example Ingress that makes use of the controller:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: nginx
name: example
namespace: foo
spec:
rules:
- host: www.example.com
http:
paths:
- backend:
serviceName: exampleService
servicePort: 80
path: /
# This section is only required if TLS is to be enabled for the Ingress
tls:
- hosts:
- www.example.com
secretName: example-tls
If TLS is enabled for the Ingress, a Secret containing the certificate and key must also be provided:
apiVersion: v1
kind: Secret
metadata:
name: example-tls
namespace: foo
data:
tls.crt:
tls.key:
type: kubernetes.io/tls`
`koman@Azure:~$ kubectl get services --all-namespaces
NAMESPACE       NAME                                            TYPE           CLUSTER-IP     EXTERNAL-IP   PORT(S)                      AGE
default         azure-vote-back                                 ClusterIP      <IP_ADDRESS>           6379/TCP                     19h
default         azure-vote-front                                LoadBalancer   <IP_ADDRESS>         80:31126/TCP                 19h
default         kubernetes                                      ClusterIP      <IP_ADDRESS>               443/TCP                      4d
kube-system     heapster                                        ClusterIP      <IP_ADDRESS>            80/TCP                       4d
kube-system     kube-dns                                        ClusterIP      <IP_ADDRESS>              53/UDP,53/TCP                4d
kube-system     kubernetes-dashboard                            ClusterIP      <IP_ADDRESS>            80/TCP                       4d
kube-system     tiller-deploy                                   ClusterIP      <IP_ADDRESS>             44134/TCP                    23h
kube-system     youthful-gerbil-nginx-ingress-controller        LoadBalancer   <IP_ADDRESS>        80:31313/TCP,443:30938/TCP   30s
kube-system     youthful-gerbil-nginx-ingress-default-backend   ClusterIP      <IP_ADDRESS>            80/TCP                       29s
test-eba-next   azure-vote-back                                 ClusterIP      <IP_ADDRESS>            6379/TCP                     20m
test-eba-next   azure-vote-front                                LoadBalancer   <IP_ADDRESS>        80:30780/TCP                 20m`
`kubectl describe service youthful-gerbil-nginx-ingress-controller --namespace kube-system
Name:                     youthful-gerbil-nginx-ingress-controller
Namespace:                kube-system
Labels:                   app=nginx-ingress
chart=nginx-ingress-0.25.1
component=controller
heritage=Tiller
release=youthful-gerbil
Annotations:
Selector:                 app=nginx-ingress,component=controller,release=youthful-gerbil
Type:                     LoadBalancer
IP:                       <IP_ADDRESS>
Port:                     http  80/TCP
TargetPort:               http/TCP
NodePort:                 http  31313/TCP
Endpoints:                <IP_ADDRESS>:80
Port:                     https  443/TCP
TargetPort:               https/TCP
NodePort:                 https  30938/TCP
Endpoints:                <IP_ADDRESS>:443
Session Affinity:         None
External Traffic Policy:  Cluster
Events:
Type     Reason                      Age               From                Message

Warning  CreatingLoadBalancerFailed  1m                service-controller  Error creating load balancer (will retry): failed to ensure load balancer for service kube-system/youthful-gerbil-nginx-ingress-controller: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/3a00c58a-2609-4b7a-9420-87860b89757b/resourceGroups/MC_test_eba-next_test-eba-next-k8s_westeurope/providers/Microsoft.Network/loadBalancers?api-version=2017-09-01: StatusCode=0 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.\r\nTrace ID: c9d13148-2874-4a49-a684-2499af4a3200\r\nCorrelation ID: 58bb1f5a-742d-4b14-964f-999c82383e3e\r\nTimestamp: 2018-08-25 08:36:01Z","error_codes":[70002,50012],"timestamp":"2018-08-25 08:36:01Z","trace_id":"c9d13148-2874-4a49-a684-2499af4a3200","correlation_id":"58bb1f5a-742d-4b14-964f-999c82383e3e"}
Warning  CreatingLoadBalancerFailed  1m                service-controller  Error creating load balancer (will retry): failed to ensure load balancer for service kube-system/youthful-gerbil-nginx-ingress-controller: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/3a00c58a-2609-4b7a-9420-87860b89757b/resourceGroups/MC_test_eba-next_test-eba-next-k8s_westeurope/providers/Microsoft.Network/loadBalancers?api-version=2017-09-01: StatusCode=0 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.\r\nTrace ID: 4befac11-7bdb-40c0-8921-e30a9a843900\r\nCorrelation ID: f6b0c7af-c253-42db-ad77-ed927eb34a17\r\nTimestamp: 2018-08-25 08:36:07Z","error_codes":[70002,50012],"timestamp":"2018-08-25 08:36:07Z","trace_id":"4befac11-7bdb-40c0-8921-e30a9a843900","correlation_id":"f6b0c7af-c253-42db-ad77-ed927eb34a17"}
Warning  CreatingLoadBalancerFailed  1m                service-controller  Error creating load balancer (will retry): failed to ensure load balancer for service kube-system/youthful-gerbil-nginx-ingress-controller: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/3a00c58a-2609-4b7a-9420-87860b89757b/resourceGroups/MC_test_eba-next_test-eba-next-k8s_westeurope/providers/Microsoft.Network/loadBalancers?api-version=2017-09-01: StatusCode=0 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.\r\nTrace ID: 039c7762-3a38-484f-9ea6-667ec3543500\r\nCorrelation ID: 14755905-5d5e-4e6a-ac0c-d98a0f49229e\r\nTimestamp: 2018-08-25 08:36:17Z","error_codes":[70002,50012],"timestamp":"2018-08-25 08:36:17Z","trace_id":"039c7762-3a38-484f-9ea6-667ec3543500","correlation_id":"14755905-5d5e-4e6a-ac0c-d98a0f49229e"}
Warning  CreatingLoadBalancerFailed  52s               service-controller  Error creating load balancer (will retry): failed to ensure load balancer for service kube-system/youthful-gerbil-nginx-ingress-controller: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/3a00c58a-2609-4b7a-9420-87860b89757b/resourceGroups/MC_test_eba-next_test-eba-next-k8s_westeurope/providers/Microsoft.Network/loadBalancers?api-version=2017-09-01: StatusCode=0 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.\r\nTrace ID: f06bc55f-4728-4667-bf3e-96c21db23600\r\nCorrelation ID: 927fd57e-7081-4010-b0b3-4b71f0273587\r\nTimestamp: 2018-08-25 08:36:37Z","error_codes":[70002,50012],"timestamp":"2018-08-25 08:36:37Z","trace_id":"f06bc55f-4728-4667-bf3e-96c21db23600","correlation_id":"927fd57e-7081-4010-b0b3-4b71f0273587"}
Normal   EnsuringLoadBalancer        12s (x5 over 1m)  service-controller  Ensuring load balancer
Warning  CreatingLoadBalancerFailed  12s               service-controller  Error creating load balancer (will retry): failed to ensure load balancer for service kube-system/youthful-gerbil-nginx-ingress-controller: azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/3a00c58a-2609-4b7a-9420-87860b89757b/resourceGroups/MC_test_eba-next_test-eba-next-k8s_westeurope/providers/Microsoft.Network/loadBalancers?api-version=2017-09-01: StatusCode=0 -- Original Error: adal: Refresh request failed. Status Code = '401'. Response body: {"error":"invalid_client","error_description":"AADSTS70002: Error validating credentials. AADSTS50012: Invalid client secret is provided.\r\nTrace ID: 13763ade-437b-4141-b388-751ba4983b00\r\nCorrelation ID: e49a0ff6-5a5a-4309-88a0-75661777434d\r\nTimestamp: 2018-08-25 08:37:17Z","error_codes":[70002,50012],"timestamp":"2018-08-25 08:37:17Z","trace_id":"13763ade-437b-4141-b388-751ba4983b00","correlation_id":"e49a0ff6-5a5a-4309-88a0-75661777434d"}`
This seems to be the exact error - Error validating credentials. AADSTS50012: Invalid client secret is provided.
Any thoughts would be very much apreciated :-)
Thank you!

@koman I am not seeing the same error when running the commands.
What access level to your subscription do you have? Are you a subscription admin? You can check this by going to the portal -> Subscriptions -> Access Control
Then lookup your username and see what access level you have

Hi Micah
Ok, I am definitely not the admin for this subscription. At BMW our team
have to ask for temporary admin access when attempting certain tasks.
Do you think this error when deploying Ingress is caused by a lack of admin
rights?
I will request from the internal Azure Cloud team admin rights and try
again.
I will get back to you.
Thank you Micah.
On Mon, 27 Aug 2018 at 18:55, Micah<EMAIL_ADDRESS>wrote:

@koman https://github.com/koman I am not seeing the same error when
running the commands.
What access level to your subscription do you have? Are you a subscription
admin? You can check this by going to the portal -> Subscriptions -> Access
Control
Then lookup your username and see what access level you have
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/13940#issuecomment-416292392,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-53w9Rb-OcN9HlQnveTu-MEKUvmcuYks5uVCSFgaJpZM4WLZbc
.

--
Kind regards,
Koman Rudden

Thanks @koman
You might not need to have full admin access but you are creating resources so you need to be enabled to do so.
Have you also tried removing the cluster and trying the doc again to see if you get the same error each time?

Morning Micah,
I think what I'll try today is to create a separate cluster (leave this one
as is) and attempt the tutorial again. I'll let you know how I get along
later.
Thanks,
Koman
On Mon, 27 Aug 2018 at 21:43, Micah<EMAIL_ADDRESS>wrote:

Thanks @koman https://github.com/koman
You might not need to have full admin access but you are creating
resources so you need to be enabled to do so.
Have you also tried removing the cluster and trying the doc again to see
if you get the same error each time?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/13940#issuecomment-416344336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-53x17Ncgs2mYJy8ta3b2dnCc-1QyAks5uVEvMgaJpZM4WLZbc
.

--
Kind regards,
Koman Rudden

@koman any update on this?

@koman I will close this for now. But when ready just let me know and we can always reopen and continue.

@micah thank you. I am trying a few things with a new resource group and
K8s cluster. Will be in touch if need be.
On Fri, 31 Aug 2018 at 17:40, Micah<EMAIL_ADDRESS>wrote:

@koman https://github.com/koman I will close this for now. But when
ready just let me know and we can always reopen and continue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/13940#issuecomment-417703778,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-539ARqdQ6LLIf0icw-2TbwelAF1edks5uWVjigaJpZM4WLZbc
.

--
Kind regards,
Koman Rudden


fix: Websockets shouldn't timeout

:+1:

:goat:
(I assume we're trying not to pre-emptively close the connection.)

:+1:


Add of Call Park Agent Inbound Queue needed for call-park-agent-inbound-flow.yaml

The Inbound Flow call-park-agent-inbound-flow.yaml names a target queue of "Call Park Agent Inbound Queue" for incoming interactions. Suggesting this be added to the main.tf file so this queue is present when Archy tries to published this yaml file as part of the Terraform Apply process.

I have a few feature edits to provide to this repo for running these tf files on a blank Genesys Cloud Org. I had a couple of issues when running the Terraform Apply. Hope this helps.

Hi @sekest
Thank you for taking the time to contribute to our repo. However, this issue was already addressed in one of our previous commits, so I will decline this commit for now.


v1.2.0 TODO (set aside until v1.1.0 Released)

[ ] Implement plot sales
[ ] Add new commands

[ ] Add sell command
[ ] Add auction command
[ ] Add protect command
[ ] Add move command
[ ] Add expired command
[ ] Add addtime command

[ ] Add new permissions

[ ] Add player and admin sell permission
[ ] Add player and admin auction permission
[ ] Add player and admin protect permission
[ ] Add admin move  permission

[ ] Implement plot expirations

[ ] Add resetexpired command
[ ] Add admin expired permission
[ ] Add admin addtime permission
[ ] Add admin resetexpired permission

[ ] Add more Data Providers

[x] Add MySQL Provider
[ ] Add JSON provider
[ ] Add YAML Provider

[x] Add EssentialsPE Economy Support
[ ] Fix MySQL provider
[ ] Event Support
[ ] Add customizable plot generators
[ ] Finish Debugging

I might borrow some code from the EconomyS plugins for the expirations

Should I add Travis-CI? To check builds and stuff.

you can if you want

First up to do here will be custom generators so I don't have to solve the user's problems for them...
XD I'm getting lazy!

Can you add this repo to Travis-CI? Then I'll add script.

d454660

actually screw travis, nvm.

... that was a waste

@SalmonGER can you set up Travis-CI for us?

Well, if you already setup travis-ci then i'll add the script then.

most of the needed script is already added, I just need to be able to install pthreads

It Works!!

Well then...

XD sorry, I got bored of waiting...

EssentialsPE's economy support? (It came out a few days ago)

Also, if you want to use releases to upload the phar, make the draft blank. Travis will automatically put the phars there.

I've tried to make travis put the working versions with the releases, but I get an error every time I change the deploy settings, so I will manually add a release for each patch or version bump

I will be testing the commands again.

I will update the german language.

Sorry for my late reply

Just tell me what exacetely and how?

Look up on how to fork a repo and how to make a pull request if you dont know how to do that. Just go to resources and look for deu.ini (or something I forgot) and edit it. Look in English language pack and translate. DO NOT translate commands please. (Ex: /p help cannot be changed, only what is after the command can be changed.)

Okay. In this moment i have to eat I start in 1 hour.

Ok want to start but As I see it already exist? I cant see any difference from the english and the german pack

@Aerico

*@Aericio

The difference is that we added new commands to the english pack, but those weren't added to the german pack. I'll leave you a template file to use.
template.txt

If you can't do it, @SalmonGER can translate instead.

@Aericio Yeah well accidently committed my changes into the master branch of my fork

Is it already translated by Salmon? If no I can do it now

The Pack was updated!

I can translate in Romanian for this plugin, but how?

https://help.github.com/articles/fork-a-repo/
Make an new file called rom.ini. Edit the "langtemplate.ini" file. Be sure to replace "langtemplate" with "rom". After finishing all the translations, look here

Ok thanks

i can do dutch / nederlands

@Driesboy Make a pull request, please.

@Driesboy That would be very helpful to us

i will start on it soon

Can there be EconomyAPI support?

Add EssentialsPE Economy Support

It is already added.

I've tried to set it up but it doesn't work.

Please make a seperate issue on this. This one if for our TODO list.

all branches are protected? -_-

@Aericio not all I don't think

Customization plot generators was added accidentally but I'll take it 😋

/p|/plot command should do something, like redirect itself to /p help.


Introduction to C

Description
I have prepared a presentation on:
INTRODUCTION TO C
[x] Some facts and features about C Programming Language
[x] Advantages & Disadvantages
[x] Syntax and Semantics
[x] Errors
[x] C Data Types
[x] Variable declaration in C
[x] Special use of sizeof() operator
Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

Closing this as PR got merged !


Dependencies

Hi,
I had to install  libpython-dev and libssl-dev to successfully run sudo pip install webmux. You might consider updating your README.md.

Added. Thanks.


[SPARK-32405][SQL][FOLLOWUP] Remove USING _ in CREATE TABLE in JDBCTableCatalog docker tests

What changes were proposed in this pull request?
remove USING _ in CREATE TABLE in JDBCTableCatalog docker tests
Why are the changes needed?
Previously CREATE TABLE syntax forces users to specify a provider so we have to add a USING _ . Now the problem was fix and we need to remove it.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests

Test build #132176 has started for PR 30599 at commit c8bbbce.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36777/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36777/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36777/

@cloud-fan Sorry, forgot to remove these last time.

Test build #132176 has finished for PR 30599 at commit c8bbbce.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132176/

thanks, merging to master!

Thanks!


Using multi-arch images for test execution

Description
PR to test #4284
Checklist

[ ] Investigated and inspected CI test results

Testing Performed
CI is sufficient

/test

Hi @gavin-stackrox  this PR can be closed. I have created new PR https://github.com/stackrox/stackrox/pull/4358 so you don't have to keep merging our changes.


Debugger seems to have issues with the last character in locals

I'm using VS Code and encountering an issue with debugging. In the local section of the variables, it seems that every string is missing its last character. I've tried several approaches, such as reinstalling VS Code, disabling extensions, or checking the configuration, but none of them seem to solve the issue.
Can someone help me identify what this problem is and suggest a way to fix it? Any help would be greatly appreciated.

Please file this on the c++ debug extension, thanks


All the characters are messed up.

Is this just me in Windows 11 or is it just messed up:

Same for me, using Win 10.


##WARNING##:PowerShell Core (pwsh.exe) is not available on agent machine. Falling back to using Windows PowerShell (powershell.exe). This can cause reduced performance

I have a pipeline with that i call the "IIS web app deploy" task twice.
the first i got error, but the last, its ok.
the first log
2021-03-16T14:45:15.8461138Z ==============================================================================
2021-03-16T14:45:15.8461433Z Task         : IIS web app deploy
2021-03-16T14:45:15.8461693Z Description  : Deploy a website or web application using Web Deploy
2021-03-16T14:45:15.8461944Z Version      : 0.184.0
2021-03-16T14:45:15.8462138Z Author       : Microsoft Corporation
2021-03-16T14:45:15.8462483Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/iis-web-app-deployment-on-machine-group
2021-03-16T14:45:15.8462889Z ==============================================================================
2021-03-16T14:45:16.6126018Z ##WARNING##:PowerShell Core (pwsh.exe) is not available on agent machine. Falling back to using Windows PowerShell (powershell.exe). This can cause reduced performance. Please install the newer version of PowerShell for improved performance.
2021-03-16T14:45:16.6165708Z [command]C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -Command "Expand-Archive -Path \"C:\azagent\A2\_work\r1\a\IMPLANTANET\Common\Implanta.Common.Web.CDN.zip\" -DestinationPath \"C:\azagent\A2\_work\_temp\temp_web_package_11780163432773327\" -Force"
2021-03-16T14:45:34.3159510Z Remove-Item : Cannot find path 'C:\azagent\A2\_work\_temp\temp_web_package_11780163432773327\Content\D_C\a\1\s\src\Comm
2021-03-16T14:45:34.3160324Z on\Implanta.Common.Web.CDN\obj\Release\Package\PackageTmp\BarCodeHandler.ashx' because it does not exist.
2021-03-16T14:45:34.3169917Z At
2021-03-16T14:45:34.3170466Z C:\windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:411
2021-03-16T14:45:34.3171025Z char:46
2021-03-16T14:45:34.3171407Z + ...                 $expandedItems | % { Remove-Item $_ -Force -Recurse }
2021-03-16T14:45:34.3171875Z +                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-16T14:45:34.3172488Z     + CategoryInfo          : ObjectNotFound: (C:\azagent\A2\_...odeHandler.ashx:String) [Remove-Item], ItemNotFoundEx
2021-03-16T14:45:34.3172936Z    ception
2021-03-16T14:45:34.3173273Z     + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
2021-03-16T14:45:34.3173584Z
2021-03-16T14:45:34.3196734Z Remove-Item : Cannot find path 'C:\azagent\A2\_work\_temp\temp_web_package_11780163432773327\Content\D_C\a\1\s\src\Comm
2021-03-16T14:45:34.3197465Z on\Implanta.Common.Web.CDN\obj\Release\Package\PackageTmp\bin\' because it does not exist.

but in the same pipeline, the next task, runs ok.
the second log
2021-03-16T14:46:13.4512632Z ##[section]Starting: Deploy IIS Website/App: CRM
2021-03-16T14:46:13.4593875Z ==============================================================================
2021-03-16T14:46:13.4594171Z Task         : IIS web app deploy
2021-03-16T14:46:13.4594441Z Description  : Deploy a website or web application using Web Deploy
2021-03-16T14:46:13.4594682Z Version      : 0.184.0
2021-03-16T14:46:13.4594888Z Author       : Microsoft Corporation
2021-03-16T14:46:13.4595225Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/iis-web-app-deployment-on-machine-group
2021-03-16T14:46:13.4595626Z ==============================================================================
2021-03-16T14:46:17.9437651Z ##[warning]Unable to apply transformation for the given package. Verify the following.
2021-03-16T14:46:17.9439940Z ##[warning]1. Whether the Transformation is already applied for the MSBuild generated package during build. If yes, remove the <DependentUpon> tag for each config in the csproj file and rebuild.
2021-03-16T14:46:17.9441945Z ##[warning]2. Ensure that the config file and transformation files are present in the same folder inside the package.
2021-03-16T14:46:18.0400057Z Initiated variable substitution in config file : C:\azagent\A2\_work\_temp\temp_web_package_04240053675901212\web.config
2021-03-16T14:46:18.0450274Z Skipped Updating file: C:\azagent\A2\_work\_temp\temp_web_package_04240053675901212\web.config
2021-03-16T14:46:18.0450803Z XML variable substitution applied successfully.
2021-03-16T14:46:18.0906546Z [command]"C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe" -verb:sync -source:IisApp='C:\azagent\A2\_work\_temp\temp_web_package_04240053675901212' -dest:iisApp='daf-07.implantadev.net.br/crm' -skip:Directory=App_Data -skip:Directory=^api$
2021-03-16T14:46:18.4921467Z Info: Object dirPath (daf-07.implantadev.net.br/crm\api) skipped due to skip directive 'CommandLineSkipDirective 2'.
2021-03-16T14:46:18.5072541Z Info: Adding file (daf-07.implantadev.net.br/crm\1-es2015.e18d59dcb22750d8ccff.js).
2021-03-16T14:46:18.5134447Z Info: Adding file (daf-07.implantadev.net.br/crm\1-es5.e18d59dcb22750d8ccff.js).
2021-03-16T14:46:18.5139507Z Info: Adding file (daf-07.implantadev.net.br/crm\10-es2015.5b40fe0727b1a8ff0c42.js).
2021-03-16T14:46:18.5146813Z Info: Adding file (daf-07.implantadev.net.br/crm\10-es5.5b40fe0727b1a8ff0c42.js).
2021-03-16T14:46:18.5154719Z Info: Adding file (daf-07.implantadev.net.br/crm\11-es2015.8c7132ed62bcc7eed110.js).
2021-03-16T14:46:18.5163928Z Info: Adding file (daf-07.implantadev.net.br/crm\11-es5.8c7132ed62bcc7eed110.js).

Required Information
Enter Task Name: IIS web app deploy
Environment

Server - Azure Pipelines runing o VM o Azure

Accountname:https://dev.azure.com/implantainformatica/
ProjectName:IMPLANTANET
Release definition name:DAF
Link: https://dev.azure.com/implantainformatica/IMPLANTANET/_releaseProgress?releaseId=40568&_a=release-environment-deployment-group-logs&environmentId=880539&deploymentGroupPhaseId=106117&agentName=DEV-DAF-1

Agent : Private:

OS: Windows
Agent version :2.181.1

Issue Description
the first return warning, and due to the alert (I believe) the copy of the files fails, you cannot extract the files correctly from the "zip".
When this error occurs, the target folder (iis application) looks like that:

but with all folders without files

I noticed, that Saturday worked
2021-03-13T04:07:06.0259138Z ##[section]Starting: Deploy CDN
2021-03-13T04:07:06.0367340Z ==============================================================================
2021-03-13T04:07:06.0367787Z Task         : IIS web app deploy
2021-03-13T04:07:06.0368315Z Description  : Deploy a website or web application using Web Deploy
2021-03-13T04:07:06.0368685Z Version      : 0.179.0
2021-03-13T04:07:06.0368992Z Author       : Microsoft Corporation
2021-03-13T04:07:06.0369501Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/iis-web-app-deployment-on-machine-group
2021-03-13T04:07:06.0370051Z ==============================================================================
2021-03-13T04:07:06.4297490Z [command]C:\azagent\A1\_work\_tasks\IISWebAppDeploymentOnMachineGroup_1b467810-6725-4b6d-accd-886174c09bba\0.179.0\node_modules\webdeployment-common-v2\7zip\7z.exe x -oC:\azagent\A1\_work\_temp\temp_web_package_16331721703286406 C:\azagent\A1\_work\r1\a\IMPLANTANET\Common\Implanta.Common.Web.CDN.zip
2021-03-13T04:07:06.4624132Z
2021-03-13T04:07:06.4637351Z 7-Zip [64] 16.00 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-10
2021-03-13T04:07:06.4641076Z
2021-03-13T04:07:06.4642111Z Scanning the drive for archives:
2021-03-13T04:07:06.4647875Z 1 file, 13024068 bytes (13 MiB)
2021-03-13T04:07:06.4651069Z
2021-03-13T04:07:06.4654675Z Extracting archive: C:\azagent\A1\_work\r1\a\IMPLANTANET\Common\Implanta.Common.Web.CDN.zip
2021-03-13T04:07:08.8024050Z --
2021-03-13T04:07:08.8024845Z Path = C:\azagent\A1\_work\r1\a\IMPLANTANET\Common\Implanta.Common.Web.CDN.zip
2021-03-13T04:07:08.8025321Z Type = zip
2021-03-13T04:07:08.8025695Z Physical Size = 13024068
2021-03-13T04:07:08.8025980Z
2021-03-13T04:07:08.8027840Z Everything is Ok
2021-03-13T04:07:08.8028176Z
2021-03-13T04:07:08.8028477Z Folders: 198
2021-03-13T04:07:08.8028779Z Files: 1184
2021-03-13T04:07:08.8029287Z Size:       45900419
2021-03-13T04:07:08.8029631Z Compressed: 13024068

But, today not
2021-03-16T12:01:37.1473166Z ##[section]Starting: Deploy CDN
2021-03-16T12:01:37.1574539Z ==============================================================================
2021-03-16T12:01:37.1574862Z Task         : IIS web app deploy
2021-03-16T12:01:37.1575127Z Description  : Deploy a website or web application using Web Deploy
2021-03-16T12:01:37.1575382Z Version      : 0.184.0
2021-03-16T12:01:37.1575579Z Author       : Microsoft Corporation
2021-03-16T12:01:37.1575927Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/iis-web-app-deployment-on-machine-group
2021-03-16T12:01:37.1576445Z ==============================================================================
2021-03-16T12:01:37.9633541Z ##WARNING##:PowerShell Core (pwsh.exe) is not available on agent machine. Falling back to using Windows PowerShell (powershell.exe). This can cause reduced performance. Please install the newer version of PowerShell for improved performance.
2021-03-16T12:01:37.9676786Z [command]C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -NoProfile -NonInteractive -Command "Expand-Archive -Path \"C:\azagent\A1\_work\r1\a\IMPLANTANET\Common\Implanta.Common.Web.CDN.zip\" -DestinationPath \"C:\azagent\A1\_work\_temp\temp_web_package_2484840271019726\" -Force"
2021-03-16T12:01:58.4396150Z Remove-Item : Cannot find path 'C:\azagent\A1\_work\_temp\temp_web_package_2484840271019726\Content\D_C\a\1\s\src\Commo
2021-03-16T12:01:58.4396783Z n\Implanta.Common.Web.CDN\obj\Release\Package\PackageTmp\BarCodeHandler.ashx' because it does not exist.
2021-03-16T12:01:58.4397094Z At
2021-03-16T12:01:58.4407658Z C:\windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:411
2021-03-16T12:01:58.4408301Z char:46
2021-03-16T12:01:58.4408593Z + ...                 $expandedItems | % { Remove-Item $_ -Force -Recurse }
2021-03-16T12:01:58.4409021Z +                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-16T12:01:58.4409476Z     + CategoryInfo          : ObjectNotFound: (C:\azagent\A1\_...odeHandler.ashx:String) [Remove-Item], ItemNotFoundEx
2021-03-16T12:01:58.4409835Z    ception
2021-03-16T12:01:58.4410104Z     + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
2021-03-16T12:01:58.4410348Z
2021-03-16T12:01:58.4435895Z Remove-Item : Cannot find path 'C:\azagent\A1\_work\_temp\temp_web_package_2484840271019726\Content\D_C\a\1\s\src\Commo
2021-03-16T12:01:58.4436429Z n\Implanta.Common.Web.CDN\obj\Release\Package\PackageTmp\bin\' because it does not exist.
2021-03-16T12:01:58.4436708Z At
2021-03-16T12:01:58.4437061Z C:\windows\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:411
2021-03-16T12:01:58.4437399Z char:46

Just the task version was changed (0.179.0 to 0.184.0)

Im pretty sure that this is the problem https://github.com/microsoft/azure-pipelines-tasks/commit/92ae148a02b1a174cc212222f9d92b07dc536ea6

This change to use Expand-Archive instead of 7zip broke the IIS web app deploy task on all my servers. Please fix or revert it.

The problem continues,
but I managed to get around it by installing PowerShell Core 7.1 on my server
# download the installation code
$code = Invoke-RestMethod -Uri https://aka.ms/install-powershell.ps1
# turn it into a function
$null = New-Item -Path function:Install-PowerShell -Value $code
# run the function
Install-PowerShell -UseMSI -Quiet

So, i restarted the server and ran another deploy, and finally works fine!

After reading the commit referenced above, it seems the developers left a switch to force the IIS Web App Deploy task back to using 7zip for artifact extraction. Just add a pipeline variable "ADO_FORCE_USE_7ZIP" set to "true".

For reference:
https://github.com/microsoft/azure-pipelines-tasks/commit/92ae148a02b1a174cc212222f9d92b07dc536ea6#diff-46a33d08a56b1f9b206377aa6c90dccb24740d1a652f0b425b9c789d302d4aaeR14

https://github.com/microsoft/azure-pipelines-tasks/issues/14607

We've been having the same issues as described here: https://github.com/microsoft/azure-pipelines-tasks/issues/14595#issuecomment-800602330
Previously this task was using 7zip for the deployment, now as of this update it always tries to use Powershell Core without ensuring that it's installed on the machine. The fallback behaviour of using Windows Powershell is broken because the expand-archive command does not exist in Windows Powershell.
In short, if you must do updates that override existing functionality (e.g. stopping the use of 7zip) please could you at least make sure that the fallback for your new approach actually works.
File extraction commands exist in Windows Powershell so it shouldn't be difficult to substitute those for expand-archive if the task falls back to using Windows Powershell.

Also, do these tasks not have incrementable version numbers? Azure tells me that the IIS Web App Deploy task is version 0, with no other versions available. If this change doesn't warrant a version bump, retaining the old version that doesn't use Expand-Archive, I'm not sure what does.

@chshrikh The notes you wrote in #14607 also don't appear in the README for this task (https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/IISWebAppDeploymentOnMachineGroupV0/README.md). If the plan is really to leave things as they stand now, that documentation should probably be updated to say what version of PowerShell is required for the task to function normally, and how to force it to revert back to using 7zip.

@GeorgePotterCivica can you try your scenario by adding pipeline variable named - ADO_FORCE_USE_7ZIP and  set its value as true. With this task will forcefully use the 7Zip for unzipping

@pixelnix we will update the read md once our new solution reaches to all customers.

@GeorgePotterCivica can you try your scenario by adding pipeline variable named - ADO_FORCE_USE_7ZIP and set its value as true. With this task will forcefully use the 7Zip for unzipping

That didn't work for us, but installing PowerShell Core did, so we're happy with the new setup now that it's working again. Thank you :)

I can verify that the pipeline variable solved the same issue for us; however, we are running many locally hosted agents that will need powershell approved/installed,  or we have many release pipelines that will need an edit.  Will there be a fix for this issue so this isn't work we have to do, or is it a permanent (breaking) change?  CI/CD is broken for us at the moment.

The thing that the developer called "experimental" in the PR is now the official accepted way to back out the breaking change to this task. Good times.

I'll also note that our servers are Azure-hosted windows server instances that were created as recently as December, and they don't have the requisite version of Powershell to run this task. Seems like this change could easily cause problems for far more users than for whom it fixes the issue with UTF8 characters in filenames.

I have the same situation as ebcdavid- CI/CD is broken at the moment.

I have the exact same situation as @ebcdavid. As a matter of fact, we have to cancel our Production deployment because we saw this issue surface all of a sudden. Do we have a timeline for a permanent fix for this? Also, if we could tag such breaking changes to a different major version so as to be backward compatible. I didn't find any way to specify the old working version in release pipelines. Thanks.

We had the same issue, installing powershell core 7.1 as shown by penihel resolved the issue, thankfully we didn't have many servers to apply the workaround to.

This is a terrible way to introduce a breaking change. The version number of the Task should have been increased so we could at least choose the old behavior. We spent 2 hours last night trying to figure out why all our release pipelines started failing before finally finding the obscure ADO_FORCE_USE_7ZIP setting.
The logic to detect whether to use PowerShell or 7Zip should at least check to see whether Expand-Archive exists in PowerShell and revert to 7Zip if not. If that's not possible we at least need a way to change the setting more easily.

This also broke all of our release pipelines and has delayed a production release.    Installing the powershell core requires taking production machines offline and scheduling a maintenance window (causing further delays).
I would simply like a answer as to whether or not this is going to be fixed so the the IIS Web App Deploy activity functions properly as it did before?

@pixelnix we will update the read md once our new solution reaches to all customers.

Should we all take this to mean that you will NOT be rolling this back?

I do like how the status of this ticket is clearly being updated but no one's bothered to answer any of the questions yet.
Surely this isn't complex to fix? Either roll back the change or issue some workaround guidance or do a patch to have it default back to 7zip if Powershell Core isn't installed.

This is affecting us now too.  We have hundreds of servers.  The log says that it is falling back to Powershell but the extract does not actually work.  Please fix this quickly!

Official responses notwithstanding, there appears to be a PR to back this out by reversing the sense of the change - keeping PowerShell as a method of archive extraction but making 7zip the default.
https://github.com/microsoft/azure-pipelines-tasks/pull/14626

Official responses notwithstanding, there appears to be a PR to back this out by reversing the sense of the change - keeping PowerShell as a method of archive extraction but making 7zip the default.
#14626
-edit- please note I am not speaking for the Azure devs here

Looking at #14626 is still appears that they are going to force/require that we add a pipeline variable: ADO_FORCE_USE_PSUNZIP in order for the current IIS Web App Deploy step to work properly....Complete hack IMO.  Its going to require Admins to update every pipeline currently that currently uses the IIS Web App Deploy action.
Also, It appears the PR was merged into master.  Can an Op please respond with an ETA, when this hack will be in Production?

Looking at #14626 is still appears that they are going to force/require that we add a pipeline variable: ADO_FORCE_USE_PSUNZIP in order for the current IIS Web App Deploy step to work properly....Complete hack IMO. Its going to require Admins to update every pipeline currently that currently uses the IIS Web App Deploy action.
Also, It appears the PR was merged into master. Can an Op please respond with an ETA, when this hack will be in Production?

FWIW I read that PR differently; I think all your pipelines that do not declare any hacky variables will work as they did before. Only if a pipeline is run with ADO_FORCE_USE_PSUNZIP=true will the extraction task use PowerShell, otherwise it'll use 7zip as it did before the breaking change. Users who are experiencing the original issue Azure devs tried to fix (UTF characters in filenames) will need to add that variable to their pipelines in order for them to use PowerShell Expand-Archive. Hoping I'm right here.

Below are the coordinates that helped me get around this problem

I installed the version PowerShell 7.1.3
I accessed Windows services (services.msc)
I restarted Azure services

When you restart Azure services on Windows, the settings are updated.
Hope this helps

@pixelnix you are correct

Sorry for the inconvenience caused.
We are working on fix which will solve both the issues 1) defaulting to existing 7 zip tooling and 2) Handling the special characters with msbuild packages.
Only customers who are facing issues with special character in msbuild need to update their pipelines and add a special variable "ADO_FORCE_USE_PSUNZIP" with value 'true', other customer does not need to update their pipeline, their scenario should work fine as it was working till last week. Even for customer who has added pipeline variable "ADO_FORCE_USE_7ZIP" or installed PS core, there should not be any change required, their scenario will continue to work without any pipeline / task update.
We are already in process of rolling out the new fix with 0.184.1 version of task. It will reach to all customer within next three days.
Thanks for your support

The deployment of 0.184.1 has been completed, as stated with previous comment, existing pipeline should was as expected and defaulted to use 7 zip


feat(main): include changes needed for SDK to update identities

feat(main): include changes needed for SDK to update identities
feat(main): add features necessary for SDK identity updates
wip: commit wip changes for example project

#67  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Plugin Utils for getting, setting, and listing views

Implements 3 utility functions for plugins:

list_target_views(): adds target view choices to inputs
get_target_view(): decodes user's choice from list_target_views()
set_view(): wrapper for ctx.trigger() with set_view operator, utilizing serialization

Usage:

import fiftyone as fo
import fiftyone.operators as foo
from fiftyone.operators import types
import fiftyone.plugins.utils as fopu

class MyOperator(foo.Operator):
    ....

    def resolve_input(self, ctx):
       inputs = types.Object()
       ....
       fopu.list_target_views(ctx, inputs)
       ....

    def execute(self, ctx):
       ....
       target_view = fopu.get_target_view(ctx, target)
       ....
       view = ...
       fopu.set_view(ctx, view)

Release Notes
Is this a user-facing change that should be mentioned in the release notes?

[ ] No. You can skip the rest of this section.
[ ] Yes. Give a description of this change to be included in the release
notes for FiftyOne users.

(Details in 1-2 sentences. You can just refer to another PR with a description
if this PR is part of a larger change.)
What areas of FiftyOne does this PR affect?

[ ] App: FiftyOne application changes
[ ] Build: Build and test infrastructure changes
[ ] Core: Core fiftyone Python library changes
[ ] Documentation: FiftyOne documentation changes
[x] Other

Here's the proposed usage that I'd like to see:
import fiftyone.operators as foo
from fiftyone.operators import types

class MyOperator(foo.Operator):
    def resolve_input(self, ctx):
       inputs = types.Object()
       inputs.select_view(ctx)

    def execute(self, ctx):
       selected_view = ctx.get_selected_view()
       ctx.ops.set_view(view)

Closed in favor of https://github.com/voxel51/fiftyone/pull/4076


Make dataview creates relation links

Is your feature request related to a problem? Please describe.
I use Dataview as catalogs for my vaults. But I found that Dataview cannot create links from the files so that I cant see relations from relation map.
Describe the solution you'd like
Add an option in the preferences is enough. Or I think we can add some methods in the dataviewjs block to decide whether a block should creates relation links.

See #42 and #63. We are currently limited by the Obsidian API for this to work.

Closed as duplicate. In case you have any other suggestions, please add them to the appropriate issue.


Amplify hosting with CloudFront and S3 still allows direct access to the S3 bucket with HTTP

Describe the bug
Amplify Hosting (using the CLI with 'amplify add hosting') sets up CloudFront and S3 bucket but still allows direct access to the objects in S3.
To Reproduce
Steps to reproduce the behavior:
Create an app following the getting started guide.

amplify add hosting
1a - choose the PROD option for CloudFront and S3 (not the DEV option)

amplify push

amplify publish

Now you can visit the cloudfront URL displayed by the output of the publish command just fine and it is a HTTPS URL.
However you can also craft the URL for the underlying hosting S3 bucket and view objects directly, using both HTTP and HTTPS.
The reason is that the objects are uploaded with ACL Public Read and this allows direct access. This does not match best practices for using S3 with CloudFront as described here: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-https-cloudfront-to-s3-origin.html
Also, when S3 is used via CloudFront, static website hosting should be disabled so that all access is only allowed from CloudFront via HTTPS.
Expected behavior
The hosting S3 bucket is configured so that only CloudFront can access the static website.
Users trying to hit the S3 URLs directly with HTTP/HTTPS are denied access.
Screenshots
NA.
Desktop (please complete the following information):

OS: macOS
Browser: firefox
Version: 66.0.1

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

#2369 addressed this.


Unable to install on windows using pip (error in azure-mgmt-resource setup command)

Description
When trying to install azure-cli using the Windows command line, I get this error:
pip install --user azure-cli

Downloading/unpacking azure-mgmt-resource==1.0.0rc1 (from azure-cli-acr->azure-cli)
Downloading azure-mgmt-resource-1.0.0rc1.zip (219kB): 219kB downloaded
Running setup.py egg_info for package azure-mgmt-resource
Wheel is not available, disabling bdist_wheel hook
error in azure-mgmt-resource setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
Complete output from command python setup.py egg_info:
Wheel is not available, disabling bdist_wheel hook
error in azure-mgmt-resource setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here:
pip install --user azure-cli
Python 2.7.13
CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here:
Not installed yet
OS Version: What OS and version are you using?
Answer here:
Microsoft Windows [Version 10.0.15063]
Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here:
cmd.exe

@akempe what's the output of pip --version and pip freeze?
I suspect there's an old version of pip or setuptools.

Right so...
pip --version

pip 1.4.1 from c:\python27 (python 2.7)

I then ran pip install --upgrade pip and pip install --upgrade setuptools and now get:

pip 9.0.1 from c:\python27\lib\site-packages (python 2.7)

pip show setuptools now shows:

Version: 35.0.2

This fixed the issue above, but now it's erroring with:

Collecting azure-datalake-store==0.0.8 (from azure-cli-dls->azure-cli)
Using cached azure-datalake-store-0.0.8.tar.gz
Complete output from command python setup.py egg_info:
Wheel is not available, disabling bdist_wheel hook
error in azure-datalake-store setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
Command "python setup.py egg_info" failed with error code 1 in c:\users\xxx\appdata\local\temp\pip-build-xucp01\azure-datalake-store\

Prior to the pip upgrade, pip freeze gave me:

Fabric==1.7.0
astroid==1.4.9
distribute==0.6.49
isort==4.2.5
lazy-object-proxy==1.2.2
mccabe==0.6.1
mixpanel==4.3.2
paramiko==1.11.0
pycrypto==2.6
pylint==1.6.5
six==1.10.0
transifex-client==0.12.4
urllib3==1.20
virtualenv==15.0.2
wrapt==1.10.8

After the update I get:

appdirs==1.4.3
astroid==1.4.9
Fabric==1.7.0
isort==4.2.5
lazy-object-proxy==1.2.2
mccabe==0.6.1
mixpanel==4.3.2
packaging==16.8
paramiko==1.11.0
pycrypto==2.6
pylint==1.6.5
pyparsing==2.2.0
six==1.10.0
transifex-client==0.12.4
urllib3==1.20
virtualenv==15.0.2
wrapt==1.10.8

@akempe I couldn't repro and we now have an MSI for Windows so closing issue.
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli#windows

FYI have the same same issue on Linux (Red Hat Enterprise Linux Server release 7.4 (Maipo)):
Downloading/unpacking azure-mgmt-resource==1.2.1 (from azure-cli-acr->azure-cli)
  Downloading azure-mgmt-resource-1.2.1.zip (340kB): 340kB downloaded
  Running setup.py egg_info for package azure-mgmt-resource
    Wheel is not available, disabling bdist_wheel hook
    error in azure-mgmt-resource setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
    Complete output from command python setup.py egg_info:
    Wheel is not available, disabling bdist_wheel hook

error in azure-mgmt-resource setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

That's with pip 1.4.1 in a virtualenv.
I let pip upgrade itself to pip 10.0.1.
Now the install works.

I'm still having issues with this, and unfortunately am not able to upgrade to pip 10 everywhere.
If anyone has advice on other workarounds, it'd be appreciated.

@colemickens what's the PIP version, OS, and Python version you encounter this issue?


Dismissable announcement

components/Announce/blogpost.js - blog post announcement, contain test strings, I'll clean it up after.

TODO:

Release announcements
@howardchung, is it possible to not just opening [release] pr, but creating releases via
https://github.com/odota/ui/releases. If so, we can fetch release notes and make automated announcements about releases through github api - https://api.github.com/repos/odota/ui/releases. But also if no, we can just set up label 'release' for each release pr's, that I created for test and use this - https://api.github.com/repos/odota/ui/issues?labels=release&state=closed

Is there any significant advantage to using the releases API?
The PR is made as part of the ship process (putting code into the production branch) but it would be an extra manual step to create a release as well.  It looks like both support returning notes in the "body" property.

Is there any significant advantage to using the releases API?
Nope, I do not think so. I've been considering options.
Then just add the label 'release' for release pr's.

If we want to make sure only admins can update the text (rather than any contributor), we can check that the PR was actually merged (merged_at) and targets production branch.

https://api.github.com/repos/odota/blog/pulls / https://api.github.com/repos/odota/blog/issues returns nothing, I described this in note to gh support, also bad thing is that there is no way to limit amount of returned results. /pulls doesn't support labels parameter

Hmm maybe we should use the release api then

Probably we should establish markup for body of releases for patches and blog. It's can be parsed with regex or something. Maybe first line of body should be the announcement's message?
For example, like this:
> Short message, like summary that will be extracted from `body` via regex, maybe use block-quote for this?

And here some notes that will be ignored

Can we just use markdown?  I think there are existing markdown libraries for js

apparently pull requests count as issues, so you can fetch pull requests by label like this:
http://stackoverflow.com/questions/36974157/github-api-is-it-possible-to-list-pull-requests-by-label

After some thought: Let's just centralize all banner updates on the PRs in this repo.  If we want to announce a blog post, we can make a new release (with a version bump or some token change) with a link to the blog post.  Since it's technically shipping something to UI it makes sense to have a PR tracking that change in the history.  It also makes the code simpler.

Ok, I'll try to finish it tomorrow 🍀


Repeated builds will generate larger app?

Not sure why this happens. Maybe it's concatenating them somehow or something.
Should we clean the destination before doing anything?

The build folder and cache folder should be automatically excluded when building, as well as any devDependencies
That way you wouldn't have to maintain duplicate package.json files.

We should skip devDependencies. +'

I ran into this issue too and adding exclusions to the files property of NwBuilder seemed to help.
var nw = new NwBuilder({
  files: ['./**/**', '!./build/**/**'], // use the glob format
  version: "0.12.0",
  platforms: ['osx32', 'osx64', 'win32', 'win64']
});

notice the !./build//. I didn't think about excluding cache but I should add that too.


Add additional log to track unsatisfied requests

Print out more info of unsatisfied requests for investigation.

Codecov Report

Merging #1372 into master will increase coverage by 0.02%.
The diff coverage is 88.88%.

@@             Coverage Diff             @@
##             master   #1372      +/-   ##
===========================================
+ Coverage     71.98%     72%   +0.02%
- Complexity     6756    6758       +2
===========================================
  Files           486     486
  Lines         38353   38371      +18
  Branches       4879    4883       +4
===========================================
+ Hits          27609   27630      +21
+ Misses         9410    9408       -2
+ Partials       1334    1333       -1

Impacted Files
Coverage Δ
Complexity Δ

...ain/java/com.github.ambry/rest/ResponseStatus.java
95.34% <100%> (+0.11%)
26 <1> (+1)
:arrow_up:

...va/com.github.ambry.rest/NettyResponseChannel.java
92.11% <88.23%> (+0.07%)
123 <4> (+5)
:arrow_up:

...a/com.github.ambry.network/SSLBlockingChannel.java
75.67% <0%> (-5.41%)
4% <0%> (ø)

.../java/com.github.ambry.router/DeleteOperation.java
93.43% <0%> (-1.46%)
44% <0%> (-1%)

...c/main/java/com.github.ambry.network/Selector.java
78.21% <0%> (-1.05%)
77% <0%> (-1%)

...src/main/java/com.github.ambry.commons/BlobId.java
93.05% <0%> (-0.35%)
73% <0%> (-1%)

...ls/src/main/java/com.github.ambry.utils/Utils.java
78.54% <0%> (-0.31%)
122% <0%> (-1%)

...in/java/com.github.ambry.store/BlobStoreStats.java
70.62% <0%> (-0.21%)
103% <0%> (ø)

...java/com.github.ambry.network/SSLTransmission.java
71.38% <0%> (+0.3%)
76% <0%> (-1%)
:arrow_down:

... and 3 more

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 c40eaf2...f3a2628. Read the comment docs.


Test failures: unknown opcode

Getting "unknown opcode" (???) on latest main in test_pip_file_in_git_repo_with_data_file and test_local_pip_file_with_data_file
Both in local and aws tests (haven't tried others).
/tests/automated/test_local_automated.py::TestBasicsLocal::test_pip_file_in_git_repo_with_data_file Failed: [undefined]meadowrun.run_job_core.MeadowrunException: Failure while running a Meadowrun job: PYTHON_EXCEPTION
Log file: /tmp/pytest-of-kurts/pytest-5/test_pip_file_in_git_repo_with0/job_logs/remote_function.19c27f4b-d5d5-4a44-a3d4-d7a7665a1f15.log
Traceback (most recent call last):
  File "/meadowrun/code__meadowrun_func_worker.py", line 74, in main
    result = function(*(function_args or ()), **(function_kwargs or {}))
  File "/home/kurts/projects/meadowrun/tests/basics.py", line 328, in remote_function
SystemError: unknown opcode
self = <automated.test_local_automated.TestBasicsLocal object at 0x7f7a9b39a850>

    @pytest.mark.skipif("sys.version_info < (3, 8)")
    @pytest.mark.asyncio
    async def test_pip_file_in_git_repo_with_data_file(self) -> None:
        """This test is doing double-duty, also checking for the machine_cache folder"""

        # TODO upgrade the Meadowrun referenced in requirements.txt and move this inside
        # remote_function
        machine_cache_folder = meadowrun.MACHINE_CACHE_FOLDER

        def remote_function() -> str:
            # make sure the machine cache folder is writable
            with open(
                os.path.join(machine_cache_folder, "foo"), "w", encoding="utf-8"
            ) as f:
                f.write("test")

            with open("example_package/test.txt", encoding="utf-8") as f:
                return f.read()

>       results = await run_function(
            remote_function,
            self.get_host(),
            self.get_resources_required(),
            Deployment.git_repo(
                repo_url=self.get_test_repo_url(),
                interpreter=PipRequirementsFile("requirements.txt", "3.9"),
            ),
        )

tests/basics.py:333:

probably because I was using py3.8 to py3.9


Unable to install from source on Windows

Hi,
I'm trying to install from source with latest devel.
However, it doesn't work.
(tofu_dev) C:\Users\FL232714\Documents\GitHub\tofu>pip install -e ".[dev]"
Obtaining file:///C:/Users/FL232714/Documents/GitHub/tofu
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Anaconda3\envs\tofu_dev\python.exe' 'C:\Anaconda3\envs\tofu_dev\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\FL232714\AppData\Local\Temp\tmprlzaqcsh'
       cwd: C:\Users\FL232714\Documents\GitHub\tofu
  Complete output (16 lines):
  Traceback (most recent call last):
    File "C:\Anaconda3\envs\tofu_dev\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 207, in <module>
      main()
    File "C:\Anaconda3\envs\tofu_dev\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 197, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\Anaconda3\envs\tofu_dev\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 54, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\FL232714\AppData\Local\Temp\pip-build-env-dzkqyuzc\overlay\Lib\site-packages\setuptools\build_meta.py", line 146, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "C:\Users\FL232714\AppData\Local\Temp\pip-build-env-dzkqyuzc\overlay\Lib\site-packages\setuptools\build_meta.py", line 127, in _get_build_requires
      self.run_setup()
    File "C:\Users\FL232714\AppData\Local\Temp\pip-build-env-dzkqyuzc\overlay\Lib\site-packages\setuptools\build_meta.py", line 142, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 21, in <module>
      import _updateversion as up
  ModuleNotFoundError: No module named '_updateversion'
  ----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Anaconda3\envs\tofu_dev\python.exe' 'C:\Anaconda3\envs\tofu_dev\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\FL232714\AppData\Local\Temp\tmprlzaqcsh' Check the logs fo
r full command output.

I'm a bit confused, this used to work.
Since the _updateversion.py is just a single function, I'm going to put it inside the setup.py and see if it fixes this.

"from source" means you pulled the git repo right ?
what version of tofu is this ?
what version of pip?
and silly question: if you do a "ls" do you see the file ?

from source" means you pulled the git repo right ? yes, I started with SHA 6988b9f09bfdd2412b4f7e32c0a8e0b25691fa05
what version of tofu is this ? '1.4.2a3-2-gfaeb7af'
what version of pip? pip 19.2.2

I just tried on linux this morning installing the new alpha4 from source with pip, and I got the same error as @flothesof
(empty) [ DV226270 spica ~ ] pip install tofu==1.4.2a4
Collecting tofu==1.4.2a4
  Downloading https://files.pythonhosted.org/packages/cd/36/9f98c7ebf4d03f120aa113574f6f45342aef6d3245fcb6be3e64d2cdac2e/tofu-1.4.2a4.tar.gz (35.6MB)
     |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 35.6MB 12.7MB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /Home/DV226270/.conda/envs/empty/bin/python /Home/DV226270/.conda/envs/empty/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpiza0pryo
       cwd: /tmp/pip-install-ihp04ea_/tofu
  Complete output (16 lines):
  Traceback (most recent call last):
    File "/Home/DV226270/.conda/envs/empty/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
      main()
    File "/Home/DV226270/.conda/envs/empty/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Home/DV226270/.conda/envs/empty/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 91, in get_requires_for_build_wheel
      return hook(config_settings)
    File "/tmp/pip-build-env-mwzc1vpm/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 146, in get_requires_for_build_wheel
      return self._get_build_requires(config_settings, requirements=['wheel'])
    File "/tmp/pip-build-env-mwzc1vpm/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 127, in _get_build_requires
      self.run_setup()
    File "/tmp/pip-build-env-mwzc1vpm/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 142, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 21, in <module>
      import _updateversion as up
  ModuleNotFoundError: No module named '_updateversion'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /Home/DV226270/.conda/envs/empty/bin/python /Home/DV226270/.conda/envs/empty/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpiza0pryo Check the logs for full command output.

Very strange, it looks like the _updateversion.py module is not included in the pip sdist, so it is not found.
Solutions:

Understand why it is not included anymore (it was before)
and / or do as suggested by @flothesof and include the function updateversion() directly into the setup.py (but we wont be able to run it as standalone anymore).

@lasofivec, is there something changed to the sdist in your opinion ?
Did you try installing with pip recently ?

I think it is because we forgot to specify that _updateversion.py should be included in the sdist:
https://docs.python.org/3.7/distutils/sourcedist.html
From what I understand, we can include it via the setup options and / or via a MANIFEST.in

But, I just created a sdist locally:
python setup.py sdist --dist-dir .
and unzipped the tar.gz to see its content:
tar -xvzf tofu-1.4.2a4.tar.gz
The _updateversion.py is already in there...
I don't understand why it is not found and pip install time. Any idea ?

From the error message I seem to understand that _updateversion.py shall be included in the build-dependencies, because it fails at
Getting requirements to build wheel ... error
This is logical, because we import _updateversion.py at the top of setup.py.
Suggested hotfix given the previous discussions, time emergency:
=> copy updateversion() into setup.py as suggested by @flothesof
=> also keep _updateversion.py as standalone for use when necessary
We'll need to discuss later how to design a more elegant solution, but it should do for the time being
Agreed ?

Tested, solves the problem, see PR #299

the thing is I am not able to recreate the error...

Are you sure you tried with the alpha4 ?
And from a folder from which _updateversion was absent ?

Fixed in devel by PR #299

Just tested this with devel from commit 2d9b1837a126d4ad9f88b8b7779ab5ddd58a5f66, it now works for me.
Closing.

See 'Notes for the future' in Issue #295

I don't think the solution we took here was the right one. I understood a little better why _updateversion.py is no longer packaged. There a couple of issues explaining this better, eg:
https://github.com/pypa/pip/issues/6375
And
https://github.com/pypa/setuptools/issues/1698#issue-413564098

"How the semantics of a setuptools.build_meta differ from directly invoking setup.py; at the moment, the only deliberate difference is that with setuptools.build_meta, the source root is not on sys.path when you invoke it, meaning that you should either stop importing things from the local path, or add sys.path.insert(0, os.dirname(file)) to the top of your setup.py file."

So there are two solutions, for both it would mean to take out the version of the function in the setup.py:

adding sys.path.insert(0, os.dirname(__file__)) to the top of your setup.py file
taking out build-backend = "setuptools.build_meta" in pyproject.toml

Since the documentation on this is still very light, I would vote for the latter.


How to update failed test results

Hi,
Sorry for this basic question but I does not found the answer in other issue or documentation.
When a bad test result is uploaded on the server (using --upload_vector), the status of test session is changed to "fail". When I try to upload a corrected test results, I obtain the following error:
    "error": "Validation error(s) on JSON payload.",
    "context": [
      "Vector set not in "processed" status.",
      "Unable to submit results when vector set in "failed" status."

Which command must be used to send update results ?
Thanks you
Davy

Hello,
Looking at the spec, it seems that resubmission needs to be done with a PUT instead of a POST. this is not something we have supported currently - but I hope to have it in the next release/soon.
Thanks,
Andrew

Addressed in #516. Branch libacvp_1_2_0-throttle now will automatically detect when vectors have previously been uploaded and re-upload them.  just run --vector_upload again as usual. Note that NIST determines whether or not this functionality is supported on the server end - I believe it is on the demo server but not on production. Please let us know if you experience any issues with this!
Thanks,
Andrew


Completed Documentation for PyAudioGame?

Hi, I have gone through the tutorials that are available for PyAudioGame, and it seemed that starting with lesson 7 in the basic tutorial is not complete. I was wondering when you were going to complete the tutorial? I just started learning python recently, and I have enjoyed learning how to build games a lot since I have always wanted to build jient audio games.
Sincerely,
TJ Breitenfeldt

Hello TJ,
I would suggest you start on
Learn Python the Hard Way http://learnpythonthehardway.org/book/
You will find it teaches python in full and not in the subset that I was
teaching in, so you can then go through and read the pyaudiogame
advanced documentation and files to figure out what is going on.
I am currently learning about different engines and figuring out how
they all work and what really works the best. Then I plan on choosing a
version of pyaudiogame that works the best and using that. You can
download the branch on github called panda3d and try to figure out how
the app module works, but panda3d is a little more complex than the
pygame version, but it is way more powerful.
I think panda3d is what I will end up using.
The engine you are using is really simple and probably won't work for
really complex games, so that is why I stopped writing for it.
What you need to still learn is:
classes, dictionaries and loops.
To give a really really quick overview:
#create the dict
my_dict = {}
#add an item to the dict
my_dict['item1'] = 42
#add another item
my_dict['fred'] = 'oranges'
#now get items from the dict
f = my_dict.get('fred')
z = my_dict.get('item1')
Now f is 'fred' and z is 42.
here is a class:
class Cat(object):
def init(self, name):
self.name = name
self.age = 0
 def meow(self):
     spk("Meow")

 def set_age(self, age):
     self.age = age

frisky = Cat("frisky")
midnight = Cat("midnight")
frisky.set_age(2)
midnight.set_age(5)
spk(frisky.age)
midnight.meow()
A class is a template for different cats. You can have as many different
instances of Cat as you want. We have frisky and midnight above. self is
a way to access the current cat's variables. self is like storage for
the current cat. so you can add functions, lists, dicts, variables and
instances of other classes inside self.
different instances of Cat can not see each other.
Loops are pretty easy. There are only 2: while and for.
x = 0
while x < 10:
x += 1
spk(x)
while loops can be dangerous so be careful. if you happen to get a loop
that is never ending, press ctrl c to end it.
The for loop is better to use. It works like:
my_list = ['fred', 'joe', 10, 90]
for i in my_list:
spk(i)
#or do what we did in the while loop above:
x = 0
for blah in range(10):
x += 1
spk(x)
for says that it is a for loop. blah is the variable we are going to
refer to in the loop. in is always there. range(10) or my_list are the
lists or something we can iterate over. In range blah will be numbers.
in my_list blah will be the items in my_list.
There is one other type of for loop that is more complex, but is faster.
my_list = [i for i in range(10)]
this will produce a list from 0-9.
what you are basically doing is creating a list using a for loop. These
are called list comprehensions.
These are the 3 concepts you need in order to create a pretty good game.
learn python the hard way explains them way better, but if you wanted to
use pyaudiogame, you can just use these.
thanks,
Brandon Keith Biggs http://www.brandonkeithbiggs.com/
On 8/7/2015 3:58 AM, breitenfeldt wrote:

Hi, I have gone through the tutorials that are available for
PyAudioGame, and it seemed that starting with lesson 7 in the basic
tutorial is not complete. I was wondering when you were going to
complete the tutorial? I just started learning python recently, and I
have enjoyed learning how to build games a lot since I have always
wanted to build jient audio games.
Sincerely,
TJ Breitenfeldt
—
Reply to this email directly or view it on GitHub
https://github.com/frastlin/PyAudioGame/issues/1.

Thanks for the information and the resources. I might try Panda3d and
see how well it works. I would assume that it is still running with
Python? Also that it would work with my screen reader. Is Panda3d
built to design audio games like pyaudiogame is?
I am actually taking a classs on python in the fall, I am just
learning as much as I can now. Also, as I said, I have always wanted
to build a game like swamp, but make it into a larger scale game like
Skyrim or rune scape.
I have some experience with programming, but I am currently pursuing
my bachelors degree in computer science.
TJ Breitenfeldt
On 8/6/15, Brandon<EMAIL_ADDRESS>wrote:

Hello TJ,
I would suggest you start on
Learn Python the Hard Way http://learnpythonthehardway.org/book/
You will find it teaches python in full and not in the subset that I was
teaching in, so you can then go through and read the pyaudiogame
advanced documentation and files to figure out what is going on.
I am currently learning about different engines and figuring out how
they all work and what really works the best. Then I plan on choosing a
version of pyaudiogame that works the best and using that. You can
download the branch on github called panda3d and try to figure out how
the app module works, but panda3d is a little more complex than the
pygame version, but it is way more powerful.
I think panda3d is what I will end up using.
The engine you are using is really simple and probably won't work for
really complex games, so that is why I stopped writing for it.
What you need to still learn is:
classes, dictionaries and loops.
To give a really really quick overview:
#create the dict
my_dict = {}
#add an item to the dict
my_dict['item1'] = 42
#add another item
my_dict['fred'] = 'oranges'
#now get items from the dict
f = my_dict.get('fred')
z = my_dict.get('item1')
Now f is 'fred' and z is 42.
here is a class:
class Cat(object):
def init(self, name):
self.name = name
self.age = 0
 def meow(self):
     spk("Meow")

 def set_age(self, age):
     self.age = age

frisky = Cat("frisky")
midnight = Cat("midnight")
frisky.set_age(2)
midnight.set_age(5)
spk(frisky.age)
midnight.meow()
A class is a template for different cats. You can have as many different
instances of Cat as you want. We have frisky and midnight above. self is
a way to access the current cat's variables. self is like storage for
the current cat. so you can add functions, lists, dicts, variables and
instances of other classes inside self.
different instances of Cat can not see each other.
Loops are pretty easy. There are only 2: while and for.
x = 0
while x < 10:
x += 1
spk(x)
while loops can be dangerous so be careful. if you happen to get a loop
that is never ending, press ctrl c to end it.
The for loop is better to use. It works like:
my_list = ['fred', 'joe', 10, 90]
for i in my_list:
spk(i)
#or do what we did in the while loop above:
x = 0
for blah in range(10):
x += 1
spk(x)
for says that it is a for loop. blah is the variable we are going to
refer to in the loop. in is always there. range(10) or my_list are the
lists or something we can iterate over. In range blah will be numbers.
in my_list blah will be the items in my_list.
There is one other type of for loop that is more complex, but is faster.
my_list = [i for i in range(10)]
this will produce a list from 0-9.
what you are basically doing is creating a list using a for loop. These
are called list comprehensions.
These are the 3 concepts you need in order to create a pretty good game.
learn python the hard way explains them way better, but if you wanted to
use pyaudiogame, you can just use these.
thanks,
Brandon Keith Biggs http://www.brandonkeithbiggs.com/
On 8/7/2015 3:58 AM, breitenfeldt wrote:

Hi, I have gone through the tutorials that are available for
PyAudioGame, and it seemed that starting with lesson 7 in the basic
tutorial is not complete. I was wondering when you were going to
complete the tutorial? I just started learning python recently, and I
have enjoyed learning how to build games a lot since I have always
wanted to build jient audio games.
Sincerely,
TJ Breitenfeldt
—
Reply to this email directly or view it on GitHub
https://github.com/frastlin/PyAudioGame/issues/1.

Reply to this email directly or view it on GitHub:
https://github.com/frastlin/PyAudioGame/issues/1#issuecomment-128575297

Hello TJ,
Panda3d is much more robust than pygame and it is written in both python
and C++. You can use them almost interchangeably.
In order to make something like Skyrim you will need all the programming
and game design experience you can get! Panda3d could probably handle
it, but you may wish to build your own engine for something that big.
thanks,
Brandon Keith Biggs http://www.brandonkeithbiggs.com/
On 8/7/2015 8:56 PM, breitenfeldt wrote:

Thanks for the information and the resources. I might try Panda3d and
see how well it works. I would assume that it is still running with
Python? Also that it would work with my screen reader. Is Panda3d
built to design audio games like pyaudiogame is?
I am actually taking a classs on python in the fall, I am just
learning as much as I can now. Also, as I said, I have always wanted
to build a game like swamp, but make it into a larger scale game like
Skyrim or rune scape.
I have some experience with programming, but I am currently pursuing
my bachelors degree in computer science.
TJ Breitenfeldt
On 8/6/15, Brandon<EMAIL_ADDRESS>wrote:

Hello TJ,
I would suggest you start on
Learn Python the Hard Way http://learnpythonthehardway.org/book/
You will find it teaches python in full and not in the subset that I was
teaching in, so you can then go through and read the pyaudiogame
advanced documentation and files to figure out what is going on.
I am currently learning about different engines and figuring out how
they all work and what really works the best. Then I plan on choosing a
version of pyaudiogame that works the best and using that. You can
download the branch on github called panda3d and try to figure out how
the app module works, but panda3d is a little more complex than the
pygame version, but it is way more powerful.
I think panda3d is what I will end up using.
The engine you are using is really simple and probably won't work for
really complex games, so that is why I stopped writing for it.
What you need to still learn is:
classes, dictionaries and loops.
To give a really really quick overview:
#create the dict
my_dict = {}
#add an item to the dict
my_dict['item1'] = 42
#add another item
my_dict['fred'] = 'oranges'
#now get items from the dict
f = my_dict.get('fred')
z = my_dict.get('item1')
Now f is 'fred' and z is 42.
here is a class:
class Cat(object):
def init(self, name):
self.name = name
self.age = 0
def meow(self):
spk("Meow")
def set_age(self, age):
self.age = age
frisky = Cat("frisky")
midnight = Cat("midnight")
frisky.set_age(2)
midnight.set_age(5)
spk(frisky.age)
midnight.meow()
A class is a template for different cats. You can have as many different
instances of Cat as you want. We have frisky and midnight above. self is
a way to access the current cat's variables. self is like storage for
the current cat. so you can add functions, lists, dicts, variables and
instances of other classes inside self.
different instances of Cat can not see each other.
Loops are pretty easy. There are only 2: while and for.
x = 0
while x < 10:
x += 1
spk(x)
while loops can be dangerous so be careful. if you happen to get a loop
that is never ending, press ctrl c to end it.
The for loop is better to use. It works like:
my_list = ['fred', 'joe', 10, 90]
for i in my_list:
spk(i)
#or do what we did in the while loop above:
x = 0
for blah in range(10):
x += 1
spk(x)
for says that it is a for loop. blah is the variable we are going to
refer to in the loop. in is always there. range(10) or my_list are the
lists or something we can iterate over. In range blah will be numbers.
in my_list blah will be the items in my_list.
There is one other type of for loop that is more complex, but is faster.
my_list = [i for i in range(10)]
this will produce a list from 0-9.
what you are basically doing is creating a list using a for loop. These
are called list comprehensions.
These are the 3 concepts you need in order to create a pretty good game.
learn python the hard way explains them way better, but if you wanted to
use pyaudiogame, you can just use these.
thanks,
Brandon Keith Biggs http://www.brandonkeithbiggs.com/
On 8/7/2015 3:58 AM, breitenfeldt wrote:

Hi, I have gone through the tutorials that are available for
PyAudioGame, and it seemed that starting with lesson 7 in the basic
tutorial is not complete. I was wondering when you were going to
complete the tutorial? I just started learning python recently, and I
have enjoyed learning how to build games a lot since I have always
wanted to build jient audio games.
Sincerely,
TJ Breitenfeldt
—
Reply to this email directly or view it on GitHub
https://github.com/frastlin/PyAudioGame/issues/1.

Reply to this email directly or view it on GitHub:
https://github.com/frastlin/PyAudioGame/issues/1#issuecomment-128575297

—
Reply to this email directly or view it on GitHub
https://github.com/frastlin/PyAudioGame/issues/1#issuecomment-128795101.


Parameterize component markup to enable distribution of templates

This proposal looks to add in a support model for:

building component markup using templates
generating the corresponding config for the template
distributing the template in a package

This work is heavily related to #579 and so am curious what @asudoh is thinking for that RFC.
The goal is to be able to allow teams to contribute templates, like dust or handlebars, and be able to read back from these templates in their own applications.

cc @scottnath
Would be much better if we start with handlebars here, given the relative usage numbers and the fact that Watson Health can start contributing these now.

agreed.
https://npmcompare.com/compare/dust,ejs,handlebars,mustache,nunjucks
according to npm handlebars is the most popular language according to downloads per month:
dust: ~2,000
handlebars ~12,000,000

I broke down what the contents of a component should be here:
https://github.com/carbon-design-system/carbon/issues/8
for the generating of a config, there is this gherkin (added today)
  Scenario: component should generate a configuration for the template
    Given that I am incorporating a template into my build
    When I create configuration for that template
    Then I want that configuration to contain all data points required by the template
      And I want said configuration to conform to my project's needs
      And I want to request said configuration from the component's source
      And I want to include my project's content and configuration when I make said request
      And I want the component's source to return a full config with my project's config incorporated.

this scenario details a function that would be distributed with the component. This function would accept parameters, combine those parameters with the default component configuration, and return the combined config object for use by the build system using the component.

@joshblack is this work captured in the template work @asudoh did in our v9 branch? Or is there more to it?

So in theory we should also be doing the following to align with teams that use templates:

[ ] generating the corresponding config for the template
[ ] distribute templates in a package


Fix shell init for users

Closes #19
When the shell was being initialized, the MAMBA_ROOT_PREFIX environment variable was not passed through by the su command. This caused the shell activation to default to ~/micromamba. But we install packages to /opt/conda, so this presents as the user getting an empty environment.
Passing through MAMBA_ROOT_PREFIX solves the problem.

Thanks!


Closes: #1 Hey I have edit the python script

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

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

@googlebot I signed it!

@googlebot I signed it!


Update-DbaServiceAccount - Allow for not restarting services

Type of Change

[x] New feature (non-breaking change, adds functionality, fixes #6853)

Adds a new -NoRestart switch, with examples and warnings.

heck yeah, baw! 🥳


bootstrapemail.com - Application Error

https://bootstrapemail.com/editor

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

Now located at https://editor.bootstrapemail.com/

Good point I should set up a redirect, thanks. 👍


Use distributed default clients even if no config is set

Partially addresses https://github.com/dask/dask/issues/9807
Will follow up with the symmetric change in distributed after merging.

Test failure is https://github.com/dask/dask/issues/9793


PCL Compatibilty

Installing this nuget package in a Visual Studio 2015, PCL project which targets Windows 10, Xamarin.Android, and Xamarin.iOS fails with the following error. Shouldn't I be able to do this?
Error		Could not install package 'Zeroconf 2.3.3'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile7', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.			0
Thanks

Okay, so here's the issue... this library only supports Win 8.1+ but Profile7 is Win8. The portable- folder in the Nuspec lists win81 but that's causing the issue.
What I can do at this point is to change the win81 in the nuspec to win8. That'll fix the PCL issue but it does leave open the possibility that someone tries to use this in a Win8 project where it'll fail.
That said, I don't think there are too many Win8 projects anymore...they should be at least 8.1 now.

Yeah, I think the Win 8 store has been “closed” for a while. So I think it would be pretty safe to make the change and just document it on the Zeroconf project page, just to be safe.
Can you add this change to the 2.3.4 publish?

yes, already checked in. the latest package on the appveyor ci feed has it already.

Ahhh… I see it now. I’ll give it a spin.
Thanks Oren.
From: Oren Novotny<EMAIL_ADDRESS>Sent: Wednesday, October 28, 2015 2:44 PM
To: onovotny/Zeroconf<EMAIL_ADDRESS>Cc: Sparksteam<EMAIL_ADDRESS>Subject: Re: [Zeroconf] PCL Compatibilty (#24)
yes, already checked in. the latest package on the appveyor ci feed has it already.
—
Reply to this email directly or view it on GitHub https://github.com/onovotny/Zeroconf/issues/24#issuecomment-152003941 .  https://github.com/notifications/beacon/AL--vCfer2Cgp3ytEjh5vcD2frBOuywqks5pATkegaJpZM4GXuYZ.gif

closing for now as this will be in 2.4


Updates all compute modules and tests to handle ITC array inputs for SAM 1038

This is first step to full implementation. Current implementation uses single element arrays input to match previous test. Next step is full ITC implementation over schedule of years.

For the full implementation, I think this will require new cf_itc_sta and cf_itc_fed variables for consistency with other cash flow outputs.

Agreed!


App crashing on getContactsAsync

Hello, thanks for making this library and converting the library into JSI, I've installed the library and after running the example code my app crash immediately. Here is the code below I'm trying with:
  useEffect(() => {
    (async () => {
      const contacts = await getContactsAsync();
      console.log('COntacts => ', contacts);
    })();
  }, []);

Have you added the library to your MainActivity (step 2 at installation)

Have you added the library to your MainActivity (step 2 at installation)

Yes I already did, and also using your Vision Camera library and it is working fine, also getHashAsync() method is working fine

okay and what's the error message?


11 JUN 2024 - InnerSource SIG Meeting Minutes

Date
Tuesday 11 JUN 2024 - 11:00am EST / 3:00pm UK
Attendee Identity
Please identify yourself when you attend the meeting by providing your name and affiliation in reply to this thread. Alternative we will need to add you here if you do not have a Github id

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS SIG Leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS SIG meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene & roll call (5mins)
[ ] Display FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes
[ ] Review FINOS Slack InnerSource SIG Channel - https://finos-lf.slack.com/archives/C01SYB503QT
[ ] Introduction to InnerSource by Brittany - Brittany Istenes from Fanni Mae will be talk about how revolutionize how FINTECH enterprises collaborate, innovate and develop a frictionless technology landscape using InnerSource taking the Fanni Mae example
[ ] AOB, Q&A & Adjourn (5mins)

Minutes

Action Items

[ ] Action 1
[ ] Action 2

Zoom Details

https://zoom.us/j/97717618541
Meeting ID: 977 1761 8541
Passcode: 878599)

Join by phone
Find your local number: https://zoom.us/u/adJnH9JOiY
Mailing List
Email<EMAIL_ADDRESS>to subscribe to the InnerSource SIG
mailing list.

👋  Chamindra de Silva - Citibank

Rob Moffat / FINOS 🦀

Katrina Novakovic - Citi

Peter Smulovics / Morgan Stanley

Addie Girouard/Third Man Agency