[Addon] Import images as planes - addon disabling bug #60986

Closed
opened 2019-01-29 17:02:08 +01:00 by Ivan Santic · 5 comments

System Information
Operating system: Windows 10
Graphics card: GTX 980 Ti

Blender Version
2.80, 957b4547aeeb, Blender 2.8, 2019-01-28 22:11

Worked: addon works but it outputs an error message popup if it gets disabled/enabled.

Short description of error and the console output

`Exception in module unregister(): 'D:\\moth3r\\Portable\\Blender 2.80\\2.80\\scripts\\addons\\io_import_images_as_planes.py'
Traceback (most recent call last):
  File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\modules\addon_utils.py", line 446, in disable
    mod.unregister()
  File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\addons\io_import_images_as_planes.py", line 1175, in unregister
    if check_drivers in bpy.app.handlers.scene_update_post:
AttributeError: 'bpy.app.handlers' object has no attribute 'scene_update_post'

Error: Traceback (most recent call last):
  File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\modules\addon_utils.py", line 446, in disable
    mod.unregister()
  File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\addons\io_import_images_as_planes.py", line 1175, in unregister
    if check_drivers in bpy.app.handlers.scene_update_post:
AttributeError: 'bpy.app.handlers' object has no attribute 'scene_update_post'`

Exact steps for others to reproduce the error

If you disable the addon you will get that message in the console. To enable you have to click twice now. First click error message and then it gets enabled 2nd time.
Based on the default startup or an attached .blend file (as simple as possible).

**System Information** Operating system: Windows 10 Graphics card: GTX 980 Ti **Blender Version** 2.80, 957b4547aeeb, Blender 2.8, 2019-01-28 22:11 Worked: addon works but it outputs an error message popup if it gets disabled/enabled. **Short description of error and the console output** ``` `Exception in module unregister(): 'D:\\moth3r\\Portable\\Blender 2.80\\2.80\\scripts\\addons\\io_import_images_as_planes.py' Traceback (most recent call last): File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\modules\addon_utils.py", line 446, in disable mod.unregister() File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\addons\io_import_images_as_planes.py", line 1175, in unregister if check_drivers in bpy.app.handlers.scene_update_post: AttributeError: 'bpy.app.handlers' object has no attribute 'scene_update_post' Error: Traceback (most recent call last): File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\modules\addon_utils.py", line 446, in disable mod.unregister() File "D:\moth3r\Portable\Blender 2.80\2.80\scripts\addons\io_import_images_as_planes.py", line 1175, in unregister if check_drivers in bpy.app.handlers.scene_update_post: AttributeError: 'bpy.app.handlers' object has no attribute 'scene_update_post'` ``` **Exact steps for others to reproduce the error** If you disable the addon you will get that message in the console. To enable you have to click twice now. First click error message and then it gets enabled 2nd time. Based on the default startup or an attached .blend file (as simple as possible).
Author

Added subscriber: @moth3r

Added subscriber: @moth3r

Added subscribers: @lichtwerk, @ZedDB

Added subscribers: @lichtwerk, @ZedDB

@lichtwerk is this something for you?

@lichtwerk is this something for you?
Philipp Oeser self-assigned this 2019-01-30 09:23:48 +01:00

This issue was referenced by 157019dd05

This issue was referenced by 157019dd05532720ac3f1084a721057fd9c3d712
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#60986
No description provided.