Git Product home page Git Product logo

Comments (4)

kayhayen avatar kayhayen commented on June 23, 2024 1

You might want to use no --include-package and instead report the missing dependencies so they can be fixed, and at least use only --include-module as it otherwise includes a lot of code, and you probably run out of memory.

from nuitka.

programmeddeath1 avatar programmeddeath1 commented on June 23, 2024

It remains stuck at that point with no increase in ram or CPU usage.
when i run with just

python3 -m nuitka main.py

It creates a .bin file which I can execute from my application path which contains other folders like images, configs, libraries, models etc.

Ill try adding those missing dependency folders one by one to the path.

But I want to create a single executable which will run the app standalone. If i run with just python3 -m nuitka --follow-imports main.py the follow imports also gets stuck at that point where yt-dlib gets stuck at extract. How should i proceed if i want to add the python and other dependencies also into the standalone folder package?

from nuitka.

programmeddeath1 avatar programmeddeath1 commented on June 23, 2024

Thank you for your help!
When I simply run

python3 -m nuitka main.py

It creates a main.bin file, and if i run that file from my folder everything in that PyQT5 application works perfectly. I had read there were issues with callback and threading in your pyqt5 support doc, but even threading using background processes and event callbacks are working properly.

I am only facing 1 major issue with the camera stream callback which happens through a slot signal mechanis,, where an image is updated from the background stream. The process runs in the background as per the logs but the image, does'nt seem to render, but if the process is killed, a single image is rendered after the event end.

Other threaded screen updates using signals and slots and events are working properly. Seems like this one issue could also be workedaround which would save an entire migration to pyqt6 due to many dependencies to be handled.

The doc had suggested very limiting workarounds, do you think If i try, this single threaded signal for images could also be fixed through a workaround? You have better understanding as to guide if I should put my effort in this or look for another solution.

from nuitka.

kayhayen avatar kayhayen commented on June 23, 2024

How about you report the output of --standalone --noinclude-custom-mode=yt_dlp:error and we remove as bloat, if that's unused. For distribution compiling the top level file only won't do much.

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.