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

Flame 2025 has changed the need to create user profiles #51

Open
1 task done
Liametc opened this issue Feb 3, 2025 · 0 comments · May be fixed by #53
Open
1 task done

Flame 2025 has changed the need to create user profiles #51

Liametc opened this issue Feb 3, 2025 · 0 comments · May be fixed by #53
Labels
community Issues and PRs coming from the community members type: bug Something isn't working

Comments

@Liametc
Copy link

Liametc commented Feb 3, 2025

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Description

Current Behavior

I cannot open flame 2025 from the application launcher. I get the following error:


Output:
WireTap connected at 'gss-flm03'...
WireTap closed...
ERROR:
Traceback (most recent call last):
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 488, in <module>
    app_args = wiretap_handler.get_launch_args(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 83, in get_launch_args
    user_name = self._user_prep(user_name)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 252, in _user_prep
    used_names = self._get_usernames()
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 298, in _get_usernames
    raise AttributeERROR(
AttributeERROR: Cannot get number of volumes: Invalid node 'users'

==============================
Traceback (most recent call last):
  File "/opt/AYON/storage/addons/core_1.0.14-bk.2/ayon_core/tools/launcher/models/actions.py", line 406, in trigger_action
    action.process(selection)
  File "/opt/AYON/storage/addons/applications_1.0.3/ayon_applications/action.py", line 116, in process
    self.application.launch(
  File "/opt/AYON/storage/addons/applications_1.0.3/ayon_applications/defs.py", line 306, in launch
    return self.manager.launch(self.full_name, *args, **kwargs)
  File "/opt/AYON/storage/addons/applications_1.0.3/ayon_applications/manager.py", line 173, in launch
    return self.launch_with_context(context)
  File "/opt/AYON/storage/addons/applications_1.0.3/ayon_applications/manager.py", line 149, in launch_with_context
    return launch_context.launch()
  File "/opt/AYON/storage/addons/applications_1.0.3/ayon_applications/manager.py", line 597, in launch
    self.run_prelaunch_hooks()
  File "/opt/AYON/storage/addons/applications_1.0.3/ayon_applications/manager.py", line 581, in run_prelaunch_hooks
    prelaunch_hook.execute()
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/hooks/pre_flame_setup.py", line 123, in execute
    app_arguments = self._get_launch_arguments(data_to_script)
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/hooks/pre_flame_setup.py", line 210, in _get_launch_arguments
    run_subprocess(args, **process_kwargs)
  File "/opt/AYON/storage/addons/core_1.0.14-bk.2/ayon_core/lib/execute.py", line 167, in run_subprocess
    raise RuntimeERROR(exc_msg)
RuntimeERROR: Executing arguments was not successful: "([ '/opt/Autodesk/python/2025.2.2/bin/python', '/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py', '/tmp/tmpue_w13y0.json' ],)"

Output:
WireTap connected at 'gss-flm03'...
WireTap closed...
ERROR:
Traceback (most recent call last):
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 488, in <module>
    app_args = wiretap_handler.get_launch_args(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 83, in get_launch_args
    user_name = self._user_prep(user_name)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 252, in _user_prep
    used_names = self._get_usernames()
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/AYON/storage/addons/flame_1.0.0/ayon_flame/api/scripts/wiretap_com.py", line 298, in _get_usernames
    raise AttributeERROR(
AttributeERROR: Cannot get number of volumes: Invalid node 'users'

After going through the code, and reading the autodesk release notes, I figured out that removing the user profile creation from wiretap_com.py fixes the issue.

Expected Behavior

Flame will open without issue

Steps To Reproduce:

No response

Additional context:

Version

ayon-flame 1.0.0

What platform were you running when you found the bug?

Linux - Rocky9

Relevant log output:

@Liametc Liametc linked a pull request Feb 4, 2025 that will close this issue
@robin-ynput robin-ynput added type: bug Something isn't working community Issues and PRs coming from the community members labels Feb 4, 2025
@BigRoy BigRoy linked a pull request Feb 5, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Issues and PRs coming from the community members type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants