Skip to content

Error, the program tried to call itself with '-c' argument. Disable with '--no-deployment-flag=self-execution'. #864

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
markuslf opened this issue Apr 8, 2025 · 3 comments
Assignees

Comments

@markuslf
Copy link
Member

markuslf commented Apr 8, 2025

If providing the -c parameter, a compiled plugin exits with Error, the program tried to call itself with '-c' argument. Disable with '--no-deployment-flag=self-execution'.. If you use --critical= instead, everything works as expected.

@markuslf
Copy link
Member Author

markuslf commented Apr 8, 2025

Seems to be an issue with Nuitka's deployment flags.

Current workarounds until the next release:

  • Always use the long parameters (which is also better for readability).
  • Or use the source variant of the plugins.

@markuslf markuslf self-assigned this Apr 8, 2025
@markuslf
Copy link
Member Author

markuslf commented Apr 8, 2025

@markuslf
Copy link
Member Author

markuslf commented Apr 8, 2025

Compiling the plugins using --no-deployment-flag=self-execution works. We have to re-compile and package again (or create a new release).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant