Stored Views Error Popup Revisited #97179

Closed
opened 2022-04-08 20:36:57 +02:00 by David Neufer · 7 comments

System Information
Operating system: Windows-10-10.0.22000-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49

Blender Version
Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: blender/blender@cc66d1020c
Worked: (newest version of Blender that worked as expected)

  • The error has happened since I first used the Stored Views Addon in 3.1.0. It continues in 3.1.2.

Addon Information
Name: Stored Views (0, 3, 7)
Author: nfloyd, Francesco Siddi

Short description of error
Stored Views Addon - Error Message Popup

Exact steps for others to reproduce the error
An error message pops up when accessing stored views that had been created with View>Lock to 3D Cursor checked. The error message is included below.

This popup had been previously reported here:
https://developer.blender.org/T81285

A fix for this was reported by Vladislav (BoomRaccoon) in the above discussion.

I've applied the fix for each new Blender increment, and it always works... so far.

[Based on the default startup or an attached .blend file (as simple as possible)]StoredViewsError.blend


The message is this:

Python: Traceback (most recent call last):

File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\operators.py", line 40, in execute
  sv.set()
File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\core.py", line 38, in set
  self.update_v3d(stored_view)
File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\core.py", line 239, in update_v3d
  self.pov.update_v3d(stored_view.pov)
File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\core.py", line 93, in update_v3d
  view3d.cursor_location = stored_view.cursor_location

AttributeError: 'SpaceView3D' object has no attribute 'cursor_location'

location: :-1

**System Information** Operating system: Windows-10-10.0.22000-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49 **Blender Version** Broken: version: 3.1.2, branch: master, commit date: 2022-03-31 17:40, hash: `blender/blender@cc66d1020c` Worked: (newest version of Blender that worked as expected) - The error has happened since I first used the Stored Views Addon in 3.1.0. It continues in 3.1.2. **Addon Information** Name: Stored Views (0, 3, 7) Author: nfloyd, Francesco Siddi **Short description of error** Stored Views Addon - Error Message Popup **Exact steps for others to reproduce the error** An error message pops up when accessing stored views that had been created with **View>Lock to 3D Cursor** checked. The error message is included below. This popup had been previously reported here: https://developer.blender.org/T81285 A fix for this was reported by Vladislav (BoomRaccoon) in the above discussion. I've applied the fix for each new Blender increment, and it always works... so far. [Based on the default startup or an attached .blend file (as simple as possible)][StoredViewsError.blend](https://archive.blender.org/developer/F12984354/StoredViewsError.blend) ----------------------------------- The message is this: Python: Traceback (most recent call last): ``` File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\operators.py", line 40, in execute sv.set() File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\core.py", line 38, in set self.update_v3d(stored_view) File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\core.py", line 239, in update_v3d self.pov.update_v3d(stored_view.pov) File "D:\^Blender\Blender EXP Builds\blender-3.1.2-stable+v31.cc66d1020c3b-windows.amd64-release\3.1\scripts\addons\space_view3d_stored_views\core.py", line 93, in update_v3d view3d.cursor_location = stored_view.cursor_location ``` AttributeError: 'SpaceView3D' object has no attribute 'cursor_location' location: <unknown location>:-1
Author

Added subscriber: @emen7

Added subscriber: @emen7
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

How is this report different from #81285 then if the error is reported and the fix already works?
Is something else broken?

How is this report different from #81285 then if the error is reported and the fix already works? Is something else broken?
Author

The problem with the "Stored Views" addon as reported in 2020 remains. I think I see where there might be confusion. The original report contained a "fix." However, this fix has not been encoded into the releases. Since I use this addon in my work, I must manually apply the fix by changing a line in the addon's core.py file. This I have done for every new build since I started using the addon. I did it again today. I do not know if there is a reason for not releasing the fixed addon code. There may be problems that are not obvious. I can say, the addon works as expected after I manually change the core.py code.

The problem with the "Stored Views" addon as reported in 2020 remains. I think I see where there might be confusion. The original report contained a "fix." However, this fix has not been encoded into the releases. Since I use this addon in my work, I must manually apply the fix by changing a line in the addon's core.py file. This I have done for every new build since I started using the addon. I did it again today. I do not know if there is a reason for not releasing the fixed addon code. There may be problems that are not obvious. I can say, the addon works as expected after I manually change the core.py code.
Member

Closed as duplicate of #81285

Closed as duplicate of #81285
Member

I will try to notify a developer to review the patch, but merging this to the original report.

I will try to notify a developer to review the patch, but merging this to the original report.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#97179
No description provided.