Pyside2?

Have noticed when using Terminal to startup Flame 2025.0 on my Mac Pro 2019, that its started to show a lot of errors all relating to something called “Pyside2”…

Python encountered ModuleNotFoundError(“No module named ‘PySide2’”) in unknown code
[PYTHON HOOK] An error occurred. Ignoring python hooks from /opt/Autodesk/shared/python/logik_portal/logik_portal.py

this repeats 11 times with different python hook names.

Is this something to worry about? I never touch the python side of things so not sure if this is going to cause issues.

thanks
Adam

Why do you start it from the Terminal?

always have done - was recommended as a more reliable way to start Flame years ago when i was having lots of issues with flame crashing. I seem to remember reading lots of comments from people who start up this way for the same reasons.

2 Likes

PySide2 is no longer supported in 2025, PySide6 is the new flavor. All your hooks will need to be updated.

thanks Kyle…no idea what a hook is! Like i say, i never use python and was just wondering if these error messages were a problem.

PySide provides the UI for scripts and matchboxes. If everything you need is working, you should be able to ignore the errors.

If you have a script or matchbox that doesn’t work anymore, that’s what you’ll have to update.

1 Like

ok, thanks Jan

Will try it!

How is it done?

on the mac open a Terminal window, enter

/opt/Autodesk/.flamefamily_2025/bin/startApplication

then hit return.

Next time you open the terminal, just hit the up arrow and it should reveal the last entry you put in, so its usually a couple of clicks to get the app started.

And when you run a different version of flame you need to ensure your command is referencing the correct version.

1 Like

ZERO difference between this and the icon.

1 Like

except you get to watch all the processes being started and get early warnings of stuff not working right…such as all the error codes that popped up in mine recently
you dont see them with the icon

rocky-how-to-add-flame-shortcut-to-desktop/

You can modify this snippet to work on macOS which uses zsh by default (Rocky Linux uses bash by default - see link)

# Add an alias to ~/.zprofile
$ echo 'alias flame=/opt/Autodesk/$YOUR_VERSION_OF_FLAME/bin/startApplication' >> ~/.zprofile

# Reload your profile to enable the alias
$ source ~/.zprofile

# Start flame
$ flame
1 Like

This is right for the application itself, but you can see a bunch of messages and errors when starting from the Terminal that you otherwise wouldn’t see.

5 Likes

https://help.autodesk.com/view/FLAME/2025/ENU/?guid=wn-2025-python-api

You will need to upgrade to the latest version of the Logik Portal python scripts: