failing unregistration lead to crashes in several addons #51547
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#51547
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
all
Blender Version
Broken: latest master
Short description of error
Those addons don't properly unregister everything, leading to crashes and possibly user pref/keymap corruption:
NPStation (solved)
archipack (solved)
add mesh: castle
measure panel (solved)
dynamic context menu (in interaction with other addons)
layer management (solved)
animated text
kjartan's script (solved)
autotracker (in interaction with other addons)
creaprim
Exact steps for others to reproduce the error
activate and then deactivate one of this addon. If you save userpref after it, your user preferences may be corrupted. Only deleting it works then.
Changed status to: 'Open'
Added subscriber: @bliblubli
Added subscribers: @Okavango, @BrendonMurphy, @VukGardasevic
Removed subscriber: @bliblubli
Added subscriber: @bliblubli
hi, will look, can we have some more information?
lijenstina has been working on reg issues, although i'm not finding any issue with dynamic context menu.
@bliblubli are you talking about search for unknown operator on unreg?
I'm speaking about addons that don't support to be reloaded. The new template system allows to have different addons activated depending on the startup file chosen. It sometime lead to reloading addons (like F8) and crashes when those don't correctly reload.
Hi @bliblubli, can't reproduce the problem, what kind of console error do you get?
Hi @Okavango , can't reproduce either in latest build, I must have had an old build somewhere. Updated task.
I tested the other ones again to see if the new build solve the other problems:
measure panel support F8 now as long is it was not activated, otherwise, creating a new file or reloading give this error:
@BrendonMurphy creaprime, castle and animated text stil have reloading problems, other are solved :)
@bliblubli
I'll look at the problem next week after some remaining fixes for the release add-ons. By bcon4 this will be addressed :)
hi, thanks for heads up & fixes
ok, tested a little bit more. Some errors only show up when other addons are activated. An easy way to see it is to activate all addons and press F8, then you get the errors form castle, creaprime and animated text plus this:
So autotracker and dynamic menu also have reload problem under some circumstances.
There are no traceback for erta mesh but this line:
Full log is here if you want: http://pasteall.org/407502
Added subscriber: @Sergey
Is anyone actually solving these problems?
Added subscriber: @MauriceRaybaud
Note - the warning:
comes from here , as the PovRay add-on enables/disables Mesh Extra Objects.
@MauriceRaybaud could the
wm.addon_userpref_show
operator be used instead similarly to the CrackIt add-on?Done. Thanks
Thanks for the fix:)
@bliblubli
If you have time, can you please test if now there are more problems with the register / unregister / reload all add-ons?
Thanks in advance :)
hi, is this resolved for 2.79 release?
I think it is safe to close. Maybe waiting for a day or two after RC 2 release. :)
Changed status from 'Open' to: 'Resolved'
Well since 2.79 is released, we can close this.
For the current possible problems with master we can use #52564 instead.