OpenAPI spec is wrong

Based on the OpenAPI spec, we get the same AnalysisReport from both component-analysis:
https://github.com/RHEcosystemAppEng/crda-backend/blob/900f12c7694ce2d9f4f6b17a2dcb462af9c3131e/src/main/resources/META-INF/openapi.yaml#L53
And stack-analysis:
https://github.com/RHEcosystemAppEng/crda-backend/blob/900f12c7694ce2d9f4f6b17a2dcb462af9c3131e/src/main/resources/META-INF/openapi.yaml#L103

In reality, it looks like we indeed get the AnalysisReport for stack-analysis:
POST http://crda-backend-crda.apps.sssc-cl01.appeng.rhecoeng.com/api/v3/dependency-analysis/maven
Content-Type: text/vnd.graphviz
Accept: application/json

digraph "com.example:crda-playground-maven:pom:0.0.1-SNAPSHOT" {
	"com.example:crda-playground-maven:pom:0.0.1-SNAPSHOT" -> "log4j:log4j:jar:1.2.16:compile" ;
 }

{
  "summary": {
    "dependencies": {
      "scanned": 1,
      "transitive": 0
    },
    "vulnerabilities": {
      "total": 7,
      "direct": 1,
      "critical": 1,
      "high": 3,
      "medium": 2,
      "low": 1
    }
  },
  "dependencies": [
    {
      "ref": {
        "name": "log4j:log4j",
        "version": "1.2.16"
      },
      ...
    }
  ]
}

But for component_analysis it looks like we get something more similar to an array of DependencyReports:
POST http://crda-backend-crda.apps.sssc-cl01.appeng.rhecoeng.com/api/v3/component-analysis/maven
Content-Type: application/json
Accept: application/json

[{"name":"log4j:log4j","version":"1.2.17"}]

[
  {
    "ref": {
      "name": "log4j:log4j",
      "version": "1.2.17"
    },
    ...
  }
]

This should fixed ASAP, it blocks development for both the JavaScript API and the Java API, both use this spec for generating models.

The current development deployment returns the same response. It seems you are using the summit branch based on the request endpoint.
Try this one instead:
http -v crda-backend-dev-crda.apps.sssc-cl01.appeng.rhecoeng.com/api/v3/component-analysis/maven \
Content-Type:"application/json" \
'[0][name]=com.fasterxml.jackson.core:jackson-databind' \
'[0][version]=2.13.0'

Response:
{
    "dependencies": [
        {
            "highestVulnerability": {
                "cves": [
                    "CVE-2021-46877"
                ],
                "cvss": {
                    "attackComplexity": "High",
                    "attackVector": "Network",
                    "availabilityImpact": "High",
                    "confidentialityImpact": "None",
                    "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                    "exploitCodeMaturity": null,
                    "integrityImpact": "None",
                    "privilegesRequired": "None",
                    "remediationLevel": null,
                    "reportConfidence": null,
                    "scope": "Unchanged",
                    "userInteraction": "None"
                },
                "cvssScore": 5.9,
                "id": "SNYK-JAVA-COMFASTERXMLJACKSONCORE-2326698",
                "severity": "MEDIUM",
                "source": "snyk",
                "title": "Denial of Service (DoS)",
                "unique": false
            },
            "issues": [
...
    ],
    "summary": {
        "dependencies": {
            "scanned": 1,
            "transitive": 0
        },
        "providerStatuses": [
            {
                "message": "OK",
                "ok": true,
                "provider": "snyk",
                "status": 200
            }
        ],
        "vulnerabilities": {
            "critical": 0,
            "direct": 1,
            "high": 1,
            "low": 0,
            "medium": 3,
            "total": 4
        }
    }
}

@ruromero
Will this eventually be merged to production?

This is production. The endpoint without -dev suffix is a freezed version we keep for people still using the Summit demo vsix.

@ruromero
Am I missing something?
The dependencies array is empty for stack analysis:
POST http://crda-backend-dev-crda.apps.sssc-cl01.appeng.rhecoeng.com/api/v3/dependency-analysis/maven
Content-Type: text/vnd.graphviz
Accept: application/json

digraph "com.example:crda-playground-maven:pom:0.0.1-SNAPSHOT" {
	"com.example:crda-playground-maven:pom:0.0.1-SNAPSHOT" -> "log4j:log4j:jar:1.2.16:compile" ;
 }

{
  "summary": {
    "dependencies": {
      "scanned": 1,
      "transitive": 0
    },
    "vulnerabilities": {
      "total": 7,
      "direct": 1,
      "critical": 1,
      "high": 3,
      "medium": 2,
      "low": 1
    },
    "providerStatuses": [
      {
        "ok": true,
        "provider": "snyk",
        "status": 200,
        "message": "OK"
      }
    ]
  },
  "dependencies": []
}

But looks ok for component analysis:
POST http://crda-backend-dev-crda.apps.sssc-cl01.appeng.rhecoeng.com/api/v3/component-analysis/maven
Content-Type: application/json
Accept: application/json

[{"name":"log4j:log4j","version":"1.2.17"}]

{
  "summary": {
    "dependencies": {
      "scanned": 1,
      "transitive": 0
    },
    "vulnerabilities": {
      "total": 7,
      "direct": 1,
      "critical": 1,
      "high": 3,
      "medium": 2,
      "low": 1
    },
    "providerStatuses": [
      {
        "ok": true,
        "provider": "snyk",
        "status": 200,
        "message": "OK"
      }
    ]
  },
  "dependencies": [
    {
      "ref": {
        "name": "log4j:log4j",
        "version": "1.2.17"
      },
      "highestVulnerability": {
        "id": "SNYK-JAVA-LOG4J-1300176",
        "title": "Man-in-the-Middle (MitM)",
        "source": "snyk",
        "cvss": {
          "attackVector": "Network",
          "attackComplexity": "High",
          "privilegesRequired": "None",
          "userInteraction": "None",
          "scope": "Unchanged",
          "confidentialityImpact": "Low",
          "integrityImpact": "None",
          "availabilityImpact": "None",
          "exploitCodeMaturity": null,
          "remediationLevel": null,
          "reportConfidence": null,
          "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
        },
        "cvssScore": 3.7,
        "severity": "LOW",
        "cves": [
          "CVE-2020-9488"
        ],
        "unique": false
      },
      "issues": [
        {
          "id": "SNYK-JAVA-LOG4J-572732",
          "title": "Deserialization of Untrusted Data",
          "source": "snyk",
          "cvss": {
            "attackVector": "Network",
            "attackComplexity": "Low",
            "privilegesRequired": "None",
            "userInteraction": "None",
            "scope": "Unchanged",
            "confidentialityImpact": "High",
            "integrityImpact": "High",
            "availabilityImpact": "High",
            "exploitCodeMaturity": "Proof of concept code",
            "remediationLevel": null,
            "reportConfidence": null,
            "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"
          },
          "cvssScore": 9.8,
          "severity": "CRITICAL",
          "cves": [
            "CVE-2019-17571"
          ],
          "unique": false
        },
        {
          "id": "SNYK-JAVA-LOG4J-2342645",
          "title": "SQL Injection",
          "source": "snyk",
          "cvss": {
            "attackVector": "Network",
            "attackComplexity": "High",
            "privilegesRequired": "None",
            "userInteraction": "None",
            "scope": "Unchanged",
            "confidentialityImpact": "High",
            "integrityImpact": "High",
            "availabilityImpact": "High",
            "exploitCodeMaturity": null,
            "remediationLevel": null,
            "reportConfidence": null,
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "cvssScore": 8.1,
          "severity": "HIGH",
          "cves": [
            "CVE-2022-23305"
          ],
          "unique": false
        },
        {
          "id": "SNYK-JAVA-LOG4J-2342646",
          "title": "Deserialization of Untrusted Data",
          "source": "snyk",
          "cvss": {
            "attackVector": "Network",
            "attackComplexity": "High",
            "privilegesRequired": "None",
            "userInteraction": "None",
            "scope": "Unchanged",
            "confidentialityImpact": "High",
            "integrityImpact": "High",
            "availabilityImpact": "High",
            "exploitCodeMaturity": null,
            "remediationLevel": null,
            "reportConfidence": null,
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "cvssScore": 8.1,
          "severity": "HIGH",
          "cves": [
            "CVE-2022-23307"
          ],
          "unique": false
        },
        {
          "id": "SNYK-JAVA-LOG4J-2342647",
          "title": "Deserialization of Untrusted Data",
          "source": "snyk",
          "cvss": {
            "attackVector": "Network",
            "attackComplexity": "High",
            "privilegesRequired": "None",
            "userInteraction": "None",
            "scope": "Unchanged",
            "confidentialityImpact": "High",
            "integrityImpact": "High",
            "availabilityImpact": "High",
            "exploitCodeMaturity": null,
            "remediationLevel": null,
            "reportConfidence": null,
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "cvssScore": 8.1,
          "severity": "HIGH",
          "cves": [
            "CVE-2022-23302"
          ],
          "unique": false
        },
        {
          "id": "SNYK-JAVA-LOG4J-2316893",
          "title": "Arbitrary Code Execution",
          "source": "snyk",
          "cvss": {
            "attackVector": "Network",
            "attackComplexity": "High",
            "privilegesRequired": "High",
            "userInteraction": "None",
            "scope": "Unchanged",
            "confidentialityImpact": "High",
            "integrityImpact": "High",
            "availabilityImpact": "High",
            "exploitCodeMaturity": "Proof of concept code",
            "remediationLevel": null,
            "reportConfidence": null,
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P"
          },
          "cvssScore": 6.6,
          "severity": "MEDIUM",
          "cves": [
            "CVE-2021-4104"
          ],
          "unique": false
        },
        {
          "id": "SNYK-JAVA-LOG4J-3358774",
          "title": "Denial of Service (DoS)",
          "source": "snyk",
          "cvss": {
            "attackVector": "Network",
            "attackComplexity": "High",
            "privilegesRequired": "None",
            "userInteraction": "None",
            "scope": "Unchanged",
            "confidentialityImpact": "None",
            "integrityImpact": "None",
            "availabilityImpact": "High",
            "exploitCodeMaturity": null,
            "remediationLevel": null,
            "reportConfidence": null,
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "cvssScore": 5.9,
          "severity": "MEDIUM",
          "cves": [
            "CVE-2023-26464"
          ],
          "unique": false
        },
        {
          "id": "SNYK-JAVA-LOG4J-1300176",
          "title": "Man-in-the-Middle (MitM)",
          "source": "snyk",
          "cvss": {
            "attackVector": "Network",
            "attackComplexity": "High",
            "privilegesRequired": "None",
            "userInteraction": "None",
            "scope": "Unchanged",
            "confidentialityImpact": "Low",
            "integrityImpact": "None",
            "availabilityImpact": "None",
            "exploitCodeMaturity": null,
            "remediationLevel": null,
            "reportConfidence": null,
            "cvss": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
          },
          "cvssScore": 3.7,
          "severity": "LOW",
          "cves": [
            "CVE-2020-9488"
          ],
          "unique": false
        }
      ],
      "transitive": [],
      "remediations": {},
      "recommendation": null
    }
  ]
}

Also please note the providerStatuses in both responses which indicates ok for Snyk, even though I haven't included any token headers in any of my requests. Is that by design?

@ruromero
Have to?

@TomerFi take a look at the readme https://github.com/RHEcosystemAppEng/crda-backend#client-token-authentication

@ruromero
Thank you, but you are not quite answering neither one of my questions.
1- Why is the dependencies array empty for stack analysis but not for component analysis given I haven't provided a  token header in in either request?
2- Have you noticed I get a provided status for snyk = ok even though I haven't provided  a token header in in either request?
As for the section you pointed me to in the README, it was added in #42 where I specifically asked you if there's a change in response object, thank you for your cooperation.
Regardless, quoting the section you pointed me to:
If clients don't provide the token to authenticate against the Vulnerability Provider
the default one will be used instead but only the summary will be returned in the JSON response.

But based on APPENG-1749, based on other discussions and meetings, and based on the prior implementation, No Snyk token means no Snyk private vulnerabilities and not no vulnerabilities at all - just a summary. And I think that the log4j vulnerability is a public one.
So once again, am I missing something? was something changed in the requirements?

@ruromero Thank you, but you are not quite answering neither one of my questions. 1- Why is the dependencies array empty for stack analysis but not for component analysis given I haven't provided a token header in in either request? 2- Have you noticed I get a provided status for snyk = ok even though I haven't provided a token header in in either request?

In the cli outputs you pointed me to when the verbose flag was false only the summary was returned and this is the same the backend is doing when no token is provided. If you don't agree with the behaviour it can be changed. Open an issue.
Yes because the connection with snyk is successful and the summary includes data coming from snyk.

As for the section you pointed me to in the README, it was added in #42 where I specifically asked you if there's a change in response object, thank you for your cooperation. Regardless, quoting the section you pointed me to:

The response object is the same. You are welcome.

If clients don't provide the token to authenticate against the Vulnerability Provider
the default one will be used instead but only the summary will be returned in the JSON response.

But based on APPENG-1749, based on other discussions and meetings, and based on the prior implementation, No Snyk token means no Snyk private vulnerabilities and not no vulnerabilities at all - just a summary. And I think that the log4j vulnerability is a public one. So once again, am I missing something? was something changed in the requirements?
Same as before, this behaviour can be changed if needed. Can you detail how is this information relevant in the JSON response for the Stack Analysis?

In the cli outputs you pointed me to when the verbose flag was false only the summary was returned and this is the same the backend is doing when no token is provided. If you don't agree with the behaviour it can be changed. Open an issue.

Yes, and I also mentioned and included in the diagram that the verbose/no-verbose flag is used by the CLI for constructing the output, it was not passed to the backend. Besides isn't the crda-cli project probably getting dropped?
But yet... you haven't answered my question.
Why is the token a requirement for the dependencies list for the stack-analysis, but not for the component-analysis?

2. Yes because the connection with snyk is successful and the summary includes data coming from snyk.

So in what scenarios will this be "ok": "false"?

The response object is the same.

So... changing the backend behaviour by delivering an empty array of dependencies if no token is provided but only for stack analysis, doesn't qualify for you as a response object change worthy of mentioning to the developer in charge of the client side, even if the developer specifically asks about it. Nice team work, thank you for your cooperation.

Same as before, this behaviour can be changed if needed. Can you detail how is this information relevant in the JSON response for the Stack Analysis?

Currently, it's only required for the crda-cli project, but... as we're waiting for ADR-0010, the development of the crda-cli is frozen, and I haven't yet copied its behaviour to the javascript cli and will not do so until the ADR gets approved. Maybe we'll even decide not to copy this part over, who knows. But currently, the crda-cli project is still active. Which based on your "verbose flag" comment, the crda-cli project being active was taken under your consideration.

I reiterate with my previous comment. If you need this behaviour to be changed feel free to open a JIRA or an Github issue.

I reiterate with my previous comment. If you need this behaviour to be changed feel free to open a JIRA or an Github issue.

I'm sorry. No.


Sudo detection does not work

Sudo detection does not work
I made a custom prompt for p9k to show when sudo has been used:

prompt_sudo_indicator(){
local color="%F{red}"
local symbol=""
if [[ -n "$SUDO_COMMAND" ]]; then
echo -n "%{$color%}$symbol "
else
echo -n ""
fi
}

Using $SUDO_COMMAND does not work for me, I do not get the icon to show up.
Else statement works, so it goes through it just fine.
If I type:

sudo -s -E

the icon will appear.
My .zshrc is as follows:

ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE="nerdfont-complete"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=('os_icon' 'dir' 'vcs' 'sudo_indicator')

Have you tried to debug or fix it?
I made a script to run in terminal, and that one works perfectly.

#!/bin/zsh
if [[ -n "$SUDO_COMMAND" ]]; then
echo  "Sudo used!"
else
echo  "Sudo not used!"
fi

Environment Information

zsh 5.5.1
ZSH framework (Oh-My-ZSH)
P9k (cloning the repo)
Release v0.6.6
Gnome-terminal

So, I did more digging on the matter and understand the problem. It was also discussed here before. Sorry.
Marking this closed.

@DickSteelOy - Glad you're all set! Let us know if anything changes!


improve no schema upgrade path exception

Description
Improve the output of the schema no upgrade path exception

Wonderful! Thank you.


Custom UI for scanner and prompt message??

I am using the barcodescanner with ionic framework for an hybrid app.
I'd like to create a dotted border for the viewfinder and add new text on top of the view finder. Also change the text of the default message. Both for Android and iOS.
I'd like to customize the UI for the scanning page as I mentioned above. Can someone point in the right direction on how to do this ?

I have same requirement for my app, the UX wants some text header to be shown above camera and a hyperlink below camera window. We have two views when items barcode or QR code can be scanned and per UX designs, the position of camera window is also different on the two views.

@bharat-tiwari
Did you find any solution for your requirement?
Even I have same requirement.

Having the same issue. I don't think this plugin is customisable..
We only have access to an options object.
  SCAN method options
  {
    preferFrontCamera : true, // iOS and Android
    showFlipCameraButton : true, // iOS and Android
    showTorchButton : true, // iOS and Android
    torchOn: true, // Android, launch with the torch switched on (if available)
    saveHistory: true, // Android, save scan history (default false)
    prompt : "Place a barcode inside the scan area", // Android
    resultDisplayDuration: 500, // Android, display scanned text for X ms. 0 suppresses it entirely, default 1500
    formats : "QR_CODE,PDF_417", // default: all but PDF_417 and RSS_EXPANDED
    orientation : "landscape", // Android only (portrait|landscape), default unset so it rotates with the device
    disableAnimations : true, // iOS
    disableSuccessBeep: false // iOS and Android
  }

But let me know if someone has a solution for this ^^ besides changing the plugin source code.


Ensure reactome mappings are checked prior to obsoletion

When we check for term usage, we check for reactome mappings, such that @deustp01 can anticipate changes
See comments here for context:

https://github.com/geneontology/go-ontology/issues/27081#issuecomment-2147465217

We should do this in a way that it doesn't entail any additional work for GO editors - if we use the OAK usage check then this should be straightforward

There is a ticket here:
https://github.com/geneontology/go-annotation/issues/4963
I'll ping Seth again.

OK, we can close in favor of that. I'm 99% sure that checking the annotations derived from reactome should give the same results as checking reactome directly (doing the latter is now easy as reactome is registered in semantic-sql).


Calendly link for onboarding / mods

We've discussed offering a Calendly link so that people can grab a Zoom with one of the moderation / leadership team.
This will be useful for #2.

My reading of Calendly's pricing docs is that if we want a single "round robin" scheduling link, we'll have to pay $8 / month. Not worth it IMO.
I suggest we just share our calendly links together.
Here's mine:
https://calendly.com/mattwynne/25-mins
I can put it in my bio too, reckon?
@blaine @tillkruss can you share one?

https://savvycal.com/till/15


bug(LiveAnnouncer): Repeated message is not announced

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
LiveAnnouncer does not announce a message when it is the same as the last announced message
(using MacOS VoiceOver + Chrome).
Reproduction
Using MacOS VoiceOver + Chrome
StackBlitz link: https://stackblitz.com/edit/components-issue-1j77ug?file=src%2Fapp%2Fexample-component.ts
Steps to reproduce:

Turn on VoiceOver
Open StackBlitz link
Click "Announce Hello" button
-> VoiceOver announces "Hello"
Click "Announce Hello" button again
-> Expected: VoiceOver announces "Hello"
-> Actual: No announcement

Expected Behavior
VoiceOver announces the message.
Actual Behavior
VoiceOver did not announce the message.
Environment

Angular: 16.1.8
CDK/Material: 16.1.7
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): macOS

I am unable to reproduce this on my end when testing so I will be closing this issue.
If you still run into this problem, please create a new issue with a video and add your chrome and macOS versions to help debug further.


¿Work on Laravel 5.1?

I am thinking use tuurbo/spreedly in laravel 5.1 but i don't know if is compatible, is it?

Works fine for me in 5.1


Feature/create pull comment

This PR is actually two concepts for us to discuss and merge or rework depending on the outcome of the discussion.
Pull Request Line Comments
We now have NewPullComment and createPullComment :: Auth -> Name Owner -> Name Repo -> Id Issue -> Text -> Text -> Int -> Text -> IO (Either Error Comment)  where we have a commit hash, file path, position, and a body.
Pull Request Diffs
Obtaining pull request diffs (github diffs) requires use of a new accept header.  The diff provided via a URL is not a git diff and therefore unsuitable for calculating line numbers for the position value needed by createPullComment.

Ping! This capability keeps me off master, are there any objections?

Superseded by #350


Protection against CSRF added

Details sent to<EMAIL_ADDRESS>in messages
Wed, 30 Nov 2022 12:47:33 +0100.
Fri, 2 Dec 2022 19:59:02 +0100
Author-Change-Id: IB#1129006

I actually have a feeling that we should not be allowing the ReverseProxy Auth on the API - it's the only consistent way of making the API work

I don't fully understand why you have added another dependency library for the cors instead of making our current one work or replacing our current one.

it's the only consistent way of making the API work

What inconsistency you see in using one auth method for all API calls?

I don't fully understand why you have added another dependency library for the cors instead of making our current one work or replacing our current one.

https://github.com/go-chi/cors does not provide OriginAllowed method and it looks like even maintainer is not sure why this fork is still requred for. Existing CSRF code was not analyzed and left untouched; if this PR is accepted - existing token based CSRF stuff should be checked and (if is still required as separate line of defense) may be switched to github.com/rs/cors or removed (if not required when browsers compatible with fetch metadata headers will be required for gitea).

For every other authentication mechanism we now require that API calls are separately and explicitly authenticated - this makes ReverseProxy the odd one out.

If account A can make change X using "web API" why shouldn't be allowed to make change X using "API"? Why to "mess" with separate API areas and separate sets of auths for both? Any real risks?
If separation is required - why not to introduce user permissions to access given API area (i.e. "[x] access to web", "[x] access to API) as alternative to application tokens (which should be optional)?

This PR means we now have TWO libraries adding CORS headers.
Code in this PR does not handle CORS requests it only uses CORS stuff to decide if some requests are valid. If this PR is accepted - existing CORS may be switched to github.com/rs/cors  to avoid using two CORS libs (should not hurt as temporary solution).

If account A can make change X using "web API" why shouldn't be allowed to make same change X using "API"? Why to "mess" with separate API areas and separate sets of auths for both? Any real risks?

I didn't complete agree with the decision to do this - but it was done. ReverseProxy currently stands as the odd one out.
The idea is that you have to authenticate explicitly for the API separately from the UI.

If separation is required - why not to introduce user permissions to access given API area (i.e. "[x] access to web", "[x] access to API) as alternative to application tokens (which should be optional)?

Or use tokens that we already have.

This PR means we now have TWO libraries adding CORS headers.

Code in this PR does not handle CORS requests/reponses it only uses CORS stuff to decide if requests are valid during CSRF validation. If this PR is accepted - existing CORS may be switched to github.com/rs/cors to avoid using two CORS libs (should not hurt as temporary solution).

That's not the way to do things, it won't get done and we'll end up with 2 slightly different CORS libraries. The go-chi/cors library should be replaced in this PR. I won't approve this PR without that although I'm not going to block it.


Please invite me to the GitHub Community Organization

Please invite me to the GitHub Community Organisation.

Name: Aayush Jain

Discord Username(if exists): ayushjai1111

Additional Context: Got to know about Eddie on LinkedIn then I landed on his Youtube channel and then here. I like the spirit of open source and would love to contribute to projects some day

:nerd_face:

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Invitation sent for the GitHub Organisation. Welcome to the community 🎉
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/EddieJaoudeCommunity/people
Tips for practising:
Customise your GitHub profile, here is a live stream on it https://www.youtube.com/watch?v=cT6GXCuS0Zo
Practice repo, instructions on how to add your name to the README in the README https://github.com/EddieJaoudeCommunity/hacktoberfest-practice
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps


Self-training with weak labels

Hi,
Thanks for publishing the paper and the code.
I am using the code for weakly-supervised learning. I am using this code on a private dataset for token classification.
I have these following questions.
1, I see that the mitr dataset is doing token classification. But in the file I am unable to find the processor related to mitr in data_loader_new.py
2, In the paper it is mentioned that during the initialization with weak-labels, early stopping is adopted to avoid overfitting. But in the trainer.py, I am unable to find the part of the code which is responsible for early stopping.
3, I think in the selftrain(), the loss is only the sum of prediction/classification loss and the contrastive loss. But in the paper it is mentioned that the confidence regularization loss is also a part of the loss function.
4, I think the trainer.save_features() function is not defined in the trainer.py
5, And also from the old issue, I too have the same questions from this issue
Kindly help me out or give some suggestions regarding my queries.
Thanks,
Krishnan

Hi Krishnan,
Thanks for reaching out. Here is some of my explanations:

This code repo does not contain the script for token classification. If you need this code, please let me know about your email address so I can send you a copy.
You can set the steps here https://github.com/yueyu1030/COSINE/blob/174d270a66adff7e8eebdd7bba2eb3c4884ce48a/trainer.py#L243 for early stopping.
Contrastive loss is defined here https://github.com/yueyu1030/COSINE/blob/e3bb337a20cf830b9f0e07e3a06eeae48d8983cb/trainer.py#L78.
You can simply ignore this function right now, this function is not used in training.
Unfortunately I fail to understand what this issue means. Seems that this question is for semi-supervised learning, not weakly supervised learning.

Besides, a kind reminder is that our code has been integrated into the Wrench benchmark (https://github.com/JieyuZ2/wrench). The implementation can be found at https://github.com/JieyuZ2/wrench/blob/main/wrench/endmodel/cosine.py#L66. The codebase is cleaner and can be easily used. You may also consider using that codebase. Hope these explanations help.
Best,
Yue

Hi Yue,
Thanks a lot for your reply. I will share you my email in Linkedin.
I think my 3rd question was not clear. Can you please point out the line of code for "confidence regularization loss (R2 in the paper)"?

Hi Krishnan,
The reweighting term is in https://github.com/yueyu1030/COSINE/blob/174d270a66adff7e8eebdd7bba2eb3c4884ce48a/trainer.py#L67;
The confidence term is in https://github.com/yueyu1030/COSINE/blob/174d270a66adff7e8eebdd7bba2eb3c4884ce48a/trainer.py#L75.
Let me know if you have other questions.
Thanks,
Yue


Multiple custom layouts list is not scrollable

Steps to reproduce
when multiple custom layouts are saved, the apply button gets out of the screen, no scrolling is allowed, and the window height is longer than the screen size
Expected behavior
the scroll bar is shown
Actual behavior
The layouts list goes beyond the screen height and they are no longer accessible
Screenshots

i feel like this is a single attribute of XAML change

For small screens, the editor was unusable even with two rows (the edit and apply buttons ended up out of the screen because the editor didn't scale and had a fixed size), so we made a fix that at the time was approved only for the small screens case, but it looks good on large screen as well, instead of 3 columns, it uses 5 columns, beside also scaling a little bit down.
Commit for the small screen fix https://github.com/microsoft/PowerToys/commit/425a4185995330a17bb4b045f67058cc3220c7ce

i feel like this is a single attribute of XAML change

When I made the fix for small screens, I gave it a try and added the scroll bar as well but it broke some other logic, I didn't spend too much time on it, so it may be a simple fix, but it requires more than just one attribute change.

while doubtful, feel we should still try to get in the release here


feat: [IDP-3674]: Added the docs on JFrog Artifactory plugins

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66d9d2efaa07a9309d6f1154--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66d9d9679f3d2836b7256ef6--harness-developer.netlify.app


How to upgrade template

Hi
I've started the template by doing (as suggested)
npx react-native init MyApp --template https://github.com/obytes/react-native-template-obytes
With the latest release published recently
1.5.1 Release
How could I update my project with the latest changes? Of course git pull, git fetch won't work because I didn't clone the repository
Thanks

👋  @kabeza
unfortunately,  we can't support upgrading to a new template version automatically as even upgrading to a new RN native require manual tasks, i would suggest checking the release section to see all changed files.
https://github.com/obytes/react-native-template-obytes/compare/v1.5.0...v1.5.1


[tests] fix test_publish_meshcop_service.py

This PR fixes https://github.com/openthread/openthread/issues/6923 by extending the timeouts.
I've run the test case with this PR for 60 times and all of them have been passed: https://github.com/openthread/openthread/pull/6955.

This PR fixes https://github.com/openthread/openthread/issues/6923 by extending the timeouts.
I've run the test case with this PR for 60 times and all of them have been passed: https://github.com/openthread/openthread/pull/6955.

What's the regression result without this fix?


Possible error in book on page 320

If I understand correctly...
On page 320 it is stated that the turtlebot3_slam turtlebot3_slam.launch will not launch rviz, and that Rviz needs to be run in the next step. But looking at the launch file, it does run Rviz. Am I missing something?

I am sorry to confuse you. At the time of writing, I had to run RViz separately. But many people said that this was uncomfortable. So we modified the code to integrate. I will modify the book later. Thank you.

Frequent updates to document work are common. I'm trying to get rid of these things as possible, but it's not easy. We are considering a few minor modifications and will collect them and redistribute them in the third quarter. Thank you for letting me know. :)

I'm going to close this until update the issue with more information.


Back button pointing to opposite side on RTL direction

Ionic version:
[ ] 1.x
[x] 2.x
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] support request
Current behavior:

the arrow points to the left !

Expected behavior:

the arrow points to the right

Steps to reproduce:

make the app direction RTL by:
1- <ion-nav #content [root]="rootPage" dir="rtl"></ion-nav>
2- see the back button on navbar
and the same for iOS

same issue with alert controller, it's still LEFT TO RIGHT..
thanks

Thanks for using Ionic, we will look into this.

Hey, thanks for creating it ^_^
On Wed, Mar 8, 2017 at 8:29 PM Justin Willis<EMAIL_ADDRESS>wrote:

Thanks for using Ionic, we will look into this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/driftyco/ionic/issues/10685#issuecomment-285108656,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADdN-cMYzbFOT5DQo9dqT3H7Yr6r91eLks5rjuV3gaJpZM4MWMgG
.

imo, on RTL, all of the icons (or at least all of the arrow icons) should be mirrored..
So, counter intuitively, arrow-forward would be arrow-back, arrow-dropleft to be arrow-dripright etc..

Hello, thanks for using Ionic! We really appreciate this feedback on RTL support. This is not currently high priority for us at the moment, but we are tracking it in #5035. Because of this I am going to close this issue as a duplicate of that issue and ask that you put your feedback on that issue. Please know that by me closing this issue I am not saying that your feedback is not important, or that RTL support is not important, but I am simply closing this issue as we like to keep our issues as organized as possible so things do not get lost in the weeds (which is better said than done haha).

Hello, after discussion I am actually going to reopen this issue and link it to the issue i linked to above. Sorry for the hassle.

PR https://github.com/driftyco/ionic/pull/11121 solves this issue, @jgw96 Can you review?

@AsimNet Fixed in https://github.com/driftyco/ionic/pull/11634
@brandyscarney Can be closed

please open this issue again, because it returns with V3.5.3
back button isn't flipped to other way with RTL!

Verified.

@AsimNet Did you set your $app-direction to be multi is scss?
The current default is ltr, because of a breaking change when setting it to multi.
Using multi, I can see the back button correctly.

I didn't touch $app-direction attribute..
I used platform.setDir('rtl',true);
On Tue, Jul 18, 2017 at 10:51 AM Amit Moryossef<EMAIL_ADDRESS>wrote:

@AsimNet https://github.com/asimnet Did you set your $app-direction to
be multi is scss?
The current default is ltr, because of a breaking change when setting it
to multi.
Using multi, I can see the back button correctly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ionic-team/ionic/issues/10685#issuecomment-315986241,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADdN-UQSG4NRH7Hy8qaOurlxEXJWsKMhks5sPGPugaJpZM4MWMgG
.

In 3.4.0 that is all you had to do. However, because it broke some apps, the default is not ltr.
in your variables.scss file set $app-direction: multi or $app-direction: rtl for it to work.

@AmitMY thanks 🌹


[BUG] Maestral seems to stop after a few minutes on WSL 1

Describe the bug
Under WSL 1, after the daemon is started and runs a few minutes, it suddenly stops and needs to be manually restarted.
To Reproduce
Install maestral under WSL 1 and start it.
Expected behaviour
The daemon should keep on running in the background.
System (please complete the following information):

Maestral version: 0.6.4
OS: Ubuntu 18.04.4 LTS
Desktop environment: None
Qt version: Don't know where to look

Additional context
It was said before, but I'm running the program under the WSL 1 environment.

Interesting, I don't have any experience with WSL (I assume it stands for Windows Subsystem for Linux). Could you check the following:

Are you starting the daemon with systemd or directly with maestral start?
Are there any error messages in the log? You can show it with maestral log show.
How about running the Maestral in the foreground with maestral start --foreground --verbose? Does it crash as well?

Sorry, but it is on my work computer, so I'm gonna be able to check it next Tuesday earliest.

@SamSchott

I was using maestral start (this may sound like a beginner question, but how would I run maestral via systemd?)
I filtered the "INFO: etc." lines from the log and here's what it showed me:

2020-04-30 08:43:21 maestral.sync WARNING: Could not sync rev:40b330044e220
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 110, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 280, in download
    md, http_resp = self.dbx.files_download(dbx_path, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/dropbox/base.py", line 1287, in files_download
    None,
  File "/usr/local/lib/python3.6/dist-packages/dropbox/dropbox.py", line 296, in request
    user_message_locale)
dropbox.exceptions.ApiError: ApiError('8b98440e3669ad29b9d78c3bec0ce89f', DownloadError('path', LookupError('restricted_content', None)))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 343, in wrapper
    res = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 2372, in create_local_entry
    md = self.client.download(f'rev:{entry.rev}', tmp_fname)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 112, in wrapper
    raise dropbox_to_maestral_error(exc, dbx_path, local_path) from exc
maestral.errors.RestrictedContentError: Could not download file. The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.
2020-04-30 08:57:36 maestral.sync WARNING: Could not sync rev:40b330044e220
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 110, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 280, in download
    md, http_resp = self.dbx.files_download(dbx_path, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/dropbox/base.py", line 1287, in files_download
    None,
  File "/usr/local/lib/python3.6/dist-packages/dropbox/dropbox.py", line 296, in request
    user_message_locale)
dropbox.exceptions.ApiError: ApiError('2360a7303c915eb90c8d2b8099d55dac', DownloadError('path', LookupError('restricted_content', None)))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 343, in wrapper
    res = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 2372, in create_local_entry
    md = self.client.download(f'rev:{entry.rev}', tmp_fname)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 112, in wrapper
    raise dropbox_to_maestral_error(exc, dbx_path, local_path) from exc
maestral.errors.RestrictedContentError: Could not download file. The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.
2020-04-30 09:31:30 maestral.sync WARNING: Could not sync rev:40b330044e220
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 110, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 280, in download
    md, http_resp = self.dbx.files_download(dbx_path, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/dropbox/base.py", line 1287, in files_download
    None,
  File "/usr/local/lib/python3.6/dist-packages/dropbox/dropbox.py", line 296, in request
    user_message_locale)
dropbox.exceptions.ApiError: ApiError('72c65f487a9b5f1bcd544d810111a725', DownloadError('path', LookupError('restricted_content', None)))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 343, in wrapper
    res = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 2372, in create_local_entry
    md = self.client.download(f'rev:{entry.rev}', tmp_fname)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 112, in wrapper
    raise dropbox_to_maestral_error(exc, dbx_path, local_path) from exc
maestral.errors.RestrictedContentError: Could not download file. The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.
2020-04-30 09:33:39 maestral.sync WARNING: Could not sync rev:40b330044e220
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 110, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 280, in download
    md, http_resp = self.dbx.files_download(dbx_path, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/dropbox/base.py", line 1287, in files_download
    None,
  File "/usr/local/lib/python3.6/dist-packages/dropbox/dropbox.py", line 296, in request
    user_message_locale)
dropbox.exceptions.ApiError: ApiError('0a1c82b76ac5e82947e0c871bff2413d', DownloadError('path', LookupError('restricted_content', None)))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 343, in wrapper
    res = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 2372, in create_local_entry
    md = self.client.download(f'rev:{entry.rev}', tmp_fname)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 112, in wrapper
    raise dropbox_to_maestral_error(exc, dbx_path, local_path) from exc
maestral.errors.RestrictedContentError: Could not download file. The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.
2020-04-30 09:39:03 maestral.sync WARNING: Could not sync rev:40b330044e220
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 110, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 280, in download
    md, http_resp = self.dbx.files_download(dbx_path, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/dropbox/base.py", line 1287, in files_download
    None,
  File "/usr/local/lib/python3.6/dist-packages/dropbox/dropbox.py", line 296, in request
    user_message_locale)
dropbox.exceptions.ApiError: ApiError('e7341825a42e7db1d187a3eb384fb4ad', DownloadError('path', LookupError('restricted_content', None)))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 343, in wrapper
    res = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 2372, in create_local_entry
    md = self.client.download(f'rev:{entry.rev}', tmp_fname)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 112, in wrapper
    raise dropbox_to_maestral_error(exc, dbx_path, local_path) from exc
maestral.errors.RestrictedContentError: Could not download file. The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.
2020-04-30 09:40:58 maestral.sync WARNING: Could not sync rev:40b330044e220
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 110, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 280, in download
    md, http_resp = self.dbx.files_download(dbx_path, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/dropbox/base.py", line 1287, in files_download
    None,
  File "/usr/local/lib/python3.6/dist-packages/dropbox/dropbox.py", line 296, in request
    user_message_locale)
dropbox.exceptions.ApiError: ApiError('94a50ec4ee4558e67920d23e6cd368a0', DownloadError('path', LookupError('restricted_content', None)))

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 343, in wrapper
    res = func(self, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/maestral/sync.py", line 2372, in create_local_entry
    md = self.client.download(f'rev:{entry.rev}', tmp_fname)
  File "/usr/local/lib/python3.6/dist-packages/maestral/client.py", line 112, in wrapper
    raise dropbox_to_maestral_error(exc, dbx_path, local_path) from exc
maestral.errors.RestrictedContentError: Could not download file. The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.

When I started it with these parameters, it didn't crash.

That is a fair question. When you run maestral autostart, it will automatically create a systemd service for you which is run on login (in Linux, not Windows...). Manually creating a service is also possible and documented in wiki but its really only for people you are quite comfortable with Linux and want to tweak things themselves.

The warnings in the log are absolutely fine. Those are from DMCA protected files. Dropbox does not allow downloading them through their public API, only the official client can sync them. When you run maestral status, you will see a list of the corresponding sync issues.

That is a good sign.

I can see two possibly issues on WSL:

There may be an issue with spawning a separate process in WSL which prevents maestral start from working. That would explain why maestral start --foreground works. But this should result in a failed startup instead of crashing after a few minutes.

It may be possible that sending desktop notifications fails on WSL and causes a crash. Those notifications are triggered by remote file changes only and may therefore occur at an "arbitrary" time after starting the daemon. In this case, it may be coincidental that maestral start --foreground seemed to work. To clarify, how long does it take until Maestral crashes? And can you trigger a crash by adding a file to Dropbox remotely?

I didn't really look at how many minutes exactly it ran until crash, but I think it was a few minutes at best. I'll be back at work the day after tomorrow and will then try that theory out by starting the client using just the maestral start command and then use the client on my cellphone to upload some random crap on my Dropbox to see if it will really crash the client.

I now did exactly that (starting maestral via maestral start and uploading some random crap via the client on my cellphone), but it didn't crash maestral.

I updated the client a few minutes ago, maybe it'll help.

It didn't help, the client still crashed after a few minutes 😭

Ok, thanks for checking. I'll try to reproduce the crash myself on WSL then, but it won't be immediately...

I have tried this on WSL myself but cannot reproduce the issue. The sync daemon has been running for more than a day without crashing and both uploads and downloads are working. And you are sure that you cannot reproduce the crash with the --foreground option?

Trying to use with WSL2, where the dropbox dir is linked to directory outside WSL itself: /mnt/c/Users/[user]/Dropbox.
After a few minutes of syncing on existing files, it stops with the following error message:
(I've tried launching it with maestral start --foreground as well, with same result)
2023-03-25 16:15:38 manager ERROR: Unexpected error
Traceback (most recent call last):
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/errorhandling.py", line 90, in convert_api_errors
    yield
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 1059, in get_local_hash
    hash_str, mtime = content_hash(local_path)
                      ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/utils/path.py", line 455, in content_hash
    raise exc
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/utils/path.py", line 443, in content_hash
    chunk = f.read(chunk_size)
            ^^^^^^^^^^^^^^^^^^
OSError: [Errno 5] Input/output error

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 3352, in _create_local_entry
    res = self._on_remote_file(event)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 3418, in _on_remote_file
    conflict_check = self._check_download_conflict(event)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 3149, in _check_download_conflict
    event.content_hash == self.get_local_hash(event.local_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 1058, in get_local_hash
    with convert_api_errors():
  File "/opt/miniconda3/envs/py11/lib/python3.11/contextlib.py", line 155, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/errorhandling.py", line 107, in convert_api_errors
    raise os_to_maestral_error(exc, dbx_path, local_path)
maestral.exceptions.FileReadError: Could not sync file or folder. Could not access file. Errno 5: Input/output error.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/manager.py", line 802, in _handle_sync_thread_errors
    yield
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/manager.py", line 781, in startup_worker
    self.sync.download_sync_cycle()
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 2876, in download_sync_cycle
    downloaded = self.apply_remote_changes(changes)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 3025, in apply_remote_changes
    results.extend(res)
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 3751, in do_parallel
    yield f.result()
          ^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/opt/miniconda3/envs/py11/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 3364, in _create_local_entry
    self._handle_sync_error(e, direction=SyncDirection.Down)
  File "/opt/miniconda3/envs/py11/lib/python3.11/site-packages/maestral/sync.py", line 1512, in _handle_sync_error
    raise ValueError("Sync error has an unknown path")
ValueError: Sync error has an unknown path
2023-03-25 16:15:38 manager INFO: Shutting down threads...
2023-03-25 16:15:38 sync INFO: Sync aborted
2023-03-25 16:15:38 manager INFO: Paused


Grafana version 8 and ace-svg plugin does not play well

Super thanks for this plugin which makes life extremely easy. We recently upgraded to Grafana 8 but it seems like there is some problems.
I didn't know how to start troubleshooting since the plugin never kicks in so I'm just giving a heads up about it.

I just updated to Grafana 8.
The Plug-in is not loading anymore.
Instead it says Panel plugin not found: aceiot-svg-panel in the Panel.
Is this plugin compatible to Grafana 8 ?
If not? What needs to be done and is there anything I can help with?

The Plugin is unsigned:
https://grafana.com/docs/grafana/latest/plugins/plugin-signatures/
Perhaps this ace-svg-react can be submitted for signing:
https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/
Meanwhile it can be allowed to load on startup by setting it in allow_loading_unsigned_plugin in grafana.ini:
https://grafana.com/docs/grafana/latest/administration/configuration/#allow_loading_unsigned_plugins

The latest version was meant to be signed, we'll take a look and get this
resolved.
Thanks for the heads up.
On Mon, Jul 26, 2021 at 4:09 AM tobehn @.***> wrote:

The Plugin is unsigned:
https://grafana.com/docs/grafana/latest/plugins/plugin-signatures/
Perhaps this ace-svg-react can be submitted for signing:
https://grafana.com/docs/grafana/latest/developers/plugins/sign-a-plugin/
Meanwhile it can be allowed to load on startup by setting it in
allow_loading_unsigned_plugin in grafana.ini:
https://grafana.com/docs/grafana/latest/administration/configuration/#allow_loading_unsigned_plugins
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ACE-IoT-Solutions/ace-svg-react/issues/21#issuecomment-886476124,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHOUBYETHMLR4JZZU3UAHLTZUJ2LANCNFSM5AIMVKMA
.

I am very sorry. I missed to update the plugin itself. Now i have the latest version and it states signed under plugins.
In the end i realized i had that problem due to an old version of the plugin (0.0.6) which might have not been install via grafana-cli. So i had both versions (0.0.6 and 0.0.10) in my plugins folder. Even though it stated signed in grafana plugins it seemed to load the older version of the plugin.
After manually removing the old version and reinstalling the newest via CLI the loading problem was gone. Also if removed removed it from allow_loading_unsigned_plugins.

I can also confirm that we have a working instance of the plugin. I don't know the exact reason but our DevOps reinstantiated the plugins and things went back to normal. Sorry for the noise.

@tobehn was your issue a problem of "Modified signature"?
I encountered a similar issue today and was wondering if the problems are related. Mine's listed as #22

was your issue a problem of a "Modified signature"?

no, the plugin was marked "unsigned"
in my case it happend due to a second instance of the plugin, that somehow made it into my plugin folder. When i installed the plugin via grafana-cli i got the latest published version. By having the two versions in the plugin folder grafana seemed to load the older version. At least the unsigned label was gone after i deleted the old version.


Settings V2 UI Task: PowerLauncher Settings

Settings V2 UI Task: PowerLauncher Settings:

Use the template created in feature : Settings V2 UI Task: PowerToy Settings Template to add PowerLauncher settings.

Considered done when the following conditions are met:
Add the following from Wox settings, and remove everything else:
[Checkbox] Hide launcher on startup
[Checkbox] Hide launcher when focus is lost
[Checkbox] Remember last launch location
[dropdown] last query style
[dropdown] language
[dropdown/textbox] maximum result shown
[Automatically detecting keystroke box] Launcher hotkey
For additional launcher settings, we should add the enable/disable button for launcher (similar to other PowerToys) and other settings as specified in the spec.
DO NOT SHOW LIST OF PLUGINS
UI Settings Controls Required:

what is the status of this @laviusmotileng-ms

The above spec says "For additional launcher settings, we should add the enable/disable button for launcher (similar to other PowerToys) and other settings as specified in the spec." There is no Power Launcher settings in 0.28. I want to disable the launcher or change the hotkey as I can't use virtual desktops (WinKey+tab) without killing it from the task manager.


VS Code Insiders - Settings sync does not load extensions and has deleted all installed extensions

Version: 1.48.0-insider (user setup)
Commit: c9a2f78283b6e5ef708fb8869e2a5adaa476e42f
Date: 2020-07-31T05:52:44.330Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041
Steps to Reproduce:

Sync settings with Code Insiders
Try to sync settings from another machine.
I tried to restore a extensions from 4 days earlier and no luck. Lost all installed extensions in all my machines

Does this issue occur when all extensions are disabled?: I'm trying to sync extensions
Tracer Log: [2020-07-31 22:32:40.390] [userDataSync] [info] Auto Sync is enabled.
[2020-07-31 22:32:40.390] [userDataSync] [info] Auto Sync: Suspended until auth token is available.
[2020-07-31 22:32:40.401] [userDataSync] [info] Auto Sync: Started
[2020-07-31 22:32:40.401] [userDataSync] [info] Auto Sync: Triggered by Interval
[2020-07-31 22:32:40.856] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:32:40.880] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:32:40.895] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:32:41.393] [userDataSync] [info] GlobalState: Updated remote ui state
[2020-07-31 22:32:41.397] [userDataSync] [info] GlobalState: Updated last synchronized ui state
[2020-07-31 22:32:41.441] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:32:41.442] [userDataSync] [info] Sync done. Took 609ms
[2020-07-31 22:32:42.522] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:32:42.590] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:32:42.594] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:32:42.597] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:32:42.601] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:32:42.638] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:32:42.639] [userDataSync] [info] Sync done. Took 54ms
[2020-07-31 22:32:52.337] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/machines/latest","status":304,"operation-id":"473c32a5ba3f4ca8a9a3826407c5893d"}
[2020-07-31 22:32:54.415] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:32:54.474] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:32:54.478] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:32:54.482] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:32:54.901] [userDataSync] [info] GlobalState: Updated remote ui state
[2020-07-31 22:32:54.905] [userDataSync] [info] GlobalState: Updated last synchronized ui state
[2020-07-31 22:32:54.961] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:32:54.961] [userDataSync] [info] Sync done. Took 493ms
[2020-07-31 22:33:01.709] [userDataSync] [info] Auto Sync: Suspended until auth token is available.
[2020-07-31 22:33:01.710] [userDataSync] [info] Auto Sync: Stopped
[2020-07-31 22:33:08.157] [userDataSync] [info] Auto Sync: Started
[2020-07-31 22:33:08.157] [userDataSync] [info] Auto Sync: Triggered by Interval
[2020-07-31 22:33:08.368] [userDataSync] [error] SessionExpired (UserDataSyncError) syncResource:unknown operationId:unknown: Cannot sync because current session is expired
at E.doSync (file:///C:/Users/anaba/AppData/Local/Programs/Microsoft VS Code Insiders/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:522:718)
[2020-07-31 22:33:09.146] [userDataSync] [info] Auto Sync: Disabled.
[2020-07-31 22:33:09.146] [userDataSync] [info] Auto Sync: Stopped
[2020-07-31 22:33:09.151] [userDataSync] [info] Did reset the local sync state.
[2020-07-31 22:33:09.151] [userDataSync] [info] Auto Sync: Turned off sync because current session is expired
[2020-07-31 22:33:20.137] [userDataSync] [info] Did reset the local sync state.
[2020-07-31 22:33:21.711] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:33:21.716] [userDataSync] [info] Settings: Updated last synchronized settings
[2020-07-31 22:33:21.716] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:33:21.720] [userDataSync] [info] Keybindings: Updated last synchronized keybindings
[2020-07-31 22:33:21.721] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:33:21.724] [userDataSync] [info] Snippets: Updated last synchronized snippets
[2020-07-31 22:33:21.725] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:33:21.728] [userDataSync] [info] GlobalState: Updated last synchronized ui state
[2020-07-31 22:33:21.729] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:33:21.732] [userDataSync] [info] Extensions: Updated last synchronized extensions
[2020-07-31 22:33:21.735] [userDataSync] [info] Auto Sync: Started
[2020-07-31 22:33:21.735] [userDataSync] [info] Auto Sync: Triggered by Interval
[2020-07-31 22:33:21.883] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:33:22.559] [userDataSync] [info] Keybindings: Updated remote keybindings
[2020-07-31 22:33:22.564] [userDataSync] [info] Keybindings: Updated last synchronized keybindings
[2020-07-31 22:33:22.567] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:33:22.571] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:33:22.606] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:33:22.606] [userDataSync] [info] Sync done. Took 726ms
[2020-07-31 22:33:31.926] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/machines/latest","status":304,"operation-id":"46d2067a7eaa4048832d9ff2bd499d60"}
[2020-07-31 22:33:35.855] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/machines/latest","status":304,"operation-id":"9408d637c9444ff2a3eb1e0dad4a6204"}
[2020-07-31 22:34:03.900] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/extensions/latest","status":304,"operation-id":"7b30706ac21c4bf1b38ba868717b1b6f"}
[2020-07-31 22:34:03.968] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:34:03.968] [userDataSync] [info] Extensions: Finished resetting extensions.
[2020-07-31 22:34:05.669] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:34:05.791] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:34:05.795] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:34:05.797] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:34:05.802] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:34:05.840] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:34:05.841] [userDataSync] [info] Sync done. Took 53ms
[2020-07-31 22:34:22.068] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:34:22.134] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:34:22.138] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:34:22.140] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:34:22.146] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:34:22.183] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:34:22.184] [userDataSync] [info] Sync done. Took 56ms
[2020-07-31 22:35:25.076] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:35:25.897] [userDataSync] [info] Settings: Updated remote settings
[2020-07-31 22:35:25.901] [userDataSync] [info] Settings: Updated last synchronized settings
[2020-07-31 22:35:25.905] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:35:25.907] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:35:25.912] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:35:25.948] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:35:25.949] [userDataSync] [info] Sync done. Took 803ms
[2020-07-31 22:35:29.169] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:35:30.079] [userDataSync] [info] Settings: Updated remote settings
[2020-07-31 22:35:30.084] [userDataSync] [info] Settings: Updated last synchronized settings
[2020-07-31 22:35:30.087] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:35:30.089] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:35:30.093] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:35:30.125] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:35:30.126] [userDataSync] [info] Sync done. Took 892ms
[2020-07-31 22:39:08.158] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:39:08.396] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:39:08.399] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:39:08.402] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:39:08.407] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:39:08.440] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:39:08.441] [userDataSync] [info] Sync done. Took 48ms
[2020-07-31 22:39:25.758] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/extensions/latest","status":304,"operation-id":"a5f851ce1552481ca99d3931e9faba2c"}
[2020-07-31 22:39:25.825] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:39:25.825] [userDataSync] [info] Extensions: Finished resetting extensions.
[2020-07-31 22:39:27.530] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:39:27.589] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:39:27.593] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:39:27.595] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:39:27.600] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:39:27.634] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:39:27.634] [userDataSync] [info] Sync done. Took 51ms
[2020-07-31 22:39:34.560] [userDataSync] [trace] activity sources globalState
[2020-07-31 22:39:34.560] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:39:34.561] [userDataSync] [trace] Sending request to server {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","type":"GET","headers":{"X-Execution-Id":"aa14cd5d-4985-4c30-8404-3d1c461286a5","Content-Type":"application/json","X-Client-Name":"code-insiders","X-Client-Version":"1.48.0-insider","X-Machine-Id":"da98cd0c-b77b-43da-abd4-5d040827252d","X-Client-Commit":"c9a2f78283b6e5ef708fb8869e2a5adaa476e42f","X-Account-Type":"github","X-Machine-Session-Id":"347285d3-268f-442f-a06d-c1074d87fdda","X-User-Session-Id":"2fb5e658-9b79-4cf4-862b-da0774879af7"}}
[2020-07-31 22:39:34.611] [userDataSync] [trace] Request succeeded {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","status":200,"execution-id":"aa14cd5d-4985-4c30-8404-3d1c461286a5","operation-id":"7db2d51c410b4169a6e7d324ad1805bc"}
[2020-07-31 22:39:34.611] [userDataSync] [trace] Sync started.
[2020-07-31 22:39:34.611] [userDataSync] [trace] Settings: Started synchronizing settings...
[2020-07-31 22:39:34.614] [userDataSync] [trace] Settings: Merging remote settings with local settings...
[2020-07-31 22:39:34.615] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:39:34.616] [userDataSync] [trace] Settings: Finished synchronizing settings.
[2020-07-31 22:39:34.616] [userDataSync] [trace] Keybindings: Started synchronizing keybindings...
[2020-07-31 22:39:34.619] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:39:34.620] [userDataSync] [trace] Keybindings: Finished synchronizing keybindings.
[2020-07-31 22:39:34.620] [userDataSync] [trace] Snippets: Started synchronizing snippets...
[2020-07-31 22:39:34.621] [userDataSync] [trace] Snippets: Remote snippets does not exist. Synchronizing snippets for the first time.
[2020-07-31 22:39:34.621] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:39:34.622] [userDataSync] [trace] Snippets: Finished synchronizing snippets.
[2020-07-31 22:39:34.622] [userDataSync] [trace] GlobalState: Started synchronizing globalstate...
[2020-07-31 22:39:34.624] [userDataSync] [trace] GlobalState: Merging remote ui state with local ui state...
[2020-07-31 22:39:34.624] [userDataSync] [trace] GlobalState: Skipped removing hasNotifiedOfSettingsAutosave in remote storage. It is not registered to sync.
[2020-07-31 22:39:34.624] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.nx-console.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:34.624] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.gitlens.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:34.624] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.liveshare.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:34.624] [userDataSync] [trace] GlobalState: Skipped removing Comments.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:34.624] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.azure.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:34.629] [userDataSync] [trace] GlobalState: Updating remote ui state...
[2020-07-31 22:39:34.629] [userDataSync] [trace] Sending request to server {"url":"https://vscode-sync.trafficmanager.net/v1/resource/globalState","type":"POST","headers":{"X-Execution-Id":"aa14cd5d-4985-4c30-8404-3d1c461286a5","Content-Type":"text/plain","If-Match":"7770f7ca-766f-448d-a5f3-17b5d48c9afd","X-Client-Name":"code-insiders","X-Client-Version":"1.48.0-insider","X-Machine-Id":"da98cd0c-b77b-43da-abd4-5d040827252d","X-Client-Commit":"c9a2f78283b6e5ef708fb8869e2a5adaa476e42f","X-Account-Type":"github","X-Machine-Session-Id":"347285d3-268f-442f-a06d-c1074d87fdda","X-User-Session-Id":"2fb5e658-9b79-4cf4-862b-da0774879af7"}}
[2020-07-31 22:39:35.482] [userDataSync] [trace] Request succeeded {"url":"https://vscode-sync.trafficmanager.net/v1/resource/globalState","status":200,"execution-id":"aa14cd5d-4985-4c30-8404-3d1c461286a5","operation-id":"3d2a124d5af44a22b2de3baf99f8c8a1"}
[2020-07-31 22:39:35.482] [userDataSync] [info] GlobalState: Updated remote ui state
[2020-07-31 22:39:35.482] [userDataSync] [trace] GlobalState: Updating last synchronized ui state...
[2020-07-31 22:39:35.486] [userDataSync] [info] GlobalState: Updated last synchronized ui state
[2020-07-31 22:39:35.487] [userDataSync] [trace] GlobalState: Finished synchronizing globalstate.
[2020-07-31 22:39:35.487] [userDataSync] [trace] Extensions: Started synchronizing extensions...
[2020-07-31 22:39:35.513] [userDataSync] [trace] Extensions: Merging remote extensions with local extensions...
[2020-07-31 22:39:35.518] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:39:35.518] [userDataSync] [trace] Extensions: Finished synchronizing extensions.
[2020-07-31 22:39:35.518] [userDataSync] [info] Sync done. Took 908ms
[2020-07-31 22:39:46.568] [userDataSync] [trace] Sending request to server {"url":"https://vscode-sync.trafficmanager.net/v1/resource/extensions/20976899-87ec-49dd-85e5-058eaec64325","type":"GET","headers":{"Cache-Control":"no-cache","X-Client-Name":"code-insiders","X-Client-Version":"1.48.0-insider","X-Machine-Id":"da98cd0c-b77b-43da-abd4-5d040827252d","X-Client-Commit":"c9a2f78283b6e5ef708fb8869e2a5adaa476e42f","X-Account-Type":"github","X-Machine-Session-Id":"347285d3-268f-442f-a06d-c1074d87fdda","X-User-Session-Id":"2fb5e658-9b79-4cf4-862b-da0774879af7"}}
[2020-07-31 22:39:46.786] [userDataSync] [trace] Request succeeded {"url":"https://vscode-sync.trafficmanager.net/v1/resource/extensions/20976899-87ec-49dd-85e5-058eaec64325","status":200,"operation-id":"626f321112c74fca85c7ba7f56cadaa0"}
[2020-07-31 22:39:46.786] [userDataSync] [trace] Extensions: Started resetting extensions...
[2020-07-31 22:39:46.788] [userDataSync] [trace] Sending request to server {"url":"https://vscode-sync.trafficmanager.net/v1/resource/extensions/latest","type":"GET","headers":{"Cache-Control":"no-cache","If-None-Match":"72e767e6-8b80-4611-8fcd-ab2419e7513f","X-Client-Name":"code-insiders","X-Client-Version":"1.48.0-insider","X-Machine-Id":"da98cd0c-b77b-43da-abd4-5d040827252d","X-Client-Commit":"c9a2f78283b6e5ef708fb8869e2a5adaa476e42f","X-Account-Type":"github","X-Machine-Session-Id":"347285d3-268f-442f-a06d-c1074d87fdda","X-User-Session-Id":"2fb5e658-9b79-4cf4-862b-da0774879af7"}}
[2020-07-31 22:39:46.840] [userDataSync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/resource/extensions/latest","status":304,"operation-id":"ce855e5d78304b58bd7dac58e8cb25f9"}
[2020-07-31 22:39:46.869] [userDataSync] [trace] Extensions: Merging remote extensions with local extensions...
[2020-07-31 22:39:46.904] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:39:46.904] [userDataSync] [info] Extensions: Finished resetting extensions.
[2020-07-31 22:39:48.574] [userDataSync] [trace] activity sources windowFocus
[2020-07-31 22:39:48.574] [userDataSync] [info] Auto Sync: Triggered by Activity
[2020-07-31 22:39:48.575] [userDataSync] [trace] Sending request to server {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","type":"GET","headers":{"X-Execution-Id":"0767176d-cec5-4ff0-aa73-701825204780","Content-Type":"application/json","X-Client-Name":"code-insiders","X-Client-Version":"1.48.0-insider","X-Machine-Id":"da98cd0c-b77b-43da-abd4-5d040827252d","X-Client-Commit":"c9a2f78283b6e5ef708fb8869e2a5adaa476e42f","X-Account-Type":"github","X-Machine-Session-Id":"347285d3-268f-442f-a06d-c1074d87fdda","X-User-Session-Id":"2fb5e658-9b79-4cf4-862b-da0774879af7"}}
[2020-07-31 22:39:48.631] [userDataSync] [trace] Request succeeded {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","status":200,"execution-id":"0767176d-cec5-4ff0-aa73-701825204780","operation-id":"359d3c7f10ee44aca3d1be04dedde761"}
[2020-07-31 22:39:48.631] [userDataSync] [trace] Sync started.
[2020-07-31 22:39:48.631] [userDataSync] [trace] Settings: Started synchronizing settings...
[2020-07-31 22:39:48.634] [userDataSync] [trace] Settings: Merging remote settings with local settings...
[2020-07-31 22:39:48.635] [userDataSync] [info] Settings: No changes found during synchronizing settings.
[2020-07-31 22:39:48.636] [userDataSync] [trace] Settings: Finished synchronizing settings.
[2020-07-31 22:39:48.637] [userDataSync] [trace] Keybindings: Started synchronizing keybindings...
[2020-07-31 22:39:48.639] [userDataSync] [info] Keybindings: No changes found during synchronizing keybindings.
[2020-07-31 22:39:48.640] [userDataSync] [trace] Keybindings: Finished synchronizing keybindings.
[2020-07-31 22:39:48.640] [userDataSync] [trace] Snippets: Started synchronizing snippets...
[2020-07-31 22:39:48.641] [userDataSync] [trace] Snippets: Remote snippets does not exist. Synchronizing snippets for the first time.
[2020-07-31 22:39:48.641] [userDataSync] [info] Snippets: No changes found during synchronizing snippets.
[2020-07-31 22:39:48.642] [userDataSync] [trace] Snippets: Finished synchronizing snippets.
[2020-07-31 22:39:48.642] [userDataSync] [trace] GlobalState: Started synchronizing globalstate...
[2020-07-31 22:39:48.644] [userDataSync] [trace] GlobalState: Merging remote ui state with local ui state...
[2020-07-31 22:39:48.644] [userDataSync] [trace] GlobalState: Skipped removing hasNotifiedOfSettingsAutosave in remote storage. It is not registered to sync.
[2020-07-31 22:39:48.644] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.nx-console.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:48.644] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.gitlens.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:48.644] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.liveshare.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:48.644] [userDataSync] [trace] GlobalState: Skipped removing Comments.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:48.644] [userDataSync] [trace] GlobalState: Skipped removing workbench.view.extension.azure.state.hidden in remote storage. It is not registered to sync.
[2020-07-31 22:39:48.646] [userDataSync] [info] GlobalState: No changes found during synchronizing ui state.
[2020-07-31 22:39:48.646] [userDataSync] [trace] GlobalState: Finished synchronizing globalstate.
[2020-07-31 22:39:48.646] [userDataSync] [trace] Extensions: Started synchronizing extensions...
[2020-07-31 22:39:48.673] [userDataSync] [trace] Extensions: Merging remote extensions with local extensions...
[2020-07-31 22:39:48.677] [userDataSync] [info] Extensions: No changes found during synchronizing extensions.
[2020-07-31 22:39:48.678] [userDataSync] [trace] Extensions: Finished synchronizing extensions.
[2020-07-31 22:39:48.678] [userDataSync] [info] Sync done. Took 47ms

I do not see extensions getting cleared / uninstalled from the logs. This could happened in previous VS Code session, can you please open logs folder using command Developer: Open Logs Folder and get previous sync logs?

I tried to restore a extensions from 4 days earlier and no luck. Lost all installed extensions in all my machines

Regarding restoring to old state - Are you getting any error ?


Add support for Flutter Web (Feature Request)

Is it possible to add support for Flutter Web?

Hi @xSuperMu,
Actually, the google_vision packages work fine with web projects even though pub.dev does not list the package as having web platform support.  In fact the example code provided with the google_vision_flutter package was primarily tested in the browser.
The problem is that the 1.x versions of the packages have a dependency on the universal_io package which further has a dependency on dart:io.  The universal_io README states it's "A cross-platform dart:io that works on all platforms, including browsers", but as mentioned having a dependency in your code for dart:io means that pub.dev will not list the package as web platform compliant.
Anyway, after seeing your note here, I reviewed the code in the google_vision packages to determine the real necessity of the universal_io package.  Upon review I found that the use of universal_io was minimal and so I've published v2.0 of the packages, that show in pub.dev has having web platform compatibility.

Many thanks @faithoflifedev


Support parsing

Add support for parsing <script> in Tokenizer and TreeBuilder.

@mkiael Think this is done enough that we can close it?

Yes, I think so. Let's close it.


Enable all CurveCryptoPool functionality for 3 coins

Continuation of #91
To press forward on the cryptosim milestone, we did not fully implement all 3-coin functionality for the crypto pool.  This will finish that off.

Closed with SimCurveCryptoPool support in #200

Closed with SimCurveCryptoPool support in #200

The sim pool doesn't use all cryptopool functionality.


How to ignore errors

I'm having a hard time ignoring the errors. Can somebody tell me the correct configuration to ignore particular error cc @HazAT.

Hmm, this is what I'm using -

const { init, captureException } = require('@sentry/electron');
const isDev = require('electron-is-dev');

const sentryInit = () => {
	if (!isDev) {
		init({
			dsn: 'DSNHERE',
			ignoreErrors: ['Network failed']
		});
	}
};

module.exports = {
	sentryInit,
	captureException
};

Let me see if this works. Also, is there any way to disable the complete console logs here like I don't want to send the console log to the Sentry.

@akashnimare
autoBreadcrumbs: {
    'console': false
}

https://docs.sentry.io/clients/javascript/config/

We have just released v3.0.0 of the SDK which includes a lot of changes and improvements since this issue was opened.
If you can still reproduce this with v3, please open a new issue and I'll look into it.


Shouldn't logged as an error when subject is not PolicySet

Signed-off-by: Yu Cao<EMAIL_ADDRESS>

@ycao56 could you please share the context of this change?

Let me double check. Closing it for now.


feat: allow MatFormFieldControl to be content projected into mat-form-field using ng-content

Bug, feature request, or proposal:
Placeholder on input not floating when projected from ng-content.
What is the expected behavior?
Placeholder must floating, when input has some value.
What is the current behavior?
Placeholder looks like standard html placeholder, not like material placeholder.
What are the steps to reproduce?
StackBlitz: https://stackblitz.com/edit/angular-material2-issue-jekywv
What is the use-case or motivation for changing an existing behavior?
Inability to use mat input with content projection.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
latest
Is there anything else we should know?
In console i have an error: mat-form-field must contain a MatFormFieldControl.

Have the same issue. This feature will extremely help me to reduce boilerplate html. Please, fix it! Thx

News?

I ended up using material-design-lite as a temporary solution, hope this gets resolved soon.

Are there any related issues to this one?  This seems like a very glaring oversight that should've been fixed by now.

ERROR Error: mat-form-field must contain a MatFormFieldControl.   same error, all modules working well, except this.

Hi, any comments on the status of this issue?

Mh.. this complicates things. Not using ng-content but ngTemplateOutlet, but that the same story I guess.

There has a dirty method is setting the matformFieldControl in the child component.
StackBlitz: https://stackblitz.com/edit/angular-material2-issue-rewh7v?file=app/field.component.ts

This is a rather glaring limitation. Hopefully it gets addressed soon.

This worked for me:
https://stackoverflow.com/questions/50574642/angular-material-mat-form-field-custom-component-matsuffix-in-ng-content

I only get this error when I add the basic native select, but other work fine.

Waiting clear solutions...more than a year

"Waiting clear solutions...more than a year" me too!

ping @mmalerba
Is resolving this a consideration atm?

You need to import the MatInputModule into your app.module.ts file

A somewhat crude solution I found to bypass the issue
<mat-form-field #matFormField [appearance]="appearance">
  <input matInput [hidden]="true">
  <ng-container [ngTemplateOutlet]="content"></ng-container>
</mat-form-field>

Seems to work, although you should test carefully

You need to import the MatInputModule into your app.module.ts file

import { MatInputModule} from '@angular/material';
works fine

I got this work by:
<mat-form-field>
  <input matInput hidden>
  <ng-content></ng-content>
</mat-form-field>

I didn't managed to make @qwe852147's solution work with version 9. So I came up with an even dirtier solution:
html:
<mat-form-field>
  <ng-content></ng-content>
  <!-- Placeholder control to fool mat-form-field -->
  <ng-container *ngIf="beforeViewInit">
    <input matInput/>
  </ng-container>
