Comments (5)
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.
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.
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.
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.
Part of the 2.3 release I just made.
from nuitka.
Related Issues (20)
- pip module can't exe after build HOT 2
- Slow executable startup time on MacOS
- Import User-Provided Modules at Runtime
- About LicenseReport Generation HOT 6
- FileNotFoundError: Shared library with base name 'llama' not found
- KivyMD + angle_sdl2 incompatibility
- Segment fault while using gold linker on aarch64, but no-pie works.
- Why is 'exit' is not defined when compiling with --standalone?` HOT 3
- Can't compile the requests library with Nuitka HOT 3
- segfault on mac arm
- `pygame-ce` still broken on Nuitka 2.4.8 HOT 9
- Cannot create standalone executable using setuptools
- Error loading QtWidgets.pyd HOT 3
- The behavior of included file in onefile and standalone mode is suggested to be the same. HOT 1
- scons: *** [static_src\CompiledFunctionType.obj] Error 2 HOT 1
- pydoc is not built correctly? HOT 2
- Using malloc_trim of ctypes throws segfault at runtime in gstreamer pipeline
- unsloth, bitsandbytes fail with triton installed, giving OSError: could not get source code
- FATAL: tk-inter: Plugin issue while working on 'module 'tkinterdnd2.TkinterDnD''
- Self-updating with tufup.client
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuitka.