Skip to content
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

Ping & Module-reload Spam #186

Open
hisprofile opened this issue Aug 29, 2024 · 4 comments
Open

Ping & Module-reload Spam #186

hisprofile opened this issue Aug 29, 2024 · 4 comments

Comments

@hisprofile
Copy link

I'm not sure if it's something about the addon I'm developing, I don't even know where to begin debugging.

image

Upon saving a file to reload the addon, it absolutely spams pings to reload the addon. I do not know what else I can say about that.

@Mateusz-Grzelinski
Copy link
Collaborator

Mateusz-Grzelinski commented Aug 29, 2024

So the log that you provided is produced all at once? I have never seen that type of behavior...
Is this add-on visible as duplicates in blender settings? Maybe check if there are multiple links in your add-on folder bpy.utils.user_resource("SCRIPTS", path="addons")
Does the add-on even works despite of this message spam?

@Mateusz-Grzelinski
Copy link
Collaborator

Or even easier: try to ru your add-on in clean blender config. The easiest (and non destructive) way to do it is to set env car, see https://github.com/JacquesLucke/blender_vscode?tab=readme-ov-file#how-can-i-separate-development-environment-from-my-daily-work

This pretty new readme section.

@Mateusz-Grzelinski
Copy link
Collaborator

I noticed that this issue occurs only in Debug window in VS code. If you take a look at Terminal window the it works fine. i with we could make terminal be focused by default, but I do not know how...

@Mateusz-Grzelinski
Copy link
Collaborator

Mateusz-Grzelinski commented Sep 9, 2024

I am getting close: when blender fails to start, some operations are still scheduled to be performed; the are performed when new blender instance comes online. To be investigated further.
The "queue" is not cleared unless vs code is restarted, so it might be issue with RunningBlenders, just a gues

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

2 participants