ynput / OpenPype

OpenPype has been surpassed by AYON and is now read only.
https://ayon.ynput.io
MIT License
286 stars 129 forks source link

Blender: Update to latest fails #2583

Closed Tilix4 closed 3 months ago

Tilix4 commented 2 years ago

Describe the bug Using blender, I want to update the modeling in my rigging scene, I get the following error message:

Traceback (most recent call last):

  File "/home/felix/Downloads/OpenPype/build/exe.linux-x86_64-3.7/repos/avalon-core/avalon/blender/ops.py", line 102, in execute
    result = callback(*args, **kwargs)

  File "<string>", line 248, in exec_update

TypeError: BlendDataLibraries.remove(): error with argument 1, "library" -  Function.library does not support a 'None' assignment Library type

To Reproduce Steps to reproduce the behavior:

  1. Create a basic model in modeling task
  2. Rig the model in rigging
  3. Update the model and publish a v002
  4. In rigging scene, go to Manage and try to Update to latest
  5. The error is raised

Expected behavior I want the model to be updated correctly on the current rig.

Desktop (please complete the following information):

[cuID:OP-2487]

BigRoy commented 2 years ago

The stack trace doesn't point to the right code location, so for completeness it's referring to this line 248 and failing due to the the library being None so the code error/bug is likely there where it tries to retrieve the library.

Tilix4 commented 2 years ago

@BigRoy Do you have any tip about what causes it? I'm about to try to fix it.

BigRoy commented 2 years ago

Do you have any tip about what causes it? I'm about to try to fix it.

Unfortunately I don't use blender myself. :) Any chance this issue has been resolved since original post?

LiborBatek commented 9 months ago

@simonebarbieri this not being an issue in the latest OP version , so could be closed I guess??

BigRoy commented 3 months ago

I'll close this as it's been in backlog a long time ago, and Libor already mentioned failing to reproduce it. If it's still an issue in Ayon Blender report it on ayon-blender please.