</mat-form-field>

typescript:
export class FormFieldComponent implements AfterViewInit
  beforeViewInit = true;  // Used to remove placeholder control
  @ContentChild(MatFormFieldControl) control: MatFormFieldControl<any>;
  @ViewChild(MatFormField) matFormField: MatFormField;

  constructor(private cdr: ChangeDetectorRef) {}
  ngAfterViewInit() {
    if (this.beforeViewInit) {
      this.matFormField._control = this.control;
      this.beforeViewInit = false;
      this.cdr.detectChanges();
    }
  }
}

I just hope this issue will be addressed at some point to avoid this ugly / suboptimzed solution.

Import  "MatFormFieldControl" in which component you want to use if you use a particular component.
import { Component, OnInit } from '@angular/core';
import {MatFormFieldModule,MatFormFieldControl} from '@angular/material/form-field';
@Component({
selector: 'app-bike',
templateUrl: './bike.component.html',
styleUrls: ['./bike.component.scss']
})
export class BikeComponent implements OnInit {
constructor() {
}
ngOnInit(): void {
}
}

This is a limitation of Angular's content projection. https://github.com/angular/angular/issues/37319 has been filed to hopefully improve some of the short-comings


What to do if the file could not be downloaded. Rift-jitpack-SNAPSHOT.jar

