Replies: 2 comments
-
From looking through the code, I don't see anything obviously wrong. Could be a bug. Do you mind filing a report with a minimal example? |
Beta Was this translation helpful? Give feedback.
-
TL;DR: you are making two different dpg elements (e.g. a window, button, or something else), with the same tag For example: with dpg.window(tag="window_1"):
...
with dpg.window(tag="window_2"):
... causes no problems because both windows (in this istance), have a different tag. But: with dpg.window(tag="same_tag"):
...
with dpg.window(tag="same_tag"):
... Causes an error because a tag is shared between elements. def some_callback():
with window(tag="this is your problem"):
... and are called several times. My fix was to delete these elements instead ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am getting error that I don't understand. Once it happens, it seems like I have to restart my IDE in order to have the chance for it not to occur again. It seem to dislike my file_dialog call but I cannot see how there's a problem with that. Here's the code:
This give me the following error:
Can anybody tell me why this is happening??
Thanks in advance
j
Beta Was this translation helpful? Give feedback.
All reactions