Git Product home page Git Product logo

Comments (7)

brentvollebregt avatar brentvollebregt commented on September 12, 2024

I have been asked quite a few times how to fix this and find that setting the recursion limit in the spec files fixes this. But unfortunately this fix is through the .spec file which auto-py-to-exe doesn't deal with, so it would be nice to implement something to stop this from occurring.

Where you have auto-py-to-exe installed, go to auto_py_to_exe/__main__.py and just after line 3 insert sys.setrecursionlimit(5000).

Try packaging again after this, did it fix it?

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

My question was did inserting sys.setrecursionlimit(5000) fix this previous issue?

from auto-py-to-exe.

Pechi77 avatar Pechi77 commented on September 12, 2024

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

This is a GitHub issue, GitHub issues are used to track things like bugs, tasks or improvements for the project the issue is related to; not your own project. These are meant to help benefit the project in general, not your personal project.

What you are providing me here is something wrong with your project, does it actually have anything to do with auto-py-to-exe? I've tried to help and was interested on fixing this issue for the project and other people that will use it in the future, not just you.

I am not saying that I don't want to help you fix what you have here, but could you please remember what this is, a GitHub issue, not a place where you say "It's not working, please fix it" referring to your own project.

I have made this issue now focus on the RecursionError as that is what was first referenced. I will also push a branch later with a possible fix.

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

I just created a branch for a possible fix, it is #30-RecursionErrorFix.

Could you please try this branch out (do not modify it like before) and see if the RecursionError still appears.

from auto-py-to-exe.

Pechi77 avatar Pechi77 commented on September 12, 2024

Okay @brentvollebregt , I will test and update. Thank you.

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

The branch to fix this was merged in 0d61912.

If you go into the Advance tab and select Enable Recursion Limit, it should stop this error from occurring. If this has not fixed the issue, we can open this issue back up and investigate further.

from auto-py-to-exe.

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.