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

Object sockets - ReferenceError #3770

Open
Durman opened this issue Dec 11, 2020 · 0 comments · May be fixed by #3903
Open

Object sockets - ReferenceError #3770

Durman opened this issue Dec 11, 2020 · 0 comments · May be fixed by #3903
Labels

Comments

@Durman
Copy link
Collaborator

Durman commented Dec 11, 2020

Problem statement

2020-12-11_21-49-59

2020-12-11 21:49:31,077 [ERROR] sverchok.core.update_system: Node Assign Materials List had exception: StructRNA of type Object has been removed
Traceback (most recent call last):
  File ".\sverchok\core\update_system.py", line 384, in do_update_general
    node.process()
  File ".\sverchok\nodes\object_nodes\assign_materials.py", line 164, in process
    objects = self.inputs['Object'].sv_get()
  File ".\sverchok\core\sockets.py", line 374, in sv_get
    return self.convert_data(SvGetSocket(self, deepcopy), implicit_conversions)
  File ".\sverchok\core\socket_data.py", line 115, in SvGetSocket
    return sv_deep_copy(out)
  File ".\sverchok\core\socket_data.py", line 40, in sv_deep_copy
    if lst and not isinstance(lst[0], (list, tuple)):
ReferenceError: StructRNA of type Object has been removed

Steps to reproduce

  1. Make any action and press Ctrl+z
  2. Add new item to assign material list

Looks like problem with object sockets.

@Durman Durman linked a pull request Mar 13, 2021 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant