Rendering from the command line

Skip to first unread message


Dec 22, 2022, 5:38:03 AM12/22/22
to OpenToonz Users Forum
I have opentoonz installed as a flatpak app on Ubuntu 22.04.

All I would like to do is to render a scene from the command line. I thought that the following command should work:

/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=tcomposer io.github.OpenToonz scenes/Test.tnz

But this gives me the following error message:

Gtk-Message: 11:26:12.752: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:26:12.753: Failed to load module "canberra-gtk-module"
Qt: Session management error: Could not open network socket
plugin search directory:/home/olf/.config/OpenToonz/stuff/plugins
walkDirectory_: /home/olf/.config/OpenToonz/stuff/plugins
===== PluginLoadController::finished() =====

Loading Test
Couldn't find the project

The fact that it can't open the project seems to be the issue.

I would appreciate any example on how to properly render a file from the command line.

Best regards


Dec 22, 2022, 2:58:57 PM12/22/22
to OpenToonz Users Forum
Can you open the project/scene? If so after opening it go to the task room create a new task and check the  "command line" box that should give you the correct way to render the scene.


Dec 28, 2022, 7:49:20 AM12/28/22
to OpenToonz Users Forum
Thanks. That's a helpful tip. I was not aware of the task room.
Reply all
Reply to author
0 new messages