Gives an error, what to do?
The file could not be downloaded. Rift-jitpack-snapshot.vessel
Title: Rift-jitpack-snapshot.vessel
URL: https://www.jitpack.io/com/github/Chocohead/Rift/jitpack-SNAPSHOT/Rift-jitpack-SNAPSHOT.jar
Information about the error: HTTP 404:
Disk file: Rift-jitpack-the.vessel
Path: C:\Users\admin\AppData\Roaming.minecraft\libraries\com\github\Chocohead\Rift\JITPACK-SNAPSHOT\Rift-jitpack-SNAPSHOT.vessel
Location: false

fix can be found in #83


User-defined grouping of the settings variables listing in the admin

Mezzanine allows settings variables to be edited in the Django admin interface.
In the admin form the variables are grouped by the substring of the variable name that precede the first underscore. E.g. MY_VARIABLE_1, MY_VARIABLE_2 will be grouped under a MY section.
It can be quite inconvenient when Django or custom settings variables are already defined and used by a project but needs to be exposed on the admin form. It is obviously possible to rename the variables so the ones which have related meaning have a common prefix. However this is quite a big constraint and may cause a lot of changes in the code.
It would be much more convenient instead to add a parameter to the config variables declared to Mezzanine to specify a group key. e.g.
register_setting(
    name="MY_VARIABLE_1",
    description="my first config variable",
    editable=True,
    default=0,
    group='group1',
)

register_setting_group('group1', 'My First Group')

It's just an illustration, membership to a group and the group label could obviously be declared using different constructs (e.g. dictionary of list: register_setting_groups({'group1': {label: 'My First Group', 'vars': ['MY_VARIABLE_1', 'MY_VARIABLE_2']}}) ).

PR welcome - my only suggestion is to not bother with register_setting_group, the value passed to the group arg can just be the label.


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/iobroker-community-adapters/ioBroker.email

[ ] [E150] No common.connectionType found in io-package.json
[ ] [E152] No common.dataSource found in io-package.json
[ ] [E605] No actual year found in copyright. Please add "Copyright (c) 2014-2021 bluefox<EMAIL_ADDRESS>at the end of README.md
[ ] [E701] No actual year found in LICENSE. Please add "Copyright (c) 2014-2021 bluefox<EMAIL_ADDRESS>at the start of LICENSE

Thanks,
your automatic adapter checker.

Do you need help fixing the bugs?

Thanks, that all bugs have been fixed.


DRILL-7353: Wrong driver class is written to the java.sql.Driver

https://issues.apache.org/jira/browse/DRILL-7353

@agozhiy could you provide more context to this issue. Why this approach was chosen?
Why calcite java.sql.Driver is chose over Drill's one? What if other java.sql.Driver will be present in other lib? Which one will be chosen? From the first glance, current approach looks brittle, taking into account that some other file might be chosen over Drill's one. Is there a way to merge all java.sql.Driver into one or excluding all unnecessary? Since there are no unit tests to ensure the proper java.sql.Driver is chosen, we need to make sure such issue won't pop again.

@arina-ielchiieva, There are two artifacts that provide java.sql.Driver to the jar. Apparently the wrong one overwrites the right. So I excluded the file from Avatica to resolve the conflict.
Initially I tried to combine the files into one so both Avatica and Drill jdbc drivers were contained in java.sql.Driver. But as Avatica driver itself is not present in the final jar, error occurred during initialization and so no drivers were registered automatically at all. It can be fixed if swap driver names in java.sql.Driver, but this is unacceptable.
The best solution would be to include the file from a specific artifact and exclude all the others but I couldn't find a way to do so. But I agree that the current approach is not safe. I'll need to look into it a bit more.

From the shade plugin documentation:

From a logical perspective, includes are processed before excludes, thus it's possible to use an include to collect a set of files from the archive then use excludes to further reduce the set.

So we cannot just exclude everything and then include a specific resource. Instead, we should exclude all interfering ones, that is the approach used in the PR.

+1, please squash the commits.