colorbleed-config icon indicating copy to clipboard operation
colorbleed-config copied to clipboard

No application definiton could be found for 'fusionrendernode9'

Open BigRoy opened this issue 5 years ago • 0 comments

Issue

Getting started with the current master branch might have you hit the following error:

Traceback (most recent call last):
  File "C:\path\to\avalon-setup\git\avalon-launcher\launcher\app.py", line 79, in on_object_created
    self.controller.init()
  File "C:\path\to\avalon-setup\git\avalon-launcher\launcher\control.py", line 265, in init
    actions = self.collect_compatible_actions(discovered_actions)
  File "C:\path\to\avalon-setup\git\avalon-launcher\launcher\control.py", line 479, in collect_compatible_actions
    if not Action().is_compatible(session):
  File "C:\path\to\avalon-setup\git\colorbleed-config\colorbleed\launcher_actions.py", line 21, in __init__
    self.config = lib.get_application(self.name)
  File "C:\path\to\avalon-setup\git\avalon-core\avalon\lib.py", line 158, in get_application
    "No application definition could be found for '%s'" % name
ValueError: No application definition could be found for 'fusionrendernode9'

This is likely due to the Launcher trying to find a fitting application .toml definition for the application which are stored outside of the config.

Solution

This should allow to pass in a friendly manner and describe how to resolve it in the message.

For now a workaround is to comment out the last two lines here so you have something like:

def register_launcher_actions():
    """Register specific actions which should be accessible in the launcher"""
    pass
    # pipeline.register_plugin(api.Action, FusionRenderNode)
    # pipeline.register_plugin(api.Action, VrayRenderSlave)

When you installed with avalon-setup the default application definition .toml files can be found in avalon-setup\bin.

BigRoy avatar Aug 03 '19 09:08 BigRoy