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

Opentoonz tcomposer env variable is broken on Ubuntu linux #94

Open
Sam2much96 opened this issue Feb 22, 2024 · 3 comments
Open

Opentoonz tcomposer env variable is broken on Ubuntu linux #94

Sam2much96 opened this issue Feb 22, 2024 · 3 comments

Comments

@Sam2much96
Copy link

Test device: HP 255g4 with Ubuntu OS 22.04

Ubuntu, which uses a custom package manager for software download/installs called snap, breaks the default env variable for RenderChan and so renderchan requires an update to point to tcomposer binary at $/snap/opentoonz/147/bin/tcomposer

Tcomposer can also be called directly on command line via
$opentoonz.tcomposer

@Sam2much96
Copy link
Author

Sam2much96 commented Feb 23, 2024

The fix is :

  1. to edit the systems environment variables to point to $renderchan/env/linux using the instructions here
  2. create a linx folder in the env folder and copy tcomposer.txt from the windows directory to this new linux directory
  3. edit tcomposer.txt to renderchan/env/linux/opentoonz-app-image-binary

This will fix the module load error for opentoonz tcomposer

@Sam2much96 Sam2much96 changed the title tcomposer env variable is broken on Ubuntu linux Opentoonz tcomposer env variable is broken on Ubuntu linux Feb 23, 2024
@morevnaproject
Copy link
Collaborator

Hi! I can make RenderChan always look into "env" directory, regardless of the fact if RENDERCHAN_ENVDIR set or not. :)
In this case we will eliminate step 1 of fix.

Also, I think we can ship default "tcomposer.txt" in linux package, which will have several possible variants where to look for TComposer, i.e.:

/usr/bin/tcomposer
/usr/local/bin/tcomposer
/snap/bin/opentoonz.tcomposer

This should simplify setup in the future.

--

Related information about RENDERCHAN_ENVDIR variable:

@Sam2much96
Copy link
Author

I made a quick Pull Request that uses an app image binary for opentoonz rendering instead of snap opentoonz. Also, i modified the README.md to include Linux instructions for adding RENDERCHAN_ENVDIR system wide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants