Failed to import execution: Request failed with status code 400

Description
{
   "error":{
      "message":"Request failed with status code 400",
      "name":"AxiosError",
      "stack":"AxiosError: Request failed with status code 400\n    at settle (/Users/***/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:2015:12)\n    at IncomingMessage.handleStreamEnd (/Users/***/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:3131:11)\n    at IncomingMessage.emit (node:events:526:35)\n    at endReadableNT (node:internal/streams/readable:1376:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/Users/***/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async XrayClientCloud.importExecution (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/client/xray/xray-client.js:25:34)\n    at async ImportExecutionCypressCommand.computeResult (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/hooks/util/commands/xray/import-execution-cypress-command.js:13:16)\n    at async ImportExecutionCypressCommand.compute (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/hooks/command.js:87:16)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:74:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.execute (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:40:9)\n    at async Object.handler (/Users/***/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/plugin.js:115:13)",
      "config":{
         "transitional":{
            "silentJSONParsing":true,
            "forcedJSONParsing":true,
            "clarifyTimeoutError":false
         },
         "adapter":[
            "xhr",
            "http",
            "fetch"
         ],
         "transformRequest":[
            null
         ],
         "transformResponse":[
            null
         ],
         "timeout":0,
         "xsrfCookieName":"XSRF-TOKEN",
         "xsrfHeaderName":"X-XSRF-TOKEN",
         "maxContentLength":-1,
         "maxBodyLength":-1,
         "env":{

         },
         "headers":{
            "Accept":"application/json, text/plain, */*",
            "Content-Type":"application/json",
            "Authorization":"Bearer ***",
            "User-Agent":"axios/1.7.3",
            "Content-Length":"667",
            "Accept-Encoding":"gzip, compress, deflate, br"
         },
         "method":"post",
         "url":"https://xray.cloud.getxray.app/api/v2/import/execution",
         "data":"{\"info\":{\"description\":\"Cypress version: 13.13.0\\nBrowser: chrome (127.0.6533.89)\",\"finishDate\":\"2024-08-05T13:41:30Z\",\"project\":\"ET\",\"startDate\":\"2024-08-05T13:40:55Z\",\"summary\":\"Execution Results [1722865255968]\",\"testPlanKey\":\"ET-17283\"},\"tests\":[{\"finish\":\"2024-08-05T13:41:06Z\",\"start\":\"2024-08-05T13:40:55Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17266\"},{\"finish\":\"2024-08-05T13:41:14Z\",\"start\":\"2024-08-05T13:41:06Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17267\"},{\"finish\":\"2024-08-05T13:41:21Z\",\"start\":\"2024-08-05T13:41:14Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17268\"},{\"finish\":\"2024-08-05T13:41:29Z\",\"start\":\"2024-08-05T13:41:21Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17269\"}]}"
      },
      "code":"ERR_BAD_REQUEST",
      "status":400
   },
   "response":{
      "error":"Error creating Test Execution - Issue create failed!"
   }
}

Cypress version
13.13.0
Plugin version
7.1.0
Jira/Xray type
Cloud
Configuration
e2e: {
    async setupNodeEvents(on, config) {
      await configureXrayPlugin(on, config, {
        jira: {
          projectKey: '**',
          url: 'https://***.atlassian.net/',
          fields: {
            summary: 'summary'
          }
        },
        xray: {
          status: {
            pending: 'PENDING',
            skipped: 'SKIPPED'
          },
          uploadResults: true
        }
      });
    },
  },

Acknowledgements

[X] I have made sure not to include any sensitive data in screenshots or obfuscated all occurrences.
[X] I have made sure not to include any sensitive data in descriptions or replaced all values with placeholders.
[X] I have made sure not to include any sensitive data in code snippets or replaced all values with placeholders.

Hi @PatriceKabengele,

Error creating Test Execution - Issue create failed!

It sounds like:

your Jira project requires additional information on issue creation (mandatory assignee, ...)
the user whose credentials you're using may not have permissions to create test execution issues

Can you check if you can manually create a test execution issue in the ET project with nothing but the following fields set?

description: "Cypress version: 13.13.0\nBrowser: chrome (127.0.6533.89)",
summary: "Execution Results [1722865255968]",
testPlanKey: "ET-17283"

Make sure to not assign the issue to anyone and to use the credentials you've provided to the plugin.

Thank for your reply @csvtuda, indeed I have a mandatory field called "Domaine" (customfield_10202)

Okay, the bad news is that with the current version it is not possible to define custom/arbitrary fields for the created test executions. But the good news is that I'm actually working on exactly this right now, so hopefully your issue will be fixed in the next release.

Great thank you, I'll wait for next release.

@csvtuda I've removed the mandatory field but I've still the following error:
{
   "error":{
      "message":"Request failed with status code 400",
      "name":"AxiosError",
      "stack":"AxiosError: Request failed with status code 400\n    at settle (/Users/**/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:2015:12)\n    at IncomingMessage.handleStreamEnd (/Users/**/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:3131:11)\n    at IncomingMessage.emit (node:events:526:35)\n    at endReadableNT (node:internal/streams/readable:1376:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/Users/**/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async XrayClientCloud.importExecution (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/client/xray/xray-client.js:25:34)\n    at async ImportExecutionCypressCommand.computeResult (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/hooks/util/commands/xray/import-execution-cypress-command.js:13:16)\n    at async ImportExecutionCypressCommand.compute (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/hooks/command.js:87:16)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:74:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.execute (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:40:9)\n    at async Object.handler (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/plugin.js:115:13)",
      "config":{
         "transitional":{
            "silentJSONParsing":true,
            "forcedJSONParsing":true,
            "clarifyTimeoutError":false
         },
         "adapter":[
            "xhr",
            "http",
            "fetch"
         ],
         "transformRequest":[
            null
         ],
         "transformResponse":[
            null
         ],
         "timeout":0,
         "xsrfCookieName":"XSRF-TOKEN",
         "xsrfHeaderName":"X-XSRF-TOKEN",
         "maxContentLength":-1,
         "maxBodyLength":-1,
         "env":{

         },
         "headers":{
            "Accept":"application/json, text/plain, */*",
            "Content-Type":"application/json",
            "Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnQiOiIyZTdlMGRhYy1kYWNjLTMzNGYtOGFhNy1hMWM1OTQ2NmUzNTciLCJhY2NvdW50SWQiOiI3MTIwMjA6Mzk2ZjYxODYtYTM1NS00OTE2LTliYzEtNTgyZWUxNzBlYzQ5IiwiaXNYZWEiOmZhbHNlLCJpYXQiOjE3MjI5NTgzNDYsImV4cCI6MTcyMzA0NDc0NiwiYXVkIjoiQzY1NjI0OUZCMEQ5NEYyQUIzNDdGQzlGNzBDMTQ0OEUiLCJpc3MiOiJjb20ueHBhbmRpdC5wbHVnaW5zLnhyYXkiLCJzdWIiOiJDNjU2MjQ5RkIwRDk0RjJBQjM0N0ZDOUY3MEMxNDQ4RSJ9.2A_pSv96hp0zrgeMb0XQNnf-EdsiyQLvoQSf_Gy7nlQ",
            "User-Agent":"axios/1.7.3",
            "Content-Length":"667",
            "Accept-Encoding":"gzip, compress, deflate, br"
         },
         "method":"post",
         "url":"https://xray.cloud.getxray.app/api/v2/import/execution",
         "data":"{\"info\":{\"description\":\"Cypress version: 13.13.0\\nBrowser: chrome (127.0.6533.89)\",\"finishDate\":\"2024-08-06T15:33:11Z\",\"project\":\"ET\",\"startDate\":\"2024-08-06T15:32:29Z\",\"summary\":\"Execution Results [1722958349531]\",\"testPlanKey\":\"ET-17283\"},\"tests\":[{\"finish\":\"2024-08-06T15:32:39Z\",\"start\":\"2024-08-06T15:32:29Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17266\"},{\"finish\":\"2024-08-06T15:32:47Z\",\"start\":\"2024-08-06T15:32:39Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17267\"},{\"finish\":\"2024-08-06T15:33:02Z\",\"start\":\"2024-08-06T15:32:54Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17268\"},{\"finish\":\"2024-08-06T15:33:09Z\",\"start\":\"2024-08-06T15:33:02Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17269\"}]}"
      },
      "code":"ERR_BAD_REQUEST",
      "status":400
   },
   "response":{
      "error":"Error creating Test Execution - Issue create failed!"
   }
}

@csvtuda I've removed the mandatory field but I still have an error. I've verified my user have credentials to create issued
{
   "error":{
      "message":"Request failed with status code 400",
      "name":"AxiosError",
      "stack":"AxiosError: Request failed with status code 400\n    at settle (/Users/**/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:2015:12)\n    at IncomingMessage.handleStreamEnd (/Users/**/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:3131:11)\n    at IncomingMessage.emit (node:events:526:35)\n    at endReadableNT (node:internal/streams/readable:1376:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\n    at Axios.request (/Users/**/Workspace/Cypress/zest-e2e/node_modules/axios/dist/node/axios.cjs:4262:41)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async XrayClientCloud.importExecution (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/client/xray/xray-client.js:25:34)\n    at async ImportExecutionCypressCommand.computeResult (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/hooks/util/commands/xray/import-execution-cypress-command.js:13:16)\n    at async ImportExecutionCypressCommand.compute (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/hooks/command.js:87:16)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:74:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.executeFollowedBySuccessors (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:89:13)\n    at async Promise.all (index 0)\n    at async ExecutableGraph.execute (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/util/graph/executable-graph.js:40:9)\n    at async Object.handler (/Users/**/Workspace/Cypress/zest-e2e/node_modules/cypress-xray-plugin/src/plugin.js:115:13)",
      "config":{
         "transitional":{
            "silentJSONParsing":true,
            "forcedJSONParsing":true,
            "clarifyTimeoutError":false
         },
         "adapter":[
            "xhr",
            "http",
            "fetch"
         ],
         "transformRequest":[
            null
         ],
         "transformResponse":[
            null
         ],
         "timeout":0,
         "xsrfCookieName":"XSRF-TOKEN",
         "xsrfHeaderName":"X-XSRF-TOKEN",
         "maxContentLength":-1,
         "maxBodyLength":-1,
         "env":{

         },
         "headers":{
            "Accept":"application/json, text/plain, */*",
            "Content-Type":"application/json",
            "Authorization":"Bearer **",
            "User-Agent":"axios/1.7.3",
            "Content-Length":"667",
            "Accept-Encoding":"gzip, compress, deflate, br"
         },
         "method":"post",
         "url":"https://xray.cloud.getxray.app/api/v2/import/execution",
         "data":"{\"info\":{\"description\":\"Cypress version: 13.13.0\\nBrowser: chrome (127.0.6533.89)\",\"finishDate\":\"2024-08-06T15:33:11Z\",\"project\":\"ET\",\"startDate\":\"2024-08-06T15:32:29Z\",\"summary\":\"Execution Results [1722958349531]\",\"testPlanKey\":\"ET-17283\"},\"tests\":[{\"finish\":\"2024-08-06T15:32:39Z\",\"start\":\"2024-08-06T15:32:29Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17266\"},{\"finish\":\"2024-08-06T15:32:47Z\",\"start\":\"2024-08-06T15:32:39Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17267\"},{\"finish\":\"2024-08-06T15:33:02Z\",\"start\":\"2024-08-06T15:32:54Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17268\"},{\"finish\":\"2024-08-06T15:33:09Z\",\"start\":\"2024-08-06T15:33:02Z\",\"status\":\"PASSED\",\"testKey\":\"ET-17269\"}]}"
      },
      "code":"ERR_BAD_REQUEST",
      "status":400
   },
   "response":{
      "error":"Error creating Test Execution - Issue create failed!"
   }
}

That's weird, can you try to directly create the test execution issue yourself through Jira's API?

curl \
--silent \
--user 'JIRA_USERNAME:JIRA_API_TOKEN' \
--location 'https://JIRA_URL.atlassian.net/rest/api/3/issue' \
--header 'Content-Type: application/json' \
--data '{
    "fields": {
        "summary": "Execution Results [1722865255968]",
	"description": {
	    "type": "doc",
	    "version": 1,
	    "content": [
                {
                    "type": "paragraph",
                    "content": [
                        {
                            "type": "text",
                            "text": "Cypress version: 13.13.0"
                        },
                        {
                            "type": "hardBreak"
                        },
                        {
                            "type": "text",
                            "text": "Browser: chrome (127.0.6533.89)"
                        }
                    ]
                }
            ]
        },
        "project": {
            "key": "JIRA_PROJECT_KEY"
        },
        "issuetype": {
            "name": "Test Execution"
        }
    }
}'

You will need to replace the following placeholders:

JIRA_USERNAME
JIRA_API_TOKEN
JIRA_URL
JIRA_PROJECT_KEY
Test Execution as the issue type you want to create with a translated name if you're not using English issues

Yes I had an output like yours, I'll open a support ticket

Thanks, please let me know if there is anything that comes out of this that I can do to help resolve the issue.

The support asked me

Can you please use prefix eu. or au. or us and let us know if that works.
For example https://eu.xray.cloud.getxray.app/api/v2/import/execution
Looking forward to hearing from you.

I could add Xray cloud URL configurability to upcoming versions, but I think you can quickly try it out yourself without having to wait for new versions.
You can simply edit the following line in node_modules/cypress-xray-plugin/src/client/xray/xray-client-cloud.js and try running your tests again:
    /**
     * The URLs of Xray's Cloud API.
     * Note: API v1 would also work, but let's stick to the more recent one.
     */
-   static URL = "https://xray.cloud.getxray.app/api/v2";
+   static URL = "https://eu.xray.cloud.getxray.app/api/v2";
    static URL_GRAPHQL = `${XrayClientCloud.URL}/graphql`;
    static GRAPHQL_LIMIT = 100;

thank you for the reply, I tried to change the url in xray-client-cloud file like you said but it failed to authenticate

Failed to establish communication with Xray: https://eu.xray.cloud.getxray.app/api/v2/authenticate

I think you need to try the different subdomains. eu did not work for me either ("401: Xray data is another region"), but us worked.

i tried fr and us, but only us work. Maybe I should report it to xray support?

Yes please. Their documentation clearly states the following:

[!NOTE]
The REST API base URL for all endpoints is https://xray.cloud.getxray.app/.

So I'm curious why you need to prefix it with us.

I'll keep you posted

Hey @PatriceKabengele,
in the meantime I have released version 7.2.0 (changelog). You can now specify arbitrary fields for the test execution issues, e.g.:
await configureXrayPlugin(on, config, {
    jira: {
        testExecutionIssue: {
            key: "PRJ-16",
            fields: {
                summary: "My execution issue summary",
                description: "My execution issue description",
                assignee: {
                    name<EMAIL_ADDRESS>                },
                customfield_12345: "Sprint 17"
            }
        }
    },
});

Maybe this could also solve your issue already?

Hello @csvtuda,
I deleted my API Key (id Client and secret) and created a new one on Jira UI. And it work now.

@PatriceKabengele well this was an unexpected solution. Glad to hear that 😃

thanks for your help 🙏🏽


Add zero filter in save functions

Fixes Satip saving datasets with high numbers of zeros, breaking the forecaster.

Chucked a test in too.

Some of the python tests seem to fail, should these be failing?

Jacob said that was to do with the eumetstat api endpoint being down?

Yeah, the user notification service says the Data store/data tailor is in maintenance until the 23rd, the error isn't with the code here


Audit Test coverage in various PRs

Looks through the various STREAM-related PRs and lets add test coverage to classes that are lacking it.

Fixed via #327


Acer CB315-2H AMD  ALEENA Mrchromebox firmware, dummy output only in Linux mint 21.2 kernel 6.5.0-14 and Fedora 39

Acer Chromebook CB315-2H  AMD A4 , latest mrchromebox firmware.  Haven't had sound in Linux Mint.  Installed 21.2 and kernel 6.5.0-14 and tried Fedora 39.  Just shows dummy output.
Boardname:  Aleena
Logs
Generate logs with wget https://raw.githubusercontent.com/chrultrabook/linux-tools/main/debugging.sh; bash debugging.sh and attach the output here.
*******  The above aborted saying lspci not found and to install pci-utils, yet pci-utils is installed.

You need a custom kernel. Prebuilt kernel is at https://fs.nightcore.monster/chromebook/stoney/kernel/latest.tar.xz.

Thank you for the quick reply!!
I wasn't sure what to do with what downloaded after I extracted it.  After looking in linux Mint's /boot I ended up copying the vmlinuz and system map to /boot, ran update-grub, rebooted and selected the new kernel.  It wouldn't boot - just went to a blank (but backlit) screen.  I then tried again, adding nomodeset in case there was some problem with the amdgpu drivers.  Went further - got back to the jackrabbit screen but then never progressed beyond that.  I know that Mint is always "behind" so I don't know if that has something to do with it.  I really don't know enough about any of this but to be a mess waiting to happen :)  Should I try the same with Fedora?
Thanks so much!

inside the modules dir, there should be lib/modules/. You need to copy that kernel ver directory to /lib/modules. You then need to generate an initramfs with update-initramfs -c -k all. Then generate your grub config again.

Ok, I did all of that.  It boots now but still no sound devices except dummy.  Do I need to do the things I tried first with the SOF things that pointed me here?
It does appear I am running that kernel:
me@me-Aleena:~$ uname -a
Linux me-Aleena 6.5.6-stoney #1 SMP PREEMPT_DYNAMIC Fri Oct  6 13:45:37 -03 2023 x86_64 x86_64 x86_64 GNU/Linux
me@me-Aleena:~$
Thanks again!

Hum, somehow I lost my reply.  So, I'll do it again:
uname -a  shows I am running the kernel now.
However, still no sound devices except dummy,

I don't know if you need these or not:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: acpd7219m98357 [acpd7219m98357], device 0: Playback da7219-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: acpd7219m98357 [acpd7219m98357], device 2: HiFi Playback HiFi-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
lspci | grep Audio
00:01.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15b3
00:09.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Carrizo Audio Dummy Host Bridge

aplay -l output shows that the kernel drivers did load, so this is a userspace issue. The debug script that initially failed will have more clues, I believe the package you need is lspci, install that then run the script.

lspci isn't a package, but I did find the problem.  The script checks to see if it exists, but it's checking in the wrong folder.
The lspci executable is in /bin (a link to /usr/bin) but the script looks for it in /sbin and outputs the error message itself,  at least in Mint.
It's kind of funny because it looks for lsusb in the correct folder - /bin.
So, once I figured out what was going on I just commented out the if block and just left the lspci statement as standalone.
The log is attached.
Thanks!
debug-logs.tar.gz

BTW - I updated the debugging.sh script to check /sbin and /bin for lspci before issuing the error.  I don't know if you want it or not but with the change is does work in Mint as well.
debugging.sh.txt

Yeah that script has a few issues. Thanks for getting the logs though.

I don't know if it helps in any way or not, but the card 0 internal playback devices do not show with aplay -l in Fedora 39 following the same procedures.
Thanks again!

The logs say that it failed to open a ucm file which is weird. Check if /usr/share/alsa/ucm2/codecs/da7219/ exists on your system.

hummmm - no such file
Thanks again!

try sudo dnf install alsa-ucm

Tried sudo apt install alsa-ucm  - says no such package.
Went to synaptic package manager and alsa-ucm-conf and alsa-utils packages are installed.

Wait, are you on mint or fedora?

Mint 21.2   running of sdcard. Have Fedora 39 on the emmc and can boot it.  I think I posted where I tried the same things on Fedora but didn't work.
Thanks again!

The log files are from Mint.

sudo apt install alsa-ucm-conf

says alsa-ucm-conf is already the newest version (<IP_ADDRESS>-1ubuntu1.9)

Oh no wonder it doesn't work. You have a version of ucm from 2021, and the da7219 codec was a added in 2022. Fedora should work fine with the dnf command I mentioned before.

rebooting the chromebook with fedora and will let you know shortly.
thanks again!

fedora worked on the command for a little then said "package alsa-ucm-1.2.10-3.fc39.noarch is already installed"

Fedora is on the latest version so it should work.

In Fedora aplay -l only shows the 2 hdmi audio devices and they are showing as card 0.   In Mint (previous post) is shows card 0 with 2 devices then then hdmi on card 1.  Is there any way I can update ucm in mint?

Do you have the custom kernel in fedora?

I ran the same procedures in Fedora as in Mint.  However, uname -a shows Linux Fedora 6.5.6-300.fc29.x86_64 while Mint shows Linux me-Aleena 6.5.6-stoney #1 SMP PREEMPT_DYNAMIC Fri Oct 6 13:45:37 -03 2023 x86_64 x86_64 x86_64 GNU/Linux
I have no clue if that means they are the same or not.  I can always start from scratch with Fedora again if need be.  Could do the same with Mint.  Just takes time and a little fiddling to be sure Fedora on the emmc and Mint on the microsd card.

Looks like I may not have  run update-grub in Fedora.  Rebooted and did ESC and it's not showing the stoney kernel as an option even though it is in /boot.   Working on that and will let your know.

oh so the mint instructions will not work on fedora. I assume you already copied the modules, so now you need to do sudo kernel-install add <kernel ver> <bzimage/vmlinuz> kernel ver is the same as the modules dir name.

One of my typical dumb questions: what goes in <bzimage/vmlinuz>

the kernel image file, I forgot what exactly the name is

Ok, I'll give that a try in just a minute.  When I found no entry for the kernel in grub I had to boot any way and Fedora is doing a wonderful Windows-like thing:  Installing Updates... Do not turn off your computer and showing percentages.  Sigh.

kernel-install will create a boot entry

hum, it says kernel-install: command not found

Thank you, thank you, THANK YOU!!!!!
Have sound in speakers and headphones in Fedora!!!
First time  I've had sound on this thing in Linux.
Guess I'll have to try making everything I have for apps work in Fedora now, then install it on a microsd so I gain the larger storage.
Wish I knew a tiny bit of of all the things you must know to make this all work!
Thanks again!!

You need a custom kernel. Prebuilt kernel is at https://fs.nightcore.monster/chromebook/stoney/kernel/latest.tar.xz.

Is there anyway to see the source for that kernel as well?
Thanks

I don't remember exactly, but this should work:
Clone the latest 6.6
Revert the 2 latest commits in sound/soc/dwc
Build SND_DESIGNWARE_I2S and DRM_AMDGPU in instead of as modules
Build in these firmware files into the kernel amdgpu/stoney_ce.bin amdgpu/stoney_me.bin amdgpu/stoney_mec.bin amdgpu/stoney_pfp.bin amdgpu/stoney_rlc.bin amdgpu/stoney_sdma.bin amdgpu/stoney_uvd.bin amdgpu/stoney_vce.bin

I don't know if this will work since it shows as closed, but I had to re-do things and it installed the latest Fedora 40 instead of Fedora 39.  I installed the special kernel and booted it, but back to dummy output and no sound.  It is showing alsa-ucm at a newer release.  Any ideas what I've done wrong?


Automate deployment

Once the build is done, ArgoCD does not trigger a deployment of the latest image.

Is the ArgoCD image updater stable? If yes, it seems a great option.


Fix BufferedContainer re-rendering on rotation/scale/sheer changes

Currently BufferedContainer (when set to CacheDrawnFrameBuffer) will still trigger a re-render to texture if anything affects the ScreenSpaceDrawRectangle's Width or Height.
https://github.com/ppy/osu-framework/blob/e8ae207769ec26fb7ddd67a2433514fcda354ecd/osu.Framework/Graphics/Containers/BufferedContainerDrawNode.cs#L177
This is inefficient and unexpected to the end user. Instead, the RTT should happen with an empty DrawInfo and adjustments would be post-applied to this zero-aligned texture.
We should probably also take this opportunity to add a RenderScale, where the buffered content can be rendered above normal scale to allow for smoother tweening when changing position/scale.

I recently ran into a case where the performance impacts of transforming BufferedContainers is too significant (mostly in GC costs), so I went ahead and tried to improve things a bit on that end.
Branch I'm working on: https://github.com/ppy/osu-framework/compare/master...LumpBloom7:BufferedContainer-optimization
I managed to get everything working as intended with few changes, and ran osu and visual tests on top of it to double check.
However, due to how I got it working, buffered content may have incorrect selection areas in the draw visualizer due to the content using the empty DrawInfo given by the BufferedContainer, and the draw visualizer using that.
I'm thinking that it could be resolved by each Drawable providing two DrawInfos, one for the actual draw process, and one for the draw visualizer to use.
I'm unsure of this idea, so I want some opinions and/or directions on how to proceed.
https://user-images.githubusercontent.com/12001167/153726795-f61dc501-7af6-40b4-a2dd-d23a15ff24d8.mp4

I'm not 100% on this, but if the BufferedContainer outwardly exposes an empty DrawInfo with your changes (which you say causes the draw visualiser to be wrong), wouldn't that mean that every method that depends on it, like ToLocalSpace(), ToScreenSpace(), or ToSpaceOfOtherDrawable(), would potentially return wrong results? That sounds like a much larger issue than just the draw visualiser being wrong.
The fuzzy idea I have is that the empty DrawInfo should not be outwardly visible to anything and only be internal to the BufferedContainer/its DrawNode, but I'm not going to pretend that I fully know how to make that work.

I think that sounds like an amicable path.
Just to confirm, it's only rotation which is being optimised here, correct? Another direction I'm wondering about is if it's possible to contain the changes only within BufferedDrawable/BufferedContainer by keeping an "additional rotation" variable and transforming the output quad by that amount directly (i.e. the amount rotated since the cached state). Because currently we're just drawing the FBO as a square directly at all times:
https://github.com/ppy/osu-framework/blob/0c383fd13710fca92f3529e1af8c6db66b36c4bd/osu.Framework/Graphics/Containers/BufferedContainer_DrawNode.cs#L89
Probably more work than necessary compared to the other proposed idea.

I went ahead and worked on the idea further. I managed to restore the original DrawInfo, while introducing a new property NodeDrawInfo (pardon my naming sense), that can be used to tell DrawNodes how to draw in "DrawSpace". (again, pardon 😅)
https://github.com/ppy/osu-framework/compare/master...LumpBloom7:BufferedContainer-optimization2
Some other Drawables have been adjusted so that they utilize "DrawSpace" instead of "ScreenSpace" in their nodes, though I haven't changed the various variable/method names to reflect this yet. A brief check through some of the buffered test scenes, and testing osu gameplay, everything seems to be working properly.

Just to confirm, it's only rotation which is being optimised here, correct?
This also accounts for shearing applied on the buffered container itself, essentially making the cached buffer behave more closely to a regular sprite.

I could already open a pull request for these changes, since the changes seem to be 99% functional.


Title: Adding dynamic copyright year

Which pre-existing JavaScript project will you be working on?
Copyright
Describe your enhancement/improvement
Adding dynamic copyright year which will change every year automatically without any manual effort, will make your website look more professional.
Anything you need to say to the Reviewers
Assign this issue to me under GSSoC.
Add any other context or relevant screenshots about the enhancement here.
No response

@dishathakurata Thank you for providing your insight but it is not required as of now


support @all

["announcement@all"]

+1, just ran into this.

+1, this will help us easily identify an announcement instead of go over the whole mention list.

@zpaimon Shall we add a new return type for mention method on Message? What do you think is the best design for this @all feature?

I managed to do this by match @所有人 and @all with regex in mention_text
It does not cover all cases. For example, 群待办


migrated from pysam to pyfaidx

closes https://github.com/kundajelab/genomelake/issues/18

Pull Request Test Coverage Report for Build 99

13 of 13 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.3%) to 90.476%

Totals

Change from base Build 86:
0.3%

Covered Lines:
152

Relevant Lines:
168

💛  - Coveralls

@jisraeli if you are happy with the PR, can you also make a release on bioconda?


Correct phase error in IBM rebase and support symbolic angles.

Also use fixtures in the backend_test to only construct the backend once (which is a network limited step).

Thank you, I've edited the commits to make the suggested changes.
To the last commit I've also added a rebase case for Rx(0.5) ~ Sx, which was somehow missed.


add match_args to Err and Ok class definitions

Closes #48

@tbehner Can you please merge in feat/pattern-matching-updated (https://github.com/dbrgn/result/pull/53). I've made the necessary changes fixes on top of your initial work.


Aplly renamed plugin package

Due to recent Github related naming convention applied in Shipkit Changelog plugin, the referenced 'org.shipkit.shipkit-gh-release' package should be changed for 'org.shipkit.shipkit-github-release'.

Thanks!

Thanks!


destroy doesn't seem to work

I get: TypeError: spreadsheetContainer.jexcel[method] is undefined when doing $('#mysheet').jexcel('destroy')

Which version?


Set image 1-3 directly without saving to local disk

Hello,
thank you for the nice working "Node". But I have one question/problem.
I take pictures and have the information base64 encodes in my message and is want to set the value of the p, p1, p2 parameter "data:image/jpeg;base64,....."  directly without saving to disk.
Is there any way ?
Thanks you
Regards
Thorsten

Hi Thorsten,
unfortunately not.
Up to now you can use local files or an url from the web.
Then the base64 information will be generated inside the node.
The msg.payload input is always the notification message text.
I am currently working on an v2 of the node, with the Giphy parameter and also an read messages node, to check the state of notifications.
I will put your request on my ToDo list.
Regards,
Oliver

Hi Oliver,
thank you for the information and for taking it to the future feature list.
Regards
Thorsten

Hi Thorsten,
here a small sneak peak.
I added your request to the template of a notification.

Regards,
Oliver

Hello Oliver,
many thanks for implementing this.
So I could remove my workaround with Filewriting and deleting.
I wait for the update, so long my workaround is ok for me
Regards
Thorsten

Hello Oliver,
short Question:  any new status about V2 ?
Thank you
regards Thorsten

Hello Oliver,
short Question: any new status about V2 ?
Thank you
regards Thorsten

Hello Thorsten,
I'm sorry, but due to Corona both private and professional projects have come to a standstill.
I will resume work as soon as possible and finish the v2 of the nodes within the next weeks. I promise ;-)
Best regards,
Oliver

Hello Oliver,
short Question: any new status about V2 ?
Thank you
regards Thorsten

Hello Thorsten,
I'm sorry, but due to Corona both private and professional projects have come to a standstill.
I will resume work as soon as possible and finish the v2 of the nodes within the next weeks. I promise ;-)
Best regards,
Oliver

Hello Oliver,
no hurry...
Regards
Thorsten

Hallo Oliver,
Ebenfalls von meiner Seite besten Dank zum tollen Node.
Gibt es allenfalls etwas neues zur V2?
Grüsse,
Chris

Hallo Oliver,
Ebenfalls von meiner Seite besten Dank zum tollen Node.
Gibt es allenfalls etwas neues zur V2?
Grüsse,
Chris

Hi Chris,
in the dev branch you can try the recent version if you like.
The only missing thing for the merge to main and a release is some documentation.
In the new release will be german and english support and I want to have a better Readme.md.
So, give me a few days and will be ready.
The nodes itself are ready to use, so try it from the dev branch.
Regards,
Oliver


sum(keepdims=True) should work in pallas

Description
I am writing a pallas kernel, where one of the lines:
frobenius_sq_norm = square_norm(w_tl).sum(keepdims=True)... includes a sum() w/ keepdims. I don't expect sum() to work without keepdims, at that would produce a scalar. However, for keepdims=True, being vec->vec, it should work.
 Cannot lower reductions to scalar. Reduce to one element vector instead, using keepdims=True.
This is because the actual implementation is first removing the dimension, and then adding it back in.
In reductions.py in jax.numpy, we can find:
if keepdims:
   result = lax.expand_dims(result, pos_dims)

The real fix would probably be to pass along keepdims to all leaf locations where we actually end up invoking the op, and ensure that that op respects it and preserves the vec, instead of repackaging a scalar into a vec.

I'm adding support for this here: https://github.com/google/jax/pull/22236

Closing, since this should be implemented now.


Set location after torrents starts isn't working in windows app

Set location after torrents starts isn't working windows app v1.5.3
In web version everything's fine

Fixed in v1.5.4, thank you for reporting the issue.


Google Workspace Connector ARM template error

When I use the "Deploy to Azure" option to create the Google Workspace (G Suite) connector using an ARM template I get an error stating:
There was an error downloading the template from URI 'https://raw.githubusercontent.com/Azure/Azure-Sentinel/master/DataConnectors/GoogleWorkspaceReports/azuredeploy_Connector_GWorkspaceReportsAPI_AzureFunction.json'.
Steps to reproduce the behaviour:
Go to any Microsoft Sentinel Instance
Go to Data Connectors
Choose the Google Workspace (G Suite) connector and Open Connector Page
Click the Deploy to Azure Button

We are closing this issue. The Deploy to Azure and function app short link  is updated. Please feel free to reopen the issue with more details if the issue still persist... Thanks!!!


Fix spelling mistake in README.rst

changed miltiple to multiple

Ignore CI issues produced by API breaking changes in isort


[BUG] Hit Point Max does not auto-update on level up. Requires Configure HP, which increases current HP twice

Copying from https://github.com/sdenec/tidy5e-sheet/issues/789 as it seems it was never actually moved and the issue still persists through the latest versions of tidysheet
Module Version: v0.9.17
So you have Current HP, and Max HP, which looks like 0/40 if you're unconscious, or 40/40 if you're at full health.
Lets say you level up and your HP increases by 8. This should bring you to 48/48, but instead it only updates your current HP, and puts you at 48/40, which doesn't make any sense. To bring your HP Max to what it should be, you need to hit the Cog beneath your HP to open "Configure Hit Points", and then delete the HP in the popup, and you'll see it gets reset to what it should be. However, when you click save, it will update your current HP by that amount for a second time. So now your HP looks like 56/48.
If this bug could be fixed that would be great. Ideally when you level up it should just automatically boost your HP and Max HP by the same amount, so that you don't have to take a trip to the Configure HP window.

This Tidy 5e Sheets as a module is presenting the information and allowing changes to individual fields on the sheet. It is not managing levels up. It also does not decide how much HP is being added to the current value or the max. Even the weird thing where current HP goes up by the new Max while an overridden Max stays the same (48/40) is not this sheets module. It's the system and/or a module affecting levels up. Updates go to the actor, and the sheet pulls data from the actor each time the actor changes. So there's no logic in Tidy to increase the health bar on a level up.
It sounds like the core problem is that Max HP is somehow getting set to a value when it should be blank in order to allow for the advancement-based max HP increases to go into effect. I recognize this issue from old Tidy, both as a user and when rewriting it. I just haven't had issues with this since old Tidy, because the new setup requires a person to specifically change the Max HP override in order to ignore HP advances. In old Tidy, Max HP Override could get accidentally set when changing other fields.
We can still try to figure out what's going on and see if there's some resolution, but having not had any issues with this since Tidy V1 (except for when the Max HP override was already set beforehand), I don't think a code change will solve the problem.
What is the current approach being used for levelling up?
Has the issue recurred for a given character while on the new sheets module?
Is the "Allow HP Max Override on Character" turned on? If so, it might be good to disable it, because it's entirely possible someone may accidentally change the max, causing it to shift from "calculated per advancements" to "max HP override."

If I go in and level up a character like this:

By the end, their HP has adjusted accordingly:

Any further discussion on this?
I still have not encountered this issue in all my testing since this was posted.

I haven't heard back, and I cannot reproduce this error. Closing for now, but if you want to continue the discussion, feel free to reopen this issue or post a new one.


Darkmode: btn-outline-dark is not visible in button group component

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
https://getbootstrap.com/docs/5.3/components/button-group/#sizing
https://getbootstrap.com/docs/5.3/components/buttons/
The bug is pretty self-explainatory, this happens because .btn-light .btn-dark .btn-outline-light & .btn-outline-dark don't change with data-bs-theme="dark", and there is no "body" color to change along with the data attribute. To properly solve this issue .btn-body and .btn-outline-body classes should be added to complement the darkmode feature.

Reduced test cases
See above
What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
v5.3

FYI case 2 is a duplicate of https://github.com/twbs/bootstrap/issues/37711. It can be removed from your description. However I don't think case 1 has already been mentioned somewhere. Thanks for that @Teaca-Sebastian

@mdo, for the purposes of other sites using bootstrap, we should still add something like .btn-outline-body and .btn-body for buttons with neutral colors that adapt to dark mode. I honestly don't like those tag names much as they sound too generic because the body part does not sound like a color, so I might suggest something like .btn-outline-monochrome or .btn-monochrome.

In my opinion Bootstrap should offer some button styles which adopt automatically to either light or dark mode.
In one of my projects, I implemented the styles https://github.com/ngblaylock/bootstrap-extensions/blob/main/src/scss/_btn-contrast.scss and they work perfectly in both modes. I don't get the point, why Bootstrap doesn't offer these styles out of the box themselves.


:sparkles: Add edit icon with ActionColumns property in the Archetypes table

Changes Made:

Removed the edit action from the ActionsColumn.

Added a dedicated edit icon outside the ActionsColumn, providing a clearer and more focused user interface.

Part of #1318
Before the change:

After the change:

@mguetta1
It seems we have a general problem when multiple cells with isActionCell property are displayed - in list view (small screen) they get stacked  (i.e. see below). Can you open an issue to track this? I think that with upgrade to newer PatterFly version we could solve it by using OverflowMenu as shown here

@mguetta1 It seems we have a general problem when multiple cells with isActionCell property are displayed - in list view (small screen) they get stacked (i.e. see below). Can you open an issue to track this? I think that with upgrade to newer PatterFly version we could solve it by using OverflowMenu as shown here

An issue has been opened to address the above: #2111


IPv4 only not working

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.06.18. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2017.06.18

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

strace -o strace.log -f youtube-dl -v --force-ipv4 https://www.youtube.com/watch?v=xLNeZogTsK8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--force-ipv4', u'https://www.youtube.com/watch?v=xLNeZogTsK8']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.06.18
[debug] Python version 2.7.9 - Linux-4.9.32-v7+-armv7l-with-debian-8.0
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] xLNeZogTsK8: Downloading webpage
[youtube] xLNeZogTsK8: Downloading video info webpage
[youtube] xLNeZogTsK8: Extracting video information
[youtube] {22} signature length 42.43, html5 player vfle90bgw
[youtube] xLNeZogTsK8: Downloading player https://www.youtube.com/yts/jsbin/player-vfle90bgw/en_US/base.js
[youtube] {43} signature length 42.43, html5 player vfle90bgw
[youtube] {18} signature length 42.43, html5 player vfle90bgw
[youtube] {36} signature length 42.43, html5 player vfle90bgw
[youtube] {17} signature length 42.43, html5 player vfle90bgw
[youtube] {137} signature length 42.43, html5 player vfle90bgw
[youtube] {248} signature length 42.43, html5 player vfle90bgw
[youtube] {136} signature length 42.43, html5 player vfle90bgw
[youtube] {247} signature length 42.43, html5 player vfle90bgw
[youtube] {135} signature length 42.43, html5 player vfle90bgw
[youtube] {244} signature length 42.43, html5 player vfle90bgw
[youtube] {134} signature length 42.43, html5 player vfle90bgw
[youtube] {243} signature length 42.43, html5 player vfle90bgw
[youtube] {133} signature length 42.43, html5 player vfle90bgw
[youtube] {242} signature length 42.43, html5 player vfle90bgw
[youtube] {160} signature length 42.43, html5 player vfle90bgw
[youtube] {278} signature length 42.43, html5 player vfle90bgw
[youtube] {140} signature length 42.43, html5 player vfle90bgw
[youtube] {171} signature length 42.43, html5 player vfle90bgw
[youtube] {249} signature length 42.43, html5 player vfle90bgw
[youtube] {250} signature length 42.43, html5 player vfle90bgw
[youtube] {251} signature length 42.43, html5 player vfle90bgw
[youtube] xLNeZogTsK8: Downloading MPD manifest
[debug] Invoking downloader on u'https://r15---sn-bvvbax-nuae.googlevideo.com/videoplayback?ratebypass=yes&requiressl=yes&nh=EAE&mv=u&mime=video%2Fmp4&id=o-APtVzbm4f5KRmX_GkaYYfv2iHSmZ_Fi2im0Ojk3BrFqb&mt=1497791026&mn=sn-bvvbax-nuae&ip=...&sparams=dur%2Cei%2Cid%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&pl=23&itag=22&source=youtube&ms=au&ei=C3xGWd_CF4zsD9ziirAE&key=yt6&lmt=1470913524732603&dur=569.097&ipbits=0&expire=1497813099&mm=31&signature=9386F02D31D34A312B8171ECBD89F5155DCCA4B8.4B93BEBFC179A2B23C3ECF92DE9245582913AF49'
ERROR: unable to download video data: <urlopen error [Errno 97] Address family not supported by protocol>
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1826, in process_info
success = dl(filename, info_dict)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1768, in dl
return fd.download(name, info)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 361, in download
return self.real_download(filename, info_dict)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 61, in real_download
data = self.ydl.urlopen(request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2129, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 431, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 449, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
result = func(*args)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 1086, in https_open
req, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 1197, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 97] Address family not supported by protocol>
Description of your issue, suggested solution and other information
It seems youtube-dl is not working with IPv4 only for me. I think this is the relevant log from strace:
20417 1198  socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 3
20418 1198  connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("...")}, 16) = 0
20419 1198  gettimeofday({1497791502, 716987}, NULL) = 0
20420 1198  poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}])
20421 1198  sendmmsg(3, {{{msg_name(0)=NULL, msg_iov(1)=[{"\262\252\1\0\0\1\0\0\0\0\0\0\24r15---sn-bvvbax-nua"..., 54}], msg_controllen=0, msg_flags=0}, 54}, {{msg_name(0      )=NULL, msg_iov(1)=[{"f\214\1\0\0\1\0\0\0\0\0\0\24r15---sn-bvvbax-nua"..., 54}], msg_controllen=0, msg_flags=0}, 54}}, 2, MSG_NOSIGNAL) = 2
20422 1198  poll([{fd=3, events=POLLIN}], 1, 5000) = 1 ([{fd=3, revents=POLLIN}])
20423 1198  ioctl(3, FIONREAD, [103])         = 0
20424 1198  recvfrom(3, "\262\252\201\200\0\1\0\2\0\0\0\0\24r15---sn-bvvbax-nua"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("...")},       [16]) = 103
20425 1198  gettimeofday({1497791502, 718959}, NULL) = 0
20426 1198  poll([{fd=3, events=POLLIN}], 1, 4998) = 1 ([{fd=3, revents=POLLIN}])
20427 1198  ioctl(3, FIONREAD, [115])         = 0
20428 1198  recvfrom(3, "f\214\201\200\0\1\0\2\0\0\0\0\24r15---sn-bvvbax-nua"..., 65536, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("...")}, [1      6]) = 115
20429 1198  close(3)                          = 0
20430 1198  socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE) = 3
20431 1198  bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
20432 1198  getsockname(3, {sa_family=AF_NETLINK, pid=1198, groups=00000000}, [12]) = 0
20433 1198  gettimeofday({1497791502, 719630}, NULL) = 0
20434 1198  sendto(3, "\24\0\0\0\26\0\1\3\16|FY\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
20435 1198  recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"L\0\0\0\24\0\2\0\16|FY\256\4\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\      1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 164
20436 1198  recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\24\0\0\0\3\0\2\0\16|FY\256\4\0\0\0\0\0\0", 4096}], msg_controllen=0, m      sg_flags=0}, 0) = 20
20437 1198  close(3)                          = 0
20438 1198  socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
20439 1198  connect(3, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
20440 1198  getsockname(3, {sa_family=AF_INET, sin_port=htons(54350), sin_addr=inet_addr("<IP_ADDRESS>")}, [16]) = 0
20441 1198  close(3)                          = 0
20442 1198  socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not supported by protocol)
20443 1198  socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
20444 1198  fcntl64(3, F_GETFL)               = 0x2 (flags O_RDWR)
20445 1198  fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
20446 1198  bind(3, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = 0
20447 1198  connect(3, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("<IP_ADDRESS>")}, 16) = -1 EINPROGRESS (Operation now in progress)
20448 1198  poll([{fd=3, events=POLLOUT}], 1, 600000) = 1 ([{fd=3, revents=POLLOUT|POLLERR|POLLHUP}])
20449 1198  getsockopt(3, SOL_SOCKET, SO_ERROR, [110], [4]) = 0
20450 1198  close(3)                          = 0
20451 1198  socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = -1 EAFNOSUPPORT (Address family not supported by protocol)
This is on a raspberry pi with IPv6 disabled running on a network using NAT.

This also doesn't work for me. I have IPv6 and IPv4 and many calls still go through IPv6 even with --force-ipv4.
connect(3<socket:[24108855]>, {sa_family=AF_INET6, sin6_port=htons(443), inet_pton(AF_INET6, "2607:f8b0:4008:80e::200d", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress)

Confirmed here. And also with IPv6 on, I get incredibly horrible performance but I think that is my ISP. Another reason we really need --force-ipv4 to work.

A kind of useful solution is to use a Docker image. I am using the jrottenberg/ffmpeg latest image below. Note the volumes being mounted.
docker-compose.yml:
version: '3'
services:
    youtubedl:
        volumes:
            - /etc/resolv.conf:/etc/resolv.conf:ro
            - /sys/fs/cgroup:/sys/fs/cgroup:ro
            - ~/.ytch-cookies.txt:/root/.ytch-cookies.txt
            - ~/.netrc-youtube:/root/.netrc
            - ~/dev/youtube-dl:/youtube-dl
            - ~/move/ytdl:/ytdl
            - ~/.config/youtube-dl:/root/.config/youtube-dl
        image: jrottenberg/ffmpeg
        entrypoint: /youtube-dl/ep.sh

The ep.sh is this (can be made into separate images with a proper Dockerfile):
#!/usr/bin/env bash
set -eu
apt-get update
apt-get install -y python-pip atomicparsley aria2
cd /youtube-dl
pip install -e .
chown root. ~/.netrc
cat

Once you have this, docker-compose -d and then you can run youtube-dl: docker-compose exec -T youtubedl youtube-dl.
You will need to start off with a Pi-compatible image. If you plan on using ffmpeg, I'd recommend building ffmpeg from source for the Pi so you can strip it down to your needs. And for AtomicParsley you'll need to build it too (and I am not certain it's completely portable).

Also disabling IPv6 completely with the kernel is definitely the simplest solution (as root):
echo net.ipv6.conf.all.disable_ipv6=1 >> /etc/sysctl.conf
sysctl -w net.ipv6.conf.all.disable_ipv6=1


Add sentry error reporting

I rule and have completed some work on Case Manager that's ready for review!
We're getting into the business of error tracking, and we can easily squeeze into the sentry free plan, so I'm standing that up here. This way we can stop troubleshooting errors thru logstash, which is nearly impossible near as I can tell.
The other steps of this is to create the projects in the actual sentry UI and to add the heroku environment variables, which I'll be doing after I get approval on this.
This pull request makes the following changes:

add sentry-raven gem and configure it

no view changes, but it does report based on setting the reporting endpoint locally!
It relates to the following issue #s:

Fixes #1706

I'll fake an error on a patient save and post it in here to make sure.

Buuuump

😬

I chucked up a sample error here to sentry (I threw a raise in the controller action) and here's what posted. We can see the filters here limiting just to the pt id in the URL, and the name and phone get filtered, because we have them in the list in filter_parameter_logging.rb.

look ok @lomky ?

(as a note, I bumped heroku envs so this is ready to ship)


It is possible to get locked out of SQL Lab

Make sure these boxes are checked before submitting your issue - thank you!

[ X] I have checked the superset logs for python stacktraces and included it here as text if any
[ X] I have reproduced the issue with at least the latest released version of superset
[ X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.25.6
Expected results
A query in SQL lab should return results or complain that it does not have enough memory or localstorage to complete request.
Actual results
VM that is running Superset becomes totally unresponsive. After restarting VM user is locked out of using SQL Lab anymore.
Steps to reproduce
I have been working on deploying Superset to a VirtualBox virtual machine
running Ubuntu. The setup directions are easy to follow and I have a
running Superset instance setup in less than a couple hours.
I have defined a database connection to an external MySQL database. I am
able to define queries and everything seems to work. However I find that I
can permanently cripple the system with a simple query.
My database has a table that has 10,000 rows where each row might be 1024
bytes. My vm has 4 gig of ram and 25 gig of disk space. There is nothing on
it other than stock ubuntu and Superset. I've tried Superset versions 24.0
and 25.6 from yesterday.
If I do select * from the_table; in SQL Lab the app says the query is
calculating. It never completes. And the VM becomes unresponsive. I have to
power off the VM from VIrtualBox to get anywhere.
If I startup the VM again it runs and I can launch Superset again. I can
visit any of the menus except SQL Lab. If I go into SQL Lab again the
system locks ups showing that a query is running (when I haven't launched
any this time) and my VM is stuck again. It's like SuperSet has persisted
the fact that it is in the middle of a query and never clears this state.
And something it does in response ties up all resources.
Note I cannot find superset.log anywhere.

From: Maxime Beauchemin<EMAIL_ADDRESS>Subject: Re: Should I open a github issue?
Date: 2018/06/07 18:18:03
List<EMAIL_ADDRESS>SQL Lab uses the browser's "local storage" (similar to cookies, limited to
1MB I think), you can go and delete that from your browser the same way you
delete cookies. SQL Lab should be responsive again.
Seems like 10k rows shouldn't be an issue but you may want to tweak your
superset_config.py settings to limit all queries to say 1k rows to
prevent this.
Max

I believe this issue is a bug that should be addressed. Limiting rows to 1K makes the system unusable for our purposes. And Superset should be well enough behaved that it does not bring the server to it's knees nor lock users out of running SQL Lab without clearing storage.


Rails5 - params no longer inherits from HashWithIndifferentAccess

issue:
undefined method `map' for #<ActionController::Parameters
https://github.com/jasondew/data_table/blob/master/lib/data_table/base.rb#L10
calls controller.params.map.
In Rails 5+ params no longer inherits from HashWithIndifferentAccess. enumerable methods are not available on Strong param objects.
It might not be good enough to simply call to_h since any non permitted params will be excluded from the resulting hash.

Hi @scottbarrow ! I'm not really using the library anymore but I'd be happy to review a PR to fix this if you have the time. If not, I'll try to have a look at some point. Either way, thanks for reporting the issue!

well the library needs to be updated to support Rails strong params as opposed to expecting a naked params hash. If the params are not "permitted" the param values are not accessible.
I don't know enough about the gem since I was only doing maintenance updates, however from what I can tell maybe it's better to send data_table_params so that the library only handles relevant and whitelisted params and have the for_data_table caller implement this method?

awesome thanks, that should work


fix: Page refresh disconnects snap

on connect session storage
metamask permission only required on snap install
https://user-images.githubusercontent.com/51483483/162194730-67899954-f7d3-433d-94e0-8d575d01e5d0.mov
Closes #118

Hmm there is a reason why it disconnects snaps. There are bugs for example if metamask is locked or user removes snaps or something where snap will break instead of getting metamask prompt

Hmm there is a reason why it disconnects snaps. There are bugs for example if metamask is locked or user removes snaps or something where snap will break instead of getting metamask prompt

on normal metamask if you refresh the page you again need to call metamask.eneable();  to stay "connected"

Hmm there is a reason why it disconnects snaps. There are bugs for example if metamask is locked or user removes snaps or something where snap will break instead of getting metamask prompt

on normal metamask if you refresh the page you again need to call metamask.eneable(); to stay "connected"

I don't think that's possible with snaps


Using AutoMapper in Angular2

Hi @loedeman, thanks for the AutoMapper library. I am trying to use it with angular2 and I installed it via npm. My project is a webpack project. Do you have an example on how to use it with angular2?
Thanks!

Hi doorman02,
Thanks for your question. I am currently starting an Angular (v2) project. I will give AutoMapper a shot in the project as soon as the project starts rolling smoothly. Should you be earlier, I hope you wouldn't mind keeping me posted!
Cheers, Bert

I just created a basic Angular app using Angular CI. Getting AutoMapper to function correctly is quite easy, if you follow the guidelines for using an 3rd party library (https://github.com/angular/angular-cli#3rd-party-library-installation). An excerpt:

Install the automapper-ts library using npm: npm install automapper --save
Add the following line to the file typings.d.ts: declare module 'automapper-ts';
Add the automapper-ts minified JS file to the scripts array in angular-cli.json: "../node_modules/automapper-ts/dist/automapper.min.js"
Import the module created in step 2 in your module/component file: import { } from 'automapper-ts';

Now you should be able to use the automapper global variable as documented.
Ragarding typing: I discovered the AutoMapper's package.json lacks the typings property in package.json. It will be there shortly (will for sure commit it right after this post), but in the mean time you could add it yourself, just below the main property: "typings": "./dist/automapper",
Cheers, Bert

Great thanks 👍

i'm i missing something ?
i'm having this error : TypeError: Cannot read property 'createMap' of undefined when trying to automapper.createMap('SourceType', 'DestinationType');

File 'C:/xx/xx/node_modules/automapper-ts/dist/automapper.d.ts' is not a module.)
I just followed all your steps carefully and it seems to not be working.

Hi @ialex90, could you please clarify your situation? It sounds like you are trying to import the definition file itself, which indeed is not a module. The steps mentioned above should do the trick with Angular 2 (https://github.com/loedeman/AutoMapper/issues/17#issuecomment-255330700).

Ey @loedeman thanks for replying, I couldn't make it work and I followed those steps.
so few questions are coming to me like,
"Import the module created in step 2 in your module/component file: import { } from 'automapper-ts';"
When you mentioned that, what do you mean by 'import the module created in step2'? because in step 2 you say to write on the typings the line to declare the module for the intellisense.
Then, I got at the stage where automapper is global, what I can't make is import/use some of your samples like these:
https://github.com/loedeman/AutoMapper/wiki/Initialize
It doesn't recognize AutoMapperJs and even doing some tricks and recognizing it, the console says that error I've posted before.
Sorry to didn't explain myself before, is it clearer now?

I found that in order to get it working:

I needed to do this npm install --save automapper-ts instead of npm install --save automapper
As a webpack user, I needed to append the following to my vendor.ts file to load the automapper global: import 'automapper-ts';

Hi @kmacmcfarlane, thanks for your correction, you are absolutely right, can't believe I missed that typo 😉... Cheers, Bert

If you want to use automapper-ts npm module with webpack directly instead of angular-cli you must follow these steps:

Install module with npm install --save automapper-ts

Define automapper as global variable inside plugins array in webpack.config.js:

     new webpack.ProvidePlugin({
             automapper: 'automapper-ts'
      })

In your component where you want to use automapper functionalities do following (e.g. Angular component):

import { Component } from '@angular/core';
import { } from "automapper-ts";

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
})
export class AppComponent {

    constructor() {
        var objA = { prop1: 'From A', prop2: 'From A too', prop3: 'Also from A (really)' };

        automapper
            .createMap('sourceType', 'destinationType')
            .forMember('prop1', function (opts) { opts.mapFrom('prop2'); })
            .forMember('prop2', function (opts) { opts.ignore(); })
            .forSourceMember('prop3', function (opts) { opts.ignore(); })
            .forMember('prop4', function () { return 12; })

        var objB = automapper.map('sourceType', 'destinationType', objA);

        console.log(objB);
    }
}

Thanks for your help, @bpkinez !

My two cents to this conversation:
In your tsconfig.json file make sure that you have the following:

"typeRoots": [
"node_modules/@types",
"../src/typings.d.ts"
],

I did not have the typings.d.ts file included in the "typeRoots" array. HTH.

In Angular 6 there's no webpack file

If you want to use automapper-ts npm module with webpack directly instead of angular-cli you must follow these steps:
1. Install module with `npm install --save automapper-ts`

2. Define automapper as global variable inside plugins array in webpack.config.js:

new webpack.ProvidePlugin({
    automapper: 'automapper-ts'
})

1. In your component where you want to use automapper functionalities do following (e.g. Angular component):

import { Component } from '@angular/core';
import { } from "automapper-ts";

@Component({
    selector: 'app-root',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.css']
})
export class AppComponent {

    constructor() {
        var objA = { prop1: 'From A', prop2: 'From A too', prop3: 'Also from A (really)' };

        automapper
            .createMap('sourceType', 'destinationType')
            .forMember('prop1', function (opts) { opts.mapFrom('prop2'); })
            .forMember('prop2', function (opts) { opts.ignore(); })
            .forSourceMember('prop3', function (opts) { opts.ignore(); })
            .forMember('prop4', function () { return 12; })

        var objB = automapper.map('sourceType', 'destinationType', objA);

        console.log(objB);
    }
}

In Angular 6 there's no webpack config file... And I don't know how to include it
any clue?

@mikelweb Here is how I got this to work in Angular 6:
Install from npm, be sure to use the --save option
npm install automapper-ts --save

Add the declaration in src/typings.d.ts.   If the typings file does not exist, create it (it's not created by default with Angular 6 CLI)
src/typings.d.ts:

declare module 'automapper-ts';

If you added the src/typings.d.ts file, you'll need to add it to tsconfig.json typeRoots:
tsconfig.json
    "typeRoots": [
      "node_modules/@types",
      "src/typings.d.ts"
    ],

Add minified source to angular.json scripts section, which will load the script:
"scripts": [
...
"node_modules/automapper-ts/dist/automapper.min.js",
...
]

Import to your component or module:
import * as automapper from 'automapper-ts';

Use as documented:
automapper.createMap('Token', 'User')
         .forMember('firstName', (opts) => { opts.mapFrom('given_name'); })
         .forMember('lastName', (opts) => { opts.mapFrom('family_name'); } )

(Thanks @loedeman  for an awesome component!)

Wow, @g8rdev, Thanks a lot for your thorough explanation! Thanks a lot for helping out this way, #h5yr!

Great! Thank you so much for such a good tutorial of how to do it!!!

Angular 7 not work theses steps

the following error occurs:

Please help me


Add llvm cov codecov

Which issue does this PR close?
Closes #
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

How does this change test

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@ead7260). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #574   +/-   ##
=======================================
  Coverage        ?   62.85%
=======================================
  Files           ?      321
  Lines           ?    49680
  Branches        ?        0
=======================================
  Hits            ?    31227
  Misses          ?    18453
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

llvm-cov is faster than tarpaulin. Refer to https://github.com/CeresDB/ceresdb/pull/456.


feat(map_based_prediction): enable to control lateral path convergence speed by setting control  time horizon

Description

In the current path generation algorithm, lateral displacement is controlled so that the it will arrive center line after the time_horizon_ = 10sec. This causes slow lateral motion convergence and lead to inappropriate path outside the lanelet.
I just add one parameter to control this convergence speed. Like figure below.
It simply means to calculate lateral path which converge to centerline by faster time_horizon.

Must merge after https://github.com/autowarefoundation/autoware_launch/pull/637.
Related links

Tests performed

Tested with Psim.
See jira ticket TIER IV INTERNAL LINK.
Notes for reviewers

Must change autoware_launch repo before merging this to main branch.
Interface changes

Effects on system behavior

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@YoshiRi
LGTM!
Are you going to run scenario test?

@YoshiRi
Great feature, thank you very much!
One thing I was thinking is that while it's inevitable that the trajectory will expand with the jerk-minimized trajectory,
it might be difficult to tune the parameter for the convergence time of the lateral deviation.
Would it be possible to determine the convergence time of the lateral deviation based on the maximum jerk instead?

@kyoichi-sugahara
Test passed in Evaluator.

it might be difficult to tune the parameter for the convergence time of the lateral deviation.
Would it be possible to determine the convergence time of the lateral deviation based on the maximum jerk instead?

It's more simple. "Jerk minimized path" finally means quintic polynominal equations calculated with boundary conditions and we can just tune convergence time by changing ending boundarys.


Elkowars Wacky Widgets

I was thinking of opening a PR to add eww, but unsure where to put it? I was originaly thinking top bar/status bar, but I quickly realized it could to a lot more than just that :P

Maybe some dedicated category for Widgets?
ags could probably also go in there:
https://aylur.github.io/ags-docs/

Added in https://github.com/gianklug/wearewaylandnow/commit/1e6911d6ca475aad830b191563c2c6013db8123f


Provide widget constructor candidate that takes GtkWidget

It would be useful to implementing parts of the API and necessary to move GtkBuilder forward if a constructor candidate was available which took the raw GtkWidget object.
It would be nice if this could happen without adding it to each widget class.

Perhaps a good time to split the giant Simple.pm6 into multiple files? Of course, it would be great to still just be able to do use GTK::Simple without needing to import every component separately. I just find I get lost when source is > few hundred loc, fold markers notwithstanding :)

It seems to me that there are two situations here:
a) a need for something quick and simple, with no need for knowledge
about GTK. Most of the work is done in GTK::Simple and only a few
widgets are available. I think by and large, GTK::Simple meets this
need. It has done for me.
b) a need for something that can be interfaced with other tools like
Glade, allowing far greater flexibility. I would suggest this be a
different module, say GTK::General. This would be a different sort of
module because GTK is far more complex.
Although ultimately it may turn out that a single module will meet both
needs in time, it may be better to separate the development paths. It
would free the developers of the generic module from maintaining
backwards compatibility with GTK::Simple
On Sunday, May 22, 2016 12:42 AM, Slobodan Mišković wrote:

Perhaps a good time to split the giant |Simple.pm6| into multiple
files? Of course, it would be great to still just be able to do |use
GTK::Simple| without needing to import every component separately. I
just find I get lost when source is > few hundred loc, fold markers
notwithstanding :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/perl6/gtk-simple/issues/31#issuecomment-220787808

Hi,
This stuff is worthwhile discussing but can I suggest starting a new issue for it?
The original ticket is to cover off some work that I believe needs to be done to make implementing a number of things a lot easier, it will get closed when that work is done :)

I don't mind doing the grunt work of adding a multi submethod BUILD(:$!gtk_widget){} to each class, as long as you think it's the best choice right now.

GTK::Simple has been refactored since this issue was raised, so I am marking it as resolved.
Since the GTK::Simple::Widget role provides $!gtk_widget and all GTK:S class do GTK::Simple::Widget, I think this resolves this issue. If not, more clarity about what is needed and reopen the issue


ef core 5 support

Hi are you going to add support for ef core 5 (not rc versions)?

This was done.


Draft: Add LoRa Basics Modem radio drivers and LoRaWAN stack

This pull request adds support for the Semtech transceivers with the "radio drivers", and for the LoRaWAN stack, both provided by the LoRa Basics Modem project (https://github.com/Lora-net/SWL2001)
This PR adds:

A new external module, the repository SWL2001 from Semtech
Duplicated drivers for LR11xx and SX126x LoRa transceivers -> I postfixed the compatible with -new, but what's the guideline on that ?

The drivers don't expose any API as the LBM repository provides one and the LBM stack uses the "RAL" "Radio Abstraction Layer". We might need to create an ad-hoc API for Zephyr.

The LoRaWAN subsystem based on the LBM stack

The subsys actually only contains the Kconfig and the source for the "main stack thread". The rest of the code and bindings lives in the module.
I named the drivers lora_lbm and subsys lorawan_lbm, to differentiate from the loramac-node implementations.

Samples: driver samples written from scratch and LBM "examples" ported from the SWL2001 repository.

Those ported examples come with the app_helpers code in modules/lora_basics_modem for portability purpose, but this should be cleaned up.

EDIT: I splitted this PR in half : this PR contains only code that was written with zephyr in mind. The samples that still need porting are in https://github.com/salamandar/zephyr/tree/lbm_samples

Hi, @Salamandar, did you have chance to test this with CONFIG_PM?
When I enable it, join request is always fail?
P.S.
I was also working on porting this basic lib to zephyr and finished it just couple of days ago. and just noticed your implementation now :)

Hi @Salamandar , I am not quite sure if this is the best place to discuss build failures or not, but just wanted to share these with you, if not, please let me know
here are errors: when I build your pull request:
Probably you know, but anyway:
disable wdt:
CONFIG_WATCHDOG=n
got error:
zephyr/modules/lora_basics_modem/app_helpers/smtc_hal_zephyr/smtc_hal_watchdog.c:57: undefined reference to `__device_dts_ord_115'
workaround for now.
void hal_watchdog_reload(void)
{
#ifdef CONFIG_WATCHDOG
	 wdt_feed(prv_wdt_dev, prv_wdt_channel_id);
#endif
}

disabling all region supports:
CONFIG_LORA_BASICS_MODEM_ENABLE_ALL_REGIONS=n
compiling is ok but
*** Booting Zephyr OS build v3.7.0-rc3-124-gabbb8340c2af ***
[00:00:00.000,000] <inf> smtc_modem: Periodical uplink (60 sec) example is starting
[00:00:00.000,000] <inf> smtc_modem: Modem Initialization
[00:00:00.203,000] <inf> smtc_modem: Use soft secure element for cryptographic functionalities
[00:00:00.203,000] <inf> smtc_modem_hal: Opened flash area of size 65536
[00:00:00.203,000] <err> smtc_modem: Invalid Region 0x01
[00:00:00.203,000] <err> smtc_modem: Region (0x1) in nvm context not supported
[00:00:00.203,000] <wrn> smtc_modem: No valid lr1mac context --> Factory reset
[00:00:00.261,000] <inf> smtc_modem: stack_id 0
[00:00:00.261,000] <inf> smtc_modem: DevNonce = 0
[00:00:00.261,000] <inf> smtc_modem: JoinNonce = 0xff ff ff, NetID = 0xff ff ff
[00:00:00.261,000] <inf> smtc_modem: Region = CN470
[00:00:00.261,000] <inf> smtc_modem: LoRaWAN Certification is disabled on stack 0
[00:00:00.261,000] <inf> smtc_modem: lorawan_alcsync_services_init task_id 7, service_id 0, CURRENT_STACK:0
[00:00:00.261,000] <wrn> smtc_modem: stream_services_init
[00:00:00.261,000] <wrn> smtc_modem: lfu_services_init
[00:00:00.290,000] <inf> smtc_modem: Modem event callback
[00:00:00.290,000] <inf> smtc_modem: Event received: RESET
[00:00:00.290,000] <err> smtc_modem: Invalid Region 0x01
[00:00:00.291,000] <err> smtc_modem: In WEST_TOPDIR/wsc/periodical_uplink_semtec/src/main_periodical_uplink.c - modem_event_callback (line 373): SMTC_MODEM_RC_INVALID
[00:00:00.291,000] <inf> smtc_modem: smtc_modem_join_network
[00:00:00.291,000] <inf> smtc_modem: Start a new join sequence in 3 seconds on stack 0
[00:00:00.291,000] <inf> smtc_modem: Starting loop...
[00:00:00.291,000] <inf> smtc_modem: Sleeping for 3000ms
[00:00:03.291,000] <inf> smtc_modem: Sleeping for 0ms
[00:00:03.291,000] <inf> smtc_modem: Sleeping for 10000ms
[00:00:06.859,000] <inf> smtc_modem: modem_tpm_radio_busy_lbt
[00:00:06.859,000] <inf> smtc_modem: Sleeping for 10000ms

Ill share the quick workaround solution  shortly

Hi @Salamandar I’m not sure if this is the best place to discuss build failures, but I wanted to share these with you. If there’s a more appropriate forum or person for this, please let me know.
disable wdt: CONFIG_WATCHDOG=n

Ah yeah, that's "expected". The code in the samples and lora_basics_modem/app_helpers mostly is copy-pasta from the official samples and example codes, and it's not really "portable" nor configurable yet. I'll work towards a cleaner code in this PR.

@KajbaM, forgive the ping!
Since IRNAS has implemented similar functionality with the Lora Basic Modem for Zephyr,
it would be fantastic to get insights on this PR.
Your experience with SWL2001-Zephyr would be incredibly helpful. Thank you!

@ndrs-pst I work at IRNAS and will submit a review. This is more or less a continuation of our work by Semtech, so we might have some additional insight.
Hopefully, this gets merged, so we can all benefit :)


json_dump_callback: Document whether the chunks passed to the callback are valid UTF-8

It seems that the chunks passed to json_callback_t are always valid UTF-8 strings (assuming the strings in the JSON object are valid UTF-8), but this isn't documented in https://jansson.readthedocs.io/en/latest/apiref.html#c.json_dump_callback_t. Would be nice to document to clarify what callback implementers should expect.

Similarly, https://jansson.readthedocs.io/en/latest/apiref.html#c.json_load_callback_t should specify whether the copied chunk has to be valid UTF-8, or whether it's enough for the concatenated string to be UTF-8.

Could you open a PR?

Sure, but I'd need to know the answers to the questions first ;)

The callback passed to json_dump_callback always gets valid UTF-8, as you already figured out.
The decoder handlers input byte by byte, so the data provided by the callback to json_load_callback doesn't need to break on code point boundaries.

Thanks, that looks like a great example of the Postel principle. Will send a PR.


ReferenceError: module is not defined

First of all thank you making it easier to integrate ReCAPTCHA! :)
I'm using the latest version of sveltekit (SvelteKit v1.0.0-next.203) and just followed your instructions in the README one-by-one.
When I start the dev environment with npm run dev -- --open, I run into the error message below and the page won't get loaded at all.
My svelte.config.js looks like this:
import adapter from '@sveltejs/adapter-static';
import sveltePreprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	preprocess: sveltePreprocess(),
	kit: {
		adapter: adapter({
			// default options are shown
			pages: 'build',
			assets: 'build',
			fallback: null,
			precompress: false
		}),
		// hydrate the
 element in src/app.html
		target: '#svelte'
	}
};

export default config;

Error Message
[vite] Error when evaluating SSR module /node_modules/debug/src/index.js?v=338ddabd:
ReferenceError: module is not defined
    at /node_modules/debug/src/index.js?v=338ddabd:9:2
    at instantiateModule (/Users/**********/node_modules/vite/dist/node/chunks/dep-24a6b4c4.js:60096:15)

Do you know what the problem is? I don't even need SSR, it will be just a static page, but since the features even state 'svelte server side rendering (SSR) friendly', I guess I'm doing something wrong? 😅

hi, it seems the debug package is not being installed somehow. have you installed svelte-recaptcha-v2 as a dev dependency?
You can also try installing the debug package manually.
```pnpm install -D debug`
and then try again. Let me know how it goes, I will take a look at it, may be something is missing in my package.json.

Thank you so much for your quick replay! :)

have you installed svelte-recaptcha-v2 as a dev dependency?

Yes, I did npm install -D svelte-recaptcha-v2. I'm using npm instead of pnpm, could that be a problem?

You can also try installing the debug package manually.

Did it (again with npm) and now there are no error message anymore 👍 But the website now is just all white 😅 In the beginning I see my hero page for a second, but then it disappears and everything is just white. I don't have any error messages. Neither in the browser console nor in my terminal. But when I look into the debug messages, I don't see the output of a certain script I use (fullpage.js), which I usually do. I confirmed that the issue only arrises when I add following line: import { Recaptcha, recaptcha, observer } from 'svelte-recaptcha-v2';
Do you have an idea what that could be? In the meantime I could try to setup a blank sveltekit project and try to reproduce it there, if that helps you 👍

well, you shouldn't mix npm, yarn or pnpm together :)
definitely try on a blank project, it should work out of  the box. Recaptcha package is very simple. I only included the debug as a dependency to make it easier to troubleshoot things which you most likely would need to when dealing with google libs.
You can also try cleaning up your node_modules folder and reinstall everything whichever the package manager you are using.

Thank you for the hints, I tried them but unfortunately I still have the same issue
Therefore I have setup a blank sveltekit project and I also have the problem there.
Here are the steps:
npm init svelte@next my-app # select demo app
cd my-app
npm install
npm install -D svelte-recaptcha-v2
# Add the import line and the Recaptcha component to index.svelte
npm run dev

You will now run into the ReferenceError: module is not defined error again.
npm install -D debug
npm run dev

The error message will be gone and you won't see any error messages in the console, but if you look at the website you will see:
500: import not found: default
And the actual content of the page won't also be loaded (same as in my project), though it loads the navigation bar. If I remove the import and the Recaptcha component everything works fine again.
Any idea? :(

I will try to take a look at it later today and update you.

Thank you very much again! :)
Just one additional information: I tested this on Firefox. On Safari I get the same issue, but a little bit more detailed error message. Maybe it helps you 👍

Okay, I checked and it doesn't work :)
The reason is related to the latest sveltekit version has latest vite bundler which is not recognizing the default export from the debug module which is common.js
If you try to build, it will build fine. If you use svelte and not sveltekit, it is also fine. However, this needs to be fixed. I will look for a replacement for debug.js and push a new release.
I don't think it will happen today though, but I will try to address it in the next few days.
-------- Original Message --------
On Dec 28, 2021, 09:47, YugoCode < @.> wrote:
Thank you very much again! :)
Just one additional information: I tested this on Firefox. On Safari I get the same issue, but a little bit more detailed error message. Maybe it helps you 👍
￼
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.￼Message ID: @.>
[ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "[https://github.com](https://github.com/basaran/svelte-recaptcha-v2/issues/2#issuecomment-1002139901", "url": "[https://github.com](https://github.com/basaran/svelte-recaptcha-v2/issues/2#issuecomment-1002139901", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Try #3 and let me know how it goes.

Guys, sorry about this. It's been busy lately and hopefully I will get to this sooner than later. The issue is not with the package but the way vite started to bundle the dependencies. One approach in the meantime would be to clone the git repository into your project and take out the debug import and statements.
Another would be to disable sveltekit during development, and enable it before compiling. Last time I tested it, it was compiling fine and would init fine as well.

same issue. I've used with sveltekit.
ReferenceError: module is not defined
  at /@fs/Users/johnny/Projects/loantalk/node_modules/debug/src/index.js?v=e1652a3c:7:2
  at instantiateModule (/Users/johnny/Projects/loantalk/node_modules/vite/dist/node/chunks/dep-9c153816.js:56193:15)

<Recaptcha> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules

@basaran Would you mind moving svelte-recaptcha-v2 to NPM instead of PNPM?
Most people use NPM and I had lots of trouble with PNPM (https://github.com/pnpm/pnpm/issues/724#issuecomment-1464947089), that's why I'm unable to use svelte-recaptcha-v2, even though the project looks great and I'd really like to use it.
Please consider it. Thank you.

sorry for the delay, I am going to make a new push that will address this building issues altogether and will switch npm at the time. Closing this for now.


Create new helper class CustomViewModeHelper.java

Used to implement multi-select mode on custom views, such as a button to toggle dialog or slide up display of tools not related to ActionMode. In some layouts, custom "toolbars" are used that do not implement ActionMode and other methods are needed.

@TimVelo can you please also create a sample which uses this helper?

Will do

@TimVelo thank you very much for this PR :)
You can just add commits to your branch, they will be added automatically to the PR

I think my branch is out of date, I have to sync my fork... I think.
You are quite welcome, thanks for all the awesome libraries. Hopefully I can contribute more here shortly.

@TimVelo yeah take your time :). Thank you very much

Should I add it to the app structure with the other examples and implement into the app?

@TimVelo yes please

@TimVelo did the info from the e-mail help you?

@TimVelo did you have time to check it out?

Sorry Mike, having major computer problems, lost my profile and still
having problems. Trying to avoid rebuilding it all... :( I'll hopefully be
back in the swing of things this weekend.
Thank you,
Tim Velo
IT Manager
Craig Bachman Imports, Inc.
Mobile:<PHONE_NUMBER>
Office:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
On Sat, Jul 15, 2017 at 10:09 AM, Mike Penz<EMAIL_ADDRESS>wrote:

@TimVelo https://github.com/timvelo did you have time to check it out?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mikepenz/FastAdapter/pull/472#issuecomment-315540500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANBGryYQGqJHNSxvVzu9QjvJM4s10NIAks5sONY_gaJpZM4ORzQh
.

@TimVelo sorry to hear that. I hope you can resolve the problems.

@TimVelo I close this PR now as it misses most of your additional changes.
It would be really nice (as soon as your computer issues are resolved) that you redo your changes on v3 and open the PR against v3.
As there will most likely be no more v2.x release


Validating fields against each other in embedded arrays

Hi guys,
I just ran into a problem with collection2+simple-schema where the custom() is not called on $set updates against embedded arrays.
This example shows the problem (based on https://github.com/aldeed/meteor-simple-schema#validate-one-key-against-another)
SimpleSchema.messages({
  'passwordMismatch': 'Passwords do not match'
})

MySchema = new SimpleSchema({
  accounts: {
    type: [Object],
    optional: true,
  },
  'accounts.$.password': {
    type: String,
    label: 'Enter a password',
    min: 8
  },
  'accounts.$.confirmPassword': {
    type: String,
    label: 'Enter the password again',
    min: 8,
    custom: function () {
      console.log('inside confirmPassword custom')
      if (this.value !== this.siblingField('password').value) {
        return 'passwordMismatch'
      }
    }
  }
})

Collection = new Mongo.Collection('myschema')
Collection.attachSchema(MySchema)

Collection.remove({})
var id = Collection.insert({
  accounts: [
    {password: '12345678', confirmPassword: '12345678'},
    {password: '23456789', confirmPassword: '23456789'}
  ]
})

// BUG???
// THIS CALL GOES THRU WITHOUT custom() being called
// .. meaning: we now have invalid data
Collection.update(id, {$set: {
  'accounts.1.password': '9999999999999'
}})
console.log(Collection.findOne().accounts)

Am I doing something wrong here?

Closing old issues. Please comment if this is still an issue and should be reopened.


Encoding support

I've started working on support for encoding values, with the int64 as a starting point.
The API I'm going with is:
pub fn encode<W: Write>(writer: &mut W, schema: &Schema, value: &Value) -> Result<(), EncodeError>

Is this something you're interested in? I can open a PR if you want.

Yes, that looks good. A pull request would be welcome.

See #5 It's not completely satisfying, but that's a start.

Is this really still an open issue?


test models: check panda standstill

[ ] body
[x] VW
[x] Hyundai
[x] Chrysler
[x] Toyota - https://github.com/commaai/openpilot/pull/25570
[x] Subaru
[x] GM

closing since we've largely done this in other PRs (most recently hyundai) and only the body remains. it still has a TODO

Let's get the body fixed, I don't like maintaining all these exceptions


Any examples of reading a shapefile and generating a SpatialRange and DataFrame?

how about this guy:
https://starepandas.readthedocs.io/en/latest/examples/notebooks/instantiation.html#Polygons
I tend to use geopackages rather than shapefile. But its the same thing. Geopandas can read shapefiles just the same.


Cleaning up the Closure table

While deleting data from main table corresponding datum are not removed from the closure table

@kaviarasankk Those issued seem to have been resolved. Please pull the latest master and checkout changes. Also notice that parent_id foreign key must have onDelete('set null') rule. Unfortunately it was missing but now I have added that to the stub of the entities' table migration.


Bump-up Go version to 1.16 on CI

Bump-up Go version to 1.16 on CI

Updated in https://github.com/RedHatInsights/insights-operator-ldapauth/pull/111


chore: bump hdwallet to 1.38.0 and unpin

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3382   👈

PR #3383

This comment was auto-generated by Graphite.


removing resources from policy object in favor of actions

Signed-off-by: barinek<EMAIL_ADDRESS>Fixes #186

Codecov Report

Merging #187 (714b479) into main (01520cc) will increase coverage by 0.98%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #187      +/-   ##
==========================================
+ Coverage   91.10%   92.09%   +0.98%
==========================================
  Files          38       38
  Lines        1642     1631      -11
==========================================
+ Hits         1496     1502       +6
+ Misses         95       86       -9
+ Partials       51       43       -8

Impacted Files
Coverage Δ

pkg/admin/applications.go
100.00% <ø> (ø)

pkg/admin/orchestrator_client.go
95.60% <ø> (-0.05%)
:arrow_down:

...orchestratorproviders/googlecloud/google_client.go
100.00% <ø> (ø)

pkg/decisionsupportproviders/opa_provider.go
100.00% <100.00%> (ø)

pkg/orchestrator/applications_handler.go
89.38% <100.00%> (+2.53%)
:arrow_up:

...atorproviders/amazonwebservices/amazon_provider.go
87.69% <100.00%> (+2.95%)
:arrow_up:

...atorproviders/googlecloud/google_cloud_provider.go
96.77% <100.00%> (+6.45%)
:arrow_up:

...estratorproviders/microsoftazure/azure_provider.go
91.66% <100.00%> (+5.72%)
:arrow_up:

...hestratorproviders/openpolicyagent/opa_provider.go
87.61% <100.00%> (+1.63%)
:arrow_up:

... and 4 more

Continue to review full report at Codecov.

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


On Prem OSX Agent Update

Agent Version and Platform
Version of your agent? 2.205.0
OS of the machine running the agent? OSX, macOS Monterey 12.4
Azure DevOps Type and Version
on-premises TFS/Azure DevOps Server
If on-premises, which release? Azure DevOPS server 2020 Update 1.1
What's not working?
We have 3 OSx agents running on a Mac Mini. All are running as a service.
When I got to the Agent Pool and click on the button to update all agents, Click on the update button to the confirm update.
Wait some time, check back to see what the version of the build agent is and it has NOT updated.
We were on 2.202.1 and we tried to update to 2.205.0 and it never shows the agent's being on the new version.
Is this not an automated update on Mac OS ?
Only way I could get it updated was to uninstall the service, delete the agent and then re-install and add back all of it's capabilities.

Hi, thanks for reporting.
We will take a look at this issue

I couldn't reproduce the issue on Macbook M1 (Monterey 12.6).
@dmccolloughOneGas, could you please attach logs of agent from folder _diag when agent update fails if you still experiences the issue?

@sergey-koryshev I just updated the agents on our Mac build server. Must have been something I was doing wrong the first time. It updated today without an issue.
Please close the ticket.
Thanks for the help.