Hi all,
I try to install tk-multi-workfiles2 in a clone of legacy tk-config-default. I call the following command in cmd:
tank install_app asset_step tk_maya tk-multi-workfiles2
But then when I launch maya, it tells that the tk-framework-shotgunutils is missing:
Error: Shotgun tk-maya: App N:\mnt\software\shotgun\studio\install\app_store\tk-multi-workfiles2\v0.12.2 failed to initialize. It will not be loaded: The framework instance tk-framework-shotgunutils_v5.x.x required by tk-multi-workfiles2 v0.12.2 can not be found in environment Environment asset_step.yml.
The required minimum version (v5.3.5) was not met!
The currently installed frameworks are:
Name: ‘tk-framework-qtwidgets’, Version: ‘v1.0.3’
Name: ‘tk-framework-softimageqt’, Version: ‘v1.0.1’
Name: ‘tk-framework-shotgunutils’, Version: ‘v5.2.2’
Name: ‘tk-framework-widget’, Version: ‘v0.1.18’
Name: ‘tk-framework-widget’, Version: ‘v0.1.16’
Name: ‘tk-framework-widget’, Version: ‘v0.1.20’
Name: ‘tk-framework-widget’, Version: ‘v0.1.22’
Name: ‘tk-framework-widget’, Version: ‘v0.1.23’
Name: ‘tk-framework-widget’, Version: ‘v0.1.24’
Name: ‘tk-framework-widget’, Version: ‘v0.2.6’
Name: ‘tk-framework-qtwidgets’, Version: ‘v2.6.5’
Name: ‘tk-framework-widget’, Version: ‘v0.1.19’
Name: ‘tk-framework-shotgunutils’, Version: ‘v4.4.15’
Name: ‘tk-framework-shotgunutils’, Version: ‘v1.0.10’
Name: ‘tk-framework-shotgunutils’, Version: ‘v2.5.1’
I use ‘tank validate’ and ‘tank cache_apps’ to check the corresponding environment, but no missing is reported after scanning.
May I know if such way I install the app is correct?
Is it necessary to run ‘tank validate’ or ‘tank cache_apps’ after installing? How should I fix it?
Thanks!
Cheers,
Daniel
2 Likes
Hi @danielwong
Thanks for contacting us. tank install
will download tk-multi-workfiles2
from app_store. The rest you need to manually edit asset_step.yml and tk-maya.yml to add tk-multi-workfiles2
. You could parameters from tk-multi-workfiles2
info.yml.
The latest tk-multi-workfiles2
is also required certain tk-core version. You need to check what core version is in your current configure.
Hope it is helpful.
Loney
1 Like
Hi @jing.liu,
Thanks for looking into the problem. Since there’re several parts which we need to update, I’m finding some automatic ways.
I tried to run the following call in cmd:
tank updates asset_step tk-maya tk-framework-shotgunutils-5.x.x
Then tried to launch Maya again. It works.
But checking the stdout of the above call, all my engines and frameworks inside are updated too.
Questions:
- Have I typed my call wrongly? How can I just update a specific tk-framework?
- Would it cause any feature / function changes to the apps if I update the tk-engine and tk-framework?
Thanks!
Daniel
1 Like
It is a little bit wired. The command should update selected the selected app for selected environment. Do you still have the command output? I could escalate.
Thanks
Loney
2 Likes
Hi Loney,
I’ve attached 2 files here:
- stdout.log - standard output when calling the cmd
- config.zip - part of my legacy tk-config, with some .yml which are modified when calling the cmd
Thanks!
config.zip (11.7 KB) stdout.log (5.4 KB)
1 Like
Hi @danielwong
After talking with team, it seems that actually the commands is tank updates {environment} {engine} {app instance}
. You could get the output from tank updates.
So that last parameter is specifically for apps and not frameworks.
The code deliberately updates all frameworks. The code wasn’t changed for years. Can’t provide more explanation why the original design was that.
Cheers
Loney
4 Likes
Hi Loney,
I’ve tested a bit and it seems it has no impact after updating the other frameworks, so it’s ok.
Thanks for checking for me!
Cheers,
Daniel
5 Likes