Hey guys, I’m running into an issue with web actions and the shim on Linux (Rocky 8). I’ve been working through this example:
What’s working
I can successfully run the addon CLI command from the terminal and see the dialog pop up with the message like in the example, so that part is working.
Server log when I trigger the action
server-1 | DEBUG events.eventstream | [EVENT CREATE] action.launcher (Running action blender.launch.show_dialog)
I was previously getting this deprecation warning, but I already updated the function name:
get_launcher_action_response is deprecated. Use get_launcher_response instead
No launcher output
Aside from that, I’m not seeing any output in the launcher console or process monitor when triggering the web action.
init-ayon-launcher + shim suspicion
My hunch is that it has to do with the init-ayon-launcher command failing with no log output.
Previously, when I ran:
~/AYON-1.4.2-linux-rocky8/ayon init-ayon-launcher
I was getting:
blessed/terminal.py:222: UserWarning: Failed to setupterm(kind='xterm-256color'): setupterm: could not find terminal
I tried:
sudo dnf install -y ncurses-term
That didn’t help, so I set this permanently in my ~/.bashrc:
export TERM=xterm
That got rid of the warning, but I still don’t get any other logging output from init-ayon-launcher, and the shim doesn’t seem to do anything after clicking the web action in the gui.
Questions
- Are web actions intended to work in developer mode with launcher running in developer mode?
- What are some additional troubleshooting steps I can take?
- How is
init-ayon-launcheractually registering the shim under the hood?