Skip to content

Conntribute Action is not working #97

Closed

Description

@pradeeban

We have merged the dev branches of concore and concore-editor to the main. We also deployed the latest concore-editor in github. We pulled the latest main of concore and ran fri.

When we click Contribute button, opening a study (concore/demo/sample.graphml), filling the fields appropriately (as listed in the README), it fails.

In the front-end, the error message always is: "Some error occurred, please try again after some time"
The backend FRI logs are as below:
127.0.0.1 - - [02/Aug/2023 15:55:25] "OPTIONS /contribute HTTP/1.1" 200 -
127.0.0.1 - - [02/Aug/2023 15:55:28] "POST /contribute HTTP/1.1" 501 -

This is now deployed in the main CONTROL-CORE project github.io. Can you please have a look?

@parteekcoder

Activity

  1. parteekcoder commented on Aug 2, 2023

    @parteekcoder
    Contributor
  2. pradeeban commented on Aug 3, 2023

    @pradeeban
    MemberAuthor

    @parteekcoder, I have merged your changes. I also made the logs verbose as you suggested and committed the changes too! (so we won't have to add code later to test. These logs can stay). All code in main now.

    Still failing. The error displayed now is,

    An error encountered: 'utf-8' codec can't decode byte 0xf0 in position 1133: invalid continuation byte

    The operating system is Mac.

    I think you trying this from another computer where you have not signed into your GitHub accounts will be a good place to test from.

  3. parteekcoder commented on Aug 3, 2023

    @parteekcoder
    Contributor
  4. pradeeban commented on Aug 3, 2023

    @pradeeban
    MemberAuthor

    Yes, and it fails regardless of what I enter, with the same error.

  5. parteekcoder commented on Aug 3, 2023

    @parteekcoder
    Contributor
  6. pradeeban commented on Aug 4, 2023

    @pradeeban
    MemberAuthor

    The version is 3.7.4. People use concore with Python 3.7 onward. So we should support those as well. Please check.

  7. parteekcoder commented on Aug 4, 2023

    @parteekcoder
    Contributor
  8. pradeeban commented on Aug 4, 2023

    @pradeeban
    MemberAuthor

    @parteekcoder
    Ok, the example folder is working. Then I created another foloder (basically renaming "example" folder as "bingbing" and renaming all the files. That also works.

    But when I try a study in the "demo" folder, it fails with the message "token decoded successfully 'utf-8' codec can't decode byte 0xf0 in position 1133: invalid continuation byte Some error Occured.Please try again after some time."

    Is it because there are way too many files in the demo folder? If so, please explicitly mention in the ReadTheDocs documentation that the user must limit the folder to have only related files and not too many files.

    Pls continue to test the Contribute Action for the next week with various studies and folder structures (and not just example folder). Then, you will be able to find solutions to generalize this for more files too.

    Let's discuss today.

    I am closing this issue since Contribute action is working, although with certain assumptions that must be expressed in the document in ReadTheDocs.

  9. parteekcoder commented on Aug 4, 2023

    @parteekcoder
    Contributor
  10. pradeeban commented on Aug 4, 2023

    @pradeeban
    MemberAuthor

    Awesome. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions