Skip to content

Project bundles: Fix fetch of project bundle#251

Merged
iLLiCiTiT merged 2 commits intodevelopfrom
bugfix/project-bundle-resolution
Aug 15, 2025
Merged

Project bundles: Fix fetch of project bundle#251
iLLiCiTiT merged 2 commits intodevelopfrom
bugfix/project-bundle-resolution

Conversation

@iLLiCiTiT
Copy link
Copy Markdown
Member

Changelog Description

Ignore project bundle name if is same as studio bundle.

Additional info

If project bundle is not defined then it is filled with studio bundle name. On subprocess launch is the bundle tried to be found as project bundle leading to crashes.

Traceback

Traceback (most recent call last):
  File "~\ayon\ayon-launcher\start.py", line 1152, in <module>
    main()
  File "~\ayon\ayon-launcher\start.py", line 1142, in main
    boot()
  File "~\ayon\ayon-launcher\start.py", line 787, in boot
    _start_distribution()
  File "~\ayon\ayon-launcher\start.py", line 597, in _start_distribution
    project_bundle = distribution.project_bundle_to_use
  File "~\ayon\ayon-launcher\common\ayon_common\distribution\control.py", line 1766, in project_bundle_to_use
    project_bundle = self._get_project_bundle()
  File "~\ayon\ayon-launcher\common\ayon_common\distribution\control.py", line 2814, in _get_project_bundle
    for addon in response.data["addons"]:
KeyError: 'addons'

Testing notes:

  1. AYON launcher subprocess don't crash.

@iLLiCiTiT iLLiCiTiT added the type: bug Something isn't working label Aug 15, 2025
@iLLiCiTiT iLLiCiTiT self-assigned this Aug 15, 2025
@iLLiCiTiT iLLiCiTiT merged commit 857493b into develop Aug 15, 2025
1 check passed
@iLLiCiTiT iLLiCiTiT deleted the bugfix/project-bundle-resolution branch August 15, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant