Giter VIP home page Giter VIP logo

Comments (1)

ebrahimsofi123 avatar ebrahimsofi123 commented on May 25, 2024

Hi Michael,
Thank you for bringing up this issue.
Looking at the problem that you stated which said that "Check command exited with non-zero return code: 126," generally indicates an issue with permissions or an inability to execute a binary. When I look at the issue that you are facing, i see some steps that can be taken to rectify the problem namely:

  1. Check the executable permissions : As you are using a pyre in a container, there can be instances where the permissions can get mixed up. set the executable permission on the Pyre binary using "chmod +x /usr/src/app/.venv/bin/pyre.bin'

  2. Based on the logs you provided, Pyre seems to ignore the "debug" flag set in the configuration file. You can enforce verbose output directly via the command line to get a little bit more details on the log. Try to modify the pyre command in the following way "poetry run pyre --noninteractive --debug check"

  3. Try simplifying your .pyre-configuration temporarily to see if a particular configuration is causing the issue. Something like {
    "source_directories": ["."]
    }

  4. Try running pyre outside of poetry to isolate the issue. source /usr/src/app/.venv/bin/activate
    pyre check

I beilieve that going through these debugging steps, you might be able to figure out the reason why you are facing the error in line 126. I hope this helps :)

from pyre-check.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.