Git Product home page Git Product logo

Comments (5)

kayhayen avatar kayhayen commented on September 25, 2024

It's asserting that it is able to delete the pre-existing build folders before building them. That not working, my best guess, is that AV tools hold locks while deleting the folder. It is doing

removeDirectory(path=source_dir, ignore_errors=False) right before, and that it does not work is very strange. This should be the .onefile-build folder. What is left behind there? Usually, the exception should be caught, and a retry be made, and if that still arises, it's passed to the outside.

Our error handler retrying, doesn't necessarily make things continue after succeeding in a local retry though. I don't know if this function changed in Python3.11, but the error handler is called, but the action is not resumed, the error handler should always raise I guess, or not be there at all, it might not be helping. I will therefore switch to a mode, where it now records the function that failed, and retries it for as long as something else fails.

I got a new implementation of it, that I want you to try on the factory branch.

from nuitka.

kayhayen avatar kayhayen commented on September 25, 2024

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html

Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.

from nuitka.

kmesdo avatar kmesdo commented on September 25, 2024

Thanks for the feedback. Before going to the factory branch, I tried
another compile to re-verify the error. The weird thing is that it
now compiles cleanly (with the new python/nuitka versions)!

Not sure why. The only change I made to my environment was for a
different project which required me to install the following packages:

pip install requests
pip install ratelimit
pip install PyJWT

I'm not sure that there is any value in trying the factory branch now,
but if I get a similar error in a different project, I will give it a try.

Thanks for your help.

from nuitka.

kayhayen avatar kayhayen commented on September 25, 2024

It would depend on specific race conditions I suppose. I think I might have prevented those from appearing, but it's going to be hard to tell. I am closing this early for lack of general relevance.

from nuitka.

kayhayen avatar kayhayen commented on September 25, 2024

Part of the 2.3 release I just made.

from nuitka.

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.