Proxy creation error #53108

Closed
opened 2017-10-19 22:21:50 +02:00 by Dalai Felinto · 10 comments

Short description of error
Errors in console when creating proxies.

Exact steps for others to reproduce the error
Unzip group.zip

Open main.blend, select instanced group and create a proxy (Clt+Alt+P). I get:

add_relation(Proxy) - Could not find op_from (ComponentKey(OBEmpty_proxy, 11, ''))
add_relation(Proxy) - Could not find op_to (ComponentKey(OBTorus, 11, ''))

Note: Proxies were not working before fc10484f7c, but this error is prior to that. If you want to test it revert that commit and apply P543 to prevent your Blender crashing.

**Short description of error** Errors in console when creating proxies. **Exact steps for others to reproduce the error** Unzip [group.zip](https://archive.blender.org/developer/F1052877/group.zip) Open main.blend, select instanced group and create a proxy (Clt+Alt+P). I get: ``` add_relation(Proxy) - Could not find op_from (ComponentKey(OBEmpty_proxy, 11, '')) add_relation(Proxy) - Could not find op_to (ComponentKey(OBTorus, 11, '')) ``` Note: Proxies were not working before fc10484f7c55, but this error is prior to that. If you want to test it revert that commit and apply [P543](https://archive.blender.org/developer/P543.txt) to prevent your Blender crashing.
Author
Owner

Changed status to: 'Open'

Changed status to: 'Open'
Author
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Sergey Sharybin was assigned by Dalai Felinto 2017-10-19 22:23:07 +02:00
Author
Owner

Added subscribers: @mont29, @Sergey

Added subscribers: @mont29, @Sergey
Author
Owner

I have no idea if this problem is depsgraph related or ID refactor related. So although I assigned it to @Sergey it may be related to @mont29 too.

I have no idea if this problem is depsgraph related or ID refactor related. So although I assigned it to @Sergey it may be related to @mont29 too.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Proxies on non-armature objects were always flackey and were never supported in the new dependency graph. Instead of wasting time now trying to solve this issue would rather either disable proxies on non-armatures or at least wait for static overrides to arrive first. Otherwise it will be fixing same issue twice: first within a broken design and then within a proper design.

This is a known issue, and i do not see why we waste time fixing it right now.

Proxies on non-armature objects were always flackey and were never supported in the new dependency graph. Instead of wasting time now trying to solve this issue would rather either disable proxies on non-armatures or at least wait for static overrides to arrive first. Otherwise it will be fixing same issue twice: first within a broken design and then within a proper design. This is a known issue, and i do not see why we waste time fixing it right now.
Author
Owner

Ah right. It was one of my tests files for my work on collection and groups, ... so I didn't realize the issue was that. That said armature proxies are broken until I force depsgraph refresh (e.g., save and re-open the file, or add a new object). But it's a separated issue since there is no error printing in this case. It was even more broken before fc10484f7c - not even saving/reopening fixes it back then.

Ah right. It was one of my tests files for my work on collection and groups, ... so I didn't realize the issue was that. That said armature proxies are broken until I force depsgraph refresh (e.g., save and re-open the file, or add a new object). But it's a separated issue since there is no error printing in this case. It was even more broken before fc10484f7c55 - not even saving/reopening fixes it back then.

Try this first in bpy console:

C.scene.depsgraph.debug_rebuild()

if that solves the issue, it means you're lacking DEG_relations_tag_update() after all proxies were created.

Try this first in bpy console: ``` C.scene.depsgraph.debug_rebuild() ``` if that solves the issue, it means you're lacking `DEG_relations_tag_update()` after all proxies were created.
Author
Owner

Note to self: I'm tagging the scene before adding the object to the collections. I may need to split the object_add_common in a pre and post routines. (I'll try tomorrow).

Note to self: I'm tagging the scene before adding the object to the collections. I may need to split the object_add_common in a pre and post routines. (I'll try tomorrow).

Shouldn't matter if you tag before or after. Just make sure relations are tagged for update before exiting operator.

Shouldn't matter if you tag before or after. Just make sure relations are tagged for update before exiting operator.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
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#53108
No description provided.