Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

[Fix] integrate_inputlinks if no published instance where found #2400

Closed
wants to merge 1 commit into from

Conversation

jlorrain
Copy link
Contributor

integrate_inputlinks throw an error if nothing was published

Traceback (most recent call last):
  File "C:\Users\jerome.lorrain\PycharmProjects\OpenPype_build\.venv\lib\site-packages\pyblish\plugin.py", line 522, in __explicit_process
    runner(*args)
  File "C:\Users\jerome.lorrain\PycharmProjects\OpenPype_build\openpype\plugins\publish\integrate_inputlinks.py", line 85, in process
  File "C:\Users\jerome.lorrain\PycharmProjects\OpenPype_build\openpype\plugins\publish\integrate_inputlinks.py", line 121, in write_links_to_database
AttributeError: 'NoneType' object has no attribute 'data'

Fix to not throw an error (but still log a warning)

@iLLiCiTiT
Copy link
Member

iLLiCiTiT commented Dec 13, 2021

Already fixed with #2322

@mkolar mkolar closed this Dec 14, 2021
@jlorrain jlorrain deleted the fix_integrate_inputlinks branch December 14, 2021 09:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants