v0.13.0: unsuccessful cred copy: ".ssh" from "/tekton/creds" to "/root"

Expected Behavior
I should be able to opt-out of the auto seeding of tekton creds into each step and just mount my own secrets via workspaces under /root. Let the user have complete control and disable some of the automatic stuff tekton does around this. For steps which use images that rely on specific things in the user's home dir (in this case /root) I need to craft this directory in a specific way and this tekton cred stuff gets in the way.
Actual Behavior
Task goes into Error state after 1st step. Each step in my task that does this ends up w/ this in logs
2020/06/09 13:47:33 unsuccessful cred copy: ".ssh" from "/tekton/creds" to "/root": unable to open destination: open /root/.ssh/known_hosts: read-only file system

Overall in the tekton dashboard, the task just appears to be in a hung state.

Steps to Reproduce the Problem
Note I have "disable-home-env-overwrite":"true","disable-working-directory-overwrite":"true"

Mount a secret backed workspace to a task at /root/.ssh
Start a pipelinerun for that task

My trigger workspaces:
        workspaces:
          - name: ssh-secrets
            secret:
              secretName: my-ssh-config
              items:
                - key: ssh-privatekey
                  path: id_rsa
                  mode: 256
                - key: known_hosts
                  path: known_hosts
                - key: ssh-config
                  path: config

The task def workspaces:
    - name: ssh-secrets
      description: The workspace where we can find ssh secrets
      mountPath: /root/.ssh
      readOnly: true

Additional Info
The serviceAccount that the pipelinerun uses, has no secrets attatched to it.

Kubernetes version:

1.16.9

Tekton Pipeline version: 0.13.0

this tekton cred stuff gets in the way.

Best, most succinct, description of creds-init I've read yet. Thanks for the issue report!

In terms of the "hang" though - could you post the sanitized Pod YAML?  The errors you have in the issue report "shouldn't" cause hangs so I'd like to try reproducing to see if I can figure out what's going wrong.

/kind bug

here is a dump of the pod yaml as it sits
apiVersion: v1
kind: Pod
metadata:
  annotations:
    pipeline.tekton.dev/release: devel
    tekton.dev/ready: READY
  creationTimestamp: "2020-06-09T13:47:27Z"
  labels:
    app.kubernetes.io/managed-by: tekton-pipelines
    tekton.dev/pipeline: deploy-v1
    tekton.dev/pipelineRun: deploy-v1-mycat-wjc7x
    tekton.dev/pipelineTask: deploy-v1
    tekton.dev/task: deploy-v1
    tekton.dev/taskRun: deploy-v1-mycat-wjc7x-deploy-v1-lc4pr
    triggers.tekton.dev/eventlistener: myap-listener
    triggers.tekton.dev/trigger: myap-deploy-v1-interceptor
    triggers.tekton.dev/triggers-eventid: chq7n
  name: deploy-v1-mycat-wjc7x-deploy-v1-lc4pr-pod-vcdvl
  namespace: tekton-pipelines
  ownerReferences:
  - apiVersion: tekton.dev/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: TaskRun
    name: deploy-v1-mycat-wjc7x-deploy-v1-lc4pr
    uid: 31267e89-3ea6-4a27-afb4-6030ca06f715
  resourceVersion: "17465340"
  selfLink: /api/v1/namespaces/tekton-pipelines/pods/deploy-v1-mycat-wjc7x-deploy-v1-lc4pr-pod-vcdvl
  uid: fef1e7fe-05c5-4d99-b5d6-af18ef3dc349
spec:
  containers:
  - args:
    - -wait_file
    - /tekton/downward/ready
    - -wait_file_content
    - -post_file
    - /tekton/tools/0
    - -termination_path
    - /tekton/termination
    - -entrypoint
    - /bin/bash
    - --
    - -c
    - |

      ls -al ~
      cd ~
      pwd
      whoami

      cat ~/.gitconfig

      ls -al ~/.ssh

      ls -al ~/.kube

      APP_NAME=mycat
      APP_VERSION=2.1.3-1
      APP_ENV=stage
      APP_CONTEXT=stage-e1
      TARGET_CLUSTER=stage2
      K8S_NS=myapps
      K8S_TILLER_NS=myapps
      TARGET_CONDUIT=nv
      INVOKER_UID=burt

      PIPELINE_RUN_LINK="https://host1/#/namespaces/tekton-pipelines/pipelineruns/deploy-v1-mycat-wjc7x"

    command:
    - /tekton/tools/entrypoint
    image: bitsofinfo/alpine-bash-curl-jq-yq:1.0.0
    imagePullPolicy: IfNotPresent
    lifecycle:
      postStart:
        exec:
          command:
          - /bin/sh
          - -c
          - cp /workspace/secrets/git /root/.gitconfig
    name: step-setup
    resources:
      requests:
        cpu: "0"
        ephemeral-storage: "0"
        memory: "0"
    terminationMessagePath: /tekton/termination
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /workspace/secrets/git
      name: ws-pflvw
      readOnly: true
    - mountPath: /root/.aws-secrets.yaml
      name: ws-5q7vb
      readOnly: true
    - mountPath: /root/.kube
      name: ws-4sdrx
      readOnly: true
    - mountPath: /root/.ssh
      name: ws-6bsl2
      readOnly: true
    - mountPath: /tekton/tools
      name: tekton-internal-tools
    - mountPath: /tekton/downward
      name: tekton-internal-downward
    - mountPath: /workspace
      name: tekton-internal-workspace
    - mountPath: /tekton/home
      name: tekton-internal-home
    - mountPath: /tekton/results
      name: tekton-internal-results
    - mountPath: /tekton/creds
      name: tekton-creds-init-home
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: myap-deployer-token-h6d7c
      readOnly: true
  - args:
    - -wait_file
    - /tekton/tools/0
    - -post_file
    - /tekton/tools/1
    - -termination_path
    - /tekton/termination
    - -entrypoint
    - /entrypoint.sh
    - --
    - --log-level=DEBUG

    command:
    - /tekton/tools/entrypoint
    env:
    - name: USER
      value: tekton-pipeline
    image: privatereg.mystuff.com/lp/my-utils-installer:2.2.13
    imagePullPolicy: IfNotPresent
    lifecycle:
      postStart:
        exec:
          command:
          - /bin/sh
          - -c
          - cp /workspace/secrets/git /root/.gitconfig
    name: step-deploy
    resources:
      requests:
        cpu: "0"
        ephemeral-storage: "0"
        memory: "0"
    terminationMessagePath: /tekton/termination
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /workspace/secrets/git
      name: ws-pflvw
      readOnly: true
    - mountPath: /root/.aws-secrets.yaml
      name: ws-5q7vb
      readOnly: true
    - mountPath: /root/.kube
      name: ws-4sdrx
      readOnly: true
    - mountPath: /root/.ssh
      name: ws-6bsl2
      readOnly: true
    - mountPath: /tekton/tools
      name: tekton-internal-tools
    - mountPath: /workspace
      name: tekton-internal-workspace
    - mountPath: /tekton/home
      name: tekton-internal-home
    - mountPath: /tekton/results
      name: tekton-internal-results
    - mountPath: /tekton/creds
      name: tekton-creds-init-home
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: myap-deployer-token-h6d7c
      readOnly: true
  - args:
    - -wait_file
    - /tekton/tools/1
    - -post_file
    - /tekton/tools/2
    - -termination_path
    - /tekton/termination
    - -entrypoint
    - /bin/bash
    - --
    - -c
    - |
      APP_NAME=mycat
      APP_VERSION=2.1.3-1
      APP_ENV=stage
      APP_CONTEXT=stage-e1
      TARGET_CLUSTER=stage2
      K8S_NS=myapps
      K8S_TILLER_NS=myapps
      TARGET_CONDUIT=nv
      INVOKER_UID=burt

    command:
    - /tekton/tools/entrypoint
    image: bitsofinfo/alpine-bash-curl-jq-yq:1.0.0
    imagePullPolicy: IfNotPresent
    name: step-notify
    resources:
      requests:
        cpu: "0"
        ephemeral-storage: "0"
        memory: "0"
    terminationMessagePath: /tekton/termination
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /workspace/secrets/git
      name: ws-pflvw
      readOnly: true
    - mountPath: /root/.aws-secrets.yaml
      name: ws-5q7vb
      readOnly: true
    - mountPath: /root/.kube
      name: ws-4sdrx
      readOnly: true
    - mountPath: /root/.ssh
      name: ws-6bsl2
      readOnly: true
    - mountPath: /tekton/tools
      name: tekton-internal-tools
    - mountPath: /workspace
      name: tekton-internal-workspace
    - mountPath: /tekton/home
      name: tekton-internal-home
    - mountPath: /tekton/results
      name: tekton-internal-results
    - mountPath: /tekton/creds
      name: tekton-creds-init-home
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: myap-deployer-token-h6d7c
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  imagePullSecrets:
  - name: privatereg-mystuff
  initContainers:
  - args:
    - -docker-config=privatereg-mystuff
    command:
    - /ko-app/creds-init
    env:
    - name: HOME
      value: /tekton/creds
    image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/creds-init:v0.13.0@sha256:5206d6880896935ffa53d2d8326a2a0b49be902a04bb92f235b22958473e83d7
    imagePullPolicy: IfNotPresent
    name: credential-initializer
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /workspace
      name: tekton-internal-workspace
    - mountPath: /tekton/home
      name: tekton-internal-home
    - mountPath: /tekton/results
      name: tekton-internal-results
    - mountPath: /tekton/creds
      name: tekton-creds-init-home
    - mountPath: /tekton/creds-secrets/privatereg-mystuff
      name: tekton-internal-secret-volume-privatereg-mystuff-zmxpz
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: myap-deployer-token-h6d7c
      readOnly: true
  - command:
    - cp
    - /ko-app/entrypoint
    - /tekton/tools/entrypoint
    image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/entrypoint:v0.13.0@sha256:0cbfbc4f4ed9cbf6060e12c12d36599b2d8ca3f13e3fd5432adf2c2f9001913d
    imagePullPolicy: IfNotPresent
    name: place-tools
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tekton/tools
      name: tekton-internal-tools
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: myap-deployer-token-h6d7c
      readOnly: true
  nodeName: clstr1-27390584-0
  priority: 0
  restartPolicy: Never
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: myap-deployer
  serviceAccountName: myap-deployer
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir: {}
    name: tekton-internal-workspace
  - emptyDir: {}
    name: tekton-internal-home
  - emptyDir: {}
    name: tekton-internal-results
  - emptyDir:
      medium: Memory
    name: tekton-creds-init-home
  - name: tekton-internal-secret-volume-privatereg-mystuff-zmxpz
    secret:
      defaultMode: 420
      secretName: privatereg-mystuff
  - emptyDir: {}
    name: tekton-internal-tools
  - downwardAPI:
      defaultMode: 420
      items:
      - fieldRef:
          apiVersion: v1
          fieldPath: metadata.annotations['tekton.dev/ready']
        path: ready
    name: tekton-internal-downward
  - name: ws-pflvw
    secret:
      defaultMode: 420
      items:
      - key: git-config
        path: .gitconfig
      secretName: myapps-cicd-mystuff-git-support
  - name: ws-5q7vb
    secret:
      defaultMode: 420
      items:
      - key: aws-secrets.yaml
        mode: 256
        path: aws-secrets.yaml
      secretName: myapps-cicd-mystuff-deployer-support
  - name: ws-4sdrx
    secret:
      defaultMode: 420
      items:
      - key: config
        mode: 256
        path: config
      secretName: myapps-cicd-mystuff-kubeconfig
  - name: ws-6bsl2
    secret:
      defaultMode: 420
      items:
      - key: ssh-privatekey
        mode: 256
        path: id_rsa
      - key: known_hosts
        path: known_hosts
      - key: ssh-config
        path: config
      secretName: myapps-cicd-mystuff-ssh-config
  - name: myap-deployer-token-h6d7c
    secret:
      defaultMode: 420
      secretName: myap-deployer-token-h6d7c
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2020-06-09T13:47:33Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2020-06-09T13:47:27Z"
    message: 'containers with unready status: [step-setup step-deploy]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2020-06-09T13:47:27Z"
    message: 'containers with unready status: [step-setup step-deploy]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2020-06-09T13:47:27Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: docker://bb363abe39296bc41a4d786bb889e42aa8f9ef837c395430af187cce8af0097a
    image: privatereg.mystuff.com/lp/my-utils-installer:2.2.13
    imageID: docker-pullable://privatereg.mystuff.com/lp/my-utils-installer@sha256:82cbe503b781a45983851c0f506124dde4099580d1b68028940c8e8df3a7d629
    lastState: {}
    name: step-deploy
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: docker://bb363abe39296bc41a4d786bb889e42aa8f9ef837c395430af187cce8af0097a
        exitCode: 2
        finishedAt: "2020-06-09T13:47:34Z"
        reason: Error
        startedAt: "2020-06-09T13:47:34Z"
  - containerID: docker://8d5be6b5dc3f0406a45a50133ee8860c4fa01c20442b13a9cc8afd8f56ec34b2
    image: bitsofinfo/alpine-bash-curl-jq-yq:1.0.0
    imageID: docker-pullable://bitsofinfo/alpine-bash-curl-jq-yq@sha256:0d32a576efca666234043a7cd652e90d4f53b3e8ac4ffdf1e0367eb2f81d5085
    lastState: {}
    name: step-notify
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2020-06-09T13:47:35Z"
  - containerID: docker://6d0712afc3b2dca124e84dbf89bc00d147c19d6f487201e3c4884c1b57a8533b
    image: bitsofinfo/alpine-bash-curl-jq-yq:1.0.0
    imageID: docker-pullable://bitsofinfo/alpine-bash-curl-jq-yq@sha256:0d32a576efca666234043a7cd652e90d4f53b3e8ac4ffdf1e0367eb2f81d5085
    lastState: {}
    name: step-setup
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: docker://6d0712afc3b2dca124e84dbf89bc00d147c19d6f487201e3c4884c1b57a8533b
        exitCode: 2
        finishedAt: "2020-06-09T13:47:33Z"
        reason: Error
        startedAt: "2020-06-09T13:47:33Z"
  hostIP: <IP_ADDRESS>
  initContainerStatuses:
  - containerID: docker://2f8d987fe5d822176ff5505912c6a092f72e718c10a68721df0e8374ce55f5b6
    image: sha256:b87b9c158e1cec9af0cad96ceda27c8f81cfb24446c42d6fa281f23284dfdc5e
    imageID: docker-pullable://gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/creds-init@sha256:5206d6880896935ffa53d2d8326a2a0b49be902a04bb92f235b22958473e83d7
    lastState: {}
    name: credential-initializer
    ready: true
    restartCount: 0
    state:
      terminated:
        containerID: docker://2f8d987fe5d822176ff5505912c6a092f72e718c10a68721df0e8374ce55f5b6
        exitCode: 0
        finishedAt: "2020-06-09T13:47:29Z"
        reason: Completed
        startedAt: "2020-06-09T13:47:29Z"
  - containerID: docker://291e4ee6347370424902abefc2935a060e9c182dfa4f5aa53624e64806a7e2fd
    image: sha256:27adf3dd377a234289bc7bf60e8fb9d7463abe7ccaf360fe402ec31b404078b8
    imageID: docker-pullable://gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/entrypoint@sha256:0cbfbc4f4ed9cbf6060e12c12d36599b2d8ca3f13e3fd5432adf2c2f9001913d
    lastState: {}
    name: place-tools
    ready: true
    restartCount: 0
    state:
      terminated:
        containerID: docker://291e4ee6347370424902abefc2935a060e9c182dfa4f5aa53624e64806a7e2fd
        exitCode: 0
        finishedAt: "2020-06-09T13:47:30Z"
        reason: Completed
        startedAt: "2020-06-09T13:47:30Z"
  phase: Running
  podIP: <IP_ADDRESS>
  podIPs:
  - ip: <IP_ADDRESS>
  qosClass: BestEffort
  startTime: "2020-06-09T13:47:27Z"

There are two separate issues here:

First, a feature request to optionally remove creds-init behaviour.  @bitsofinfo do you think you'd prefer this kind of control per-Task/TaskRun?  Or is it something you'd like to configure at the cluster level through a configmap?  Or something else?
The creds init code will write empty credential files if no creds are provided. So for example, ~/.ssh/known_hosts will be written even if there are no ssh git creds on the service account attached to the TaskRun. Those empty files are then copied from /tekton/creds in to $HOME/.ssh. In this case /root/.ssh is read-only because it's a mounted Secret so that copy fails.  We should only really be creating credential files if there are correctly annotated secrets mounted so I've made #2940 to fix that issue.

Both top level feature-flag and per Task level configuration. Preference for per Task

/remove-lifecycle rotten
/reopen

any solutions to this one so far?
I'm also facing it..


Can anyone tell me why the version number was directly upgraded from 1.8.x to 1.16.x

I'm curious about this sudden jump in version numbers, but haven't found any explanation or explanation, is 1.16.x a big upgrade or difference from 1.8.x?

There was a description for a misconfigured tag before (1.16.x), but I have no idea why the new tag was named 1.16.

Me too.
It seems commited by @Nerzal at PR #1562. @ubogdan

We had a package caching problem. Introduced by pushing a wrong Tag


filematches variable is returning empty

there is data in codeowners file but the filematches variable is returning empty
USing the following code:
  - id: codeowners
    uses: SvanBoxel/codeowners-action@v1
    with:
      path: './.github/CODEOWNERS'
      file_match_info: 'true'
      include_no_owners: 'true'
  - run: |
      echo "SVANOWNERS: ${{ steps.codeowners.outputs.codeowners }}"
      echo "${{ steps.codeowners.outputs.filematches }}"

Fixed the version in the code to v2.1, sorry!


on medium and smaller screens change to rows

https://github.com/dockstore/dockstore/issues/2432

Could not figure out how to deal with overflow :cry:. I think that the current design is bad anyways (I designed it) so I moved it to using rows instead of columns (on screens below large).

@NatalieEO I agree. I think the other information can be grouped together, and then stars could be somewhere on its own.


Total Gross worldwide

Please add a function to get Total Gross worldwide. it has no option for this. You just have  to add a regular expression which find total gross worldwide collection it will not take too much. I tried to do this but didn't success. After adding this function your code will be absolute.

the cumulative worldwide gross is not available for all movies. But I can add it.

request has been pulled out. #111


BLAST: look at Expasy for ideas

Version: 3.2.9 beta
URL: https://www.beta.patricbrc.org/
User ID: KPNs_4_Houston
So today I had to do a blast at Expasy because I had no other option.
Their website is really nice because you can take the list of top ranking
hits, select them with check boxes, and then either download the best
matches as fasta format, or align them with muscle mafft etc. It also has
options for reducing redundancy etc, which looked really intriguing (I'm
thinking svr_representative_seqs).

Harry,
Please look at the BLAST interface at expasy and see if we can borrow any design ideas from them.
Jim seems to like it.
_Maulik

we have selection, download, MSA,pathway and other options available from blast results now.
Please submit another ticket if you have any specific suggestion for supporting additional features.


Error on channel selection

I'm getting an error for certain channels as well as wrong channel reporting for some (last=previously reported). Also, all manual selections seems to default to 20Mhz channel. Auto selection throws is on 80Mhz. I'm on Sagemcom Fast 5688W hardware 1.0 Software SGJi10203-1.2.90. Here are my testing for 5Ghz frequency:
32 - error
36 - good 20Mhz report last, shows on Ch40
40 - good 20Mhz report last, shows on Ch40
44 - good 20Mhz
48 - good 20Mhz report last, shows on Ch48
52 - good 20Mhz
56 - good 20Mhz
60 - good 20Mhz
64 - good 20Mhz
68 - error
96 - error
100 - good 20Mhz
104 - good 20Mhz
108 - good 20Mhz
112 - good 20Mhz
116 - good 20Mhz
120 - good 20Mhz
124 - good 20Mhz report last, shows on Ch124
128 - good 20Mhz
132 - good 20Mhz
136 - good 20Mhz
140 - good 20Mhz
144 - good 20Mhz
149 - good 20Mhz
153 - good 20Mhz report last, shows on Ch153
157 - good 20Mhz report last, shows on Ch157
161 - good 20Mhz report last, shows on Ch161
165 - good 20Mhz report last, shows on Ch165
This is the error I get(***** sensitive data removed)
Bad Request
{status==400
headers==[content-length=[95],date=[Sun, 03 Sep 2023 18:55:19 GMT],server=[lighttpd/1.4.59]]
requestHeaders==[Authorization=[Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTM3Njc2MDgsImlhdCI6MTY5Mzc2NjcwOCwicmVmcmVzaENvdW50TGvdW50TWF4Ijo0fQ.wDPEFAWy39tZFdBIplrxntjB4mbbXfHU04NSOfAQrCE],Accept=[application/json],Accept-Charset=[UTF-8]]
requestBody=={"2.4ghz":{"airtimeFairness":true,"channel":"Auto","channelBandwidth":"Auto","isMUMIMOEnabled":true,"isRadioEnabled":false,"isWMMEnabled":true,"maxClients":128,"mode":"auto","transmissionPower":"100%"},"5.0ghz":{"airtimeFairness":true,"channel":"32","channelBandwidth":"Auto","isMUMIMOEnabled":true,"isRadioEnabled":true,"isWMMEnabled":true,"maxClients":128,"mode":"auto","transmissionPower":"100%"},"bandSteering":{"isEnabled":true},"ssids":[{"2.4ghzSsid":false,"5.0ghzSsid":true,"encryptionMode":"AES","encryptionVersion":"WPA2/WPA3","guest":false,"isBroadcastEnabled":true,"ssidName":"","wpaKey":"**","canEditFrequencyAndGuest":true,"ssidId":null,"enabled":null}],"canAddAndRemove":true}
requestUrl==http://<IP_ADDRESS>/TMI/v1/network/configuration/v2?set=ap
requestMethod==POST}
{"result":{"statusCode":400,"error":"BadRequest","message":"No query specified or bad params"}}
Let me know if you'd like to test 2.4Ghz like this.

I can't reproduce the bandwidth drop on the Arcadyan. It seems to stay at 80MHz for any band. I can add a bandwidth selector option, which works on the Arcadyan at least, to try to force the one you want.
I'm going to remove those bands that error out since they're ones that aren't used or the gateway doesn't support.

Got 1.9 and it works as expected. However for some reason channel 165 with anything above 20Mhz will not broadcast a signal at all. It actually takes the setting but does not show signal. Also, consider graying out these settings if radio is off. Initially I tried these without enabling and was getting that error. Obviously radio has to be on first.

On the Arcadyan, 165 supports all bandwidths and accepts changes when the radios are disabled. Since it's not really that simple to tell them apart through the API, I'm going to keep it as-is.


ProgressPlugin: save and restore total module count

What kind of change does this PR introduce?
feature
Did you add tests for your changes?
no
Does this PR introduce a breaking change?
no
What needs to be documented once your changes are merged?
ProgressPlugin uses the persistent cache to save last modules and dependencies count to make progress calculation more accurate.

Thanks


Using KubernetesExecutor with PythonOperator

Hi author, I am working with KubernetesExecutor.
Every Pods are built well when after helm install and also my dag files are showing on Airflow web UI.
However dag file does not work and worker Pod is not created.
I used same dag file which was used on docker-compose.
I think there should be some difference in dag file when using KubernetesExecutor.
Is there any guide to write dag for KubernetesExecutor? Or can you give me some example?
Also I followed your values.yaml file for kubernetesPodTemplate and this is my values.yaml file.
airflow:
  image:
    repository: apache/airflow
    tag: 2.1.2-python3.8
  executor: KubernetesExecutor

  config:
    AIRFLOW__CORE__LOAD_EXAMPLES: "False"
    AIRFLOW__SCHEDULER__DAG_DIR_LIST_INTERVAL: 10
    AIRFLOW__LOGGING__REMOTE_LOGGING: "True"
    AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER: "s3://<my-bucket>/airflow/logs"
    AIRFLOW__LOGGING__REMOTE_LOG_CONN_ID: "my_aws"
    AIRFLOW__WEBSERVER__BASE_URL: "http://example.com/airflow"
    # AIRFLOW__CELERY__FLOWER_URL_PREFIX: "/airflow/flower"

  users:
    - username: admin
      password: admin
      role: Admin
      email<EMAIL_ADDRESS>      firstName: admin
      lastName: admin

  connections:
    - id: my_aws
      type: aws
      description: my AWS connection
      extra: |-
        { "aws_access_key_id": "XXXXXX",
          "aws_secret_access_key": "XXXX",
          "region_name": "XXXX" }
  connectionsUpdate: true

  extraEnv:
    - name: AIRFLOW__CORE__FERNET_KEY
      valueFrom:
        secretKeyRef:
          name: airflow-fernet-key
          key: value
    - name: AIRFLOW__WEBSERVER__SECRET_KEY
      valueFrom:
        secretKeyRef:
          name: airflow-webserver-secret-key
          key: value

  kubernetesPodTemplate:
    stringOverride: |-
      apiVersion: v1
      kind: Pod
      metadata:
        name: dummy-name
      spec:
        containers:
          - name: base
            image: dummy-image
            imagePullPolicy: IfNotPresent
            volumeMounts:
              - mountPath: "/opt/airflow/logs"
                name: airflow-logs
              - mountPath: /opt/airflow/dags
                name: airflow-dags
                readOnly: false

ingress:
  enabled: true

  ## WARNING: set as "networking.k8s.io/v1beta1" for Kubernetes 1.18 and earlier
  apiVersion: networking.k8s.io/v1

  ## airflow webserver ingress configs
  web:
    annotations:
      kubernetes.io/ingress.class: nginx
    host: "example.com"
    path: "/airflow"

workers:
  enabled: false

flower:
  enabled: false

redis:
  enabled: false

postgresql:
  enabled: false

externalDatabase:
  type: postgres
  host: example-database.com
  port: 31XXX
  database: airflow
  user: postgres
  passwordSecret: "airflow-dev-postgres-password"
  passwordSecretKey: "postgresql-password"

dags:
  gitSync:
    enabled: true
    repo: "git@github.com:<username>/<repo>.git"
    branch: "main"
    revision: "HEAD"
    syncWait: 10
    sshSecret: "airflow-ssh-git-secret"
    sshSecretKey: "id_rsa"
    sshKnownHosts: |-
      github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==

You may try adding these under airflow.config
    AIRFLOW__KUBERNETES__NAMESPACE: "<namespce where workers should be created>"
    AIRFLOW__KUBERNETES__RUN_AS_USER: "50000"

Thanks for comment!
Now scheduler sensed my dag job, however still not working.
This is log of scheduler pod.
[2021-09-30 01:35:56,182] {scheduler_job.py:1857} INFO - Marked 1 SchedulerJob instances as failed

Thanks! it works!!

@GeeseBumps can you clarify which of @piyush-daga advice fixed your issue?

Adding  AIRFLOW__KUBERNETES__NAMESPACE
Not overriding airflow.kubernetesPodTemplate

@thesuperzapper I did both of them. But, fun thing is that I realized that I did not turn on the dag in Airflow UI. So I think they were not the reasons that dag file didn't work.

@GeeseBumps that's great it is working, but I recommend unsetting AIRFLOW__KUBERNETES__NAMESPACE (as the chart sets it for you).
NOTE: if it were set AIRFLOW__KUBERNETES__NAMESPACE to something other than your main airflow namespace, it wouldn't work, because the Secret for configs wouldn't be mountable across namespaces.


docs: update contribution guide to reflect schema changes

@phalem does this help you #133, please feel free to review this PR.

Great work! I will PR what I mean on the example!


Reverse for 'socialaccount_connections' not found

While using SocialConnectView to link a social account to the authenticated user, it raises NoReverseMatch when socialaccount_connections is not set
django.urls.exceptions.NoReverseMatch: Reverse for 'socialaccount_connections' not found. 'socialaccount_connections' is not a valid view function or pattern name

Although the URL can be added using TemplateView as a temporary solution, the library being a complete REST API implementation of the allauth, this exception can be handled and skipped in the library.

Have you added allauth urls?

path(r"accounts/", include("allauth.urls")),

Have you added allauth urls?

path(r"accounts/", include("allauth.urls")),

That's fix the issue, but I don't want to have the accounts endpoint in my project. In that case how can I fix the issue. Any other solutions?

I could solve this issue simply rename socialaccounts/ name to socialaccount_connections. Like following:
path("socialaccounts/", SocialAccountListView.as_view(), name="socialaccount_connections",)


Thin PHP

The address thinphp.com is out of area!! Why?

author stopped development of this software several years ago


Code Quality Issue and Testing

Hello,
I recently cloned the repo and was looking through the code base. I noticed there is a lot of code issues and warnings that could lead to potential bugs, additionally, I could not see anywhere that listed how the code was tested when new features were added etc. I am more than happy to refactor code to improve general quality (most of it can be done automatically) but I am cautious about doing so if there arn't any tests inplace to ensure that it still functions as expected afterward.
Kin regards,

related to: https://github.com/carlos8f/zenbot/issues/229 I will close that one in favor of this description

All.. any preference on testing framework? I was gonna get started on this..

@haxwell I think mocha is one of the standard ones? But it really depends on what you're familiar with and what is fastest/easiest for you in this case. The rest of us can/should adapt.

Okay, I will go with Mocha. +1
Just a heads up, there's going to be some big changes in the structure of the code. For example, take the commands (backfill, trade, etc). Each of the commands are similar, in that 1) there is one big function which implements the command. That big function is going to have to broken down into smaller functions. 2) Also when the big functions do have smaller functions within them, there is a lot of sharing of state between those smaller functions. That state should be passed in to the function, for ease in mocking functionality in tests.
For those two reasons, among others, change-is-a-comin'.. Just wanted to give a heads up.

Actually, I went with Jasmine, because it was easier to create mock objects. This effort begins in PR #974.

@haxwell I was looking into some js testing frameworks. How do you feel about switching from jasmine to jest? I think it's a little bit more capable and it supports snapshot testing against data structures. That feature could be very handy in refactoring the codebase.

@JensvdHeydt Jest is another good framework, certainly.. I think the snapshot feature (and perhaps Jest in general) is geared towards UI testing, whereas we would need it for testing how state changes between blocks of code. So, once we get to higher level testing (features, rather than functions) Jest might be useful. For this effort, I think Jasmine is a better fit.

@haxwell Actually Jest snapshot testing works with much more than just html
from their docs: "Note: While snapshot testing is most commonly used with React components, any serializable value can be used as a snapshot" So you can actually use it with arrays and even objects.
Also have a look at this: https://medium.com/powtoon-engineering/a-complete-guide-to-testing-javascript-in-2017-a217b4cd5a2a


Add Node.js v20 support and drop Node.js 14

As titled

PR to update - https://github.com/nodejs/nodejs-dependency-vuln-assessments/pull/115

done


Script Error on opening mde

Line: 1232
Error: Object doesn´t support property or method 'attachEvent'

thx sas

Yep, a pull request is causing issues. Pushed a new release (1.35). You'll also have to go to %USER%\AppData\Roaming\Markdown Edit and delete the user_template.html file.


Logging is prepending a timestamp on our JSON output

Example:
2017/03/02 22:27:30 {"timestamp":"2017-03-02 22:27:30.00813237 +0000 UTC","bytes_client":"144","http_method":"GET","url_path":"/test/path/here.txt?crap","http_version":"HTTP/1.1","http_user_agent":"curl/7.52.1","dest_name":"<IP_ADDRESS>:3333","http_referer":"\u003cscript\u003ealert(\"pwned\");\u003c/script\u003e","src_ip":{"IP":"<IP_ADDRESS>","Port":58328,"Zone":""},"dest_ip":"<IP_ADDRESS>:3333","raw_data":"474554202f746573742f706174682f686572652e7478743f6372617020485454502f312e310d0a486f73743a203132372e302e302e313a333333330d0a557365722d4167656e743a206375726c2f372e35322e310d0a4163636570743a202a2f2a0d0a526566657265723a203c7363726970743e616c657274282270776e656422293b3c2f7363726970743e0d0a0d0a"}
And:
2017/03/03 22:29:18 {"raw_data":"476554202f746869735f4745545f7761735f47655420485454502f312e300d0a0d0a"}
Maybe we should just roll our own logging library?  That would eliminate the dependency on an external lib like Lumberjack.

So I have done a bunch of reading on this and I think we can do this two ways

We write our own logger that when it reaches 10 minutes it Closes the file, renames, and then opens a new file. Then resumes logging.

We use linux os level logrotate, the issue with this is that "Note that there is a very small time slice between copying the file and truncating it, so some logging data might be lost." We would have to have the script looking for a signal from logrotate to stop writing to the file handle and then resume after rotation is complete. Then we just have a cronjob that runs logrotate every 10 minutes.

Thoughts?

If we use an OS-level log rotation tool we still have to signal the sinkhole to flush and close the file and then signal it again when it should open a new log.  That's messy.  The primary feature of this tool is logging so we should put effort into making sure the logging is done right.
I don't think we need to do any renaming at all.  Let's just use the build the timestamp into the file name from the start.  Something like netsarlacc-201703292100.log and then the next ones would be netsarlacc-201703292110.log, netsarlacc-201703292120.log, etc.
I suppose we could start by opening netsarlacc-201703292100.tmp and then when we close to open another, we move it to netsarlacc-201703292100.log.
Opening and closing files is simple.  I don't see why we wouldn't do it in our own code.

put in pull request, think I have solved this issue and issue #13

This has been fixed with the new logging code.


Add UI for Patch Set Descriptions

Hi Urs
I love your plugin and use it daily. Here is the implementation of the issue I created I while ago:
https://github.com/uwolfer/gerrit-intellij-plugin/issues/426
Hope you like it!
Stephan

@monitorlizard Thank you for your work!


nonlinear shape fitting vs linear shape fitting?

@patrikhuber:
Do you have any comparison results by using different shape fitting?

run-time?
estimation accuracy?

I am running some accuracy comparisons, but it will be a while until there is something presentable.
I have not done run-time comparisons but ceres is pretty fast too. From what I observed so far I'd say it's slower than the linear shape estimate (which is of course expected), but if you add the time for shape, blendshape and pose estimate, and compare it with ceres (which can do all in one nonlinear optimisation), they might be similar.


Ola Hallengren Index maintenance on servers with Availability Groups

Message
Executed as user: SRVR\SQLEng_SPArchO. ...ge 50000)  Server: HDB-SP-SQL02\SQLSP02 [SQLSTATE 01000] (Message 50000)  Version: 14.0.3401.7 [SQLSTATE 01000] (Message 50000)  Edition: Enterprise Edition: Core-based Licensing (64-bit) [SQLSTATE 01000] (Message 50000)  Platform: Windows [SQLSTATE 01000] (Message 50000)  Procedure: [master].[dbo].[IndexOptimize] [SQLSTATE 01000] (Message 50000)  Parameters: @Databases = 'USER_DATABASES', @FragmentationLow = NULL, @FragmentationMedium = 'INDEX_REORGANIZE,INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE', @FragmentationHigh = 'INDEX_REBUILD_ONLINE,INDEX_REBUILD_OFFLINE', @FragmentationLevel1 = 5, @FragmentationLevel2 = 30, @MinNumberOfPages = 10, @MaxNumberOfPages = NULL, @SortInTempdb = 'N', @MaxDOP = 1, @FillFactor = NULL, @PadIndex = NULL, @LOBCompaction = 'Y', @UpdateStatistics = 'ALL', @OnlyModifiedStatistics = 'Y', @StatisticsModificationLevel = NULL, @StatisticsSample = NULL, @StatisticsResample = 'N', @PartitionLevel = 'Y', @MSShippedObjects = 'N', @Indexes = NULL, @TimeLimit = NULL, @Delay = NULL, @WaitAtLowPriorityMaxDuration = NULL, @WaitAtLowPriorityAbortAfterWait = NULL, @Resumable = 'N', @AvailabilityGroups = NULL, @LockTimeout = NULL, @LockMessageSeverity = 16, @StringDelimiter = ',', @DatabaseOrder = NULL, @DatabasesInParallel = 'N', @ExecuteAsUser = NULL, @LogToTable = 'N', @Execute = 'Y' [SQLSTATE 01000] (Message 50000)  Version: 2022-01-02 13:58:13 [SQLSTATE 01000] (Message 50000)  Source: https://ola.hallengren.com [SQLSTATE 01000] (Message 50000)  	 [SQLSTATE 01000] (Message 50000)  Date and time: 2022-07-12 18:00:02 [SQLSTATE 01000] (Message 50000)  Database: [TestDB] [SQLSTATE 01000] (Message 50000)  State: ONLINE [SQLSTATE 01000] (Message 50000)  Standby: No [SQLSTATE 01000] (Message 50000)  Updateability: READ_WRITE [SQLSTATE 01000] (Message 50000)  User access: MULTI_USER [SQLSTATE 01000] (Message 50000)  Recovery model: FULL [SQLSTATE 01000] (Message 50000)  Is accessible: Yes [SQLSTATE 01000] (Message 50000)  Availability group:  Test02NTENT01 [SQLSTATE 01000] (Message 50000)  Availability group role: SECONDARY [SQLSTATE 01000] (Message 50000)  	 [SQLSTATE 01000] (Message 50000)  Date and time: 2022-07-12 18:00:02 [SQLSTATE 01000] (Message 50000)  Database: [DB_202203] [SQLSTATE 01000] (Message 50000)  State: ONLINE [SQLSTATE 01000] (Message 50000)  Standby: No [SQLSTATE 01000] (Message 50000)  Updateability: READ_WRITE [SQLSTATE 01000] (Message 50000)  User access: MULTI_USER [SQLSTATE 01000] (Message 50000)  Recovery model: FULL [SQLSTATE 01000] (Message 50000)  Is accessible: Yes [SQLSTATE 01000] (Message 50000)  Availability group:  Test02NTENT01 [SQLSTATE 01000] (Message 50000)  Availability group role: SECONDARY [SQLSTATE 01000] (Message 50000)  	 [SQLSTATE 01000] (Message 50000)  Date and time: 2022-07-12 18:00:02 [SQLSTATE 01000] (Message 50000)  Database: [MCF2_IEXECUTION_DropOffSite] [SQLSTATE 01000] (Message 50000)  State: ONLINE [SQLSTATE 01000] (Message 50000)  Standby: No [SQLSTATE 01000] (Message 50000)  Updateability: READ_WRITE [SQLSTATE 01000] (Message 50000)  User access: MULTI_USER [SQLSTATE 01000] (Message 50000)  Recovery model: FULL [SQLSTATE 01000] (Message 50000)  Is accessible: Yes [SQLSTATE 01000] (Message 50000)  Availability group:  Test02NTENT01 [SQLSTATE 01000] (Message 50000)  Availability group role: SECONDARY [SQLSTATE 01000] (Message 50000)  	 [SQLSTATE 01000] (Message 50000)  Date and time: 2022-07-12 18:00:02 [SQLSTATE 01000] (Message 50000)  Database: [MCF2_IEXECUTION_MigrationDropOff] [SQLSTATE 01000] (Message 50000)  State: ONLINE [SQLSTATE 01000] (Message 50000)  Standby: No [SQLSTATE 01000] (Message 50000)  Updateability: READ_WRITE [SQLSTATE 01000] (Message 50000)  User access: MULTI_USER [SQLSTATE 01000] (Message 50000)  Recovery model: FULL [SQLSTATE 01000] (Message 50000)  Is accessible: Yes [SQLSTATE 01000] (Message 50000)  Availability group:  Test02...  The step failed.

Problem and solution are in message: "The table CommandLog is missing. Download https://ola.hallengren.com/scripts/CommandLog.sql."

Problem and solution are in message: "The table CommandLog is missing. Download https://ola.hallengren.com/scripts/CommandLog.sql."

Thank you, let me check and update you tomorrow...

Problem and solution are in message: "The table CommandLog is missing. Download https://ola.hallengren.com/scripts/CommandLog.sql."

I have checked and found that CommandLog table is there already. this IndexOptimize job in AlwaysON secondary databases earlier working fine only from last week onwards having this issue as shared above.

You're sure this table is in database msdb? (because you ran this from MSDB) the query to detect if the table exists is quite simple:
SELECT * FROM sys.objects objects INNER JOIN sys.schemas schemas ON objects.[schema_id] = schemas.[schema_id] WHERE objects.[type] = 'U' AND schemas.[name] = 'dbo' AND objects.[name] = 'CommandLog'

You're sure this table is in database msdb? (because you ran this from MSDB) the query to detect if the table exists is quite simple:
SELECT * FROM sys.objects objects INNER JOIN sys.schemas schemas ON objects.[schema_id] = schemas.[schema_id] WHERE objects.[type] = 'U' AND schemas.[name] = 'dbo' AND objects.[name] = 'CommandLog'

I have checked this table is in Master database, can I create in MSDBdatabase, but earlier the job was running without ay issue.

You're sure this table is in database msdb? (because you ran this from MSDB) the query to detect if the table exists is quite simple:
SELECT * FROM sys.objects objects INNER JOIN sys.schemas schemas ON objects.[schema_id] = schemas.[schema_id] WHERE objects.[type] = 'U' AND schemas.[name] = 'dbo' AND objects.[name] = 'CommandLog'

I have checked this table is in Master database, can I create in MSDBdatabase, but earlier the job was running without ay issue.

My best guess is that you / somebody else installed a newer version of the scripts in a different database, in this case in MSDB. Anyway, in order to have this working create the table in MSDB

My best guess is that you / somebody else installed a newer version of the scripts in a different database, in this case in MSDB. Anyway, in order to have this working create the table in MSDB

Hi,

Its on SQL Server 2019 - CU24 - Maintenance solution using Ola's free solution.
Index and Statistics Jobs were going well in both Primary/Secondary AG nodes.
When we configured AG with "Read-Only Intent" for managing the Secondary Read connections, Jobs started to fail in the Secondary nodes.
Is this expected behavior? or any workarounds or parameters to be passed in the script executions?


Always on Top, but not Always

Microsoft PowerToys version
0.60.1
Running as admin

[X] Yes

Area(s) with issue?
Always on Top
Steps to reproduce
Activating Always on Top does not always keep the window above all others or the task bar. Once activated, the window will stay above other windows most time. I cannot reproduce the situation, it just happens every now and then.
Dragging the activated window above the Taskbar and then showing all open applications (Taskview - screenshot2) will push the "activated" window behind the Taskbar

✔ Expected Behavior
Keep activated window above taskbar/other windows

❌ Actual Behavior
Activated windows does not stay above the taskbar

Other Software
No response

I see you're using a media player. Is it possible the app sets the style itself, before/after songs?

Same issue occurs when using any other app. Two things I should mention:

once it goes behind the taskbar you cant get it back above it until you disable "AoT" and reneble it for that window.
The issue does not occur if you press the shortcut key to show all open apps, and press it again to return to your screen...it only happens if you select an app

Also if you select the taskbar it will push the activated AoT window behind it.
Mouse:
Logitech Master MX2
Software:
Logitech Options 9.60.87

We can't draw over the taskbar when the window is not in focus.


Fix use of CMake build types

Debug, Release, and DebWithRelInfo set optimization levels and also
toggle debug generation.
Fixes #6419

I might need to bump opt level for the build type (and remove -DNDEBUG), let's see if that is why CI failed.

I ended up bumping opt level and removing -DNDEBUG, to match what Test mode was doing.

Hmm - macOS system ICU has missing functions that CC expects. And if I try using the version of ICU downloaded by build.sh (normally embeded) but building with cmake it doesn't get embedded and it fails to find it at run time.
I can use the cmake build to build a no-icu version, if I try testing it numerous tests fail - presumably due to no-icu, though some of the failures are segfaults which seems surprising to me if it's just no-icu.


General enhancements

maybe its just my configuration but I ran the rewrite example from the README:
docker run \
    -v ~/.config:/root/.config \
    -i bigquery-antipattern-recognition \
    --query "select col1 from table1 where col2 like '%abc%' and col3=1" \
    --rewrite_sql \
    --processing_project_id <my-project>

and I got an error for rewrite

@afleisc nice catch! just fixed the bug, feel free to test again

LGTM


fix import path

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@yozman  目前没办法合并，麻烦签署一下 CLA 的协议才能合并哈。

@Boelroy done


[feat] disable xwayland by default for remaining images

for wayfire, hyprland, river, cinnamon.
unfortunately, for hyprland this is currently a build flag. So this may require upstream contributions.

IIRC cosmic has a buildflag for xwayland too

At the risk of sounding a bit...ignorant...does the title here suggest that xwayland was recently disabled on the main images?  I ask because just a week or two ago (I'm running SecureBlue Gnome and kde images both on separate machines) both my machines started having issues running both Brave browser and Synology Drive Client.  Both programs show errors connecting to the display server, and I have been trying everything to figure out what suddenly went wrong.
I am able to get Brave to run by appending --ozone-platform=wayland to the end of the run command.  I can't seem to get Synology Drive to run no matter what I do.... Is there a way to re-enable xwayland on an image?  Is that inadvisable for a security reason?  Or am I totally off-base and something else is the issue?

does the title here suggest that xwayland was recently disabled on the main images?

On all gnome/kde/sway images yes, https://github.com/secureblue/secureblue/releases/tag/v3.1.0
I strongly recommend subscribing to release notifications: https://github.com/secureblue/secureblue/blob/live/FAQ.md#how-do-i-get-notified-of-secureblue-changes

Is there a way to re-enable xwayland on an image?
Yes:
https://github.com/secureblue/secureblue/blob/live/FAQ.md#why-doesnt-my-xwayland-app-work

Is that inadvisable for a security reason?

Yes, it's preferable for security reasons to not use xwayland if you can avoid it

as of f41, xwayland can be disabled on hyprland
https://github.com/hyprwm/Hyprland/pull/7633

https://github.com/riverwm/river/blob/5ca829bd5acea4c68abcf16332ccfe6202da4aeb/doc/river.1.scd?plain=1#L39


bug:  AttributeError: 'TransformerEncoder' object has no attribute 'chunk_size_left'

Hi,
When I use streamming transformer to train the model,
unit: word
when I decode the result, using streaming_score.sh. I got an error:
Original utterance num: 2000
Removed 0 empty utterances
  0%|                                                                                | 0/2000 [00:00<?, ?it/s]Traceback (most recent call last):
  File "/../../../neural_sp/bin/asr/eval.py", line 251, in <module>
    main()
  File "/../../../neural_sp/bin/asr/eval.py", line 182, in main
    progressbar=True)
  File "/neural_sp/evaluators/word.py", line 73, in eval_word
    exclude_eos=True)
  File "/neural_sp/models/seq2seq/speech2text.py", line 449, in decode_streaming
    N_l = self.enc.chunk_size_left
  File "/tools/venv/lib/python3.7/site-packages/torch/nn/modules/module.py", line 535, in __getattr__
    type(self).__name__, name))
AttributeError: 'TransformerEncoder' object has no attribute 'chunk_size_left'
  0%|

Yours,
Thanks a lot.

@Gqwert123 Transformer is not supported in streaming_score.sh now. Could you try score.sh instead?

@Gqwert123 Transformer is not supported in streaming_score.sh now. Could you try score.sh instead?

Thanks for your reply.
score.sh works fine.

I use streamming transformer to train my model.

@Gqwert123 That is the expected behaviour of Transformer. You can avoid it by using --length_penalty=2.0.

@Gqwert123 That is the expected behaviour of Transformer. You can avoid it by using --length_penalty=2.0.

Sorry,  but maybe it did not changed better. I use only AM, unit word, but not include spm.
 Or Truncate sentence output as long as input？

@Gqwert123 That is the expected behaviour of Transformer. You can avoid it by using --length_penalty=2.0.

I use AM config:
aishell/s5/conf/asr/lc_transformer_mocha_mono4H_chunk4H_chunk16_from4L_headdrop0.5_subsample8_96_64_32.yaml
decode config:
`model1=
model2=
model3=
model_bwd=
gpu=1
stdout=false
path to save preproecssed data
data=${H}/data
#/n/work1/inaguma/corpus/aishell1
unit=word
metric=edit_distance
batch_size=1
beam_width=10
min_len_ratio=0.0
max_len_ratio=1.0
length_penalty=2.0
length_norm=true
coverage_penalty=0.0
coverage_threshold=0.0
gnmt_decoding=false
eos_threshold=1.0
lm=
lm_second=
lm_bwd=
lm_weight=0.3
lm_second_weight=0.3
lm_bwd_weight=0.3
ctc_weight=0.6  # 1.0 for joint CTC-attention means decoding with CTC
resolving_unk=false
fwd_bwd_attention=false
bwd_attention=false
reverse_lm_rescoring=false`

@Gqwert123 Transformer is not supported in streaming_score.sh now. Could you try score.sh instead?

Did you mean that even I use streamming transformer model to train my model like aishell recipe
(aishell/s5/conf/asr/lc_transformer_mocha_mono4H_chunk4H_chunk16_from4L_headdrop0.5_subsample8_96_64_32.yaml).
Streamming decoding can be used now?

Basically CTC decoding can be used in the offline scenario. Length penalty is the easiest way to truncate bad hypotheses during streaming decoding.

@Gqwert123 Transformer is not supported in streaming_score.sh now. Could you try score.sh instead?

Hi，Does the current version support transformer streaming decoding？


Some Fonts Missing from WSL Ubuntu Distro

Environment
PRETTY_NAME="Ubuntu 18.04.5 LTS"
dino@DINO:~$ cat /proc/version
Linux version 4.4.0-18362-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #836-Microsoft Mon May 05 16:04:00 PST 2020

Steps to reproduce

Assuming WSL already enabled:

Go to microsoft store.  Install Ubuntu
After install is complete: ls -l /usr/share/fonts/truetype/
See only dejavu

dino@DINO:~$ ls -l /usr/share/fonts/truetype/
total 0
drwxr-xr-x 1 root root 512 Aug 21 13:52 dejavu

WSL logs:

I will gladly do this if you tell me that it is necessary.  Imho it may not be necessary, since this may be just a question of whether or not the list of fonts that come with the WSL Ubuntu distros has changed.

Expected behavior

After  ls -l /usr/share/fonts/truetype/ ... expect to see the full list of fonts that typically come with Ubuntu:

abyssinica
dejavu
droid
fonts-beng-extra
fonts-deva-extra
fonts-gujr-extra
fonts-guru-extra
fonts-kalapi
fonts-orya-extra
fonts-telu-extra
fonts-yrsa-rasa
freefont
Gargi
Gubbi
hack
kacst
kacst-one
lao
liberation
liberation2
lohit-assamese
lohit-bengali
lohit-devanagari
lohit-gujarati
lohit-kannada
lohit-malayalam
lohit-oriya
lohit-punjabi
lohit-tamil
lohit-tamil-classical
lohit-telugu
malayalam
Nakula
Navilu
noto
openoffice
padauk
pagul
Sahadeva
samyak
samyak-fonts
Sarai
sinhala
tibetan-machine
tlwg
ttf-khmeros-core
ubuntu

Actual behavior

See only dejavu

dino@DINO:~$ ls -l /usr/share/fonts/truetype/
total 0
drwxr-xr-x 1 root root 512 Aug 21 13:52 dejavu

sudo apt install fonts-beng-extra et cetera. Or sudo apt install ubuntu-desktop if you want a big hammer.
What packages ship with a disto is up to the distribution maintainers. They wouldn't typically ship a large font package in a headless scenario.

@therealkenc
Thanks for you help.
Can find out from the distribution maintainers whether WSL Ubuntu18 distribution previously contained more fonts?
Originally, I installed WSL Ubuntu(18) approximately a year ago.  I am 99.44% certain that I never installed any fonts myself.
I have been developing a python package that relies on various fonts and it has been working fine.
Three weeks ago (for other reasons) I did a clean install of Windows10, followed by an install of WSL Ubuntu, and that's when the regression tests for my package began failing specifically on the appearance of some fonts.  (Yet the same regression tests continue to work fine on the other distros of Ubuntu that I use, and on a Red Hat linux distro).
Today I finally tracked the issue down to the fact that some of the fonts are missing from WSL Ubuntu; this after multiple deletions and re-installs of various versions of WSL Ubuntu (16,18,20) over the past few days.
I would really like to know, for my own peace of mind,  whether or not the WSL Ubuntu distribution a year ago included these fonts, but now it does not.
Thank you for your help.  Much appreciated.
--Daniel

Can we find out from the distribution maintainers whether WSL Ubuntu18 distribution previously contained more fonts?

You could ask the distribution maintainers whether WSL Ubuntu-18.04 previously contained moar fonts. Hypothetically.

In case it matters:  in the kernel config font options, not all font size options are selected though the autoselect option is enabled. As I'm not a font or kernel expert, I apologize if this has no relevance. Just wanted to ensure this isn't a factor (perhaps a distro provides fonts based on the config options).

@WSLUser ... Thanks.  I appreciate any input, really.

Ideally I would like to see a manifest of the distro.  And have access to the manifests historically.
That would help for any and all questions related to how a distro has changed over time (not just font issues).
Not quite sure how to get that.

@therealkenc ... Thanks.  I will ask. (Although I, sort of, already did before posting here).
I posted here because I was thinking that github.com/microsoft/WSL/issues would be a likely place to find those who are actually involved in maintaining the distribution, but perhaps not.

Your best bet is @sirredbeard


Fix status --watch poll rate; reduce the number of ComosDB client connections

This fixes a bug where the poll rate for pctasks runs status --watch was mishandled; the default of "Poll once every 10 seconds" was being interpreted as "Poll 10 times every second".
Also, consolidate the number of ComosDB connections created in the workflow executor. This passes container clients to threads in the thread pool rather than create new connections per thread. As far as I can tell and have tested, the client is thread safe, and there is text in the ComsosDB docs that suggests the number of client connections should be minimized.
Additionally, modified the standard exception inspection in "with_backoff" to recurse down into inner exceptions, and added some additional logic to catch 'connection reset by peer' errors. This is based on a transient error I saw fail a Task where the connection reset error was wrapped in an outer exception, so was not retried.

That would be the message. By passing the exception object there you're printing the message twice ("division by zero" in this case):
In [1]: import logging

In [2]: logger = logging.getLogger()

In [3]: try:
   ...:     1/0
   ...: except Exception as e:
   ...:     logger.exception(e)
   ...:
division by zero
Traceback (most recent call last):
  File "<ipython-input-3-c06c0881b277>", line 2, in <module>
    1/0
ZeroDivisionError: division by zero

From: Rob Emanuele @.>
Sent: Tuesday, February 21, 2023 5:28 PM
To: microsoft/planetary-computer-tasks @.>
Cc: Tom Augspurger @.>; Review requested @.>
Subject: Re: [microsoft/planetary-computer-tasks] Fix status --watch poll rate; reduce the number of ComosDB client connections (PR #145)
@lossyrob commented on this pull request.

In pctasks/run/pctasks/run/workflow/executor/remote.pyhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fplanetary-computer-tasks%2Fpull%2F145%23discussion_r1113673274&data=05|01|tom.augspurger%40microsoft.com|8493bc1254c84c4cefe608db14635acf|72f988bf86f141af91ab2d7cd011db47|1|0|638126189184057739|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=k%2Byic7zo43ky%2BW2WJKzJtsgPZ8achtElZBBvnLcp2do%3D&reserved=0:

       except Exception as e:

           logger.exception(e)

           raise

   except Exception as e:

       logger.exception(e)

Not supplying the msg argument gives me Pylance errors:
[image]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F2320142%2F220481910-49cac5ec-7437-47a4-87d0-ee100e92e26c.png&data=05|01|tom.augspurger%40microsoft.com|8493bc1254c84c4cefe608db14635acf|72f988bf86f141af91ab2d7cd011db47|1|0|638126189184057739|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=tuqtOIrtcjSgA%2BO21dKnzf03Or%2F7UgYHn6Cjfc8VyLk%3D&reserved=0
Given this, I think calling with the "e" as the msg makes sense.
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fplanetary-computer-tasks%2Fpull%2F145%23discussion_r1113673274&data=05|01|tom.augspurger%40microsoft.com|8493bc1254c84c4cefe608db14635acf|72f988bf86f141af91ab2d7cd011db47|1|0|638126189184057739|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=k%2Byic7zo43ky%2BW2WJKzJtsgPZ8achtElZBBvnLcp2do%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAKAOITU34SE4KK2U7WCHZDWYVFSHANCNFSM6AAAAAAVDRX74E&data=05|01|tom.augspurger%40microsoft.com|8493bc1254c84c4cefe608db14635acf|72f988bf86f141af91ab2d7cd011db47|1|0|638126189184057739|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Addwzc1QsB7cB9a3Wy71r%2F71TxRTrMdvDvu0aG5cwoY%3D&reserved=0.
You are receiving this because your review was requested.Message ID: @.***>


java: false positive when FileReader throws exception

I get this alert:
https://lgtm.com/projects/g/jgerhards/SLFA/snapshot/3e737bd4fcb977bf27c7d8e67ef5d8f71b878193/files/src/com/rsyslog/slfa/model/LogFile.java?sort=name&dir=ASC&mode=heatmap&showExcluded=false#x6c6356b876f728a2:1
When the FileReader throws the FileNotFoundException, the static analyzer thinks the FileReader has to be closed.
IMHO this is a false positive because

the file does not exist and so cannot be opened at all
even if 1. would not apply, I do not have a object reference, as the constructor throws the exception and so fr is not set (as the throw happens before the assignment)

As a separate note, the program exits when the exception is thrown and so there rally would be no need for manual cleanup (could be argued that this still makes sense to be flagged, but seems unhelpful).

Thank you for reporting this.  The false positive is actually unrelated to the exception handling - what happens is that it fails to recognise the flow path from fr through init and the construction of the BufferedReader into the fileRd field.  I will amend the query to handle such flow.

@jgerhards it looks like the linked alerts are no longer present, so it's likely we fixed this and forgot to inform you, sorry about that!


fix(chat): fix template input jumping (Issue #2162)

Description:
fix template input jumping
Issues:

Issue #2162

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


Improve reporting

When given a mail with correct header but mangled body, the result would be both permfail and pass, but when a mail is correct only pass is returned.
No results are returned when the DKIM signature contains a key that doesn't exist in DNS.
This pull request seeks to remedy by returning success both for the header and the body if these are correct, and by adding an error for missing TXT records in DNS.

Looks like there is logical error:
Reporting success of body/header separately leads to inconsistent exit status.
Exit status now may be pass & fail at same time instead of just pass OR fail.
This involves string parsing to get exact status and it's bad.
Indeed the class should return single status

@jornane At first your commit made sense, but after reviewing RFC 6376 I tend to agree with the above comment. When the body hash validation failures a verified SHOULD return a permfail. What's the purpose of performing the remaining validation steps for a given signature if the body hash computation fails?

I use this code for a diagnostic tool. For diagnostics, it is interesting to know that the body hash validation fails, but that the header hash is in order.
However, I agree that for pure validation purposes, such as deciding whether an email should be trusted or not, any permfail will disqualify the signature, even if it is partially correct. I'll point out that a partial success already was possible even before this PR, it's just more apparent now.
Teon's fork adds a function that will provide a yes/no answer whether the signature is valid, I think that function would be very useful to backport to this project.

Understood - I'll see what I can do. I'll leave this merged for now.


feat: added revalidation fields to master index

TIS21-2669
The additional fields which are needed to make the revalidation summary page for elastic search index is added in this PR. The fields are being received from the sqs queue.

The original queue used to pass "getMaster" signal to Connection is going to be refactored. The routing key may need to be updated here in the Integration service, but the name is not confirmed yet. Please follow the conversation here if you are interested.
https://github.com/Health-Education-England/TIS-RabbitMQ/pull/74


Fix: json formatting for hex values

hex values are not supported in json format, so they should be output as a string when json formatting is selected.
$ bpftrace -q -f json -e 'BEGIN { @=(int16*) 0x32; exit(); }' | jq .

Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

Wouldn't it be better to use a decimal number instead of a hex string? JSON output is mainly used for machine processing and this way, we're forcing users to add additional string parsing into the pipeline.

Yeah, perhaps this is the better way to go. Though if people want hex, you're adding an additional step into their processing pipeline as well. I don't feel strongly either way.

Wouldn't it be better to use a decimal number instead of a hex string? JSON output is mainly used for machine processing and this way, we're forcing users to add additional string parsing into the pipeline.

Yeah, perhaps this is the better way to go. Though if people want hex, you're adding an additional step into their processing pipeline as well. I don't feel strongly either way.

The step is always there unless people want hex strings which doesn't seem like something people usually want (at least I don't see a point in having an "address string" as a value of a pointer unless you want to print it straight away).

actually switching to a decimal number instead of a hex string makes sense to me — as @viktormalik mentioned JSON is mainly used for machine processing.
I've made some updates, could you please take another look please?
@viktormalik
@jordalgo


Ability to use Rancher Pod Security Templates

What would you like to be added (User Story)?
As an operator
I would like to use the PSA templates in Rancher
To increase the security og my cluster
Detailed Description
When importing an RKE2 cluster it would be good if we can support PSA templates: https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/authentication-permissions-and-global-configuration/psa-config-templates
Anything else you would like to add?
Created based on a slack discussion with @ron1
Label(s) to be applied
/kind feature

Closing for lack of interest, can be reopened later

Hi @alexander-demicev , now that https://github.com/rancher/cluster-api-provider-rke2/pull/474 has been implemented, would it make sense to reconsider reopening this issue?


Enable transformations when detecting target features

This is especially relevant for Rust v1.82, where the reference type and multivalue target features will be enabled by default.

How can I disable these transformations on stable Rust 1.82?

See #4227


Redirect tutorials to the docs site

/assign @sebgoa

@sebgoa Please take a look when you have time. It would be nice to move these out before we get more typo fixes etc.

the readmes are cleaned up but you want to keep the manifests ?
fine with me, I think it is still confusing, but that's really a docs issue.

@sebgoa Manifests are being used for tests etc, and they're a lot easier to keep in sync. This solves the immediate problem which is the difficulty of contributing to tutorials, and the uncertainty where the tutorials are maintained.


ADSF/WsFed Support

Closes #1034
This method of integrating CAS Server and ADFS delegates user authentication from CAS Server to ADFS. This is accomplished by making CAS Server a WS-Federation client. Claims released from ADFS are made available as attributes to CAS Server, and by extension CAS Clients. This method has the advantage (or disadvantage) that federated users have the potential to participate as user of CAS Clients. Most if not all of the functionality is handled by opensaml as part of the saml module.
There are essentially 3 steps to configuring this module:

Configure CAS Server.
Configure ADFS Server.
Enabling claims manipulation for CAS consumption.

Heads up; Planning to merge and write docs towards mid next week. Please review when you get a chance.

Delegation is the process of a computer user handing over their authentication credentials to another user. - Wikipedia

This method of integrating CAS Server and ADFS delegates user authentication from CAS Server to ADFS

By definition, then, when you say "we've added ADFS/WsFed Support," do you mean:

CAS now supports ADFS as another authentication method such that logging into ADFS will authorize you in CAS; or
CAS can now be used to single sign-on into ADFS such that logging into CAS will authorize you in ADFS and it follows that CAS may now be used to single sign-on users into Office 365 apps.

Thanks!

CAS now supports ADFS as another authentication method such that logging into ADFS will authorize you in CAS.

and

CAS can now be used to single sign-on into ADFS such that logging into CAS will authorize you in ADFS and it follows that CAS may now be used to single sign-on users into Office 365 apps

The latter is only possible in v5.

v5 as in CAS 5?

What about this: https://github.com/Unicon/cas-adfs-integration/wiki/adfs-casification
Seems to convey that we would just need to update ADFS' login page to query ClearPass and auto-login on behalf of the user

v5 as in CAS 5.
And that's a question for that project. Not here.


Undo Intent Deleted "Sorry, trigger intent is not found in lu file"

I deleted a trigger "Intent Recognized" with name "ProblemaSistema".
After i clicked on Undo and "ProblemTicket" are restored correctly.
When i restared bot, i recived a follow error:
"Sorry, something went wrong with publishing. Try again or exit out of this task.
Sorry, trigger intent 'ProblemaSistema' is not found in lu file: compagnodibancopoc.en-us.lu"
I solved in this steps:

deleted "ProblemaSistema" Intent rec
Created new Intent Recognized with same name "ProblemaSistema" and past the utterances

Thanks

@cwhitten can we prioritize investigating what's causing this error? @tomlm ran into this exact same error yesterday and the repro there was the following -

Go to all up view and manually add an intent #None (or whatever intent name) with some utterances
Click on (re)start bot so a LUIS app is set up.
Ensure there are no triggers associated with the new intent in the dialog.
Go back to all up view and delete the #None intent and its utterances
Click on (re)start bot.

Are we caching the lu somewhere? I suspect the diff we have in bf-lu might be throwing on mismatched set of intents. @boydc2014 @feich-ms

@vishwacsena we didn't cache any lu content. This error Sorry, trigger intent 'None' is not found in lu file: emptybot-1.en-us.lu come from the cross train library. I think there might be some issues when composer calling cross-train lib. I will sync with @lei9444  to figure out the cause.

fixed in #3780


Cookies not getting set on first time signup with google popup

I have been using next-firebase-auth-edge for a decent amount of time and recently found this bug. If you are making an account for the first time with the signInWithPopup method, the auth token cookies will not get set. You then need to re-loggin to actually get them to work. If you already made an account, you can login and logout just fine though. I am also able to log the token just fine, but it looks like the login api is not setting the cookies for whatever reason. Down below is my function to login with the google popup and was hoping someone could spot why it might not be working for new users.
signIn function
const signInWithGoogle = async () => {
	const userCredential = await signInWithPopup(auth, googleAuthProvider);

	// get the id token from firebase
	const idTokenResult = await userCredential.user.getIdTokenResult();

	// set the cookie with firebase auth edge middleware
	// https://github.com/awinogrodzki/next-firebase-auth-edge#example-authprovider
	await fetch("/api/login", {
		method: "GET",
		headers: {
			Authorization: `Bearer ${idTokenResult.token}`,
		},
	});

	// return the user credential
	return userCredential;
};

page using this function
"use client";

import React from "react";
import {
	signInAsGuest,
	signInWithFacebook,
	signInWithGoogle,
} from "auth/client";
import { ActionButton } from "app/components/action-button";
import { useRouter } from "next/navigation";

const AuthEmailForm: React.FC<{ redirectURL?: string }> = ({ redirectURL }) => {

	const router = useRouter();

	const googleSignIn = async () => {
		const userCredential = await signInWithGoogle();
		// route to new page
		if (userCredential.user.displayName?.length)
			router.push(redirectURL || "/");
		else router.push("/profile");
	};

	return (
		<>
			<div className="flex h-full min-h-full flex-1 flex-col justify-center px-6 py-12 lg:px-8"

					<ActionButton
						className="my-4 w-full"
						startIcon="google"
						action={googleSignIn}
						title="Continue with Google"
					/>

		</>

	);
};

middleware
import type { NextRequest } from "next/server";
import { NextResponse } from "next/server";
import {
	authentication,
	refreshAuthCookies,
} from "next-firebase-auth-edge/lib/next/middleware";
import { getFirebaseAuth } from "next-firebase-auth-edge/lib/auth";
import {
	BaseURL,
	FirebaseApiKey,
	FirebaseAuthEdgeOptions,
	FirebaseServiceAccount,
} from "config/constants";

/**
 * Next Firebase Auth Edge provides lower level building blocks for custom functionality
 * https://github.com/awinogrodzki/next-firebase-auth-edge#getfirebaseauth
 */
const { setCustomUserClaims, getUser } = getFirebaseAuth(
	FirebaseServiceAccount,
	FirebaseApiKey
);

export async function middleware(request: NextRequest) {

	return authentication(request, {
		// these api routes are automatically created by the middleware
		// see here: https://github.com/awinogrodzki/next-firebase-auth-edge/issues/34
		loginPath: "/api/login",
		logoutPath: "/api/logout",

		// extends the auth edge options defined above
		...FirebaseAuthEdgeOptions,

		// for handling a valid token
		handleValidToken: async ({ token, decodedToken }) => {
			console.log("fired from handle valid token");
			// for handling a request to update the custom claims of a firebase user
			if (request.nextUrl.pathname === "/api/custom-claims") {
				// set the custom claims using the auth edge library
				// see claims on firebase here: https://firebase.google.com/docs/auth/admin/custom-claims
				await setCustomUserClaims(decodedToken.uid, {
					someClaims: ["someValue"],
				});

				// get the authetnicated user
				const user = await getUser(decodedToken.uid);
				console.log("user from middleware", user);
				const response = new NextResponse(
					JSON.stringify(user.customClaims),
					{
						status: 200,
						headers: { "content-type": "application/json" },
					}
				);

				console.log("firebase auth options", FirebaseAuthEdgeOptions);
				// refresh the user's auth cookies
				const thing = await refreshAuthCookies(
					token,
					response,
					FirebaseAuthEdgeOptions
				);
				console.log("thing from middleware", thing);
				return response;
			}

			return NextResponse.next();
		},

		// redirect to the login page when an invalid token is received
		handleInvalidToken: async () => {
			console.warn("Invalid token - redirecting to login");
			return redirectToLogin(request);
		},

	});
}

export const config = {
	matcher: [
		"/",
		"/((?!_next|favicon.ico|api).*)",
		"/api/login",
		"/api/logout",
	],
};

Hey @SethY8s how do you solve this? I'm facing something like that, but here the cookies are not getting set in any way, with Google popup or sing up/login with email and password.


[Doc] Use mirror link in the download page

Description

Use mirror link in the download page. According to http://www.apache.org/dev/release-publishing.html#distribution_dist.
Add a link for the KEY file.

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

CI is crazy ....

@aaronmarkham @szha Is it good to merge now? Thanks!


Cannot cast ufunc add output from dtype('int32') to dtype('uint8') with casting rule 'same_kind'

Hi Matthew,
Great piece of code. Thanks for putting this together from the Switching Eds blog post.
On line 197 inside correct_colours(), the following error happens on a x64 Windows 10 machine with Python 2.7.11:
im2_blur += 128 * (im2_blur <= 1.0)
TypeError: Cannot cast ufunc add output from dtype('int32') to dtype('uint8') with casting rule 'same_kind'
Cheers

Hi, I cannot reproduce the issue easily (my windows machine isn't set up for Python development).  Can you check if changing the failing line to the following fixes the issue?
im2_blur += (128 * (im2_blur <= 1.0)).astype(im2_blur.dtype)

Yep, that did it. I just sent you a PR.
Thanks a lot

Thanks for the PR, now merged.


Feature property method

Added functionality that allows for methods to be attached to properties. For example, to denote that a property was discerned through an NMR

can you put this into the develop branch instead?


E2E Intermittent Failures: Contribution Flow - Guest contributions

It seems that in the Contribution Flow: Guest contributions E2E tests we have intermittent failures. Some failure runs are,
https://github.com/opencollective/opencollective-frontend/runs/5873120352?check_suite_focus=true
https://github.com/opencollective/opencollective-frontend/runs/5873014997?check_suite_focus=true
https://github.com/opencollective/opencollective-frontend/runs/5868773628?check_suite_focus=true
All of these fail with the same error;
AssertionError: Timed out retrying after 15000ms: Expected to find content: 'You are now supporting APEX.' within the selector: '[data-cy="order-success"]' but never did.

It seems that this is related to the CAPTCHA where the checkbox isn't somehow checked. 🤔

@SudharakaP I'm still seeing this error show up after rebasing against origin/main, see e.g. this run: https://github.com/opencollective/opencollective-frontend/runs/6079709988?check_suite_focus=true

@SudharakaP I'm still seeing this error show up after rebasing against origin/main, see e.g. this run: https://github.com/opencollective/opencollective-frontend/runs/6079709988?check_suite_focus=true

Yes you are right. it seems reduced though as I am not seeing it all the time as I used to. But it does seem to still occur. We need to investigate more on this. 🤔

I was looking at recent logs and this issue doesn't seem to appear anymore (for the last 20 days it has appeared only once); at least I couldn't find any recently. I believe the root cause is that it take some time for the captcha to respond once the user click on the checkbox and the PR above fixes this by increasing the waiting time. If it starts appearing often in the future feel free to reopen the issue and we can look further.


Use bitcoin_constants

Removes all network enums and network-specific constants and use bitcoin_constants instead.
This is a rather big PR that involves multiple repositories. I'd propose the following merging order:

[ ] Review and merge rust-bitcoin/constants#2, rust-bitcoin/constants#3 and rust-bitcoin/constants#6. If we don't have much to discuss we could also just go for rust-bitcoin/constants#6 and close the other ones since they build on top each other.
[ ] Release rust-bitcoin/constants
[ ] Edit rust-bitcoin/rust-bech32-bitcoin#18 to use the crates.io version of rust-bitcoin/constants
[ ] Review and Merge rust-bitcoin/rust-bech32-bitcoin#18
[ ] Release rust-bitcoin/rust-bech32-bitcoin
[ ] Edit rust-bitcoin/rust-bitcoin#201 (this PR) to use the crates.io version of rust-bitcoin/constants and rust-bech32-bitcoin
[ ] Review and Merge this PR
[ ] Use rust-bitcoin/bitcoin_hashes in rust-bitcoin/rust-bitcoin since it's introduced as a dependency by this PR anyway

Let's close this already. It didn't go anywhere, feel free to give it a try again. It was a nice try, but much too complicated due to the idea of allowing extensibility, which is probably the wrong trade-off here.

Let's close this already. It didn't go anywhere, feel free to give it a try again. It was a nice try, but much too complicated due to the idea of allowing extensibility, which is probably the wrong trade-off here.


Port initial examples from lancedb repo

Hey @TevinWang thanks for the PR.  (I think the youtube-transcript js example won't work by simply executing  node index.js as there's an async call at top level, but I might be wrong)
For each example folder, write a REAMDE.md that has the instructions about how to execute these scripts

See the this first example as a reference - https://github.com/lancedb/vectordb-recipes/tree/main/examples/Youtube-Search-QA-Bot
I think you can also exclude that example from this PR as it is already added


Provide remarkjs.com example in .md?

It would be great to have the example document on remarkjs.com available as a .md. And/or the CSS stylesheet used.

+1

The source of the page has the markdown and CSS embedded in it.

First of all, it is available if you switch to the gh-pages branch of this repo.  Second, I was wondering if any of you would care to chime in on #345 ?

On a remark slide, the best is to "view source" from your browser, or saving the HTML to open it with your preferred editor. Let me know if I should be more specific in the wiki, but for now I'll close the issue.


How can I use the bot in the group?

Hello, thank you to the creator of this source for providing the most unique source, I don't know how I can use the bot in the group, for example, ask a question in the group and the bot will answer it.  Please help.

Hi @manizexor-gh
You can now use the /chat command along with your prompt to retrieve messages.
for example:
/chat Hello

The issue was that the chat command handler only worked in private mode, but I have changed it to public mode (groups and supergroups). You can simply re-clone the repository and utilize it.
However, if you prefer to ask in a regular manner (not using the /chat command), you could edit the source code and remove the private check condition from the message handler.
from:
# Message handler for text content in private type chat (for text conversation)
@GPTbot.message_handler(func=lambda x: x.chat.type == "private", content_types=["text"])
def handle_private_messages(message: ClassVar[Any]) -> None:

to:
# Message handler for text content in all chat types (for text conversation)
@GPTbot.message_handler(content_types=["text"])
def handle_messages(message: ClassVar[Any]) -> None:

Which i changed it also. so you can also ask question normally.

Thanks ❤

I think I ran into a problem, I want the bot to reply when I type /chat.... not to reply to all messages.


add test scripts for issue 3857 [internal review]

ATF Test Scripts to check #FORDTCN-12637
This PR is [ready] for review.
Summary
Add test scripts for issue 3857
ATF version
latest
Changelog
The new script is added
The test set is updated with new scripts
CLA

[x] I have signed the CLA

@GetmanetsIrina Please find the update in 8cd6c


Bump lodash from 4.17.15 to 4.17.19

Bumps lodash from 4.17.15 to 4.17.19.

Release notes
Commits

Test Cambios con Aproval


change directory structure, apply some api, add ui

change directory structure, apply some api, add ui


Suppression JavadocMethod turn off, KfFlexibleEnvelope and KfXmlFlexible fix

@NikiTuz18 thank you for your Pull Request. I'll assign someone to review it soon.
If this PR solves a todo from the code, please don't forget to remove it.

@h1alexbel please review this Pull Request. Deadline (when it should be merged or closed) is 2023-04-13T17:50:14.343694.
You should check if the requirements have been implemented (partially or in full), if there are unit tests covering the changes and if the CI build passes. Feel free to reject the PR or ask for changes if it's too big or not clear enough.
Estimation here is 30 minutes, that's how much you will be paid. You will be paid even if this PR gets rejected.

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@NikiTuz18 thanks!

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Roll Flutter from 47b5ed3948e8 to 80660b2d5edf (33 revisions)

Roll Flutter from 47b5ed3948e8 to 80660b2d5edf (33 revisions)
https://github.com/flutter/flutter/compare/47b5ed3948e8...80660b2d5edf
2022-02-26<EMAIL_ADDRESS>Work around VS CMake generation bug (flutter/flutter#98945)
2022-02-26<EMAIL_ADDRESS>Roll Engine from 1012ac4b5af7 to 729f5b2ac016 (42 revisions) (flutter/flutter#99190)
2022-02-25<EMAIL_ADDRESS>[flutter_conductor] log to stderr but do not crash conductor if branch name validation fails (flutter/flutter#99181)
2022-02-25<EMAIL_ADDRESS>added wotw links for Baseline and GestureDetector (flutter/flutter#99178)
2022-02-25<EMAIL_ADDRESS>Run update-packages (flutter/flutter#99038)
2022-02-25<EMAIL_ADDRESS>Use flutter pub instead of dart pub (flutter/flutter#99159)
2022-02-25<EMAIL_ADDRESS>Deflake Mac module_test_ios (flutter/flutter#99009)
2022-02-25<EMAIL_ADDRESS>Add clipBehavior to Snackbar (flutter/flutter#98252)
2022-02-25<EMAIL_ADDRESS>Roll Plugins from 6d88e3a2a184 to 351415caa735 (8 revisions) (flutter/flutter#99156)
2022-02-25<EMAIL_ADDRESS>[ReorderableListView] Add footer (flutter/flutter#92086)
2022-02-25<EMAIL_ADDRESS>Do not crash if dispatch the mouse events before the tooltip overlay detached (flutter/flutter#97268)
2022-02-25<EMAIL_ADDRESS>Re-land Assert golden files use the right extension (flutter/flutter#99082)
2022-02-25<EMAIL_ADDRESS>[framework] Provide gesture settings to regular gesture detectors (flutter/flutter#99081)
2022-02-25<EMAIL_ADDRESS>Marks Linux_android android_picture_cache_complexity_scoring_perf__timeline_summary to be unflaky (flutter/flutter#98989)
2022-02-25<EMAIL_ADDRESS>Fix a Tabs crash when change the TabControllers (flutter/flutter#98242)
2022-02-25<EMAIL_ADDRESS>use dart pub deps to analyze consumer dependencies (flutter/flutter#99079)
2022-02-25<EMAIL_ADDRESS>adds trackRadius to ScrollbarPainter and RawScrollbar (flutter/flutter#98018)
2022-02-25<EMAIL_ADDRESS>Wait for ios-deploy stdout before closing logLine stream (flutter/flutter#99041)
2022-02-25<EMAIL_ADDRESS>Correct font weight for Cupertino tab label (flutter/flutter#90109)
2022-02-25<EMAIL_ADDRESS>Fix samples so that they present properly in the docs (flutter/flutter#97224)
2022-02-25<EMAIL_ADDRESS>[dap] Don't use --start-paused when running in Profile/Release mode (flutter/flutter#98926)
2022-02-24<EMAIL_ADDRESS>reads min/target sdk versions from localproperties (flutter/flutter#98450)
2022-02-24<EMAIL_ADDRESS>Increase recommended CocoaPods version to 1.11 (flutter/flutter#98621)
2022-02-24<EMAIL_ADDRESS>Pasting collapses the selection and puts it after the pasted content (flutter/flutter#98679)
2022-02-24<EMAIL_ADDRESS>Revert "Assert golden files use the right extension (#99016)" (flutter/flutter#99075)
2022-02-24<EMAIL_ADDRESS>Assert golden files use the right extension (flutter/flutter#99016)
2022-02-24<EMAIL_ADDRESS>Remove cli_utils from allow-list (flutter/flutter#99037)
2022-02-24<EMAIL_ADDRESS>Call bringIntoView after RenderEditable updates on paste (flutter/flutter#98604)
2022-02-24<EMAIL_ADDRESS>Update Xcode version to 13a233 (flutter/flutter#98297)
2022-02-23<EMAIL_ADDRESS>Bump github/codeql-action from 1.1.2 to 1.1.3 (flutter/flutter#99026)
2022-02-23<EMAIL_ADDRESS>Draggable can be accepted when the data is null (flutter/flutter#97355)
2022-02-23<EMAIL_ADDRESS>Use int for PlaceholderSpan.placeholderCodeUnit (flutter/flutter#98971)
2022-02-23<EMAIL_ADDRESS>Skip can validate flutter version in parallel test in Linux web_tool_tests (flutter/flutter#99017)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
...

Commit queue failed; closing this roll.


remove Marc Paquette from CAPI approvers

Hi @ MarcPaquette!  Hope you are well.  As per the TOC process you have two weeks to "refute the revocation" of your status as Approver

Hi @sethboyles,
Please feel free to remove me from the CAPI approvers.
Thanks,
Marc

Thank you for your service!


Cannot create new provisioning profile

When trying to run sigh to create a new provisioning profile (keychain is empty - no previous provisioning or keys installed).
Command (password is in env DELIVER_PASSWORD):
+ sigh --development --username<EMAIL_ADDRESS>--team_id XXXXXXXXXX --app_identifier my.company.app

[19:18:55]: Starting login with user<EMAIL_ADDRESS>[19:18:58]: Successfully logged in
[19:18:58]: Fetching profiles...
[19:19:01]: No existing profiles, creating a new one for you
[19:19:05]: Creating new provisioning profile for 'my.company.app' with name 'my.company.app Development'

This is the backtrace I get:
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/portal/provisioning_profile.rb:225:in `map': undefined method `id' for true:TrueClass (NoMethodError)
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/portal/provisioning_profile.rb:225:in `block in create!'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/client.rb:164:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/client.rb:164:in `with_retry'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/portal/provisioning_profile.rb:220:in `create!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.8/lib/sigh/runner.rb:100:in `create_profile!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.8/lib/sigh/runner.rb:34:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.8/lib/sigh/manager.rb:7:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.8/bin/sigh:34:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.8/bin/sigh:86:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.8/bin/sigh:92:in `<top (required)>'
	from /usr/bin/sigh:23:in `load'
	from /usr/bin/sigh:23:in `<main>'

Do you have any devices registered on your account?

Yes, about a dozen.

Was this issue introduced with one of the last versions?

I just installed the tool on a new system (clean install). Also, I have never used sigh before.
Mac OS X 10.10.5

Same issue for me here
And i also multiple devices registered and it's the first time i use sigh so i can't tell if this is due to the last release

Same here, lots of devices on portal, but it keeps failing. I didn't use any previous version so I can't state if it's some introduced in the last version.

Still a problem in sigh 0.10.9:
/Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/portal/provisioning_profile.rb:225:in `map': undefined method `id' for true:TrueClass (NoMethodError)
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/portal/provisioning_profile.rb:225:in `block in create!'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/client.rb:164:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/client.rb:164:in `with_retry'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.10.2/lib/spaceship/portal/provisioning_profile.rb:220:in `create!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/lib/sigh/runner.rb:102:in `create_profile!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/lib/sigh/runner.rb:36:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/lib/sigh/manager.rb:7:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/bin/sigh:34:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/bin/sigh:86:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/bin/sigh:92:in `<top (required)>'
	from /usr/bin/sigh:23:in `load'
	from /usr/bin/sigh:23:in `<main>'

Thanks everyone, I found the issue! Pushing a fix in a minute! :+1:

Please update using sudo gem update spaceship :+1:

@KrauseFx : Thanks! Seems to have fixed that issue. Though I am getting the same 400 error now from issue https://github.com/KrauseFx/fastlane/issues/349:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/common.rb:155:in `parse': 757: unexpected token at 'HTTP 400 Bad Request' (Faraday::ParsingError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/common.rb:155:in `parse'
	from /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response/parse_json.rb:11:in `block in <class:ParseJson>'
	from /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:48:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:48:in `parse'
	from /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:39:in `process_response'
	from /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:32:in `block in call'
	from /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.1/lib/faraday/response.rb:57:in `on_complete'
	from /Library/Ruby/Gems/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.1/lib/faraday/rack_builder.rb:139:in `build_response'
	from /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.1/lib/faraday/connection.rb:377:in `run_request'
	from /Library/Ruby/Gems/2.0.0/gems/faraday-0.9.1/lib/faraday/connection.rb:177:in `post'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:232:in `block in send_request'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:164:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:164:in `with_retry'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:231:in `send_request'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:207:in `request'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/portal/portal_client.rb:313:in `create_provisioning_profile!'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/portal/provisioning_profile.rb:221:in `block in create!'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:164:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/client.rb:164:in `with_retry'
	from /Library/Ruby/Gems/2.0.0/gems/spaceship-0.11.1/lib/spaceship/portal/provisioning_profile.rb:220:in `create!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/lib/sigh/runner.rb:102:in `create_profile!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/lib/sigh/runner.rb:36:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/lib/sigh/manager.rb:7:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/bin/sigh:34:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:68:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/bin/sigh:86:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/sigh-0.10.9/bin/sigh:92:in `<top (required)>'
	from /usr/bin/sigh:23:in `load'
	from /usr/bin/sigh:23:in `<main>'


Third file is created

Apart from the bin and pem files, theres a third wvd file created when extracting from sdk emu. google_sdk_gphone64_x86_64_xxxx_xxxxxxxxx_xxxxxx_l3.wvd
Is this somehow important that I need to keep? Or can it be deleted?
Resolved

resolved