OPENPYPE_REPOS_ROOT being set to launcher location, not openpype addon location
sjt-rvx opened this issue · comments
sjt-rvx commented
Ok, this could possibly be in both repos (launcer vs. openpype). But since this is only an issue when runnig via the launcher I'll put this here.
It seems that when running via the launcher, the variable $OPENPYPE_REPOS_ROOT
is pointing to the launcher root and not the openpype addon root. I imagine the logic of setting $OPENPYPE_REPOS_ROOT
needs to be moved over to the addon? Or maybe legacy_io is on it's way out?
For the stack trace this is where it's coming from:
File "[addons_dir]/rvx_ayon_0.2.1/rvx_ayon/rvx_module.py", line 203, in show_variant_assembler
variant_assembler = rvx_ayon.tools.variantassembler.app.create_variant_assembler()
File "[addons_dir]/rvx_ayon_0.2.1/rvx_ayon/tools/variantassembler/app.py", line 588, in create_variant_assembler
install_host(th)
File "[addons_dir]/openpype_3.16.3-rvx.1/openpype/pipeline/context_tools.py", line 107, in install_host
legacy_io.install()
File "[addons_dir]/openpype_3.16.3-rvx.1/openpype/pipeline/legacy_io.py", line 35, in install
schema.validate(session)
File "[addons_dir]/openpype_3.16.3-rvx.1/openpype/pipeline/schema.py", line 71, in validate
_precache()
File "[addons_dir]/openpype_3.16.3-rvx.1/openpype/pipeline/schema.py", line 127, in _precache
Jakub Trllo commented
OPENPYPE_REPOS_ROOT
should not be used in OpenPype anymore. We'll cleanup remaining usages over time.