DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

DearPyGUI callback raises number arguments error when app is compiled with Nuitka

Open bandit-masked opened this issue 3 years ago • 7 comments

Placeholder bug report to make sure that https://github.com/Nuitka/Nuitka/issues/1534 is included in the DPG issue list.

There is a separate DPG branche related to this issue. https://github.com/hoffstadt/DearPyGui/tree/nutika_fix

bandit-masked avatar Aug 23 '22 18:08 bandit-masked

I believe this should be reopened since the fix was reverted.

keck-in-space avatar Feb 13 '23 22:02 keck-in-space

Same question, why is this fix being reverted? The same function callback parameter appeared in the Nuitka build again.

Originally posted by @Mstpyt in https://github.com/Nuitka/Nuitka/issues/1534#issuecomment-1354679940

hugle avatar May 29 '23 15:05 hugle

The temp solution is mentioned in the discord channel by @Mstpyt

"Nuitka has still a open dpg issue. If you have classes you need to have lambda callbacks otherwise it will fail after the compilation. Other than that, great compiller!"

Discord link

hugle avatar May 30 '23 02:05 hugle

Is there anything I can help you with? This is a incompatiblity on the C side, and I understand the fix may have had to be reverted, I can have a look, I did similar fixes for PyQt5 once although incomplete, and relatively complete for PySide6. It usually means to go through official attributes rather than say PyFunction_GET_SELF and the like. The original link 404s, so where are we at here?

kayhayen avatar Jul 11 '23 07:07 kayhayen

Is this anything I can help with, I understand a fix has been reverted. Maybe I can check it out, I ought to know how good it can be and maybe help improve it.

kayhayen avatar Jul 11 '23 07:07 kayhayen

Just came across this, its still an issue.

Slluxx avatar Apr 18 '24 18:04 Slluxx